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:


Line 52:             }
Line 53:             else {
Line 54:                 ZZY.Model.xp_menus MenusModel = new ZZY.BLL.xp_menus().GetModel(parentid);
Line 55:                 BannerUrl = MenusModel.img;
Line 56:                 mstrtitle = MenusModel.titleEn;

Source File: d:\ekemWeb\ekemWeb\en\about.aspx.cs    Line: 54

Stack Trace:


[OleDbException (0x80004005): 不能使用 '';文件已在使用中。]
   System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +351
   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
   DbHelperOleDb.PrepareCommand(OleDbCommand cmd, OleDbConnection conn, OleDbTransaction trans, String cmdText, OleDbParameter[] cmdParms) in J:\2017-12\银河娱乐 GALAXY RECREATION\银河娱乐 GALAXY RECREATION\52新双语\DBUtility\DbHelperOleDb.cs:271
   DbHelperOleDb.Query(String SQLString, OleDbParameter[] cmdParms) in J:\2017-12\银河娱乐 GALAXY RECREATION\银河娱乐 GALAXY RECREATION\52新双语\DBUtility\DbHelperOleDb.cs:249
   ZZY.DAL.xp_menus.GetModel(Int32 id) in J:\2017-12\银河娱乐 GALAXY RECREATION\银河娱乐 GALAXY RECREATION\52新双语\DAL\xp_menus.cs:227
   ZZY.BLL.xp_menus.GetModel(Int32 id) in J:\2017-12\银河娱乐 GALAXY RECREATION\银河娱乐 GALAXY RECREATION\52新双语\BLL\xp_menus.cs:88
   _Default.Page_Load(Object sender, EventArgs e) in d:\ekemWeb\ekemWeb\en\about.aspx.cs:54
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1016
Baidu
sogou