“/”应用程序中的服务器错误。

无法更新;当前被锁定。
insert into xmlsLog([IP],[LogUser],[LogType],[LogVar],[Url],[Referrer],[Body]) values(757749634,0,1,'','/Default.aspx?xmls=Show.html&ID=87','https://www.baidu.com/search/spider.htm','Select ProductName from Product Where ProductID=87;
Select CatalogName from Nodes Where CatalogID=2;
Select Title,ID,FileName from [Single] Where Status > 0 and CatalogID=2 Order by Grade Desc,ID;
Select VirtualPath from Nodes Where CatalogID=2;
Select CatalogName from Nodes Where CatalogID=5;
Select ListPath from Model Where ModelID = (Select ModelID from Nodes Where CatalogID=5);
Select * from Nodes Where  Status > 0 and LangID = 1 and ParentID = 5 ;
Select Caption from Model Where ModelID=6;
UPDate Product Set Hits = Hits + 1 Where Status > 0 and ProductID=87;
Select * from Product Where Status > 0 and ProductID=87;
')

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Exception: 无法更新;当前被锁定。
insert into xmlsLog([IP],[LogUser],[LogType],[LogVar],[Url],[Referrer],[Body]) values(757749634,0,1,'','/Default.aspx?xmls=Show.html&ID=87','https://www.baidu.com/search/spider.htm','Select ProductName from Product Where ProductID=87;
Select CatalogName from Nodes Where CatalogID=2;
Select Title,ID,FileName from [Single] Where Status > 0 and CatalogID=2 Order by Grade Desc,ID;
Select VirtualPath from Nodes Where CatalogID=2;
Select CatalogName from Nodes Where CatalogID=5;
Select ListPath from Model Where ModelID = (Select ModelID from Nodes Where CatalogID=5);
Select * from Nodes Where  Status > 0 and LangID = 1 and ParentID = 5 ;
Select Caption from Model Where ModelID=6;
UPDate Product Set Hits = Hits + 1 Where Status > 0 and ProductID=87;
Select * from Product Where Status > 0 and ProductID=87;
')

源错误:

执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[Exception: 无法更新;当前被锁定。
insert into xmlsLog([IP],[LogUser],[LogType],[LogVar],[Url],[Referrer],[Body]) values(757749634,0,1,'','/Default.aspx?xmls=Show.html&ID=87','https://www.baidu.com/search/spider.htm','Select ProductName from Product Where ProductID=87;
Select CatalogName from Nodes Where CatalogID=2;
Select Title,ID,FileName from [Single] Where Status > 0 and CatalogID=2 Order by Grade Desc,ID;
Select VirtualPath from Nodes Where CatalogID=2;
Select CatalogName from Nodes Where CatalogID=5;
Select ListPath from Model Where ModelID = (Select ModelID from Nodes Where CatalogID=5);
Select * from Nodes Where  Status > 0 and LangID = 1 and ParentID = 5 ;
Select Caption from Model Where ModelID=6;
UPDate Product Set Hits = Hits + 1 Where Status > 0 and ProductID=87;
Select * from Product Where Status > 0 and ProductID=87;
')]
   XMLS.XMLSOleDb.ExecuteNonQuery(String strSql) in F:\project\xmlsweb\XMLS\XMLSOleDb.cs:331
   XMLS.XMLSLog.Write() in F:\project\xmlsweb\XMLS\XMLSLog.cs:201
   XMLS.XMLSEngine.Write() in F:\project\xmlsweb\XMLS\XMLSEngine.cs:307
   _default.OnInit(EventArgs e) in e:\NET\xmlSite\default.aspx.cs:15
   System.Web.UI.Control.InitRecursive(Control namingContainer) +333
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378


版本信息: Microsoft .NET Framework 版本:2.0.50727.9066; ASP.NET 版本:2.0.50727.9062
网站地图