borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (develop case based reasoning)Next Topic (help to help) New Topic New Poll Post Reply
AndreaVB Forum : VB General : How can VB use system account?
Poster Message
raz230
Level: Guest


icon How can VB use system account?  Archived to Disk

Hi,

I have a weird problem...

We have a program that is sometimes used on a network.  On a windows 2000 network we have problems with users being able to insert or update an access database from our program.  They can select from it.

This applies even to people with domain admin/admin rights.  The network in question is locked down pretty tight and it doesnt happen to workstations not on the domain, so I am thinking its a permissions problem.

The IT people dont care and its not their problem as far as they see it.

I wonder if I can make my program login to the system account when the user logs into the program. Is there a way to do this?

Thanks!

16-05-2002 at 05:52 PM
| Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1617
icon Re: How can VB use system account?  Archived to Disk

It's not a answer to you're question, but some possible tips/ideas:

1) you can always schedule a program to run in the system accound (AT command), but then you don't have ANY network access.
2a) offhand I don't think a system account running a program has any network rights, so if it requires the network it won't work.
2b) I don't think part of the program running in the system will work any differently.

as far as being able to view, but not change the database...
3) make sure the database is setup on a shared folder that allows (all users needed) to make changes to the folder and files. If they can't, (can't remember if it's write, full or what for the rights) NT will block the updates, reguardless of how the program's designed (making it a IT problem).
4) make sure the connections allow updates (dynamic, lock optimistic) from the program.
5) if you have security setup in the database itself, make sure it allows updates.

offhand given what you've said it seems like point 3 may apply more than the others.

16-05-2002 at 07:41 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : VB General : How can VB use system account?
Previous Topic (develop case based reasoning)Next Topic (help to help) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder