|
-
Mar 2nd, 2006, 07:59 AM
#1
Thread Starter
Member
[RESOLVED] Installing vb.Net App on a Network Drive
Right I'ver finally finished my first app with a deployment package (using Visual Studio.Net 2003 and Crystal Reports) and it works fine as long as the app is installed on individual clients C drives.
I have taken a copy of the bin folder and copied it to a network drive and created a shortcut to the .exe
The application opens fine from the newtork but when I try to execute any code i get the following error message
************** Exception Text **************
System.Security.SecurityException: Security error.
at River_Reporting.Form1.LoadReport(String strReportName)
at River_Reporting.Form1.mnuContacts_Click(Object sender, EventArgs e)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Control.WmCommand(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.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.929
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.947
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.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
----------------------------------------
River Reporting
Assembly Version: 1.0.2251.31225
Win32 Version: 1.0.2251.31225
CodeBase: file:///H:/Chesher/bin/River%20Reporting.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
----------------------------------------
CrystalDecisions.Windows.Forms
Assembly Version: 10.0.3300.0
Win32 Version: 10.0.9500.30
CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.windows.forms/10.0.3300.0__692fbea5521e1304/crystaldecisions.windows.forms.dll
----------------------------------------
CrystalDecisions.Shared
Assembly Version: 10.0.3300.0
Win32 Version: 10.0.9500.31
CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.shared/10.0.3300.0__692fbea5521e1304/crystaldecisions.shared.dll
----------------------------------------
CrystalDecisions.ReportSource
Assembly Version: 10.0.3300.0
Win32 Version: 10.0.9500.19
CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.reportsource/10.0.3300.0__692fbea5521e1304/crystaldecisions.reportsource.dll
----------------------------------------
System.Web
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.947
CodeBase: file:///c:/windows/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll
----------------------------------------
CrystalDecisions.CrystalReports.Engine
Assembly Version: 10.0.3300.0
Win32 Version: 10.0.9500.30
CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.crystalreports.engine/10.0.3300.0__692fbea5521e1304/crystaldecisions.crystalreports.engine.dll
----------------------------------------
Can anyone help me get round this issue as the app really needs to run on the network.
All clients will have the .Net framework installed.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|