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