Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I'm developing some Asp.Net website and I'm trying to run it on my IIS, I published the web (under build option) and put it under wwwroot, but I get this parser error below. shall I publish the web to add it in inetmgr? or just put the files in my project folder there? what's the point of publishing?

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

and this is the line which cause it.

Line 1:  <%@ page language="C#" autoeventwireup="true" inherits="App_Pages_Default, App_Web_av5ghx1x" %>
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
198 views
Welcome To Ask or Share your Answers For Others

1 Answer

Try changing your publish settings. When you publish the website, uncheck

Allow this precompiled site to be updateable

That should take care of the extra the App_Web_av5ghx1x.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...