Re: Web application setup problem on Win 2003



a little bit more information, the error came up when I access the main web
page of the site (e.g. http://myFirstApp/index.aspx)

Anyone can tell me what mistake I made on setting up the web application.

Thx.
"Rabbit" <a@xxxxx> wrote in message
news:%23AjQvEdSGHA.1572@xxxxxxxxxxxxxxxxxxxxxxx
Dear all,

Does anyone know how to resolve following setup problem, I developed my
application(using .net 2.0) which will connect Access database on my Win
XP, everything works fine, but when I place the web folder onto my Win
2003 server, set up a virtual directory as web application, the following
error message came up.


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

The directory '/WebApp/App_Code/' is not allowed because the application
is precompiled.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Web.HttpException: The directory
'/WebApp/App_Code/' is not allowed because the application is precompiled.

I wonder anything i missed on setting my web application!

Thanks in advanced!
Keith



.



Relevant Pages

  • Re: VPN Error
    ... Server Error in '/' Application. ... To enable the details of this specific error message to be viewable ... "web.config" configuration file located in the root directory of the current ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • Re: outlook mobile access broken
    ... Server Error ... I even took the step of having Exchange recreate the oma virtual ... recreateing a new virtual directory OMA2 in ESM with the Outlook / ... enumeration operation may not execute. ...
    (microsoft.public.exchange.admin)
  • debbing asp.net projects on win server 2003 small business
    ... error message. ... have execute permissons on the virtual directory, ... even get this error trying to debug localy on the server. ... CompanyWeb running as a website. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP error when uploaded ""An error occurred on the server when processing the URL"
    ... You need to find out what the error message is. ... site then go into IIS admin, properties for the virtual directory, hit the ... > Dim connString, objConn, sql_insert_det, sql_insert_res ... > Set objConn = Server.CreateObject ...
    (microsoft.public.inetserver.asp.general)
  • Re: customErrors mode="off"
    ... I know the error message, my hoster forwarded it to me. ... Must be some virtual directory thing. ... > custom errors will be displayed. ... Display custom errors to remote ...
    (microsoft.public.dotnet.framework.aspnet)

Loading