How to fix ASP.NET error “The file 'nnn.aspx' has not been pre-compiled, and cannot be requested.”?

后端 未结 25 3108
时光说笑
时光说笑 2020-12-05 22:35

I have a VS 2005 web site that I publish using \"Publish Web Site\", and I clear all the three checkboxes. I also have a deployment project that picks up the published files

25条回答
  •  感动是毒
    2020-12-05 23:01

    For me, I had a script that deletes the production folder and then copies up the new files.

    The script failed to delete the production folder properly leaving that the old and new files were mixed in together causing the error.

    I manually deleted the entire folder and redeployed successfully...then updated the script.

提交回复
热议问题