Click here to Skip to main content
15,896,153 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there.

I have developed web application in Visual Studio 2010. It has there integrated projects which are working very fine, and are:
1. Business Layer (Class Library)
2. Gantt Chart (Silverlight Project which uses WCF for performing CRUD on DB)
3. ProjectASP (ASP.net Web Project)

Then I packaged the entire solution and installed an MSI setup. When I deploy the application, the silverlight project is showing when its redirected to but it is either not accessing the WCF or not connecting to the database while others are able to. So I want know what the problem is and how I can fix it.

Thanks,
Kholisa.
Posted
Comments
Kenneth Haugland 8-Aug-12 3:18am    
We need to see the error you got, or else this is just going to be a wild guessing game.
Sandeep Mewara 8-Aug-12 12:09pm    
Error?
Christian Amado 8-Aug-12 16:22pm    
The problem is on web.config in system.serviceModel section.

1 solution

Hello,

You should first check the URI of the WCF service that the Silverlight application refers to, when it instantiates the auto-generated custom DomainContext through RIA Service. (Note that, if needed, when you create an instance of generated DomainContext in your Silverlight application code, you can pass an URI as a parameter to its constructor, either absolute or relative to the Web application that hosts the Silverlight output.)

You should also check the database connection string in Web.config file of the deployed ASP .NET Web application. Also verify, is the Windows domain user that the application pool used by the Web application is configured to run as able and allowed (i.e. having permissions granted) to connect to the database server and then to the configured database?

Check the Event Log of the server, and/or use a network sniffing tool during tests and then review its reports, to get further information that might help you speed up your investigation.

Regards,
DlhSoft Team
 
Share this answer
 
v2

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