Shandrix
asked on
Why does my silverlight application work when hosted locally but not when it is deployed to shared hosting?
I have a web site I am developing with the Umbraco CMS. I have a separate Silverlight web application in a subdirectory of that website called KB. We are running .NET 4.0.
The KB application works fine under Umbraco on my internal web server running IIS 7.0 under Windows Server 2008. I have it set to use the MS SQL 2008 R2 databases hosted by discountasp.net, and everything works.
Using the exact same files and web.configs uploaded onto the remote server, I get three errors.
The first error pops up when the I go to the kb application when it first opens. The second error happens if I try to login to the KB application. The third error happens when I try to register a new user.
The web site is on shared hosting at discountasp.net, running on Windows Server 2008, IIS 7 and Sql Server 2008. I have one application pool dedicated to my entire website, with both applications (Umbraco and KB).
The KB application works fine under Umbraco on my internal web server running IIS 7.0 under Windows Server 2008. I have it set to use the MS SQL 2008 R2 databases hosted by discountasp.net, and everything works.
Using the exact same files and web.configs uploaded onto the remote server, I get three errors.
The first error pops up when the I go to the kb application when it first opens. The second error happens if I try to login to the KB application. The third error happens when I try to register a new user.
The web site is on shared hosting at discountasp.net, running on Windows Server 2008, IIS 7 and Sql Server 2008. I have one application pool dedicated to my entire website, with both applications (Umbraco and KB).
ASKER
There are no .cs files on the server, as this application was already compiled. There is an .xap in /CientBin.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Good catch
Good Luck
Carrzkiss
Good Luck
Carrzkiss
==========
Your problem could be that your webserver is refusing the serve a file with a ".cs" extension, which is the standard policy.
To see if this is the case, you can rename the file to end with ".htm" and see if that works. If it does, then you *could* (I say it like that, because it is generally not recommended) configure IIS or whatever server you're using to serve files with that extension.
==========
From here
http://forums.silverlight.net/forums/p/47047/125871.aspx
Read through and you will see the one that is selected as Answer.
Hope this helps.
Carrzkiss