Problem registering MyClassLib.dll on VISTA
-
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
-
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
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 )
-
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
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.