Connecting Tech Pros Worldwide Help | Site Map

SERVER ERROR in "/" Application

news.microsoft.com
Guest
 
Posts: n/a
#1: Nov 18 '05
hi,

I am new in ASP.NET i make a page using Visual Studio.net compile and
successfully run on local system but when i upload it on my internet live
server it always gives me the same error if anyone helps me i will be very
thankfull:

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


----------------------------------------------------------------------------

Regards.
Atif.


Ben
Guest
 
Posts: n/a
#2: Nov 18 '05

re: SERVER ERROR in "/" Application


This would seem to say that the aspnet_wp account doesn't have appropriate
permissions on your web directory.

Ben
"news.microsoft.com" <atif@alghanem.net> wrote in message
news:eSIQB98bEHA.384@TK2MSFTNGP10.phx.gbl...[color=blue]
> hi,
>
> I am new in ASP.NET i make a page using Visual Studio.net compile and
> successfully run on local system but when i upload it on my internet live
> server it always gives me the same error if anyone helps me i will be very
> thankfull:
>
> --------------------------------------------------------------------------[/color]
--[color=blue]
> Server Error in '/' Application.
> --------------------------------------------------------------------------[/color]
--[color=blue]
> ----
>
> Runtime Error
> Description: An application error occurred on the server. The current[/color]
custom[color=blue]
> error settings for this application prevent the details of the application
> error from being viewed remotely (for security reasons). It could,[/color]
however,[color=blue]
> be viewed by browsers running on the local server machine.
>
> Details: To enable the details of this specific error message to be[/color]
viewable[color=blue]
> on remote machines, please create a <customErrors> tag within a[/color]
"web.config"[color=blue]
> 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[/color]
application's[color=blue]
> <customErrors> configuration tag to point to a custom error page URL.
>
> <!-- Web.Config Configuration File -->
>
> <configuration>
> <system.web>
> <customErrors mode="RemoteOnly"[/color]
defaultRedirect="mycustompage.htm"/>[color=blue]
> </system.web>
> </configuration>
>
>
> --------------------------------------------------------------------------[/color]
--[color=blue]
>
> Regards.
> Atif.
>
>[/color]



Chris Simmons
Guest
 
Posts: n/a
#3: Nov 18 '05

re: SERVER ERROR in "/" Application


On Thu, 22 Jul 2004 14:38:20 +0500, "news.microsoft.com"
<atif@alghanem.net> wrote:
[color=blue]
>hi,
>
>I am new in ASP.NET i make a page using Visual Studio.net compile and
>successfully run on local system but when i upload it on my internet live
>server it always gives me the same error if anyone helps me i will be very
>thankfull:
>
>----------------------------------------------------------------------------
>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>
>
>
>----------------------------------------------------------------------------
>
>Regards.
>Atif.
>[/color]

You probably need to make sure your "internet live" server has an
application defined at the right level (the level which contains your
bin directory). For example, if your application is:
http://internetliveserver/SomeApplication
you need to make sure /SomeApplication is defined as an application in
IIS on the server.

Hope this helps.

--
Thanks,
Chris Simmons
Closed Thread