I am having an unexpected trouble deploying my new Web application developed by Visual Studio 2010 Professional on a Web hosting service. (I only did it once using Visual Studio 2003 without any problem before.) As I deployed the new app. (developed as
a Web site, not as a Web project) using the "publish" function (which created precomplied dlls on bin folder), copied all the files on my web hosting site, and accessed through my browser to that site, it failed to display.
Very surprised, I published the same Web app. on my inetpub/wwwroot/ directory (running on Window 7 Professional). Indeed, it did not display through my broser reporting "an unhandled exeption encountered during a user callback." (Before I only accessed
wwwroot from my broswer to display the original htm file installed by Window 7.) Yet, when I try to debug through my Visual Studi 2010, it displays ok through "http://localhost50431/ineptpub/wwwroot".
What is missing in the precompiled assemblies to display through the normal browser?
What does it take to publish this app. correctly on the remote hosting service running ASP.Net 4.0?
I hope someone can help me how to desploy a web application correctly on the Web hosting service. Thank you very much for any help. Tim
timnish
0 Points
2 Posts
How to publish a Web application developed by VS2010?
Nov 10, 2012 09:34 PM|LINK
I am having an unexpected trouble deploying my new Web application developed by Visual Studio 2010 Professional on a Web hosting service. (I only did it once using Visual Studio 2003 without any problem before.) As I deployed the new app. (developed as a Web site, not as a Web project) using the "publish" function (which created precomplied dlls on bin folder), copied all the files on my web hosting site, and accessed through my browser to that site, it failed to display.
Very surprised, I published the same Web app. on my inetpub/wwwroot/ directory (running on Window 7 Professional). Indeed, it did not display through my broser reporting "an unhandled exeption encountered during a user callback." (Before I only accessed wwwroot from my broswer to display the original htm file installed by Window 7.) Yet, when I try to debug through my Visual Studi 2010, it displays ok through "http://localhost50431/ineptpub/wwwroot".
What is missing in the precompiled assemblies to display through the normal browser?
What does it take to publish this app. correctly on the remote hosting service running ASP.Net 4.0?
I hope someone can help me how to desploy a web application correctly on the Web hosting service. Thank you very much for any help. Tim
Topspy
Contributor
3775 Points
806 Posts
Re: How to publish a Web application developed by VS2010?
Nov 12, 2012 11:43 PM|LINK
Probably you can check out this thread http://forums.asp.net/t/1139502.aspx/1
Asp.net Hosting | Windows Hosting | SQL Server Hosting