473,386 Members | 1,679 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.

.NET Permissions


Hi!

I have an application composed of two executables and two dlls.
Both exe project are configured as full trust.
On the development machine all works fine.

When I test them on another machine either copying the bin folders or
using the "publish" feature in VB.NET Express they don't run.

I get several execptions like this:

"That assembly does not allow partially trusted callers." (why? I set my
projects as *full* trust).

"To grant this application the required permission [...] use the
Microsoft .NET Framework Configuration tool." (how? MS does not include
the mscorcfg.msc into the Framework 2.0...)

Could you help me, please?
Tell me if you need more details.

Marco / iw2nzm

Mar 26 '07 #1
2 1314
Look into Global Assembly Cache (GAC) for your assemblies. Once added they
should be fine

--
Newbie Coder
(It's just a name)
"Marco Trapanese" <ma******************@libero.itwrote in message
news:P3********************@twister1.libero.it...
>
Hi!

I have an application composed of two executables and two dlls.
Both exe project are configured as full trust.
On the development machine all works fine.

When I test them on another machine either copying the bin folders or
using the "publish" feature in VB.NET Express they don't run.

I get several execptions like this:

"That assembly does not allow partially trusted callers." (why? I set my
projects as *full* trust).

"To grant this application the required permission [...] use the
Microsoft .NET Framework Configuration tool." (how? MS does not include
the mscorcfg.msc into the Framework 2.0...)

Could you help me, please?
Tell me if you need more details.

Marco / iw2nzm

Mar 27 '07 #2
Newbie Coder wrote:
Look into Global Assembly Cache (GAC) for your assemblies. Once added they
should be fine

Uh...
I read tons of articles about GAC, but I'm still a *bit* confused.

Examples:

My application (written in Visual Basic .NET Express) is composed of one
executable and two dlls. One of the two is mine.
I compile the solution and it works as expected on the development
machine. Well, now I want to distribute it.

What should I do?
Thanks again
Marco / iw2nzm

Mar 28 '07 #3

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

Similar topics

7
by: Kim Lots | last post by:
Hi Sorry to disturb you again but i really like to know what's the NTFS folder permissions on a "virtual directory" folder for a public webserver iis 5.x running ASP 3.0 with an Access DB on a...
1
by: Brad H McCollum | last post by:
I'm writing an application using VB 6.0 as the front-end GUI, and the MSDE version of SQL Server as the back-end (it's a program for a really small # of users --- less then 3-4). I'm trying to...
6
by: !!! Klutzo !!! | last post by:
I give permissions for ASPNET on a top level subdirectory. A windows program copies a file into the subdirectory, however, my web service cannot access the file because it does not have...
2
by: Jozef | last post by:
Hello, Is there a way to change table permissions in VB Code? I can't seem to find much that's concise in the help file. Here's the situation; I have a table in the "data" portion of a split...
7
by: none | last post by:
Hello: I had a nice php application running on my server here at home, and I uploaded it to a shared public type server and it started to break all over the place. It turns out that some...
13
by: MLH | last post by:
Invalid qualifier error displays at compile time on this A97 example from Permissions Property HELP. What's wrong with the strContainerName assignment line? (6th line) Sub...
0
by: Curt K | last post by:
We run some web services (IIS 5 and IIS 6) that communicate to a COM out of process server, which in turn communicates to another out of process COM server (long story). We have had lots of...
8
by: jporter188 | last post by:
Hello, I am working on a project to manipulate XML files. All of the files, the code, and the output are on network drives. When I run my program I get an exception (see below). I tried giving...
3
by: palepimp | last post by:
Hello all, I have searched far and wide for a solution to my issue. In short, here is the problem: 1. 3 PC's enter data into an Access 2003 database (PC's are running Vista w/ Office 2007...
6
by: DotNetNewbie | last post by:
Hello, in my web application, I have to create permissions for each user. So what I am doing is that for each role (using sqlmembership in .net) I am creating a column in the database to hold a...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.