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 49:         // Zápis do databáze
Line 50:         // nespravne cislo ID
Line 51:         if (strID.Length > 3)
Line 52:         {
Line 53:             NovaAdresa = Request.ServerVariables["HTTP_REFERER"];

Source File: e:\Web\sites\nai0000035541\wwwroot\servis\dispatch.aspx    Line: 51

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.servis_dispatch_aspx.Page_Load(Object sender, EventArgs e) in e:\Web\sites\nai0000035541\wwwroot\servis\dispatch.aspx:51
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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

Request Details

Session Id:fmas0unnapmvbunaav3hjjexRequest Type:GET
Time of Request:28.03.2024 21:05:23Status Code:500
Request Encoding:Unicode (UTF-8)Response Encoding:Unicode (UTF-8)

Trace Information

CategoryMessageFrom First(s)From Last(s)
aspx.pageBegin PreInit
aspx.pageEnd PreInit0,0000080,000008
aspx.pageBegin Init0,0000140,000006
aspx.pageEnd Init0,0000210,000007
aspx.pageBegin InitComplete0,0000260,000005
aspx.pageEnd InitComplete0,0000350,000009
aspx.pageBegin PreLoad0,0000400,000005
aspx.pageEnd PreLoad0,0000450,000005
aspx.pageBegin Load0,0000500,000005
Unhandled Execution Error
Object reference not set to an instance of an object.
  at ASP.servis_dispatch_aspx.Page_Load(Object sender, EventArgs e) in e:\Web\sites\nai0000035541\wwwroot\servis\dispatch.aspx:line 51
  at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
  at System.Web.UI.Control.OnLoad(EventArgs e)
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
0,0001680,000117

Control Tree

Control UniqueIDTypeRender Size Bytes (including children)ViewState Size Bytes (excluding children)ControlState Size Bytes (excluding children)
__PageASP.servis_dispatch_aspx000

Session State

Session KeyTypeValue
Pkol_uzivSystem.Int320
k_tiskuSystem.StringPrázdná sestava

Application State

Application KeyTypeValue
ConnStringSystem.Stringserver=schpcm.dbaserver.net;database=schpcm;password=ham105dbf;user=schpcm;
FoxStringSystem.StringDriver={Microsoft dBase Driver (*.dbf)};DriverID=277;DEFAULTDIR=e:\web\sites\NAI0000035541\wwwroot\\database
cestaSystem.Stringe:\web\sites\NAI0000035541\wwwroot\

Request Cookies Collection

NameValueSize

Response Cookies Collection

NameValueSize
ASP.NET_SessionIdfmas0unnapmvbunaav3hjjex42

Headers Collection

NameValue
Accept*/*
Hostwww.schpcm.cz
User-Agentclaudebot

Response Headers Collection

NameValue
X-AspNet-Version4.0.30319
Set-CookieASP.NET_SessionId=fmas0unnapmvbunaav3hjjex; path=/; HttpOnly; SameSite=Lax
Cache-Controlprivate
Content-Typetext/html

Form Collection

NameValue

Querystring Collection

NameValue
 http://www.ceske-zemedelstvi.cz

Server Variables

NameValue
ALL_HTTPHTTP_ACCEPT:*/* HTTP_HOST:www.schpcm.cz HTTP_USER_AGENT:claudebot
ALL_RAWAccept: */* Host: www.schpcm.cz User-Agent: claudebot
APPL_MD_PATH/LM/W3SVC/450/ROOT
APPL_PHYSICAL_PATHe:\web\sites\NAI0000035541\wwwroot\
AUTH_TYPE 
AUTH_USER 
AUTH_PASSWORD 
LOGON_USER 
REMOTE_USER 
CERT_COOKIE 
CERT_FLAGS 
CERT_ISSUER 
CERT_KEYSIZE 
CERT_SECRETKEYSIZE 
CERT_SERIALNUMBER 
CERT_SERVER_ISSUER 
CERT_SERVER_SUBJECT 
CERT_SUBJECT 
CONTENT_LENGTH0
CONTENT_TYPE 
GATEWAY_INTERFACECGI/1.1
HTTPSoff
HTTPS_KEYSIZE 
HTTPS_SECRETKEYSIZE 
HTTPS_SERVER_ISSUER 
HTTPS_SERVER_SUBJECT 
INSTANCE_ID450
INSTANCE_META_PATH/LM/W3SVC/450
LOCAL_ADDR217.198.114.76
PATH_INFO/servis/dispatch.aspx
PATH_TRANSLATEDe:\web\sites\NAI0000035541\wwwroot\servis\dispatch.aspx
QUERY_STRINGhttp://www.ceske-zemedelstvi.cz
REMOTE_ADDR34.230.68.214
REMOTE_HOST34.230.68.214
REMOTE_PORT60552
REQUEST_METHODGET
SCRIPT_NAME/servis/dispatch.aspx
SERVER_NAMEwww.schpcm.cz
SERVER_PORT80
SERVER_PORT_SECURE0
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWAREMicrosoft-IIS/10.0
URL/servis/dispatch.aspx
HTTP_ACCEPT*/*
HTTP_HOSTwww.schpcm.cz
HTTP_USER_AGENTclaudebot

Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0