Application Exception When I Run It Whitout Admin Account?

May 18, 2009

Im developing an application with Visual Basic 2005 and Oracle Database.It runs perfectly in my developing computer.When I am going to install it in the customer servers, I do it:

1. I install Oracle Database in a dedicated server with Windows 2003.

2. I install the Oracle Client, my application, Oracle Develop Tools for Windows and .NET Framework 2.0 in other dedicated server with Windows 2000.When in this second server, I login in Windows 2000 with "ADMIN" account, the aplication runs 100% perfectly, and oracle database too.

But the problem is : When an user try to connect to the second server without be "ADMIN", (So he's a simple user) the application runs but when it try to connect oracle an exception occurs (in the end of this message I put it).All folders of my application and oracle database have all permisions to all. What can be happen? This is the exception (sorry because its in spanish)[code].....

View 2 Replies


ADVERTISEMENT

VS 2010 Way To Make Like 'admin' Form Where New Account Applies Will Pop-up When 'admin' Log In And Then Either Accept / Reject New Users?

Oct 10, 2010

i have a script with a login form that creates a folder per user with username.txt, password.txt, firstname.txt, and lastname.txt. - auto creates when creating new user.after i log in and change form i want an label showing the first and last name of the person logged in,how am i supposed to do that? is there any way to make like an "admin" form where new account applies will pop-up when "admin" log in and then either accept or reject new users?

View 8 Replies

Run Windows Explorer With An Admin Account While Logged In With A Non Administrative Account?

Sep 12, 2010

Does anyone know how to run windows explorer with an admin account while logged in with a non admnistrative account? i want to be able to open up an admin share on a remote host with windows explorer instead of iexplorer. I tried some code I found on the net to impersonate but it didn't work.

View 2 Replies

Use The Run As Command To Run Cmd.exe As Admin Account - It Doesnt Work?

Mar 4, 2010

I have an MS access database that has fomrs with buttons to do certain tasks - a "console" or "toolkit". I am trying to run cmd.exe as the local administrator using this command....

Call Shell("C:WINDOWSsystem32
unas.exe /noprofile /user:administrator cmd.exe")

If my domain account is added to the local administrators this works fine (it asks for a password - is there any way round this?)

If i visit another PC in the domain on which i am not a local administrator, it doesnt work and i don't know why In both scenarios i can manually browse to cmd.exe and right click and runas a differnt user without any problems.Also, is there a more efficient way of running this command?

View 9 Replies

VS 2010 Admin Privileges In Guest Account?

Feb 5, 2011

i want to excute this command in a guest account

Shell("net user new2 /ADD")

This needs administrator privelages

View 2 Replies

Run Application As Admin?

Nov 22, 2010

I have the need to run my application as Administrator, preferably without prompting the user each time. I'd be ok with a one-time deal, but each time would get old

Application is writing some text files to a user-defined directory (which in some cases is a "protected" directory, like C:Directory). It's throwing all kinds of "Access Denied" errors at runtime.

Is there a registry entry I can insert at installation to escalate the application when ran? or escalate the UAC level in a config file somewhere?

View 5 Replies

Admin On Vista Doesn't Show As Admin Class?

Jun 9, 2009

on XP Pro, IsUserRole(eUserType.Administrator) returns true, if the class is administrator, and false if it's limited...

On Vista, it returns true, if it's the first administrator account, and false for anything else... I created a second administrator account on Vista, and it shows in code as "Standard" (or limited) user, the same as if I made a "Managed Account" on Vista...

My
#Region " [IsUserRole] "
Public Enum eUserType
Administrator = 0

[Code].....

View 7 Replies

Application Needs Admin Rights?

Jan 24, 2009

I installed the program my self and tested it on Windows Vista, but it gives a lot of errors because it creates files into the application folder and it doesn't have admin rights. If I right click and select "Run As Admin" there are no problems of course, but It's not for private use...So I'm searching for a way to automaticly display the "Run As Admin" Dialog when I open my application,

View 7 Replies

How To Make Application Where Can Allow Admin To Add Resources

Dec 28, 2011

How do i make an application where i can allow the admin to add resources and choose when they are used (like choose when music is played or when pictures are used)?

View 1 Replies

Unable To Use 2 Different Login Authorities Which Are Admin And Non-Admin

Mar 11, 2010

I'm designing a system, whereby am unable to use 2 different login authorities, which are Admin and Non-Admin. I am using VB.NET and Ms. Access and need help for the codes.I want something like, if i click on admin/non admin (with different passwords) a dialog box pops onto the screen and asks for the password. If the password is correct it should take me to the form i want. Something of this sort please.

View 9 Replies

C# - Automatically Update My .NET Application In Vista Without Admin Rights?

Apr 16, 2009

I am trying to build a self-updating .NET application that will run in an environment with limited user accounts. No admin rights here. The application must run on Vista and XP, and probably Win 7 when it comes out.An X-copy deployment would be fine. I would prefer NOT to use click-once.So far I have tried a system where the application checks a manifest and downloads updated binaries, which worked great in development, but not so much when the app was installed.Vista refuses to to let me copy files to Program Files. After that, I tried downloading an updated .msi, which works except that the MSI has a UAC prompt -- no go if the user does not have an account with local admin privileges.

running the program in AppData and using the x-copy method might work, but I have not seen anyone say that they have tried it and it did work. Will that work for an account without admin rights? Can anyone vouch for this method before I start writing more code?

View 1 Replies

Make Admin Confirm What A User Enters In Application

May 2, 2012

Just a pretty question that seem to me a bit difficult to do it. Well, I have a form called customers. Login form and mainform. So my clients want to have an option that explains this: If a user enters information in the customer form, then that information has to be confirmed by admins panel.

[Code]...

View 3 Replies

Visual Basic Application Get Local Admin Access?

Jul 9, 2010

I must give my application local admin privacy so my application can acces and chnge (in this case uninstall) ,independently user's access level , I've local admin's pass .

Briefly : I must run as local admin .

View 1 Replies

Service Application Account---configurable?

Jun 2, 2008

I have just developed a solution with a Windows Service Application project and an accompanying Setup project. Is there a way to specify in either project the domain account under which the service should run?

View 3 Replies

Make The Application To Login To Facebook Account?

Oct 19, 2009

i am now to this forum and i hope i can learn much about vb here =].The problem i am stating today is that i want this program to log in to [URL]..o far, i've managed to make the application to login to my facebook account but i cannot make it navigate to mousehunt but even if i do so,

[Code]...

View 7 Replies

Start (Run As) Application With Another Account User And Password

Feb 27, 2011

How can I start (Run As) application for example "C:xxx.exe" with another account-user and password in vb.net?I tried the ( Process.Start ), but it doesn't seem to work.

View 2 Replies

VS 2008 Application Settings For Account Registration?

May 21, 2010

I'm making a program that requires you to be logged in, and I have a registration button. I would like to know how to make it so that when they click the ok button it saves the settings Settings for username is Username and password is Password. The username textbox is TextBox1 , and password is TextBox2

View 1 Replies

Application To Detect Noise And Lock User Account?

Jun 3, 2011

I am looking into programming an application that detects noise levels. If the level is over a specific threshold it will lock a logged on user account. The idea behind this application is to reduce noise levels in a busy IT suite. My question is has anyone written anything similar and did it prove to be effective and is VB the best programming language for the job?

View 1 Replies

Creation Of A New Account (sort Of A Personal Account)

May 17, 2012

I am currently working on a stock market monitoring application. how to create a new portfolio(sort of a personal account) for each user that accesses the system such that 2 different users do not have the same portfolio. I am making use of SQL server for my database.

View 3 Replies

Edit And Save Button Function In Account Info Application?

Apr 12, 2011

I have a program that allows a bank to view clients information.The app will allow the users to click next and previous buttons to see clients information.I also added an edit button and save button to it.

Public Class AccountInformationForm
Private clients(0 To 8) As Client ' Client object
Private position As Integer = 0

[code]...

My problem is with the edit button. I want the user to click on the button, gives the message, then gives the option to edit the four accounts.(firstname,lastname,account number and balance)I can do this type of thing in java but unsure about this code.

View 3 Replies

Make An Application Where Can Store A Lot Of Account Information In A File On Computer?

Jul 5, 2011

make a application where I can store a lot of account information in a file on my computer. This is how it works so far.I have a class called "AccountInfo" with some properties such as Account Name, Password, etc... This is bound to a DataGridView via a Bindingsource. So basicaly what I'm asking, is how can I save/load all these accounts in my computer easily in a file or something?

View 2 Replies

Windows - Vista Exception In Application "Exception Processing Message"?

Apr 5, 2012

Background : I have built a VB .NET application on the 4.0 Framework, part of the primary functionality is the built in AxWMPLib.AxWindowsMediaPlayer which allows us to pass a file path as a URL to the player and then play it through the built in media player. My Development Platform is VS 2010 Pro on Windows 7.

View 1 Replies

Windows Service Running Under A Network Account Is Calling An EXE And Running It Under System Account?

Aug 27, 2010

We have a windows service running under a network account that calls and runs an ActiveX exe. The exe is running under the local system account, not the network account of the service.

View 1 Replies

How To "restart" The Application As Admin

Apr 4, 2010

I want to make my application automaticly restart itself to run as admin (the username is "admin" and the password is "friend" if it is not already) if it run in another session with a normal user.

I was already using this code:

Dim fag As Boolean
Function ConvertToSecureString(ByVal str As String)
Dim password As New SecureString

[Code].....

note that liberte.exe is the exe I wana run with admin mode, I bind it in the ressource, then drop it with this I just want to make my program able to run as admin by itself, not with another program. Is there a code to restart the apps if it detect that its not run as admin or maybe a fonction that "change" the user during a bit of instructions?

View 1 Replies

Catch An Exception And Throw A New Exception Which Wraps The First Exception As An Inner Exception

May 8, 2009

It is possible to catch an exception and throw a new exception which wraps the first exception as an inner exception: [URL] Also, if I call a function and it throws a certain error, but I catch it, will the calling code's catch handler execute? If so, and it is of a higher exception type, is this not wrapping the exception? eg I can throw exception ex of type IndexOutOfRange, log it but rethrow, catch a higher up exception and do something, or I can throw a new exception and wrap an inner exception like:

View 1 Replies

Add Each Account Number To List1 So Now The Account Number Is Associated With The ListBox?

Apr 26, 2009

Ok this is what I'm stuck on:I have 2 ListBoxes and 2 Lists, let's call them ListBox1, ListBox2, List1 and List2.List1 needs to be associated with ListBox 1, and List2 with ListBox2 I loop through a bunch of accounts, add them to LixBox1 at run-time.During that loop I add each account number to List1 so now the account number is associated with the ListBox index number which is right.Now when I double click one of the accounts in ListBox1 it is added to ListBox2 (but it still remains in ListBox1), and the same index of List1 added to List 2, now the account in ListBox2 is associated with the account number at the same index in List2 you see where I'm going with this?The issue wtarts here.When I double click an account (let's say the account at the first index) in ListBox2 it should be removed from the list, so now I remove the index from List2 since it's no longer needed, but now you know what's happened right? ListBox2's List indexes have all decremented by 1 because I just removed an item from the beginning of the list, but List2's indexes have stayed the same (at least that's how it appeared when I tested it).

So basically whats the best method for keeping things in reference? I was told about list boxes in another thread of mine, but is it really the best way to go about this, I can't seem to keep everything linked together reliably.

View 10 Replies

Application Exit Without Exception?

Jan 25, 2012

My application exits sometime without any exception. I am using loop in separate thread to read HID device.

Private Sub USBListenServer()
If (readHandle IsNot Nothing) AndAlso (Not readHandle.IsInvalid) Then
Try

[Code].....

View 1 Replies

Com Exception For Excel.Application?

Jan 2, 2012

Com exception for Excel.Application?

View 3 Replies

Run Windows Application It Says That There Is An Inner Exception?

Mar 6, 2012

When I try to run my windows application it says that there is an inner exception problem and I have no clue what this means,

View 3 Replies

Add Application To Firewall Exception Through Regedit?

Feb 9, 2010

Im trying to add my application to firewall exception through regedit but when i add the sub key it doesnt work.


I dont have to have an installer for a chat program because its only 1 file.

FireWall Dir:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyFirewall Rules

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved