Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VistaDB.Provider Error
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 1.1
OS:
Windows XP
Network:
Windows 2000 Server
Database:
VistaDB
Miscellaneous
Thread ID:
01005136
Message ID:
01006054
Views:
19
Ernst,

>I have a MM.NET-application, which works fine with SQL Server. After migrating the database to a VistaDB-database and setting up as descibed in the dokumentation, it was not possible to run the app.
>
>I get the following error when the business object attempts to access the data access object:
>
>"The located assembly's manifest definition with name 'VistaDB.Provider' does not match the assembly reference." (In fact, the Message is in German, but it's exactly this one)
>
>When I change the reference to the provider in all possible combinations, the message is always the same. Does anybody know a solution for this problem?

It sounds like you may have a different version of VistaDB than was used in creating the MM .NET VistaDB data access class. Try this:

  1. Open the MM .NET VistaDB project (under C:\Program Files\Mere Mortals .NET Framework 2003\Third Party Components\VistaDB) and expand assembly references

  2. Remove the reference to VistaDB.Provider

  3. Add a reference to the VistaDB.Provider assembly on your machine

  4. In order to recompile, you need to create your own strong key for the MM .NET VistaDB project. To do this, Launch a VS .NET Command Prompt, by clicking on the Windows Start menu and selecting All Programs | Microsoft Visual Studio .NET 2003 | Visual Studio .NET Tools | Visual Studio .NET 2003 Command Prompt.

    From within the Command Prompt window, change to the \ obj\debug directory of your project. Run sn.exe, and specify the name of the key pair file as follows:
    sn –k keyPair.snk
  5. Rebuild the MM .NET VistaDB solution. The new DLL will be in the project folder under bin\debug.

  6. Copy both the PDB and DLL files from bin\debug to the project’s root directory, overwriting the existing PDB and DLL files.

  7. Open two instances of Windows Explorer. From the first instance, navigate to the MM .NET VistaDB root project. In the second instance, navigate to the Windows\Assembly (or WINNT\Assembly folder) drag and drop the new DLL from the bin\debug folder into your Windows\Assembly folder. This updates the GAC.


Let me know if this works for you.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform