Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Problem registering MyClassLib.dll on VISTA

Problem registering MyClassLib.dll on VISTA

Scheduled Pinned Locked Moved C#
csharphelpvisual-studioquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Khoramdin
    wrote on last edited by
    #1

    Hello everyone, I have written a class library app in VS C# 2005 and want to deploy it. Once on a machine, I am run Regasm /cobebase MyClassLib.dll from the .Net location to make it work. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe [path of dll]\MyClassLib.dll Doing so, I get an error saying "You must have administrative credentials to perform this task". Contact your system administrator for assistance." I am puzzled since I am the only user on my computer and the administrator! I even doubble checked that from Control Panel/ User Account and Family. I am using Vista OS. Is there any other way to get to my computer as an admin? Any information on this would be great. Thank you very much and have a great day. Khoramdin -- modified at 23:31 Wednesday 14th November, 2007

    C V 2 Replies Last reply
    0
    • K Khoramdin

      Hello everyone, I have written a class library app in VS C# 2005 and want to deploy it. Once on a machine, I am run Regasm /cobebase MyClassLib.dll from the .Net location to make it work. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe [path of dll]\MyClassLib.dll Doing so, I get an error saying "You must have administrative credentials to perform this task". Contact your system administrator for assistance." I am puzzled since I am the only user on my computer and the administrator! I even doubble checked that from Control Panel/ User Account and Family. I am using Vista OS. Is there any other way to get to my computer as an admin? Any information on this would be great. Thank you very much and have a great day. Khoramdin -- modified at 23:31 Wednesday 14th November, 2007

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Vista sucks. Just because you are admin, doesn't mean you're admin. Make sure you right click on any app you want to run as admin and choose 'run as adnimistrator'

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      1 Reply Last reply
      0
      • K Khoramdin

        Hello everyone, I have written a class library app in VS C# 2005 and want to deploy it. Once on a machine, I am run Regasm /cobebase MyClassLib.dll from the .Net location to make it work. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe [path of dll]\MyClassLib.dll Doing so, I get an error saying "You must have administrative credentials to perform this task". Contact your system administrator for assistance." I am puzzled since I am the only user on my computer and the administrator! I even doubble checked that from Control Panel/ User Account and Family. I am using Vista OS. Is there any other way to get to my computer as an admin? Any information on this would be great. Thank you very much and have a great day. Khoramdin -- modified at 23:31 Wednesday 14th November, 2007

        V Offline
        V Offline
        Vasudevan Deepak Kumar
        wrote on last edited by
        #3

        Khoramdin wrote:

        Doing so, I get an error saying "You must have administrative credentials to perform this task". Contact your system administrator for assistance."

        It might be most probably a UAC interference issue. Check out this UAC Step-by-Step guide: http://technet2.microsoft.com/WindowsVista/en/library/0d75f774-8514-4c9e-ac08-4c21f5c6c2d91033.mspx?mfr=true[^]

        Vasudevan Deepak Kumar Personal Homepage
        Tech Gossips
        Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups