locked
Server Error in '/' Application RRS feed

  • Question

  • User1897947668 posted

    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?

    Thanks,

    Dave

    Monday, September 30, 2013 8:09 PM

Answers

  • User1941103292 posted

    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.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, October 1, 2013 6:29 AM
  • User-166373564 posted

    Hi,

    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. http://msdn.microsoft.com/en-us/library/1y1404zt(VS.100).aspx

    In addition, you could also contact your hosting provider to get troubleshooting.

    Regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, October 7, 2013 4:47 AM

All replies

  • User-1716253493 posted

    when uploading file, include web.config and other files also. Make sure your application and godaddy using same net version.

    Monday, September 30, 2013 8:47 PM
  • User2053451246 posted

    What's the rest of the error?  Does it work when debugging locally?

    Monday, September 30, 2013 9:51 PM
  • User1897947668 posted

    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?

     

    Thank you,

    Dave

    Tuesday, October 1, 2013 3:09 AM
  • User1897947668 posted

    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".

    Tuesday, October 1, 2013 3:11 AM
  • User1941103292 posted

    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.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, October 1, 2013 6:29 AM
  • User-166373564 posted

    Hi,

    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. http://msdn.microsoft.com/en-us/library/1y1404zt(VS.100).aspx

    In addition, you could also contact your hosting provider to get troubleshooting.

    Regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, October 7, 2013 4:47 AM