I have a basic Silverlight 3 app that has a button that loads data into a Datagrid from a SQL Server database. Everything is hosted on DiscountAsp.Net. When I run the app from my local machine, using the remote database, everything works fine. I published the app to my domain and the app will load but when I hit the button to load the data, all I get is the "Error on Page" message in the browser status bar. The app is located at http://www.mpoweringtech.com/adventureworkstestpage.aspx. I've added clientaccesspolicy.xml and crossdomain.xml to my root folder, but that did not help. I tried to attach to the browser process to debug, but that does not seem to work either. I'm sure that I am missing something obvious. Any help would be greatly appreciated. Thanks. Richard
Whenever I click on the Load button, the browser says "Connecting to localhost..." Shouldn't it be connecting to a page on your web application?
Where do you get that message? I don't even see that. The Load button should load the datagrid from the SQL Server table. Thanks.
I get the message on the status bar in Firefox. Says "Connecting to localhost" as shown in the attached picture. Other than that, it doesn't really say much about the error you're having, but if this is indeed trying to connect to the localhost, I'm pretty confident that's where the problem is.