Version Conflict! :(


E

Evan Camilleri

This is driving me crazy! I removed 7.3.5 and replace with 8.1. Web.Config
refers to 8.1. I found no where in the project referring to 7.3.5. On the
development machine it is working. On the client machine it is not. I even
tried to install the 8.1 evaluation version on the client machine ... still
NO LUCK... seems it still wants to load 7.3.5. Here is the trace:

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'DevExpress.XtraReports.v7.3, Version=7.3.5.0,
Culture=neutral, PublicKeyToken=9b171c9fd64da1d1' could not be loaded.

Assembly manager loaded from:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Running under executable c:\windows\system32\inetsrv\w3wp.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: User = NT AUTHORITY\NETWORK SERVICE
LOG: DisplayName = DevExpress.XtraReports.v7.3, Version=7.3.5.0,
Culture=neutral, PublicKeyToken=9b171c9fd64da1d1
(Fully-specified)
LOG: Appbase = file:///C:/hol/WebStatisticReports/
LOG: Initial PrivatePath = C:\hol\WebStatisticReports\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file:
C:\hol\WebStatisticReports\web.config
LOG: Using host configuration file:
\\?\c:\windows\microsoft.net\framework\v2.0.50727\aspnet.config
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference: DevExpress.XtraReports.v7.3, Version=7.3.5.0,
Culture=neutral, PublicKeyToken=9b171c9fd64da1d1
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/statistics/732b03de/2ef8d446/DevExpress.XtraReports.v7.3.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/statistics/732b03de/2ef8d446/DevExpress.XtraReports.v7.3/DevExpress.XtraReports.v7.3.DLL.
LOG: Attempting download of new URL
file:///C:/hol/WebStatisticReports/bin/DevExpress.XtraReports.v7.3.DLL.
LOG: Attempting download of new URL
file:///C:/hol/WebStatisticReports/bin/DevExpress.XtraReports.v7.3/DevExpress.XtraReports.v7.3.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/statistics/732b03de/2ef8d446/DevExpress.XtraReports.v7.3.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/statistics/732b03de/2ef8d446/DevExpress.XtraReports.v7.3/DevExpress.XtraReports.v7.3.EXE.
LOG: Attempting download of new URL
file:///C:/hol/WebStatisticReports/bin/DevExpress.XtraReports.v7.3.EXE.
LOG: Attempting download of new URL
file:///C:/hol/WebStatisticReports/bin/DevExpress.XtraReports.v7.3/DevExpress.XtraReports.v7.3.EXE.
 
Ad

Advertisements

F

Florian Doyon

Evan,

We've had some issues with DevExpress refs going haywire, that we
could always end up attributing to:

1/ DevExpress use dynamic assembly loading for some tasks (ie.
printing / reporting) so you don't see the reference in the assembly
itself... So using reflector and looking for 'Assembly' usage in
devexpress'code, or using processexplorer from live.sysinternals.com
you'll see which dll is missing. Add it to the references. And
complain to DevExpress :)

2 / How are you deploying to the client machine? Does your project
reference to devexpress all have the 'CopyLocal' property set to true?
For all the dlls, even those loaded at runtime?

Cheers,
Florian
 
C

Chris Marsh

Evan

But is there a reference to 7.3 in any of the assemblies in the bin folder?
Take each assembly, and use Reflector to see which assemblies are referenced
- including version. I have chased down version conflicts this way before -
when previous versions of an assembly are being referenced by third party
assemblies (or similar circumstances).

HTH
 
C

Cowboy \(Gregory A. Beamer\)

I am dittoing Evan on this. Also make sure none of the compiled bits you are
using have any reference.

There are numerous places you can have reference:

1. Bin folder
2. config files
3. another assembly

I would also look at solution and project files, just in case.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

********************************************
| Think outside the box! |
********************************************
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top