Results 1 to 5 of 5
  1. #1
    3 Star Lounger
    Join Date
    Sep 2002
    Location
    London, England
    Posts
    294
    Thanks
    0
    Thanked 0 Times in 0 Posts

    customErrors mode='Off' but still no err dets

    I have uploaded an ASP.NET site that works on my pc up to a remote server. The html pages on the site work but as soon as I try to use the first aspx page, which is a login page that leads to all the other aspx pages, I get the Server Error in '/' Application page. This tells me to alter the web.config file to include <customErrors mode="Off" /> if I want to see details on what the error is. I have done this but it has not made any difference - I still get the same uniformative page. Can anybody help? I am very new to this so the solution may be a basic one.

  2. #2
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: customErrors mode='Off' but still no err dets

    Verify that you have compiled the project in Debug mode (rather than Release). And along the same lines, be sure that the <AssemblyName>.pdb file is copied to the bin folder of the web server along with the <AssemblyName>.dll (where <AssemblyName> is the name of your DLL).

    Also, verify that your compilation mode line in the Web.config has debug set to true: <compilation defaultLanguage="c#" debug="true" />

    That *should* do it... Keep us posted!

  3. #3
    3 Star Lounger
    Join Date
    Sep 2002
    Location
    London, England
    Posts
    294
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: customErrors mode='Off' but still no err dets

    I am using Visual Web Developer Express which, as far as I know, doesn't require the use of a bin folder. The relevant line in my web.config file is:
    <compilation debug="true" strict="false" explicit="true"/>

    I'm not sure why I can't see any error messages, but I have been trying to work out what the error is anyway. The security that I set up, using the wizards in VWDE, uses a SQL Express database. I'm not sure what the ISP has to provide for SQL Express to work. Should it have an instance of SQL Server running somewhere on the same machine, or does it just need to have the right files (DLLs?) available?

    Ian

  4. #4
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: customErrors mode='Off' but still no err dets

    I didn't realize you were using VWDE. My advice assumed ASP.NET 1.1.

    I haven't had the opportunity to learn the specifics of ASP.NET 2.0 yet, so there may be some details that I'm unaware of. I'm sure it's documented somewhere, but you may have to step outside the wizards to find the solution. (I'm not a big fan of wizards anyway...)

  5. #5
    Silver Lounger
    Join Date
    Jan 2002
    Posts
    1,615
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: customErrors mode='Off' but still no err dets

    Hi,

    Did you ever find the solution to this. I'm having the same problem, am new to this and am not sure where to go next.

    Thanks!
    Leesha

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •