Skip to main content
Home Forums General Silverlight Hosting and Streaming No data after deployed
6 replies. Latest Post by smcondra on November 7, 2009.
(0)
rainy21
Member
11 points
46 Posts
10-07-2009 9:29 PM |
Hi,
I am encountering this problem, whereby i have done all my stuff in the localhost. A website application connected to a database. A silverlight xap which uses a service reference from the website application. The website could run and load the data from the database. But however when i deployed it into a virtual directory, the data couldn't be displayed.?
Could anyoni give me some pointers or details instruction about what should i do? I have read about the clientaccesspolicy and crossdomain stuff. I have added this 2 xml into my root folder,but nothing changes.
Any help would be appreciated, Thanks
odahan
Participant
1625 points
291 Posts
10-07-2009 10:32 PM |
If data are not loaded, then the link between the app and the data is broken... you have to find where. So try to retrieve info about the execution of the silverlight app, displaying messages and tracking possible hidden exceptions.
10-07-2009 10:54 PM |
martonx
31 Posts
10-08-2009 6:18 AM |
I have the same problem. From VS2008 with F5 my website works perfectly with the .mdf file in the App_data folder.
When I copy the Release folder from my project plus the App_data folder, I can't see any data from .mdf file.
What is the suggested operation, to deploy Silverlight project with local database?
rahul001
20 points
29 Posts
10-14-2009 5:05 AM |
Hey
your data base is local ?
I think you should clean your solution and also update your services..........
Ardman
Contributor
3254 points
906 Posts
10-14-2009 5:09 AM |
If you are hosting your project in IIS, you'll find that it connects to the database using the IIS account and not the account that you are using. If you have Integrated Security set to True in your connection string, you will need to change this to false and add in an account that can access the database.
smcondra
2 points
2 Posts
11-07-2009 9:14 AM |
Ardman's response actually fixed the issue for me. I had the Integrated Security set to True. Once I set it to False and passed in the login information for the SQL server the data showed up. Thanks Ardman. I spent the last couple of days trying to resolve this issue.