cancel
Showing results for 
Search instead for 
Did you mean: 

CR 2010 - Could not load file or assembly 'log4net'... x86 to x64

former_member657844
Participant
0 Kudos

I have read several threads describing developers with similar problems to mine.

My development machine running VS2010 and CR 13.0.2000 (release) is W7 x86, and the web server I deploy to is Server 2008 R2 x64. I can also deploy to XP x86 as a test server. The web application targets .NET 4 and all libraries which form part of the solution which reference CR, reference the same version 13.0.2000. The web site uses a 2010 Web Deployment project and web setup project to compile the msi.

When I deploy to the XP box (setup targets x86), there are no issues and the site opens.

When I deploy to the R2 box (setup targets x64), I get the error "Could not load file or assembly 'log4net'..."

When I deploy to the R2 box (setup targets x86), I get the same error.

In the directory "C:\Windows\assembly", there is only one instance of log4net.dll.

Is this problem simply that I cannot deploy from x86 to x64 when CR is referenced, or is there a workaround?

Robert

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Robert,

Rather than start another thread on this issue attach yourself to one of the existing threads so that the few developers having this problem all get updated at the same time.

We are working on trying to figure out what the conditions those few who do have the problem are and how to resolve it. So far we have not been able to reproduce in house so it's tough to determine what the cause is.

Thank you

Don

Answers (1)

Answers (1)

0 Kudos

Thank you for attaching yourself to: