Server Error in '/' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 3:  dim RootFolderName,UsersGeneralFolder,RandCode,PHYSICAL_PATH,SpecificUserPath,IntoSpecificUserPath as string
Line 4:  Sub Page_Load(ByVal Sender As System.Object, ByVal e As System.EventArgs)
Line 5:  	If len(Request.cookies("PerCivil")("LoginUser")) < 1 Then
Line 6:  		response.redirect("default.asp")
Line 7:  	ElseIF not Request.cookies("PerCivil")("LoginUser") = True Then

Source File: C:\Inetpub\vhosts\persiacivil.ir\httpdocs\ConcColumnShopDraw\UplFile.aspx    Line: 5

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.conccolumnshopdraw_uplfile_aspx.Page_Load(Object Sender, EventArgs e) in C:\Inetpub\vhosts\persiacivil.ir\httpdocs\ConcColumnShopDraw\UplFile.aspx:5
   System.Web.UI.Control.OnLoad(EventArgs e) +107
   System.Web.UI.Control.LoadRecursive() +89
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1532


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