Click here to Skip to main content
15,890,185 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Unable to launch my windows applcation as standard user on WIndows7?

Our application was written using VB.Net and uses C++ com component.

I am able to run the applicaion successfully if login as Administrator on windows 7. I know it is something related to permissions... But how i can found out what it is looking for? I mean what DLLs it is trying to access... I tried to debug the code but it doesn't even hit the page_load method... and it is logging the below error message in the Event Viewer? Can someone help me on this?

Faulting application name: Ravi.exe, version: 32.0.5009.17163, time stamp: 0x5239b96e
Faulting module name: main.DLL, version: 0.0.0.0, time stamp: 0x5239be81
Exception code: 0xc0000417
Fault offset: 0x0003dca4
Faulting process id: 0xabc
Faulting application start time: 0x01ceb54a50563a12
Faulting application path: C:\\Ravindranath\FutureReviewIssue\Pcomm\Ravi.exe
Faulting module path: C:\\Ravindranath\FutureReviewIssue\Pcomm\main.DLL
Report Id: 902e212d-213d-11e3-b036-78acc0c3e4c4

main.DLL is the C++ COM component.....Application will try to access this at run time...
Posted
Updated 19-Sep-13 5:22am
v2
Comments
Sergey Alexandrovich Kryukov 19-Sep-13 11:58am    
Than remove the tag "ASP.NET" from this question.
Help with what? You did not provide any relevant information. At least run it under the debugger and find out what's going wrong.
—SA
Dave Kreskowiak 19-Sep-13 12:10pm    
What type of application is this?? You put the ASP.NET tag in your question, but ASP.NET applications are never run by a user, but as a service. Users "use" them by opening a web browser and navigating to its URL.

1 solution

Here is my solution. I might be wrong but give it a try:
Go to the project settings. Go to Linker -> Manifest File.
Set UAC Execution Level to "requireAdministrator".
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900