web config ERror


S

Savas Ates

my web conhig code is like this and <customErrors mode="Off"/> was set off

<compilation defaultLanguage="vb" debug="true"/>

<!-- CUSTOM ERROR MESSAGES
Set customErrors mode="Off" or "RemoteOnly" to enable custom error
messages, "Off" to disable.
Add <error> tags for each of the errors you want to handle.
-->
<customErrors mode="Off"/>

<!-- AUTHENTICATION
This section sets the authentication policies of the application.
Possible modes are "Windows",
"Forms", "Passport" and "None"
-->
<authentication mode="Windows"/>


<!-- AUTHORIZATION
This section sets the authorization policies of the application.
You can allow or deny access
to application resources by user or role. Wildcards: "*" mean
everyone, "?" means anonymous
(unauthenticated) users.
-->
<authorization>
<allow users="*"/> <!-- Allow all users -->

Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom
error settings for this application prevent the details of the application
error from being viewed remotely (for security reasons). It could, however,
be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable
on remote machines, please create a <customErrors> tag within a "web.config"
configuration file located in the root directory of the current web
application. This <customErrors> tag should then have its "mode" attribute
set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom
error page by modifying the "defaultRedirect" attribute of the application's
<customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
 
Ad

Advertisements

D

Dan Rogers

Hi Savas?

Is there an issue that I can help you with? This error message is
displayed when a web service has thrown an exception that is not caught,
and the calling browser is not on the same machine as the web service. It
usually indicates that there is a problem (bug?) in the program. By
default, a stack trace is surpressed so as to not reveal too much to a
remote caller.

I hope this helps,

Dan Rogers
Microsoft Corporation
--------------------
 
J

jwelch1978

how do I get to my ''root directory" and change my ''web configuration'' and have the mode set to off I want to create a profile to be able to log onto the blockbuster.ca/getmore site ?

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
Ad

Advertisements

D

Dan Rogers

Hi Jonathan,

I'm not following you. If you need to change your web.config file, it is
typically found in the virtual root that is serving your web service. I'm
not sure what config changes you want to make, and I don't know what this
has to do with blockbuster's site. If you just want to go to their web
page and log in, you should do that.

I tried that URL and there is very little for you to do with your root
directory or web config file ... that is a simple cookie based portal login
page. You won't be able to call it via a web service proxy. Just use your
browser...

Dan
--------------------
From: Jonathan Welch ([email protected])
Subject: Re: web config ERror
References: <[email protected]>
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
Date: Thu, 23 Dec 2004 12:21:23 -0800
NNTP-Posting-Host: shared2.orcsweb.com 66.129.69.1
Lines: 1
Path: cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11
.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.aspnet.webservices:27376
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices

how do I get to my ''root directory" and change my ''web configuration''
and have the mode set to off I want to create a profile to be able to log
onto the blockbuster.ca/getmore site ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top