解决方案 »
- 表相互依赖
- 请问一下package怎样备份和恢复
- 请问怎样把insert/delete/update三个触发写成一个触发(合在一起,在线等待)
- 一条SQL语名.....
- 多个存储过程怎么能使它们在一个事务中运行。
- 高分求教!to_char(id.nextval,'000000')在转化的时候产生空格的问题!
- 再次呼叫::在使用rman恢复时,“无效日期”再次提问!!!
- 在jsp中调用oracle时,为什么总出现连接已关闭的错误?恳请高手帮忙!
- 求大侠指点 关于plsql 创建一个存储过程,将学号、姓名、插入数据库
- 一直报不是group by 表达式。。求解
- oracle触发器
- oralce的redo日志问题导致数据库无法使用
你试一下NETCA看行不
我查看了注册表有DLL信息,但是部署上报如下错误:
“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------检索 COM 类工厂中 CLSID 为 {DCC3B877-8CF3-4D64-9219-4CF9C3E12E0F} 的组件失败,原因是出现以下错误: 80040154 没有注册类 (异常来自 HRESULT:0x80040154 (REGDB_E_CLASSNOTREG))。
说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.Runtime.InteropServices.COMException: 检索 COM 类工厂中 CLSID 为 {DCC3B877-8CF3-4D64-9219-4CF9C3E12E0F} 的组件失败,原因是出现以下错误: 80040154 没有注册类 (异常来自 HRESULT:0x80040154 (REGDB_E_CLASSNOTREG))。源错误:
行 53: //cc.PreAuthenticate = true;
行 54: //cc.Credentials = credentials;
行 55: IIdentityManager idstar = (IIdentityManager)Server.CreateObject("Idstar.IdentityManager");
行 56: //判断用户是否合法
行 57: isuser = idstar.IsUserExist(user); 源文件: d:\LD_Web_icard\Login.aspx.cs 行: 55 堆栈跟踪:
[COMException (0x80040154): 检索 COM 类工厂中 CLSID 为 {DCC3B877-8CF3-4D64-9219-4CF9C3E12E0F} 的组件失败,原因是出现以下错误: 80040154 没有注册类 (异常来自 HRESULT:0x80040154 (REGDB_E_CLASSNOTREG))。]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +159
System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +256
System.Activator.CreateInstance(Type type, Boolean nonPublic) +127
System.Activator.CreateInstance(Type type) +11
System.Web.HttpServerUtility.CreateObject(String progID) +211
Login.Button1_Click(Object sender, EventArgs e) in d:\LD_Web_icard\Login.aspx.cs:55
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3554
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.17929 ----------
然后我就把IIS里的应用程序池 启用32位应用程序(改为 true)
DLL可以调用了,但是又报以下错误:
Server Error in '/' Application.
--------------------------------------------------------------------------------试图加载格式不正确的程序。 (Exception from HRESULT: 0x8007000B)
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.BadImageFormatException: 试图加载格式不正确的程序。 (Exception from HRESULT: 0x8007000B)Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
[BadImageFormatException: 试图加载格式不正确的程序。 (Exception from HRESULT: 0x8007000B)]
System.Data.Common.UnsafeNativeMethods.OCILobCopy2(IntPtr svchp, IntPtr errhp, IntPtr dst_locp, IntPtr src_locp, UInt64 amount, UInt64 dst_offset, UInt64 src_offset) +0
System.Data.OracleClient.OCI.DetermineClientVersion() +145[InvalidOperationException: Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.]
System.Data.OracleClient.OCI.DetermineClientVersion() +436
System.Data.OracleClient.OracleInternalConnection.OpenOnLocalTransaction(String userName, String password, String serverName, Boolean integratedSecurity, Boolean unicode, Boolean omitOracleConnectionName) +58
System.Data.OracleClient.OracleInternalConnection..ctor(OracleConnectionString connectionOptions) +129
System.Data.OracleClient.OracleConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +40
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +31
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +524
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +72
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +479
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +108
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +125
System.Data.OracleClient.OracleConnection.Open() +43
WebFormClient.Person_perinf.Query(String QuerySelect) +791
WebFormClient.Person_perinf.BindGrid() +482
WebFormClient.Person_perinf.Page_Load(Object sender, EventArgs e) +537
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.272
-------------
有谁知道解决方案啊! 肯求大神帮忙!