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.
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.
Edited 8-Aug-12 20:35pm
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)