产品使用及交流论坛

首页 » 产品使用交流区 » 安装及使用交流 » 不能使用 '';文件已在使用中
yg_sunbeam - 2015/3/11 10:44:57
Server Error in '/' Application.
不能使用 '';文件已在使用中。
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: 不能使用 '';文件已在使用中。

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[OleDbException (0x80004005): 不能使用 '';文件已在使用中。]   System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +337   System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +86   System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +31   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +76   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +126   System.Data.OleDb.OleDbConnection.Open() +43   PageAdmin.lanmu.RNL8AtLaq7jpQT19on(Object ) +10   PageAdmin.lanmu.Load_PageAdmin(Int32 SiteId, Int32 Lanmu_Id, Int32 SubLanmu_Id) +95   ASP.index_aspx.OnInit(EventArgs e) +14   System.Web.UI.Control.InitRecursive(Control namingContainer) +140   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480


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






这是怎么回事。查看正常,一上传文件就出现上面错误,不知道怎么回事
yg_sunbeam - 2015/3/11 10:51:51
前台登陆一点会员中心就出现错误
8711
hmoobzs - 2015/3/11 10:56:08
你看一下系统,是不是权限问题,其次看你的默认文档设置对了没,PagaAdmin是index.aspx。
yg_sunbeam - 2015/3/11 14:07:40
你说的这个都没有问题,之前正常的,就是这几天不知道怎么了
xiyou - 2015/3/11 15:02:15
参考:http://www.pageadmin.net/article/20140211/859.html
1
查看完整版本: 不能使用 '';文件已在使用中