473,386 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Running Assembly from Network Drive

I have an assembly (VS 2005) which I need to run from a network drive. When
run from mycomputer the assembly works fine, but it fails to load from the
network. I tried to increase the trust level using the framework
configuration, but it reports "Hash for the assembly cannot be generated".
Could someone tell my what this means? In addition, Is there a better way to
allow an assembly to run from the network without going adjusting the
security level on every machine on the network? Thaks in advance.

Nov 7 '07 #1
3 3645
As you are finding out, apps started from a network have a limited set of
privileges. If this is a Windows app, why don't you use ClickOnce?

David

======================================
David McCarter [Microsoft MVP]
www.vsdntips.com
David McCarter''s .NET Coding Standards available at:
http://www.cafepress.com/geekmusicart.1654787045
"HLong" wrote:
I have an assembly (VS 2005) which I need to run from a network drive. When
run from mycomputer the assembly works fine, but it fails to load from the
network. I tried to increase the trust level using the framework
configuration, but it reports "Hash for the assembly cannot be generated".
Could someone tell my what this means? In addition, Is there a better way to
allow an assembly to run from the network without going adjusting the
security level on every machine on the network? Thaks in advance.
Nov 9 '07 #2
Thank you David. I am using VS Express, no ClickOnce.

"dotNetDave" wrote:
As you are finding out, apps started from a network have a limited set of
privileges. If this is a Windows app, why don't you use ClickOnce?

David

======================================
David McCarter [Microsoft MVP]
www.vsdntips.com
David McCarter''s .NET Coding Standards available at:
http://www.cafepress.com/geekmusicart.1654787045
"HLong" wrote:
I have an assembly (VS 2005) which I need to run from a network drive. When
run from mycomputer the assembly works fine, but it fails to load from the
network. I tried to increase the trust level using the framework
configuration, but it reports "Hash for the assembly cannot be generated".
Could someone tell my what this means? In addition, Is there a better way to
allow an assembly to run from the network without going adjusting the
security level on every machine on the network? Thaks in advance.
Nov 13 '07 #3
You probably need to give your assembly a strong name.

*** Sent via Developersdex http://www.developersdex.com ***
Jun 27 '08 #4

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

Similar topics

2
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...
2
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.
2
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...
11
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...
0
by: Christian Kaiser | last post by:
I want to develop code on a network (mapped) drive. All the time it fails with a security exception. OK, I thought I know the reason for that, and set the intranet security to full trust. BUT:...
4
by: Jeremy S. | last post by:
We're in the process of writing a new Windows Forms app and the desktop support folks want for it to be run from a network share. I know it's possible (i.e., just have the framework on the clients...
1
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...
5
by: Igor | last post by:
Hi! We built VB6 application to work with Reporting Services server. To connect to reporting server has been created a special assembly with .NET VS2003. While we execute our program on local...
1
by: Carl Johansson | last post by:
I think I'm going nuts! I have a perfectly fine exe assembly built with Microsoft Visual C# 2008 Express Edition. When executed from my local hard drive it runs as exactly as expected. However,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
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...

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.