Deploying LLBL Gen proj into production server error

Posts   
 
    
yj
User
Posts: 39
Joined: 07-Aug-2007
# Posted on: 13-Oct-2007 10:28:26   

LLBLGen PRo2 C# ASP.NET in IIS 6.0 Oracle 10g

Hi guys, I got the following error when I tried to move my application from development server into the production server.

[Could not load file or assembly 'SD.LLBLGen.Pro.ORMSupportClasses.NET20' or one of its dependencies]

I had installed the LLBLGen PRo2 in the server as well, yet still unable to solve the problem. I would like to know is there a way for me to just place the dll files without needing to install the LLBLGen Pro application at my production server?

Thanks

Posts: 254
Joined: 16-Nov-2006
# Posted on: 13-Oct-2007 22:22:03   

Hi Yj,

You certainly shouldn't have to install LLBLGEN on to your production server. You will always need to deploy the core runtime library 'SD.LLBLGen.Pro.ORMSupportClasses.NET20.dll and any DQE depending on your back end database, which in your case should be SD.LLBLGen.Pro.DQE.Oracle10g.NET20.dll

The assembly has to be accessible using the many .NET binding rules e.g. in the GAC, in the same folder, or in another location using the codeBase binding element.

If your still stuck then use the assembly binding fusion log viewer and obtain a binding log when the assembly fails to load. This is very helpful and will tell you the calling assembly, and the assemlby being probed for, including all locations probed.

Cheers Matt

wexa
User
Posts: 38
Joined: 27-Jul-2007
# Posted on: 13-Oct-2007 23:38:07   

I have fixed my problem, when I moved to the production server, the Primary keys where not defined. I always get a messagebox with the advice in designer but this time did not.

It is fixed now, thank you.