Re: .NET question about the customErrors Tag

From: Steven Cheng[MSFT] (v-schang_at_online.microsoft.com)
Date: 05/07/04


Date: Fri, 07 May 2004 02:47:28 GMT

Hi Samuel,

Thanks for the followup. To answer your questions:

1) the software must be working because the majority of my clients don't
have this issue.. Could this be a permission issue that needs to be done on
the clients server?
============================================================================
============
So far I'm also not very sure on it, we could only say it's a potential
cause. Have you try set the <customErrors>'s mode to "Off" and suggest the
user who encounter the error to post you the detailed error info? I think
that may help provide some clues.

2) We do not use web.config file because the software is not configured as
an application (not required). Will it work if I add an web.config file to
the site's root directory? The software is installed in a folder called
/gallery/ (not an application), and I am not sure if adding a web.config
file to the root (/) directory will help. I dont have access to my client's
server.
============================================================
Oh, now I got it that your application is in a sub folder under the root
applicatoin. If so, you'll be care to add a web.config because some
elements in the web.config is only allowed to be setting for and
application( which means the folder need to be configured as an application
in IIS) rather than a normal folder. Since you didn't provde a web.config
it'll derive the configuration from the Root Application(which may derive
from machine.config).

Also, still think the detailed error info is necessary for troubleshooting.
If you have any new findings, please feel free to post here. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx



Relevant Pages

  • Re: Default app?
    ... Yes, there is, but for *any* page served by IIS, not just for pages served by ASP.NET. ... But the site at its root is not configured as a .net 'application' either ... if -as you say- it resides in the web-doc root folder. ... No extra configuration is needed. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: DFS after updated SP2
    ... >> clients, and I can't not access to one of DFS links. ... >> That means, computer A has shared A folder, computer B ... >> root but not link A, and neither for computer B, means ...
    (microsoft.public.windowsxp.network_web)
  • DFS after updated SP2
    ... clients, and I can't not access to one of DFS links. ... That means, computer A has shared A folder, computer B has ... both those folders are links under a DFS ... root but not link A, and neither for computer B, means ...
    (microsoft.public.windowsxp.network_web)
  • RE: Using Trace with Forms Authentication
    ... I think the problem that you'll be redirected to login page is because you ... set the in the web.config file in the application's root ... folder, yes? ... ......main configuration section ...
    (microsoft.public.dotnet.framework.aspnet)
  • locating assembly
    ... Hi, suppose I have the following in my configuration, ... Here the privatePath 'bin' should be a sub-folder of the application root ... (the folder the EXE executes). ... Is there a way to reference a folder that is ...
    (microsoft.public.dotnet.general)