Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Problem with impersonate

Thread Tools

Problem with impersonate

Posts: n/a
I've to access registry and also get cpu id from the web application.
First i wrote code to get cpuid from web application then i got cpu id.
Next i wrote code to set value into a registry and when ran the application
i got error that access to Registry is denied some thing.
and then what i did is i changed the impersonate="true" from false in
identity section of the machine.confog file.
and then ran the application then i successfully placed the value into the
registry, but i couldnt get the cpu id.

again icnaged the impersonate to false now it is working for cpu id and not
for registry.

Can anybody tell me the solution for my problem.
i've to access registry and also get cpuid how can i achieve this.
Its very urgent for me
Thanx in advance

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
please help + impersonate problem =?Utf-8?B?QmFsYQ==?= ASP .Net 1 11-04-2005 12:30 AM
Impersonate problem =?Utf-8?B?QmFsYQ==?= ASP .Net 1 11-03-2005 12:20 AM
ASP.NET Webservice Impersonate problem Aras Kucinskas ASP .Net 0 08-31-2004 02:07 PM
DirectoryEntry Impersonate or WindowsIdentity Impersonate? Bill Belliveau ASP .Net Security 3 01-31-2004 04:19 AM
network (drive) access/impersonate identity problem Peter O'Reilly ASP .Net 2 11-03-2003 09:14 PM