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

Microsoft Jet 数据库引擎打不开文件'D:\vhostroot\LocalUser\iweich02\www\App_Data\DcmsDataBase.asp'。  它已经被别的用户以独占方式打开,或没有查看数据的权限。

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

异常详细信息: System.Data.OleDb.OleDbException: Microsoft Jet 数据库引擎打不开文件'D:\vhostroot\LocalUser\iweich02\www\App_Data\DcmsDataBase.asp'。  它已经被别的用户以独占方式打开,或没有查看数据的权限。

源错误:


行 17:     protected void Page_Load(object sender, EventArgs e)
行 18:     {
行 19:       LiteralContent.Text = mydcmstempresolve.ResolveHtmlModel(1, "001", "002", Dcms_Label_0010StyleLevel.Text, Dcms_Label_0010FormatSql.Text, this.Controls);
行 20:     }
行 21: }

源文件: d:\vhostroot\localuser\iweich02\www\UserControl\SysControl\DcmsModelResolve.cs    行: 19

堆栈跟踪:


[OleDbException (0x80004005): Microsoft Jet 数据库引擎打不开文件'D:\vhostroot\LocalUser\iweich02\www\App_Data\DcmsDataBase.asp'。  它已经被别的用户以独占方式打开,或没有查看数据的权限。]
   System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +966653
   System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +86
   System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +29
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +4911420
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
   System.Data.OleDb.OleDbConnection.Open() +40
   Dcms.BaseLib.OleDbHelper.PrepareCommand(OleDbCommand cmd, OleDbConnection conn, OleDbTransaction trans, CommandType cmdType, String cmdText, OleDbParameter[] cmdParms) +92
   Dcms.BaseLib.OleDbHelper.ExecuteScalar(String connectionString, CommandType cmdType, String cmdText, OleDbParameter[] commandParameters) +158
   Dcms.BaseLib.OleDbHelper.GetOneFileValue(String cmdText, String DefaultStr, OleDbParameter[] commandParameters) +66
   Dcms.Common.DcmsDataBaseHelper.GetOneFileValue(String cmdText, String DefaultStr, Object[] commandParameters) in E:\dcms 2.1\Dcms.Common\DcmsDataBaseHelper.cs:78
   Dcms.OleDbDAL.Dcms_CateDAL.GetSubCateIdList(String CurrCateId, String LangVerStr, Int32 CateType, String isMember, String Role) +544
   Dcms.BLL.Dcms_CateBLL.GetSubCateIdList(String CurrCateId, String LangVerStr, Int32 CateType, String isMember, String Role) +64
   Dcms.BLL.Dcms_CateBLL.GetSubCateIdList(String CurrCateId, String LangVerStr, Int32 CateType) +61
   Dcms.UpdateModule.DcmsCommSqlProcess.GetCateListInfo(String CateId, String SelectDir) in G:\备份\dcms 2.1\Dcms.UpdateModule\DcmsCommSqlProcess.cs:182
   Dcms.UpdateModule.DcmsCateProcessCode.CateList(String SqlStr) in G:\备份\dcms 2.1\Dcms.UpdateModule\DcmsCateProcessCode.cs:166
   Dcms.UpdateModule.DcmsAllModelSqlManage.GetSqlStrDataTabel(String SqlStr) in G:\备份\dcms 2.1\Dcms.UpdateModule\DcmsAllModelSqlManage.cs:100
   Dcms.UpdateModule.DcmsTempResolve.GetSqlDataTabel(String SqlStr) in G:\备份\dcms 2.1\Dcms.UpdateModule\DcmsTempResolve.cs:36
   Dcms.BaseClass.DcmsTempBaseResolve.ResolveHtmlModel(Int32 ChildControlsCount, String NextLevel, String NextNextLeval, String CurrLevelStyleStr, String CurrLevelFormatSql, ControlCollection Controls) in E:\dcms 2.1\Dcms.BaseClass\DcmsTempBaseResolve.cs:53
   DcmsModelResolve.Page_Load(Object sender, EventArgs e) in d:\vhostroot\localuser\iweich02\www\UserControl\SysControl\DcmsModelResolve.cs:19
   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) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


版本信息: Microsoft .NET Framework 版本:2.0.50727.8800; ASP.NET 版本:2.0.50727.8762