Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > How to set user Account in vs.net 2003 ??
 

How to set user Account in vs.net 2003 ??

hi masters,

i have installed an application to my client's PC in admin mode, it works fine,but when clients is login as a user mode then he is unable to access that application.

to solve this issus some one has suggested me to change the user Account as set local system at the time of making the setup.

but friend's i am not found this type of any option in vs.net2003.

pls any one help me ????????????

Ghanshyam Singh  Tuesday, July 04, 2006 7:35 AM

Hi Ghanshyam

I would like to get answers to few questions to assist you better.

1) What type of application is it WEB / Windows ?

2) What this application does (does it really require administrative privilege)

3) If it is windows application is this application a windows service and if so then you can make it run under LocalSystem account.

Please answer the following questions and try to describe your problem in more detail.

Thanks

a Vikas Verma  Tuesday, July 04, 2006 10:11 AM

Thanks for reply

Ans 1 : This is an windows Application.

Ans 2: its a simple database application using ms sqlserver 2000 and crystal report. i dont think it require administrative privilege...

Ans 3: This application is not a windows services type, it is just a database application including the crystal report.

Ghanshyam Singh  Wednesday, July 05, 2006 4:50 AM

Ghanshyam,

There is noway to make setup as LocalSystem as this is only supported for Windows Service Installer and to make windows services run under LocalSystem account.

What i would suggest you to check if the system is windows XP and the firewall is turned on. you may want to try turning off the firewall temporarily and check if it works fine. other problem that i can think of is that the client application is trying to read or write sum registry entry which it does not have permission to or may be some file resourse which the application/user does not have permission to. i would suggest you to download "FileMon" and "RegMon" from www.sysinternals.com and run both applications before you start your application and then after you get the error in client application, check for the filemon and regmon logs to figure out where you getting access denied error.

I think you can figure out the problem this way or you may want to send me the filemon and regmon logs to look at them.

Thanks

a Vikas Verma  Wednesday, July 05, 2006 6:28 AM
Did you install it with the "Just me" radio button checked? If so, another user will not be able to see it. You have to install it with the Everyone button set.
PhilDWilson  Thursday, July 06, 2006 11:23 PM

i have checked the option button as "EveryOne"

and the application is accesible but the probelum is coming when the application is trying to access the database.

i have installed my database in as exsisting sql server desktop engin which is already persent in the clients computer.

i dont know how to install the client part using the osql from the command prompt.

if you know this process pls inform me.......

Ghanshyam Singh  Saturday, July 08, 2006 9:02 AM

You can use google to search for other answers

Custom Search

More Threads

• How to create cutomized Setup ?
• Error in isolating COM-reference
• Error build Setup project if lage file added
• How to cancel installation in Installer class? Not by throwing exception
• hi all
• Stop Windows Service Before Install
• ComboBox control in dialog (WiX)
• Customizing Deployment Setup
• ClickOnce - User settings cleared after update - can we explore in depth?
• Can't disable auto-update on startup (after canceling async update)