任何人都知道我是如何开始调试的吗? 以下是发生错误时浏览器显示的内容。
我只是剪切并粘贴在下面。
似乎错误发生在自动生成的临时文件中。
Server Error in '/' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1026: ) expected
Source Error:
Line 240: #line default
Line 241: #line hidden
Line 242: @__w.Write("\r\n\r\n <p>\r\n ");
Line 243:
Line 244: #line 15 "K:\Projects\GroupTargets_01\Views\Group\Index.aspx"
Source File: c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c52144fb\cf3eebf6\App_Web_index.aspx.1dacda6f.ihdui7sw.0.cs Line: 242
Show Detailed Compiler Output:
Show Complete Compilation Source:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
答案 0 :(得分:1)
这是K:\Projects\GroupTargets_01\Views\Group\Index.aspx
的视图页面代码中的错误。您在错误消息中看到的代码就是那些<@ ... @>
标记变成的内容。