c# - must declare a body because it is not marked abstract or external - error thrown from aspx page w/ no code behind -
I have a net application in IIS6. Apps are compiled against the DLS 3.5 framework, which is installed on the server. The app works; I did not find an ASPX page with no codefile; This is just an .aspx page, in which the tag has inline code, the code declares auto properties as such:
protected string playlist URL {get; Set; }
When I request this page, I get the following error:
"ASP Manispace_fu_Ephil_bar_expx.playlistUrl.Just should declare a declaration because This abstract is not marked or marked "Extern"
I think the error has been thrown because 2.0 compiler does not understand the properties automatically 3.5 is installed on the box. I do not know how to implement an .aspx to use 3.5 compiler. The codedom node in Web.config is not an option, because the node is only recognized by IIS 7. Any ideas?
See it in the web.config
Comments
Post a Comment