Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / June 2007

Tip: Looking for answers? Try searching our database.

caspol.exe from .NET 2.0 on Vista - access denied

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ihor Bobak - 31 May 2007 11:13 GMT
I've installed Vista Business on a virtual machine, created a user "test"
during installation. This user is in the Administrators role, I can see it in
Computer / Manage / Local Users and Groups.

My problem is next. When I run a .NET 2.0 configuration command
caspol -m -ag All_Code -site mysite.com FullTrust -n mysite.com
from console, I receive this error:

ERROR: Runtime error: Access denied. You might not have administrative
credentials to perform this task. Contact your system administrator for
assistance.

Note: the user under which I'm running this command is in the Administrators
group.

Question: what do I need to do in order to make caspol.exe (of .NET 2.0)
working in Windows Vista? In WinXP I have no such problem.

Signature

Best regards,
Ihor.

Ihor Bobak - 31 May 2007 11:26 GMT
Dear Microsoft representatives,

I am empower subscriber, but first time here. So, I am not sure I've
specified my
nospam alias correctly as described here
http://msdn2.microsoft.com/en-us/subscriptions/aa948868.aspx

So, please, would you be so kind as to answer my question?

Thanks.

Signature

Best regards,
Ihor.

Alvin Bruney [MVP] - 02 Jun 2007 03:02 GMT
The most logical thing is that you really aren't an administrator. Verify
that step again, if it is correct, you should post this in the vista
newsgroup. Caspol requires admin privileges on the OS.

Signature

Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
https://www.microsoft.com/MSPress/books/10933.aspx
OWC Black Book www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley

> I've installed Vista Business on a virtual machine, created a user "test"
> during installation. This user is in the Administrators role, I can see it
[quoted text clipped - 15 lines]
> Question: what do I need to do in order to make caspol.exe (of .NET 2.0)
> working in Windows Vista? In WinXP I have no such problem.
Ihor Bobak - 02 Jun 2007 12:16 GMT
> The most logical thing is that you really aren't an administrator. Verify
> that step again, if it is correct, you should post this in the vista
> newsgroup. Caspol requires admin privileges on the OS.

Believe me, the user under which I ran caspol exe IS in the Administrator's
group.

As I said, I just installed Vista, created a user with the name "test",
verified that he is in the Administrators group, and then launched the
caspol.exe.

However, if I ran it under Administrator user, it worked fine.

In Windows XP it does not matter under which user you run this command, it
matters only that the user belongs to the Administrators group.
Unfortunately, in Vista it is not so.

> > I've installed Vista Business on a virtual machine, created a user "test"
> > during installation. This user is in the Administrators role, I can see it
[quoted text clipped - 15 lines]
> > Question: what do I need to do in order to make caspol.exe (of .NET 2.0)
> > working in Windows Vista? In WinXP I have no such problem.
Alvin Bruney [MVP] - 02 Jun 2007 19:40 GMT
Ya, check the Vista newsgroup to see if you find any more help with this.

Signature

Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
https://www.microsoft.com/MSPress/books/10933.aspx
OWC Black Book www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley

>> The most logical thing is that you really aren't an administrator. Verify
>> that step again, if it is correct, you should post this in the vista
[quoted text clipped - 36 lines]
>> > 2.0)
>> > working in Windows Vista? In WinXP I have no such problem.
Nicole Calinoiu - 05 Jun 2007 16:24 GMT
Is UAC active on this admin account?  If so, then it's also active on a
command line launched for that account.  To run caspol with your full
administrative token, you'll first need to launch a command line as an
administrator (e.g.: by selecting the "run as administrator" context menu
item for the command prompt item on the start menu).

> I've installed Vista Business on a virtual machine, created a user "test"
> during installation. This user is in the Administrators role, I can see it
[quoted text clipped - 15 lines]
> Question: what do I need to do in order to make caspol.exe (of .NET 2.0)
> working in Windows Vista? In WinXP I have no such problem.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.