Omar_Amoudi
asked on
Error In Silverlight RIA Service
Hi
I made an Application with Silverlight and Use LinqtoSql Database and Domainservice Class And Its Done very well But when I deployed It to The Server It did not return any data in Gridview I got only the columns without Data I got Tis Error message
"Load operation failed for query 'GetCustomer'. The remote server returned an error: NotFound Silverlight"
I made an Application with Silverlight and Use LinqtoSql Database and Domainservice Class And Its Done very well But when I deployed It to The Server It did not return any data in Gridview I got only the columns without Data I got Tis Error message
"Load operation failed for query 'GetCustomer'. The remote server returned an error: NotFound Silverlight"
ASKER
Thank You
This error you mentioned I have before even in client.
I used a table of only 29 records I got No data after deploying in server
any way I'll try yours a some time after i got to work
This error you mentioned I have before even in client.
I used a table of only 29 records I got No data after deploying in server
any way I'll try yours a some time after i got to work
ASKER
Thank You I tryed it Not Sucseed!
Hi,
you follow the steps described here let us know the detailed exception details
http://mokosh.co.uk/post/2009/03/31/silverlight-and-wcf-essentials-fiddler/
Thanks and regards,
Venki
you follow the steps described here let us know the detailed exception details
http://mokosh.co.uk/post/2009/03/31/silverlight-and-wcf-essentials-fiddler/
Thanks and regards,
Venki
ASKER
Hi,
On Localhost is Ok
But I transfered it to a work server with Windows Server 2008 Standard and IIS 6
On Localhost is Ok
But I transfered it to a work server with Windows Server 2008 Standard and IIS 6
ASKER
Hi again
In Server/ClientBin I have only a XAP file But withe fidler Error message 404
Host Server
URL Is
http://Server/ClientBin/Personnel-DomainService1.svc/binary
which is not there!
In Server/ClientBin I have only a XAP file But withe fidler Error message 404
Host Server
URL Is
http://Server/ClientBin/Personnel-DomainService1.svc/binary
which is not there!
ASKER
Note : Personnel is a (Project and Solution Name)
>But I transfered it to a work server with Windows Server 2008 Standard and IIS 6
Where is the database server? Is it on your computer? Does it allow remote connections? Is the http://server your computer or the server?
Where is the database server? Is it on your computer? Does it allow remote connections? Is the http://server your computer or the server?
ASKER
Hi and Thank you
The Database in a Local Network Computer and I Have full authority on It also The Database on that Server I The remote connection Is Allowed.
Also as Addition This Error happend even when i Open the page on the server it self!
The Database in a Local Network Computer and I Have full authority on It also The Database on that Server I The remote connection Is Allowed.
Also as Addition This Error happend even when i Open the page on the server it self!
ASKER
"Local Network Computer " is the Server I deply to It and also The Database (Sql Server)
Add exception handling to GetCustomers method and do some sort of exception logging (such as writing to a text file) if you encounter any errors.
ASKER
Hi
Now I got this error evan in Localhost After Installing Vs 2010 and Silverlight 4 and its Tools
I Got tis message
"The remote server returned an error: NotFound"
with Big Message Box
Now I got this error evan in Localhost After Installing Vs 2010 and Silverlight 4 and its Tools
I Got tis message
"The remote server returned an error: NotFound"
with Big Message Box
ASKER
Hi
I tryed It today with other database in same Server It Sucseed
I think the Error is in my database I'll check It
Thank You
I tryed It today with other database in same Server It Sucseed
I think the Error is in my database I'll check It
Thank You
ASKER
Hi again
I sucseeded in Local Host Now But Not In Server - 2010!
I sucseeded in Local Host Now But Not In Server - 2010!
ASKER
This is the error message i got
Error-Domainservice.PNG
Error-Domainservice.PNG
Looks like you are using Windows Authentication. Check here
http://forums.silverlight.net/forums/p/159456/398239.aspx
http://forums.silverlight.net/forums/p/159456/398239.aspx
ASKER
Sorry
I allready got to this post i diaple the windows Authentication
But not warked
I allready got to this post i diaple the windows Authentication
But not warked
ASKER
No More Help!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
==========================
<system.serviceModel>
<services>
<service behaviorConfiguration="WCF
name="Dummy.Dummy2">
<endpoint address="" binding="basicHttpBinding"
<identity>
<dns value="i.dont.know.com" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchang
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="WCFSvc.WebServiceBeh
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFa
<!-- Add following line to fix Large Data Buffer problem. -->
<dataContractSerializer maxItemsInObjectGraph="214
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration>
HTH
Ashok