运行 aspnet_regiis -i 试一下,可能是asp.net 的问题.

解决方案 »

  1.   

    check EventViewer in Control Panel->Administrative Tools to see what is wrong
      

  2.   

    看一下windows事件日志,问题在那里
      

  3.   

    查了一下:按时间先后顺序
    ---------------------------------------------------------------------------
    事件来源: ASP.NET 1.0.3705.0
    事件 ID: 1000
    日期: 2003-7-11
    事件: 15:18:55
    aspnet_wp.exe  (PID: 1308) 意外停止。 
    -----------------------------------------------------------------------------
    事件来源: COM+
    事件种类: SVC
    事件 ID: 4194
    日期: 2003-7-11
    事件: 15:18:54
    系统调用了一个客户自定义组件,该组件已失败并产生了一个异常错误。这说明自定义组件有问题。请将该失败通知组件的开发者关于并提供他们下列信息。
    组件 Prog ID: SC.Pool 0 0
    方法名称: IDispenserDriver::DestroyResource
    进程名称: aspnet_wp.exe
    该错误的严重性已导致进程终止。
    异常: C0000005
    地址: 0x1F667FDB
    调用堆栈: 
    MSDART!MpHeapFree + 0x53
    MSDART!MpHeapFree + 0x20
    MSDART!mpFree + 0x16
    oledb32!DllCanUnloadNow + 0x3356
    oledb32 + 0x2257
    COMSVCS!DispManGetContext(unsigned long *,unsigned long *) + 0x2145
    -----------------------------------------------------------------------------
    事件来源: ASP.NET 1.0.3705.0
    事件 ID: 1003
    日期: 2003-7-10
    事件: 19:25:45
    aspnet_wp.exe  (PID: 1540) 被回收,原因是怀疑它处于死锁状态。它在最近的 180 秒钟未对挂起的请求发送任何响应。 
    ---------------------------------------------------------------------------------
    事件来源: ASP.NET 1.0.3705.0
    事件 ID: 1000
    日期: 2003-7-10
    事件: 18:09:03
    aspnet_wp.exe  (PID: 2760) 意外停止。 
      

  4.   

    数据库连接语句:
    strCon = "Provider=MSDAORA.1;Password=" & strPW & ";User ID=" & strUser & ";Data Source=" & strServerName
      

  5.   

    你的系统里用没用到自己的COM组件?
      

  6.   

    组件 Prog ID: SC.Pool 0 0
    方法名称: IDispenserDriver::DestroyResource
    什么DD?是不是删除资源的时候?你可以DEBUG一下试试?
      

  7.   

    换成8i看看呢换成sqlserver测试如果不出问题,
    正版的oracle可以找找有没有oracle的补丁。或者咨询oracle.
      

  8.   

    最近修改程序记录了一下日志,出错的时候的日志如下:
    ------------------------------------------------------------------------------
    事件类型: 错误
    事件来源: Logon_Logistic
    事件种类: 无
    事件 ID: 0
    日期: 2003-7-17
    事件: 12:04:36
    用户: N/A
    计算机: CSS
    描述:
    引发异常的方法:Void ProcessResults(Int32)
    描述:灾难性故障
    调用堆栈上的帧:   at System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr)
       at System.Data.OleDb.OleDbConnection.CreateProviderError(Int32 hr)
       at System.Data.OleDb.OleDbConnection.CreateProvider()
       at System.Data.OleDb.OleDbConnection.Open()
       at CircleStock.CSCommon.CDBAccess.ExecSPReturnDS(String SQLStr)
       at CircleStock.Security.CSecurity.CheckIdentity(String strUserCode, String strPassword)
       at CircleStock.Login.txtSubmit_Click(Object sender, EventArgs e) 
    -------------------------------------------------------------------------------
    发现是在用户点登陆按钮时发生的
      

  9.   

    事件类型: 错误
    事件来源: Logon_Logistic
    事件种类: 无
    事件 ID: 0
    日期: 2003-7-17
    事件: 12:03:15
    用户: N/A
    计算机: CSS
    描述:
    引发异常的方法:Int32 Execute(IntPtr, System.Guid ByRef, tagDBPARAMS, Int32 ByRef, System.Object ByRef)
    描述:未将对象引用设置到对象的实例。
    调用堆栈上的帧:   
       at System.Data.Common.ICommandText.Execute(IntPtr pUnkOuter, Guid& riid, tagDBPARAMS pDBParams, Int32& pcRowsAffected, Object& ppRowset)
       at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
       at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
       at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
       at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
       at System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior)
       at System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
       at System.Data.Common.DbDataAdapter.Fill(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
       at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
       at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
       at CircleStock.CSCommon.CDBAccess.ExecSPReturnDS(String SQLStr)
       at CircleStock.Security.CSecurity.CheckIdentity(String strUserCode, String strPassword)
       at CircleStock.Login.txtSubmit_Click(Object sender, EventArgs e) 
      

  10.   

    是IIS的问题还是oracle数据库的问题,请教各路神仙,我也碰到了类似的问题。
    up一下
      

  11.   

    不用OleDb,用另外一个组件:Microsoft .NET Framework Data Provider for Oracle试试看
    这个组件是专门针对Oracle数据库的
    http://msdn.microsoft.com/library/default.asp?url=/downloads/list/netdevframework.asp
      

  12.   

    差不多解决了,方法两种,一种是不用连接池,一种是用.net framework 1.1(目前没有问题,还有待进一步观察)