VB 6 applications requires local admin rights to run

G

Guest

Hi,
Can anyone help me with this, I'm trying to run my VB 6 application on a
Win Xp Pro in a Windows 2003 server domain. The problem I have is that, the
system requires the user to have LOCAL Admin rights on the workstation else I
get access denied messages even before the application tries to connect to
the server MSSQL 2000 database.
Please help with any ideas
--
Jerry Okantey

Software Development Manager
Persol Systems Limited
#17 Dadeban Road N.I.A.
Accra-Ghana
West Africa
http://www.persol.net
 
D

Daniel Crichton

Jerry wrote on Thu, 20 Apr 2006 07:03:02 -0700:
Hi,
Can anyone help me with this, I'm trying to run my VB 6 application on a
Win Xp Pro in a Windows 2003 server domain. The problem I have is that,
the system requires the user to have LOCAL Admin rights on the workstation
else I get access denied messages even before the application tries to
connect to the server MSSQL 2000 database.
Please help with any ideas

I've got plenty of VB6 apps here that don't require local admin rights, most
run under user accounts that don't have a local account at all, only domain
accounts. I'd check your references to see if you're using any objects that
might require additional permissions to be set that are not part of the
standard permissions for non-admin users.

Dan
 
G

Guest

Hi Dan,
I guess so, because there is another application on the domain that run
perfectly without local admin rights. Will check my references and send the
list if you have any ideas on which of them may be requiring the local admin
rights.

Many thanks,
--
Jerry Okantey

Software Development Manager
Persol Systems Limited
#17 Dadeban Road N.I.A.
Accra-Ghana
West Africa
http://www.persol.net
 
D

Daniel Crichton

Jerry wrote on Thu, 20 Apr 2006 08:15:03 -0700:
Hi Dan,
I guess so, because there is another application on the domain that run
perfectly without local admin rights. Will check my references and send
the list if you have any ideas on which of them may be requiring the local
admin rights.

Sure, go ahead, I'll see what I can do. :)

Dan
 
G

Guest

Hello Dan,

I have done other tests on my XP Pro PC; what I find is that when I logon to
the domain with an ordinary domain user account, I cannot run simple Vb
applications (ordinary Exes) it comes up with this error "Application
initialization failure"
The same application runs under the domain user account on Windows 2000
perfectly.
Do you think there is probably an option in the OS I need to set so that I
won't require Local Admin rights to run the exe.
--
Jerry Okantey

Software Development Manager
Persol Systems Limited
#17 Dadeban Road N.I.A.
Accra-Ghana
West Africa
http://www.persol.net
 
D

Daniel Crichton

Jerry wrote on Mon, 24 Apr 2006 09:52:02 -0700:
Hello Dan,

I have done other tests on my XP Pro PC; what I find is that when I logon
to the domain with an ordinary domain user account, I cannot run simple Vb
applications (ordinary Exes) it comes up with this error "Application
initialization failure"
The same application runs under the domain user account on Windows 2000
perfectly.
Do you think there is probably an option in the OS I need to set so that I
won't require Local Admin rights to run the exe.

No, as I said before I have loads of VB6 exes that run here on machines with
no admin rights. Did you sort out a list of references? That error could
indicate that one or more of the COM objects you're referencing, or some of
the VB runtimes themselves, have had the normal permissions changed so that
non-admin accounts can't execute them, hence causing the initialisation
failure.

Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top