Server Error in '/' Application.

There is no row at position 0.

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.IndexOutOfRangeException: There is no row at position 0.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[IndexOutOfRangeException: There is no row at position 0.]
   System.Data.DataRowCollection.get_Item(Int32 index) +63
   StoreFront.StoreFront.ProductDetail1.Page_Load(Object sender, EventArgs e) +959
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Page.ProcessRequestMain() +750


Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407

Request Details

Session Id:d3dyba3345nvur3xuozd4y3gRequest Type:GET
Time of Request:5/9/2008 8:01:21 PMStatus Code:500
Request Encoding:Unicode (UTF-8)Response Encoding:Unicode (UTF-8)

Trace Information

CategoryMessageFrom First(s)From Last(s)
_ASP.Detail_aspxPage_Error
Unhandled Execution Error
There is no row at position 0.
  at System.Data.DataRowCollection.get_Item(Int32 index)
  at StoreFront.StoreFront.ProductDetail1.Page_Load(Object sender, EventArgs e)
  at System.EventHandler.Invoke(Object sender, EventArgs e)
  at System.Web.UI.Control.OnLoad(EventArgs e)
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Control.LoadRecursive()
  at System.Web.UI.Page.ProcessRequestMain()
0.0000310.000031

Control Tree

Control IdTypeRender Size Bytes (including children)Viewstate Size Bytes (excluding children)

Session state

Session KeyTypeValue
CustomerStoreFront.BusinessRule.CCustomerStoreFront.BusinessRule.CCustomer
WebIDSystem.String10670af0-1591-4ba8-90ea-d43f8539c7f2
XMLShoppingCartStoreFront.BusinessRule.CCartStoreFront.BusinessRule.CCart
RefererSystem.Int640
MessagesStoreFront.SystemBase.CXMLMessagesStoreFront.SystemBase.CXMLMessages

Cookies Collection

NameValueSize
ASP.NET_SessionIdd3dyba3345nvur3xuozd4y3g42
Referer 8
HttpReferer 12

Headers Collection

NameValue
Cache-Controlno-cache
Connectionclose
Pragmano-cache
AcceptAccept: application/xhtml+xml,text/html;q=0.9,text/plain;
Accept-CharsetISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Encodinggzip
Accept-Languageen-us,en;q=0.5
Hostcoollectable.com
User-AgentCCBot/1.0 (+http://www.commoncrawl.org/bot.html)
X-Rewrite-URL/detail~ID~18.html
X-LinkFreeze-LOG/detail~ID~18.html

Querystring Collection

NameValue
ID18

Server Variables

NameValue
ALL_HTTPHTTP_CACHE_CONTROL:no-cache HTTP_CONNECTION:close HTTP_PRAGMA:no-cache HTTP_ACCEPT:Accept: application/xhtml+xml,text/html;q=0.9,text/plain; HTTP_ACCEPT_CHARSET:ISO-8859-1,utf-8;q=0.7,*;q=0.7 HTTP_ACCEPT_ENCODING:gzip HTTP_ACCEPT_LANGUAGE:en-us,en;q=0.5 HTTP_HOST:coollectable.com HTTP_USER_AGENT:CCBot/1.0 (+http://www.commoncrawl.org/bot.html) HTTP_X_REWRITE_URL:/detail~ID~18.html HTTP_X_LINKFREEZE_LOG:/detail~ID~18.html
ALL_RAWCache-Control: no-cache Connection: close Pragma: no-cache Accept: Accept: application/xhtml+xml,text/html;q=0.9,text/plain; Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Accept-Encoding: gzip Accept-Language: en-us,en;q=0.5 Host: coollectable.com User-Agent: CCBot/1.0 (+http://www.commoncrawl.org/bot.html) X-Rewrite-URL: /detail~ID~18.html X-LinkFreeze-LOG: /detail~ID~18.html
APPL_MD_PATH/LM/w3svc/103/ROOT
APPL_PHYSICAL_PATHD:\users\coollect\Inetpub\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_ID103
INSTANCE_META_PATH/LM/W3SVC/103
LOCAL_ADDR216.82.92.204
PATH_INFO/detail.aspx
PATH_TRANSLATEDD:\users\coollect\Inetpub\wwwroot\detail.aspx
QUERY_STRINGID=18
REMOTE_ADDR38.103.63.17
REMOTE_HOST38.103.63.17
REMOTE_PORT35620
REQUEST_METHODGET
SCRIPT_NAME/detail.aspx
SERVER_NAMEcoollectable.com
SERVER_PORT80
SERVER_PORT_SECURE0
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWAREMicrosoft-IIS/6.0
URL/detail.aspx
HTTP_CACHE_CONTROLno-cache
HTTP_CONNECTIONclose
HTTP_PRAGMAno-cache
HTTP_ACCEPTAccept: application/xhtml+xml,text/html;q=0.9,text/plain;
HTTP_ACCEPT_CHARSETISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODINGgzip
HTTP_ACCEPT_LANGUAGEen-us,en;q=0.5
HTTP_HOSTcoollectable.com
HTTP_USER_AGENTCCBot/1.0 (+http://www.commoncrawl.org/bot.html)
HTTP_X_REWRITE_URL/detail~ID~18.html
HTTP_X_LINKFREEZE_LOG/detail~ID~18.html