dll hangs

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Von Shean

    #1

    dll hangs

    I have a dll in .net that is used by another dll. The second dll is used in
    the web and the first one acts as a middle layer. The dll contains
    non-transactional and transactional classes. I have registered the dll in
    com+ services using regsvcs. Non-transactional works fine. But the calls to
    transactional classes hang when called by the second dll.
    I execute a SqlHelper.Execu teReader.
    No call to the database is made.
    Looking at the eventlog i get different entries. The most common one was


    Server stack trace:
    at System.Data.Com mon.ITransactio nExport.Export( ITransaction transaction,
    UInt32& transactionCook ie)
    at System.Data.Sql Client.Transact ion.GetTransact ionCookie(Byte[] dtcAddr,
    ITransaction transaction, ITransactionExp ort& transactionExpo rt, Byte[]&
    cookie, Int32& length)
    at
    System.Data.Sql Client.SqlInter nalConnection.E nlistNonNullDis tributedTransac t
    ion(ITransactio n transaction)
    at
    System.Data.Sql Client.SqlInter nalConnection.E nlistDistribute dTransaction(IT r
    ansaction newTransaction, Guid newTransactionG uid)
    at
    System.Data.Sql Client.SqlInter nalConnection.E nlistDistribute dTransaction()
    at System.Data.Sql Client.SqlInter nalConnection.A ctivate(Boolean
    isInTransaction )
    at System.Data.Sql Client.SqlConne ction.Open()
    at Microsoft.Appli cationBlocks.Da ta.SqlHelper.Ex ecuteReader(Str ing
    connectionStrin g, CommandType commandType, String commandText,
    SqlParameter[] commandParamete rs)
    at
    WRIPPlatform.Pe rsistence.Impl. SubscriptionSql HandlerImpl.Lis tSubscriptions( P
    rogram program, Participant participant)
    at
    WRIPPlatform.Pl atform.Impl.Sub scriptionManage rImpl.ListSubsc riptions(Progra m
    program, Participant participant)
    at System.Runtime. Remoting.Messag ing.Message.Dis patch(Object target,
    Boolean fExecuteInConte xt)
    at
    System.Runtime. Remoting.Messag ing.StackBuilde rSink.SyncProce ssMessage(IMess a
    ge msg, Int32 methodPtr, Boolean fExecuteInConte xt)

    Exception rethrown at [0]:
    at System.Runtime. Remoting.Proxie s.RealProxy.Han dleReturnMessag e(IMessage
    reqMsg, IMessage retMsg)
    at System.Runtime. Remoting.Proxie s.RealProxy.Pri vateInvoke(Mess ageData&
    msgData, Int32 type)
    at WRIPPlatform.Pl atform.ISubscri ptionManager.Li stSubscriptions (Program
    program, Participant participant)
    at
    WRIPWeb.ASPX.Pa rticipantConfig ure.CreateSubsc riptionDetailsS ource(Participa n
    t participant)
    at WRIPWeb.ASPX.Pa rticipantConfig ure.OnBtnSelect Click(Object sender,
    EventArgs e)

    Help!!!

    Regards,


Working...