473,383 Members | 1,855 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,383 software developers and data experts.

Strong Name Security Policy Addgroup Error

When I try to create a machine-level security policy based on an assembly's
strong name, I get the following error:

"ERROR: Invalid label or name"

The caspol command is:

"caspol -machine -addgroup All_Code -strong -file \\<network_share>\app.exe
-noversion"

I've tried several variations of the command, all with similar results,
including using "1." as the parent_label and using a local assembly.

I'm using .NET Framework version 1.1.4322.573.

Thoughts?

Thanks,
Rob
Jul 21 '05 #1
1 2158
User error. My "All_Code" group had at some point been renamed to "All
code". Now this brings me to my next question. I'd like to be able to
create a security policy based on an assembly's strong name. The challenge
is that the file may not be present at the time the policy is created. Is it
possible to create this policy using the assembly's public key (which is
known at policy creation time)?

Thanks,
Rob
"Rob Barnes" wrote:
When I try to create a machine-level security policy based on an assembly's
strong name, I get the following error:

"ERROR: Invalid label or name"

The caspol command is:

"caspol -machine -addgroup All_Code -strong -file \\<network_share>\app.exe
-noversion"

I've tried several variations of the command, all with similar results,
including using "1." as the parent_label and using a local assembly.

I'm using .NET Framework version 1.1.4322.573.

Thoughts?

Thanks,
Rob

Jul 21 '05 #2

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

Similar topics

6
by: NormD | last post by:
Our application has three strong-named keys that have to be set up on the local machines. Apparently the Framework can be pushed to the clients with SMS, but I'm being told a human has to do...
7
by: Tim Bücker | last post by:
Hello. I have written a little program that uses some unmanaged code - . I´ve send this program to a friend of mine and now he gets a security error. Two questions about that: 1) How can...
0
by: virgo81 | last post by:
hi~ I made smartclient. First, I made a StrongNamed Key(snk file). I add my key file and set allow partiallytrustedcllers.
3
by: jlea | last post by:
I'm receiving the error message shown below when I try to load an aspx file (C# web application) on our server. The web application works fine if I remove the reference to the dll so I know the...
1
by: Rob Barnes | last post by:
When I try to create a machine-level security policy based on an assembly's strong name, I get the following error: "ERROR: Invalid label or name" The caspol command is: "caspol -machine...
1
by: jake | last post by:
Hi. I am building web apps in visual web developer 2005 express and SQL 2005 express. Users have complained about the strong password policy, so I would like to change it to somthing like at least...
1
by: Tim F | last post by:
Problem: I'm receiving the error "File or assembly name XXXXX or one of its dependencies, was not found." when trying to execute code in an assmebly that has both a strong-name and has been...
8
by: per9000 | last post by:
Dear readers, I have some problems with strong keys. What I want to do is basically this. A - create an application (f.x. strongHello.dll) with a strong key. B - import the functions of this...
1
by: Tom | last post by:
My unsigned DLL works in my project that references it as long as I set Copy Local = true. Now I have signed the DLL with the sn.exe generated keys but have not yet moved the DLL into the GAC. ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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...

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.