RE: Troubles deploying my application
From: Niroo (Niroo_at_discussions.microsoft.com)
Date: 07/07/04
- Next message: Niki Estner: "Re: Casting managed array"
- Previous message: Elp: "Re: How to pause a process for a given time?"
- In reply to: Keith: "Troubles deploying my application"
- Next in thread: Keith: "Re: Troubles deploying my application"
- Reply: Keith: "Re: Troubles deploying my application"
- Reply: Keith: "RE: Troubles deploying my application"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 7 Jul 2004 02:58:01 -0700
What makes you think this is a security error?
You say that you supply COM interop wrappers - does your install also install and register the COM components?
Niroo
"Keith" wrote:
> I am using the built-in setup installer which comes with VS 2003. I am
> always having problems running the application on other machines other than
> my development machines with VS. It seems like most of the time it is a
> security/privilege problem. One time I succeeded to run the app by making
> the user a local administrator of the computer. My app only uses the
> standard 1.1 system assemblies. The other proprietary assemblies(COM interop
> wrappers) exist in the app folder. The app is not in the GAC. Of course the
> app run great on my computers. What's the deal? what am I missing? Most
> of the problems is the app runs in a crippled mode and if you click a tab
> control or type in a text control it throws an error. Of course it works
> great on my computer. I have also used the .NET config tool to allow
> execution and privileges to the required assemblies. If an admin installs
> the app it seems all users should be able to run the app. and have code
> execution privileges on all the required assemblies.
>
> Below is the error report.
>
> Thanks
> Keith
>
> See the end of this message for details on invoking
> just-in-time (JIT) debugging instead of this dialog box.
>
> ************** Exception Text **************
> System.ArgumentNullException: Value cannot be null.
> Parameter name: item
> at System.Windows.Forms.ObjectCollection.AddRangeInternal(IList items)
> at System.Windows.Forms.ObjectCollection.AddRange(Object[] items)
> at CBHAPOSApp.frmMain.frmMain_Load(Object sender, EventArgs e)
> at System.Windows.Forms.Form.OnLoad(EventArgs e)
> at System.Windows.Forms.Form.OnCreateControl()
> at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
> at System.Windows.Forms.Control.CreateControl()
> at System.Windows.Forms.Control.WmShowWindow(Message& m)
> at System.Windows.Forms.Control.WndProc(Message& m)
> at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
> at System.Windows.Forms.ContainerControl.WndProc(Message& m)
> at System.Windows.Forms.Form.WmShowWindow(Message& m)
> at System.Windows.Forms.Form.WndProc(Message& m)
> at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
> at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
> IntPtr wparam, IntPtr lparam)
>
>
> ************** Loaded Assemblies **************
> mscorlib
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
> file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
> ----------------------------------------
> CBHAPOSApp
> Assembly Version: 1.1.1647.39426
> Win32 Version: 1.1.1647.39426
> CodeBase: file:///C:/Program%20Files/CBHA/CashRegister/CBHAPOSApp.exe
> ----------------------------------------
> System.Windows.Forms
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
> file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
> ----------------------------------------
> System
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
> file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
> ----------------------------------------
> System.Data
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
> file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
> ----------------------------------------
> System.EnterpriseServices
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
> file:///c:/windows/assembly/gac/system.enterpriseservices/1.0.5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll
> ----------------------------------------
> System.Xml
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
> file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
> ----------------------------------------
> System.Drawing
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.573
> CodeBase:
> file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
> ----------------------------------------
>
> ************** JIT Debugging **************
> To enable just in time (JIT) debugging, the config file for this
> application or machine (machine.config) must have the
> jitDebugging value set in the system.windows.forms section.
> The application must also be compiled with debugging
> enabled.
>
> For example:
>
> <configuration>
> <system.windows.forms jitDebugging="true" />
> </configuration>
>
> When JIT debugging is enabled, any unhandled exception
> will be sent to the JIT debugger registered on the machine
> rather than being handled by this dialog.
>
>
>
>
>
- Next message: Niki Estner: "Re: Casting managed array"
- Previous message: Elp: "Re: How to pause a process for a given time?"
- In reply to: Keith: "Troubles deploying my application"
- Next in thread: Keith: "Re: Troubles deploying my application"
- Reply: Keith: "Re: Troubles deploying my application"
- Reply: Keith: "RE: Troubles deploying my application"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|