Connecting Default Server Event Code and using Custom Data Access Layer DLLs

  •  09-05-2008, 1:23 PM

    Connecting Default Server Event Code and using Custom Data Access Layer DLLs

    Hi,

    We have our own Data Access Layer (DAL) .NET Dlls that allows us to access our SQL databases.  I added a Server Event that supposed to read/write to our custom DB through our DAL, added the reference, but I keep getting this error:

    Could not load type 'Foo.BusinessEntities.StatusType' from assembly 'Foo.BusinessEntities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
     
    The deployment of the workflow succeeds.  On the server, the log shows a similarly worded message:
     
    "1285816","2008-09-05 04:20:16","Debug","General","15","GeneralDebugMessage","SourceCode.KO.ProcessInstance.HandleException","15 ServerEvent: Could not load type 'Foo.BusinessEntities.StatusType' from assembly 'Foo.BusinessEntities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.","","","K2BP01DV:d:\k2 blackpearl\Host Server\Bin","1285816","d9603e7e067c4c19bdf078f6b029483e",""
     
     And in the folder on the server, I can see that the DLL is there in the folder:
     
    D:\K2 blackpearl\Host Server\Bin\Work\Proc97
     Does anybody have any experience with using 3rd party DLL or even your own custom DLLs and accessing SQL servers?
     
    Thanks,
     
    Roy
     
     

     

     

     

    Filed under:
View Complete Thread