ylele
asked on
Error while testing performance of my application in visual studio 2005
Hi Gurus,
I am getting error below while testing the performace of my application in visual studio 2005 with vb.net
-------------------------- -
Microsoft Visual Studio
-------------------------- -
Error VSP1398 : The monitor was unable to start the kernel mode driver (VSPerfDrv.sys). Access is denied. Profiling cannot continue.
-------------------------- -
OK
-------------------------- -
I am getting error below while testing the performace of my application in visual studio 2005 with vb.net
--------------------------
Microsoft Visual Studio
--------------------------
Error VSP1398 : The monitor was unable to start the kernel mode driver (VSPerfDrv.sys). Access is denied. Profiling cannot continue.
--------------------------
OK
--------------------------
ASKER
Nope I am not a administrator on my system.
normal user
normal user
That's the reason. The administrator can start the kernal mode drivers not a normal user.
ASKER
So is that not possible i can give permission to services and add user to ACL?
I am not very good at permissions and policies side but if you could impersonate as an administrator when starting the driver, then the problem may be solved.
ASKER
there is no other way to start the kernal mode drivers for normal user?
According to a website, Vista blocks all kernel mode drivers. Microsoft advocates user mode drivers. I have googled myself and unable to find any information. Try logging in as an administrator and run the profiler. If it works then it means the reason is user. If it does not work even with administrative permissions then something else is wrong.
ASKER
hi Cruiser,
As a admin its works fine.
thanks cruiser.
As a admin its works fine.
thanks cruiser.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks CodeCruiser. Great Help
Are you logged in as an administrator?