IranVisual
چهارشنبه 13 شهریور 1387, 10:01 صبح
نمیدونم چرا بعضی موقع که سایتم باز میشه این پیغام رو میده اکثرا درست کار میکنه فقط گاهی این جوری میشه
سایت منhttp://nekacitycenter.com
پیغام :
Server Error in '/' Application.
--------------------------------------------------------------------------------
Could not use ''; file already in use.
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.Data.OleDb.OleDbException: Could not use ''; file already in use.
Source Error:
Line 19: Dim obj As New OleDbDataAdapter("select * from TopView order by ID desc", coon)
Line 20: Dim ds As New DataSet
Line 21: coon.Open()
Line 22: obj.Fill(ds, "TopView")
Line 23: View1.DataSource = ds.Tables("TopView")
Source File: D:\Vhosts\nekacitycenter.com\httpdocs\Default.aspx .vb Line: 21
Stack Trace:
[OleDbException (0x80004005): Could not use ''; file already in use.]
System.Data.OleDb.OleDbConnectionInternal..ctor(Ol eDbConnectionString constr, OleDbConnection connection) +1131233
System.Data.OleDb.OleDbConnectionFactory.CreateCon nection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +53
System.Data.ProviderBase.DbConnectionFactory.Creat eNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +27
System.Data.ProviderBase.DbConnectionFactory.GetCo nnection(DbConnection owningConnection) +47
System.Data.ProviderBase.DbConnectionClosed.OpenCo nnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.OleDb.OleDbConnection.Open() +37
_Default.LoadTopicInRequesting() in D:\Vhosts\nekacitycenter.com\httpdocs\Default.aspx .vb:21
_Default.Page_Load(Object sender, EventArgs e) in D:\Vhosts\nekacitycenter.com\httpdocs\Default.aspx .vb:11
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
سایت منhttp://nekacitycenter.com
پیغام :
Server Error in '/' Application.
--------------------------------------------------------------------------------
Could not use ''; file already in use.
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.Data.OleDb.OleDbException: Could not use ''; file already in use.
Source Error:
Line 19: Dim obj As New OleDbDataAdapter("select * from TopView order by ID desc", coon)
Line 20: Dim ds As New DataSet
Line 21: coon.Open()
Line 22: obj.Fill(ds, "TopView")
Line 23: View1.DataSource = ds.Tables("TopView")
Source File: D:\Vhosts\nekacitycenter.com\httpdocs\Default.aspx .vb Line: 21
Stack Trace:
[OleDbException (0x80004005): Could not use ''; file already in use.]
System.Data.OleDb.OleDbConnectionInternal..ctor(Ol eDbConnectionString constr, OleDbConnection connection) +1131233
System.Data.OleDb.OleDbConnectionFactory.CreateCon nection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +53
System.Data.ProviderBase.DbConnectionFactory.Creat eNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +27
System.Data.ProviderBase.DbConnectionFactory.GetCo nnection(DbConnection owningConnection) +47
System.Data.ProviderBase.DbConnectionClosed.OpenCo nnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.OleDb.OleDbConnection.Open() +37
_Default.LoadTopicInRequesting() in D:\Vhosts\nekacitycenter.com\httpdocs\Default.aspx .vb:21
_Default.Page_Load(Object sender, EventArgs e) in D:\Vhosts\nekacitycenter.com\httpdocs\Default.aspx .vb:11
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433