Last post Oct 07, 2013 04:47 AM by Angie xu - MSFT
Sep 30, 2013 08:09 PM|mortalhero|LINK
I'm having difficulty designing a single web page and uploading it to my server.
In Visual Web developer Express 2008, I opened "New Web Site"... "ASP.NET Web Site". In the design window I type in "hello world" and then I click on "Build"..."Build Page". I upload default.aspx to my file manager at Godaddy and try to open the page. I
get "Server Error in '/' Application.... run time error
Does anyone have any idea why I can't do this one simple thing?
Sep 30, 2013 08:47 PM|oned_gk|LINK
when uploading file, include web.config and other files also. Make sure your application and godaddy using same net version.
Sep 30, 2013 09:51 PM|ryanbesko|LINK
What's the rest of the error? Does it work when debugging locally?
Oct 01, 2013 03:09 AM|mortalhero|LINK
OK. I uploaded the default.aspx.vb file and the web.config file and now it appears to work.
I did this before with a different .aspx page and I didn't have to upload these files then. What the difference now?
Oct 01, 2013 03:11 AM|mortalhero|LINK
Thanks for your reply. I seem to have sorted this out. I forget what the rest of the error was. And yes, it worked fine when debugged locally. There wasn't much to it. Just "hello world".
Oct 01, 2013 06:29 AM|keshavkumar.pune|LINK
For deploying a website on a server, always publish a website in release mode and then upload the aspx and dll on server. Please do not put the aspx.vb file directly on server.
Also, always put web.config for the website.
Oct 07, 2013 04:47 AM|Angie xu - MSFT|LINK
You can deploy to a target computer using any connection protocol that is supported by Visual Web Developer. Use FTP to copy to a server.
Take a look at this article MSDN document to learn how to deploy a website with Visual Web Developer.
In addition, you could also contact your hosting provider to get troubleshooting.