Upgrade error

Posts   
 
    
hchattaway
User
Posts: 38
Joined: 06-Apr-2006
# Posted on: 30-Oct-2006 05:07:11   

I downloaded the newest full install. After installing it, I copied over the updated DLL files to my bin folder. When it needs to access them, the app throws this error:

Could not load file or assembly 'SD.LLBLGen.Pro.ORMSupportClasses.NET20, Version=1.0.2005.1, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I remember seeing this before and forgot the solution...Any help?

Thanks! Harold

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 30-Oct-2006 07:40:07   

Does your application reference Version 1.0.2005.1 or version 2.0 of the SD.LLBLGen.Pro.ORMSupportClasses.NET20?

Make sure you copy the corresponding correct version of LLBLGen Pro dlls.

hchattaway
User
Posts: 38
Joined: 06-Apr-2006
# Posted on: 30-Oct-2006 13:35:47   

Walaa wrote:

Does your application reference Version 1.0.2005.1 or version 2.0 of the SD.LLBLGen.Pro.ORMSupportClasses.NET20?

Make sure you copy the corresponding correct version of LLBLGen Pro dlls.

I copied the new Dll's to the bin directory, but yet the error message is stating that it is trying to reference the 1.0 versions. I copied the new versions and rebuilt the solution.

The output from the build process states also that: Copying file from "C:\Program Files\Solutions Design\LLBLGen Pro v2.0\RuntimeLibraries\DotNet20\SD.LLBLGen.Pro.DQE.SqlServer.NET20.dll" to "C:\Documents and Settings\Harold\My Documents\Visual Studio 2005\WebSites\TTC\WebSite\Bin\SD.LLBLGen.Pro.DQE.SqlServer.NET20.dll"

But when I run the app, it still bombs with the same message.

Thanks Harold

Jessynoo avatar
Jessynoo
Support Team
Posts: 296
Joined: 19-Aug-2004
# Posted on: 30-Oct-2006 15:11:36   

Hi,

as v 1.0.2005 and v2 coexist in the GAC, you probably need to explicitely update the references in your project property manually. Try deleting and adding the new reference in vs.net. The output message suggests that it's been correctly updated for the dqe. Maybe not yet with the ORM Support Classes.

hchattaway
User
Posts: 38
Joined: 06-Apr-2006
# Posted on: 31-Oct-2006 01:42:05   

Jessynoo wrote:

Hi,

as v 1.0.2005 and v2 coexist in the GAC, you probably need to explicitely update the references in your project property manually. Try deleting and adding the new reference in vs.net. The output message suggests that it's been correctly updated for the dqe. Maybe not yet with the ORM Support Classes.

In the "Property Page" page for the project, instead of a specific version for the dll's, it just say "Auto Update".

What does this imply if anything?

Thanks Harold

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 31-Oct-2006 02:27:20   

What is the type of the reference? Is it Bin or GAC? In either case I would remove the reference and set it up again ensuring that it is looking at the latest version that you have. Let us know if that still doesn't work. I've sometimes had to close out of my VS editor and delete some of the DLLs that can't be updated and then restart the app for it to get the newest versions, especially with websites.

hchattaway
User
Posts: 38
Joined: 06-Apr-2006
# Posted on: 01-Nov-2006 17:10:10   

bclubb wrote:

What is the type of the reference? Is it Bin or GAC? In either case I would remove the reference and set it up again ensuring that it is looking at the latest version that you have. Let us know if that still doesn't work. I've sometimes had to close out of my VS editor and delete some of the DLLs that can't be updated and then restart the app for it to get the newest versions, especially with websites.

It says its a BIN reference. I've closed out of VS, and uninstalled LLBLGen 1.x. I am still getting the error. When I add the reference, I am having it point to the copy in the C:\Program Files\Solutions Design\LLBLGen Pro v2.0\RuntimeLibraries\DotNet20 directory.

Thanks Harold

hchattaway
User
Posts: 38
Joined: 06-Apr-2006
# Posted on: 02-Nov-2006 01:39:15   

hchattaway wrote:

bclubb wrote:

What is the type of the reference? Is it Bin or GAC? In either case I would remove the reference and set it up again ensuring that it is looking at the latest version that you have. Let us know if that still doesn't work. I've sometimes had to close out of my VS editor and delete some of the DLLs that can't be updated and then restart the app for it to get the newest versions, especially with websites.

It says its a BIN reference. I've closed out of VS, and uninstalled LLBLGen 1.x. I am still getting the error. When I add the reference, I am having it point to the copy in the C:\Program Files\Solutions Design\LLBLGen Pro v2.0\RuntimeLibraries\DotNet20 directory.

Thanks Harold

It's working now! THe DLL from the newly built LLBLGen project was not copied over to the main BIN directory for the site... it was running the old version.