Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Controls (http://www.velocityreviews.com/forums/f63-asp-net-web-controls.html)
-   -   <customErrors mode="Off"/> ERROR (http://www.velocityreviews.com/forums/t777438-customerrors-mode-off-error.html)

Savas Ates 12-19-2005 10:48 AM

<customErrors mode="Off"/> ERROR
 
I have a web application It works well in my local folder.. When i upload
it
to my web server i got

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




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



sjurmr@online.no 12-19-2005 11:28 AM

Re: <customErrors mode="Off"/> ERROR
 
It means you application crashes on the server. Put the
customerrors-tag as listed in the web.config-file to see the
error-output.

Regards,
Sjur Rondestveit


Ken Tucker [MVP] 12-19-2005 11:31 AM

Re: <customErrors mode="Off"/> ERROR
 
Hi,

Usually when a web project works on a local machine but not on your
web host you are missing a dll referenced. I would check and make sure all
the dll files in your projects bin folder are on the bin folder on your web
host. Also adding that line to your web.config on your web host will give
you a lot more information about the error.

Ken
-------------
"Savas Ates" <savas@indexinteractive.com> wrote in message
news:eZ$a2mIBGHA.2708@TK2MSFTNGP12.phx.gbl...
> I have a web application It works well in my local folder.. When i upload
> it
> to my web server i got
>
> 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".
>
>
>
>
> 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".
>
>




Savas Ates 12-19-2005 12:57 PM

Re: <customErrors mode="Off"/> ERROR
 
I copied all bin directory with dll's.. There is no problem about missing
files.. It is my web server. I have full access to change whatever i want ..
By the way what you mean

<< Put the
customerrors-tag as listed in the web.config-file to see the
error-output.

my web.config file
<customErrors mode="Off" />



any solution ?



"Savas Ates" <savas@indexinteractive.com>, haber iletisinde şunları
yazdı:eZ$a2mIBGHA.2708@TK2MSFTNGP12.phx.gbl...
> I have a web application It works well in my local folder.. When i upload
> it
> to my web server i got
>
> 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".
>
>
>
>
> 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".
>
>




Greg Burns 12-19-2005 01:37 PM

Re: <customErrors mode="Off"/> ERROR
 
Isn't "Server Error in '/' Application" idicative of the virtual directory
not being marked as an application in IIS?

PS: I've also seen the <customErrors> message even when it is set to Off,
whenever there is a syntax error in the web.config.

Greg


"Savas Ates" <savas@indexinteractive.com> wrote in message
news:eZ$a2mIBGHA.2708@TK2MSFTNGP12.phx.gbl...
> I have a web application It works well in my local folder.. When i upload
> it
> to my web server i got
>
> 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".
>
>
>
>
> 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".
>
>




vortep@gmail.com 12-19-2005 03:34 PM

Re: <customErrors mode="Off"/> ERROR
 
do exactly what the error tells you. open the web.config
and change
<customErrors
mode="RemoteOnly"
/>

to <customErrors
mode="Off"
/>


thou shalt google before asking...

Savas Ates wrote:
> I copied all bin directory with dll's.. There is no problem about missing
> files.. It is my web server. I have full access to change whatever i want..
> By the way what you mean
>
> << Put the
> customerrors-tag as listed in the web.config-file to see the
> error-output.
>
> my web.config file
> <customErrors mode="Off" />
>
>
>
> any solution ?
>
>
>
> "Savas Ates" <savas@indexinteractive.com>, haber iletisinde şunları
> yazdı:eZ$a2mIBGHA.2708@TK2MSFTNGP12.phx.gbl...
> > I have a web application It works well in my local folder.. When i upload
> > it
> > to my web server i got
> >
> > 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".
> >
> >
> >
> >
> > 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".
> >
> >




All times are GMT. The time now is 09:14 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57