473,761 Members | 9,864 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

running app on network drive

cj
I have a program (soap client that also uses sql server stored procs)
that I built and tested on my c: and it works great. It was decided it
should be put on the network drive. I copied obj\release\*.* to a
folder on the network and the program hung trying to connect with the
soap server. I tested on my machine and it works. I copied the whole
project directory to the network and intended to run it in debug mode
from the network but when I go to open it I get "The project location is
not fully trusted by the .NET runtime...." I've been doing some reading
but I'm still not sure I understand. What do I do?
May 10 '06 #1
3 1243
This msg shows when you open project from network drive. It is normal.
I don't know what to do with this:) I think that you can work normal

Mrozu

May 10 '06 #2
"cj" <cj@nospam.nosp am> schrieb:
I have a program (soap client that also uses sql server stored procs) that
I built and tested on my c: and it works great. It was decided it should
be put on the network drive. I copied obj\release\*.* to a folder on the
network and the program hung trying to connect with the soap server. I
tested on my machine and it works. I copied the whole project directory to
the network and intended to run it in debug mode from the network but when
I go to open it I get "The project location is not fully trusted by the
.NET runtime...." I've been doing some reading but I'm still not sure I
understand. What do I do?


You can alter security settings by using the "CASPOL.EXE " command-line
tool which is part of the .NET Framework. In large heterogenous corporate
networks it may be possible to deploy a security policy via an MSI
package alternatively:

How do I deploy my security policy?
<URL:http://staff.newtellig ence.net/michaelw/PermaLink.aspx? guid=b424f73a-f762-42e2-9046-edaa08a75b8c>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

May 10 '06 #3
cj
While the message does only come up when you load the app into the ide.
The program also doesn't run. Well, not completely. It wouldn't
connect to the soap server. If fixed it by following these steps on the
two machines that will be running the app.

1. Start/settings/control pannel/administrative tools/microsoft .net
framework wizards/adjust .net security
2. select make changes to this computer and click next
3. select local intranet
4. move slider to full trust and click next
5. click finish
cj wrote:
I have a program (soap client that also uses sql server stored procs)
that I built and tested on my c: and it works great. It was decided it
should be put on the network drive. I copied obj\release\*.* to a
folder on the network and the program hung trying to connect with the
soap server. I tested on my machine and it works. I copied the whole
project directory to the network and intended to run it in debug mode
from the network but when I go to open it I get "The project location is
not fully trusted by the .NET runtime...." I've been doing some reading
but I'm still not sure I understand. What do I do?

May 10 '06 #4

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

Similar topics

2
645
by: MF | last post by:
In visual basic 6 I can write an application and toss it up on a shared network drive for the company to access. Works like a champ. In .NET my C# application runs fine on anyones machine, but due to the integrated security model of .NET, bombs out with Security Exceptions when someone tries to run it off the network drive. Sure, I can go to the users PC, and via the control panel,
3
1544
by: Bruce Acciavatti | last post by:
I've split a rather large Access2000 database that resides on a network drive, by keeping the back-end on the network drive and placing the front-end on the client's hard drive, linked to it. Both front-end and back-end dbs are then compacted to save space. This is a normal procedure, but when I run the database now it performs much, much slower than the old unsplit version of the database, which is unacceptable. I have had to back off...
2
7070
by: David Lindgren | last post by:
Hello! When I am trying to run my .NET application from a network drive a System.Security.SecurityException exception is thrown. Why is that? How do I prevent it? Thanks! /David.
1
2072
by: Gacu | last post by:
Hi! Have you met any problems with running C# program from network mapped drive? Of course I have .net framework installed on both machines. When I copy program file to local disk it works fine, but from network drive it says: Unhandled exception :( Thanx
2
2648
by: flat_ross | last post by:
Hi, I am in a shop where developers are required to work off of a network share. This is so that code is backed up nightly. So I am testing running an ASP.NET Web application with a Class assembly all on a shared drive. I have the solution working perfectly. However, I have run into a hiccup. In order to map IIS Virtual Dir to a network drive, you need
11
2325
by: ASP.NET User | last post by:
Hi I am in a shop where developers are required to work off of a networ share. This is so that code and other documentation is backed up nightly. This is outside the realm of Visual SourceSafe which we also use for code control. The network drive is used as the working folder. This is a configuration this shop has used for 6 years and I do not see it changing any time soon So I am testing running an ASP.NET Web application with a Clas...
2
1984
by: Mike | last post by:
Can a vb program running as a serice not use network paths to do file/io? I can't seem to get my program to work with network paths and files. When I use local disk it works fine. When I run it as a none service program it works fine. I'm assuming that vb programs running as a service do not support network paths. Is that true? Thanks in advance.
1
1740
by: utpal | last post by:
Hi, My CSharp program, when I run from the local drive it can create/modify registry. However running the program from a network drive, gives RegistryPremission error. I don't belive that just by running the program from a network drive, the program will try to access the registry of the network machine. Here is the code snippet: RegistryKey rk =...
1
3825
by: d.hamer | last post by:
Firstly Im writing not as a programmer, but a a network admin. We are having a problem where students cannot run applications in VB.net from their home area (a network drive). However the same app works fine from a local drive or pen drive. Does anyone know of any active directory restrictions which might be causing this, or a group policy way of fixing it? Thanks for your help.
2
3528
by: =?Utf-8?B?SGF6ZWxyYWg=?= | last post by:
I posted this question on a different website but I didn't get a response that worked. If I run this code from my computers hard drive, C:\, it detects the networked mapped drive, J:\, just fine: Private Function FolderExists() As Boolean Return My.Computer.FileSystem.DirectoryExists("J:\Template_Alpha\") End Function ' Outputs: True
0
9531
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9957
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9775
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8780
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7332
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6609
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5229
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
3456
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2752
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.