I've created a console application in my dev enironment that uses LLBLGen and want to port the executable to my staging environment. However when i invoke my application in the staging area, i keep getting the error "The type initializer for 'SD.LLBLGen.Pro.DQE.SqlServer.DynamicQueryEngine' threw an exception" when i am referencing any LLBLGen method.
All i have done is copy all the files within the bin directory of my dev environment into my staging environment and fire the .exe to see if this is working. It works fine when i invoke the .exe in my dev environment but not on staging.
Within my bin directory contains the ,
My .exe alongwith the .exe.config file
LLLBLGen.dll,
SD.LLBLGen.Pro.DQE.SqlServer.NET20.dll,
SD.LLBLGen.Pro.ORMSupportClasses.NET20.dll
Does anybody know what i am doing wrong here?? Could it be that i am not referencing the LLBLGen binaries correctly?
Any help would be much appreciated.
cheers