Link to home
Start Free TrialLog in
Avatar of Shandrix
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.  User generated imageThe second error happens if I try to login to the KB application.  User generated imageThe third error happens when I try to register a new user.
 User generated imageThe 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).
Avatar of Wayne Barron
Wayne Barron
Flag of United States of America image

Found this

==========

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
Avatar of Shandrix
Shandrix

ASKER

There are no .cs files on the server, as this application was already compiled. There is an .xap in /CientBin.
ASKER CERTIFIED SOLUTION
Avatar of Shandrix
Shandrix

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Good catch
Good Luck
Carrzkiss