我把.net删掉重装了一遍。项目可以打开了。但是不能运行。错误报告: Error while trying to run project: Unable to start debugging on the web server. Server side-error occurred on sending debug HTTP request. Make sure the server is operating correctly. Verify there are no syntax errors in web.config by doing a Debug. Start Without Debugging. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation.
我照tonybaobao(Tony宝宝) 说的做了。程序跑的时候不报那个错了,不过页面还是无法显示。唉,我的程序以前跑得好好的,我可什么都没改过呀!页面报错: Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.Source Error: Line 92: bool errors = false; Line 93: string msEr = ""; Line 94: string userName = (Request.ServerVariables.Get("Logon_user").Split(new char[] {'\\'},2))[1]; Line 95: Line 96: Source File: c:\inetpub\wwwroot\hold_online\app.aspx.cs Line: 94 Stack Trace: [IndexOutOfRangeException: Index was outside the bounds of the array.] hold_online.app.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\hold_online\app.aspx.cs:94 System.Web.UI.Control.OnLoad(EventArgs e) System.Web.UI.Control.LoadRecursive() System.Web.UI.Page.ProcessRequestMain()
aspnet_regiis.exe
Error while trying to run project: Unable to start debugging on the web server. Server side-error occurred on sending debug HTTP request.
Make sure the server is operating correctly. Verify there are no syntax errors in web.config by doing a Debug. Start Without Debugging. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation.
Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.Source Error:
Line 92: bool errors = false;
Line 93: string msEr = "";
Line 94: string userName = (Request.ServerVariables.Get("Logon_user").Split(new char[] {'\\'},2))[1];
Line 95:
Line 96:
Source File: c:\inetpub\wwwroot\hold_online\app.aspx.cs Line: 94 Stack Trace:
[IndexOutOfRangeException: Index was outside the bounds of the array.]
hold_online.app.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\hold_online\app.aspx.cs:94
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()