Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i have silverlight(4.0) project used wcf and linq to sql concepts, first i wrote the services for my project then i hosted in IIS(5.1) but services are not running it showing error message, without hosting the project it is working perfectly.

can any one tell me when to write the sevices (after hosting the project in IIS or before hosting.) and is there any procedure.
plz tell me....
Posted

1 solution

The order you do things should not matter. Perhaps if you told us the error message, we could help more. Some code would also not hurt.
 
Share this answer
 
Comments
parashu durgam 8-Feb-12 11:29am    
Error:
an unknown error was encountered. please contact your administrator for more information.
Error details:
An exception occured during the operaton, making the result invalid. check inner exception for exception details.

at system.component model.AsyncCompletedEventArgs.RaiseExceptionIfNeccessary()
at myprojectname.serviceReference1.CollegelistcompletedEventARgs.get_Result()

at myprojectname.serviceReference1.wcfserviceClient.oncollegeListCompleted(Object state)
Christian Graus 8-Feb-12 11:33am    
'Contact your administrator' means you should check the system logs to see the cause of the error.
parashu durgam 8-Feb-12 11:35am    
in my silverlight application i wrote silverlight enabled wcf service with default binding,if i executed my project without iis 5.1 configuration my project worked properly. but after my project completed i created virtual directory for my silverlight project.web file and now i executed my project then i got above mentioned error. is it correct process? otherwise give me proper solution. thank you.
parashu
Christian Graus 8-Feb-12 11:36am    
Did you check the system logs ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900