Error while registering a 32 bit dll in 64 bit environment

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dinesh1440
    New Member
    • May 2010
    • 16

    Error while registering a 32 bit dll in 64 bit environment

    Hi

    I have a dll named TaskScheduler.d ll which is used by another DLL(StartMailin gDLL). Now I need to register Both TaskScheduler DLL and StartMailing DLL so that my ASP Pages can make use of them. I have no problem Registering StartMailingDLL (64 bit). But While I am trying to register interop.TaskSch eduler DLL(Regasm /path/interop.TaskSch eduler.dll),I am getting the following Error.

    RegAsm : error RA0000 : An error occurred while writing the registration information to the registry. You must have administrative credentials to perform this task. Contact your system administrator for assistance

    Pls help me through this. How do I rectify this problem

    Thanks,
    Dinesh M
  • RhysW
    New Member
    • Mar 2012
    • 70

    #2
    You have to register it using an administrator account, otherwise some of the files are protected against normal level users.

    Edit: So if you do this from an administrator account it should work fine for you, if not let me know!
    Last edited by RhysW; Apr 25 '12, 12:22 PM. Reason: More description

    Comment

    • dinesh1440
      New Member
      • May 2010
      • 16

      #3
      Originally posted by RhysW
      You have to register it using an administrator account, otherwise some of the files are protected against normal level users.

      Edit: So if you do this from an administrator account it should work fine for you, if not let me know!
      I am Administrator myself

      Comment

      • RhysW
        New Member
        • Mar 2012
        • 70

        #4
        when you are registering the dll's to it how are you doing this? cmd?

        Comment

        Working...