Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Application exception when I run it whitout Admin account

683115May 18 2009 — edited May 18 2009
Hi there!

Sorry If this topic isn' t here, I didnt know where set it.

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):
/****************************************************/
Consulte el final de este mensaje para obtener más detalles sobre cómo invocar a la depuración
Just-In-Time (JIT) en lugar de a este cuadro de diálogo.

************** Texto de la excepción **************
System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.
en Oracle.DataAccess.Client.OracleException.get_Number()
en gpc_gestion.Modulo_global.datos_conexion.conectar_bd(String user_id, String pwd) en C:\oracle_prog\gpc_gestion\Modulo global.vb:línea 68
en gpc_gestion.form_sesion.cmdconectar_Click(Object sender, EventArgs e) en C:\oracle_prog\gpc_gestion\form_sesion.vb:línea 7
en System.Windows.Forms.Control.OnClick(EventArgs e)
en System.Windows.Forms.Button.OnClick(EventArgs e)
en System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
en System.Windows.Forms.Control.WndProc(Message& m)
en System.Windows.Forms.ButtonBase.WndProc(Message& m)
en System.Windows.Forms.Button.WndProc(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Ensamblados cargados **************
mscorlib
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINNT/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
gpc_gestion
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.0.0.0
Código base: file:///C:/oracle_prog/gpc_gestion/bin/Release/gpc_gestion.exe
----------------------------------------
Microsoft.VisualBasic
Versión del ensamblado: 8.0.0.0
Versión Win32: 8.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINNT/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINNT/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINNT/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINNT/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINNT/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
mscorlib.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINNT/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Oracle.DataAccess
Versión del ensamblado: 2.102.2.20
Versión Win32: 2.102.2.20
Código base: file:///C:/WINNT/assembly/GAC_32/Oracle.DataAccess/2.102.2.20__89b483f429c47342/Oracle.DataAccess.dll
----------------------------------------
System.Data
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINNT/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINNT/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINNT/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Configuration
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINNT/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINNT/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Windows.Forms.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.42 (RTM.050727-4200)
Código base: file:///C:/WINNT/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Depuración JIT **************
Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta
aplicación o equipo (machine.config) debe tener el
valor jitDebugging establecido en la sección system.windows.forms.
La aplicación también se debe compilar con la depuración
habilitada

Por ejemplo:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Cuando esté habilitada la depuración JIT, cualquier excepción no controlada
se enviará al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de diálogo.
/*************************************************************/

Thqnks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 15 2009
Added on May 18 2009
4 comments
927 views