not been pre-compiled error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ad

    not been pre-compiled error

    I use vs2005 to develop web application, then I deploy it to another server.
    But when I run the web application on this server, it result in an error:

    The file '/HealthWeb/Login.aspx' has not been pre-compiled, and cannot be
    requested.

    How can I do?


  • Juan T. Llibre

    #2
    Re: not been pre-compiled error

    How did you deploy it ?

    If all you need to do is pre-compile it, that is done by publishing the website
    to a directory and uploading the resulting directories to the other server.

    To "publish" a website, right-click the website name in the Solution Explorer,
    and select "Publish Website".

    You can also publish it by selecting "Publish Website" from the "Build" menu.



    Juan T. Llibre, asp.net MVP
    aspnetfaq.com : http://www.aspnetfaq.com/
    asp.net faq : http://asp.net.do/faq/
    foros de asp.net, en espaƱol : http://asp.net.do/foros/
    =============== =============== =====
    "ad" <flying@wfes.tc c.edu.tw> wrote in message news:eZJ1d6iVGH A.4660@tk2msftn gp13.phx.gbl...[color=blue]
    >I use vs2005 to develop web application, then I deploy it to another server.
    > But when I run the web application on this server, it result in an error:
    >
    > The file '/HealthWeb/Login.aspx' has not been pre-compiled, and cannot be requested.
    >
    > How can I do?[/color]


    Comment

    Working...