| How do I get remote error details in ASP.NET 2.0 (I think)? I’m just getting the Runtime Error screen?

How do I get remote error details in ASP.NET 2.0 (I think)? I’m just getting the Runtime Error screen?

blue_prince_of_dallas asked:


I downloaded the Express (free) version of Visual Web Developer today and am trying to build my first website in ASP.NET 2.0. I’m an MCSD and I’ve done this before in ASP.NET 1.1.

When I create a new website in Visual Web Developer it doesn’t create a web.config file or a global.asax. Only a default.aspx. What is going on?

Does this Express version not do any of that? Am I not using the right menu commands to start? How do I get the error details to display remotely? (I’m building on my remote webhost and trying to debug from home).

This is a tough one I know. Please help.
To dhvrm:

Thanks for the feedback. It doesn’t seem to solve the problem. I added Debug=”true” to the Page directive. Then I removed the customErrors tag in web.config. Then I rebuilt the website and when I opened the page I got the same unhelpful Runtime Error message. Remember, I’m trying to debug this remotely. I then added to web.config, rebuilt, and got the same error.

You are correct that I failed to RTFM. Your comment made me laugh. I’m just trying to get a simple Hello World page to appear on my first project so I can start learning ASP.NET 2.0 (while I RTFM), but the default setup won’t work. I’m going to go search the web for some pages I can copy to my website and maybe I can get it to open. If you have any other suggestions they will be appreciated.

Thanks
I still don’t know how to solve this Runtime Error screen problem, but I got my Hello World page to display. My error was being caused by not setting up my web host correctly. I had to set the .NET version to 2.0 on the web host.

A developer’s work is never done!

Related posts:

  1. I am having problem with web browser Mozilla Firefox’s latest version 2.0.0.5 (see datail)? Celestial Tsuki asked: All the previous versions worked in my...
  2. ASP.net 2.0 website made by Chinese Edition can’t run under English edition ? mycwcgr asked: ASP.net 2.0 web application made by Chinese Windows...
  3. Web 2.0 websites? What tutorial could i learn how to develop user friendly or created content? tags, profiles? Ncarolina K asked: What would i need to do to...
  4. Shul I Join Web 2.0 at NIIT (Delhi)? Anuj D asked: Hi Frnds NIIT and Adobe has introduced...
  5. What should I do about my Web 2.0 project? web2.0guy asked: I have an idea for a new type...

Filed Under Programming & Design |

Tagged With , ,

Comments

One Response to “How do I get remote error details in ASP.NET 2.0 (I think)? I’m just getting the Runtime Error screen?”

  1. dhvrm on April 3rd, 2009 11:06 pm

    Add Debug=True to your @Page directive; also, make sure you do not have any customErrors entries in your Web.config file.

    When you create a new site in Visual Web Developer Express, it should create a Web.config file for you at that time. If not, you can right-click on the site’s root folder in the solution explorer and choose Add New Item. Web config file will be one of the choices; so will be global.asax

    In short, the problem is that you’re not familiar with ASP.NET 2.0 and have failed to RTFM.