Click here to Skip to main content
12,697,311 members (28,133 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# Windows Server
Hi,
when i'm trying to register a dll(32 bit) on 2008 r2 server which is 64 bit it give me error as

The module mydll.dll (dll name) failed to load. make sure the binary is stored at the specified path or etc...
The speciefied module could not be found.

i tried registering from system342 ans syswow64 but it fails. can anyone please help me know whats the problem.

thanks in advance.
Posted 8-Nov-12 8:48am
Comments
Clifford Nelson 8-Nov-12 13:51pm
   
Cannot answer you question with so little information. Maybe should include code.

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Because you have a 32 bit dll on a 64 bit OS. You need to target it differently.

http://blogs.msdn.com/b/oldnewthing/archive/2008/10/20/9006720.aspx[^]
  Permalink  
Comments
Marcus Kramer 8-Nov-12 14:02pm
   
+5
naveedahmed43 8-Nov-12 14:06pm
   
its just the theory part. how to resolve the issue by registering?? i tried syswow 64 also but no help. can you please be more specific on how to solve this problem?
Collin Jasnoch 8-Nov-12 14:07pm
   
You need a dll that will work for 64 bit registration. i.e. it must be recompiled targeting that type of processor.
naveedahmed43 8-Nov-12 14:11pm
   
but i do not have a source code for that. its a third party dll.
Collin Jasnoch 8-Nov-12 14:12pm
   
There is nothing you can do then other than using a 32 bit OS.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 8 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100