I'm trying to deploy a web application that uses latest version of OpenAccess (Q1 2010).
Nothing else except IIS (with .net 3.5.1) is installed on the server.
The server is a Windows Server 2008 Std R2.
After including almost every OpenAccess.dll file (as reference) to my project, I receive this:
Could not load file or assembly 'VistaDB.4, Version=4.0.0.0, Culture=neutral, PublicKeyToken=dfc935afe2125461' or one of its dependencies. The system cannot find the file specified.
=== Pre-bind state information ===
LOG: User = IIS APPPOOL\Rubix
LOG: DisplayName = VistaDB.4, Version=4.0.0.0, Culture=neutral, PublicKeyToken=dfc935afe2125461
(Fully-specified)
LOG: Appbase = file:///C:/inetpub/Webs/Rubix/
LOG: Initial PrivatePath = C:\inetpub\Webs\Rubix\bin
Calling assembly : Telerik.OpenAccess.Adonet2, Version=2010.1.312.2, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342.
I dont have VistaDB.4 (and im not using it in my project) so how can I get around this problem ?
Regards
Per
7 Answers, 1 is accepted
We are referencing this dll but it is normally only loaded if you open the vistadb database. We have tested it again and we did not se your error.
Can you send me the complete stack trace? If you run your web site on your developer machine is it working there?
All the best,
Jan Blessenohl
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Hi
Yes, its working if I run the web site on my developer machine but not in production.
My produktion server is a (Windows Server 2008 R2 std x86) that is clean installed. I have only added the IIS, no developer tools or anything.
I then, from inside VS 2010, select to publish my site to the server. (The OpenAccess reference has Enhanced set)
The server creates the site without problem but when I run my application, I receive this:
Server Error in '/' Application.
Could not load file or assembly 'VistaDB.4, Version=4.0.0.0, Culture=neutral, PublicKeyToken=dfc935afe2125461' or one of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'VistaDB.4, Version=4.0.0.0, Culture=neutral, PublicKeyToken=dfc935afe2125461' or one of its dependencies. The system cannot find the file specified.
Source Error:
|
Source File: c:\inetpub\Webs\Rubix\Login.aspx Line: 25
Assembly Load Trace: The following information can be helpful to determine why the assembly 'VistaDB.4, Version=4.0.0.0, Culture=neutral, PublicKeyToken=dfc935afe2125461' could not be loaded.
|
Stack Trace:
|
Version Information: Microsoft .NET Framework Version:4.0.30128; ASP.NET Version:4.0.30128.1
We managed to reproduce the behavior and also found the reason for it. This is a bug on our side and we will have it fixed for the next maintenance release (it will be available in about two weeks or sooner). For now, I can point you to a workaround, and that is to put the Telerik.OpenAccess.Adonet2.dll in the GAC of your server. Than, you should remove it from the "bin" folder of your deployed application. The other temporary workaround you can use is to download a trial version of VistaDb and deploy the VistaDB.4.dll in the bin folder alongside the other dll's of your application.
Greetings,
Zoran
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Cheers,
Brad
This issue is submitted in our Public Issue Tracking System (PITS) where the clients can check about the status of the bug. We have scheduled the fix for the next minor release in PITS. This means that the clients which have reported it or taken part of the forum discussion(yourself and Per Bornsjö) will get email notifications as soon as the fixed version is delivered on the Telerik web site.
Greetings,Zoran
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
We also encounter the same problem when deploying our application for testing to our client. The error occurs the first time and after refreshing the browser page it's ok. I hope this bug will be resolve real soon.
Regards,
Henk
This bug is actually fixed, you should just use the latest internal build of OpenAccess that is available on our web site. If you use the dll's from that version(2010.1.414.3) to deploy your application, you should not encounter any further issues.
Greetings,Zoran
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.