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

后端 未结 25 3057
时光说笑
时光说笑 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:27

    I know the error is complaining about something else but I promise in my case the problem was just the insufficient Access permission(Network Service or Application Pool identity or IUSR) for asp.net account to work with that specific file.

    it was due to unusual deploying and mixing bin files with new published ones in our VPS environment.

    solution:

    that specific file permissions need to be replaced with correct Bin folder permissions like other files that are working correctly(and wo that error) inside Bin.

    enter image description here

    0 讨论(0)
提交回复
热议问题