473,473 Members | 1,672 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

VB Project security violation on new Workstation

VB.net migrated a large, multi-moduled VB6 application to a networked drive.
Original workstation modified it and got it running under VB.Net. User was
migrated to a superior workstation with same credentials, id, etc. as before.
When VB.net project debugs, security exception in "unknown module"
immediately occurs.

Copy networked project to local drive, it loads and executes as it should.

Is this the expected behavior or am I missing something?
--
Lawrence E. Shafer
Feb 8 '06 #1
2 1149
When executables are run from a network share they run under various
security restrictions. I am guess on startup it is trying to do that it
isn't allowed to.

When it's run from a local drive, it has as much rights as the user running
it, so it's fine.

"Lawrence Shafer" <La************@discussions.microsoft.com> wrote in
message news:B2**********************************@microsof t.com...
VB.net migrated a large, multi-moduled VB6 application to a networked
drive.
Original workstation modified it and got it running under VB.Net. User
was
migrated to a superior workstation with same credentials, id, etc. as
before.
When VB.net project debugs, security exception in "unknown module"
immediately occurs.

Copy networked project to local drive, it loads and executes as it should.

Is this the expected behavior or am I missing something?
--
Lawrence E. Shafer

Feb 8 '06 #2
jvb
Directions to add code group to .NET configuration

1. Open the .NET configuration utility. It resides in
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 and is called
mscorcfg.msc.
2. Expand Runtime Security Policy * Machine * Code Groups
3. Right click all code and select “New”, enter the name and
description below.
4. Click next and select “URL” from the drop down list and enter
the string:
file://<PATH>/*
This will create a code group of any program that
resides in that directory.
5. Click next and select “Full Trust” from the drop down list.
6. Click next and finish. The code group has been created and programs
can be executed from that directory as if they were executed from the
local machine

Feb 8 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ioannis Demetriades | last post by:
Hi, I created a shortcut to a .NET application that is located on a different workstation but when I try to execute the app (through the shortcut) I get an message saying "The application...
1
by: Sean | last post by:
Hi, I have installed Visual Studio.NET on a W2K Pro workstation and I want to create a Web project into my Windows Server 2003 web server. When trying to create it from my workstation, I receive...
116
by: Mike MacSween | last post by:
S**t for brains strikes again! Why did I do that? When I met the clients and at some point they vaguely asked whether eventually would it be possible to have some people who could read the data...
3
by: DC Gringo | last post by:
Hi, I'm trying to use a custom action to modify a database (rather than create one) using the VS.NET '03's help example called "Custom Action to Create Database During Installation". I've made...
4
by: TS | last post by:
in my web project's bin folder, the dll, that comes from a project reference of a class library in same solution, can't be deleted. it says it has a sharing violation. i also cannot delete the...
0
by: Jess.Albert | last post by:
The overall problem: -I've got .Net 2.0 code running from a network share (\\server01\share\vb.netcode.exe we'll assume). -Windows won't run code from a share unless it's trusted. -I need to...
0
by: Kevin | last post by:
I have an app that frequently gets updated. These people want changes it seems every week. In VB6 I installed the program on all workstations. When a change was made, all I had to do was compile...
4
by: Paul Marrero | last post by:
Hello all. I just got a new computer and loaded Visual Studio 2003 (with SP 1). I have tried numerous times to create an ASP.NET project to no avail. Whenever I try to create a project, VS hangs...
16
by: Jon Davis | last post by:
We ordered new systems with fast hardware and great specs, but Visual Studio takes longer to build a project than on the old workstation. Msbuild is faster, csc.exe is faster, file copy is faster....
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.