locked
Register a dll in windows 7 RRS feed

  • Question

  • Hey,

    I am using windows 7 (32 bit) and I am trying to register a dll using regsvr32 command, but it displays following error message.

    "the module dsofile.dll was loaded but the call to dllregisterserver failed with error code 0*8007005"

    I changed the path to the directory where the dll is physically available in command prompt and typed the command

    regsvr32 dsofile.dll

    Can anybody tell any reason for this error? And how may I register this dll. Is there any way to add this dll to component services of the machine?( That is is there any way to register the dll manually?)

    Please help

    • Moved by Dan Quirk - MSFTMicrosoft employee Tuesday, November 15, 2011 8:39 PM This is not an F# question (From:Visual F# General)
    • Moved by Shyam NamboodiripadMicrosoft employee Tuesday, November 15, 2011 8:56 PM This is not a "Roslyn" question either. Moving to the C++ ATL Forum in case someone from there can help. Please re-assign as appropriate if this is not a C++ question. (From:Microsoft "Roslyn" CTP)
    Tuesday, November 15, 2011 3:34 PM

Answers

  • You need to be running as administrator to register a DLL.  To do this manually find the Command Prompt item in the Start menu and right-click on it and select 'Run As Administrator.' 
    • Proposed as answer by BhashTech Wednesday, November 16, 2011 4:56 PM
    • Marked as answer by Eric Battalio Monday, October 1, 2012 5:24 PM
    Tuesday, November 15, 2011 9:17 PM

All replies

  • You need to be running as administrator to register a DLL.  To do this manually find the Command Prompt item in the Start menu and right-click on it and select 'Run As Administrator.' 
    • Proposed as answer by BhashTech Wednesday, November 16, 2011 4:56 PM
    • Marked as answer by Eric Battalio Monday, October 1, 2012 5:24 PM
    Tuesday, November 15, 2011 9:17 PM
  • For info regarding dllregisterserver failed with error code 0*8007005

    please check the link http://support.microsoft.com/kb/827659

     

    thanks,

    Bhash

     

    Wednesday, November 16, 2011 5:04 PM