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

'Error reading key file 'MyKey.snk'...

Hi all,

I am deploying my ASP.NET 2.0 bits. Everything works fine in dev, but when I
move it to test I get the following:

CS1548: Cryptographic failure while signing assembly
'c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Tempo rary ASP.NET
Files\internal-test\f51ce07b\7f3f6ce4\App_Code.9rzbep5y.dll' -- 'Error
reading key file 'MyKey.snk' -- The system cannot find the file specified. '

With my 1.1 bits, I never had the snk file on the site. However, I tried
putting the snk file in the root directory. No luck.

I am sure I am doing something silly, but I can't figure it out. Any thoughts?

Thanks in advance.

-craig

Nov 21 '05 #1
2 4675
Disable delay signing

--
Daniel Fisher(lennybacon)
http://www.lennybacon.com
"craigwhunt" <cr********@discussions.microsoft.com> wrote in message
news:F6**********************************@microsof t.com...
Hi all,

I am deploying my ASP.NET 2.0 bits. Everything works fine in dev, but when
I
move it to test I get the following:

CS1548: Cryptographic failure while signing assembly
'c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Tempo rary ASP.NET
Files\internal-test\f51ce07b\7f3f6ce4\App_Code.9rzbep5y.dll' -- 'Error
reading key file 'MyKey.snk' -- The system cannot find the file specified.
'

With my 1.1 bits, I never had the snk file on the site. However, I tried
putting the snk file in the root directory. No luck.

I am sure I am doing something silly, but I can't figure it out. Any
thoughts?

Thanks in advance.

-craig

Nov 21 '05 #2
Thanks for replying Daniel.

I don't have delay signing enabled in my site or in my class libraries. In
fact, I noticed I still have the following in all of my AssemblyInfo.cs files:

[assembly: AssemblyDelaySign(false)]

My snk file only needs to be present at compile time, correct?

Thanks again.

-craig

"Daniel Fisher(lennybacon)" wrote:
Disable delay signing

--
Daniel Fisher(lennybacon)
http://www.lennybacon.com
"craigwhunt" <cr********@discussions.microsoft.com> wrote in message
news:F6**********************************@microsof t.com...
Hi all,

I am deploying my ASP.NET 2.0 bits. Everything works fine in dev, but when
I
move it to test I get the following:

CS1548: Cryptographic failure while signing assembly
'c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Tempo rary ASP.NET
Files\internal-test\f51ce07b\7f3f6ce4\App_Code.9rzbep5y.dll' -- 'Error
reading key file 'MyKey.snk' -- The system cannot find the file specified.
'

With my 1.1 bits, I never had the snk file on the site. However, I tried
putting the snk file in the root directory. No luck.

I am sure I am doing something silly, but I can't figure it out. Any
thoughts?

Thanks in advance.

-craig


Nov 21 '05 #3

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

Similar topics

2
by: Ted | last post by:
I am new to ASP.NET and have been following te Quick Start tutorials (http://www.asp.net/tutorials/quickstart.aspx and...
2
by: Kel Good | last post by:
I have a component which I want to register for COM interop. At the top of my code file I have the following lines. Imports System.Reflection <Assembly: AssemblyKeyFileAttribute("myKey.snk")>...
1
by: gowens | last post by:
I've been trying to strong name my VB.Net v1.1 assembly with the strong name key that we're using for a project. The strongname.snk file is located in a root-level directory. No matter what I...
1
by: Jason Richmeier | last post by:
I have encountered an error while attempting to sign an assembly. I have become quite frustrated since I seem to be going in circles and making no progress. Hopefully someone will have the magic...
0
by: flameboy | last post by:
I am currently trying to figure my way how to output strings to a file. I have seen all the many posts and such how to do it in a console program, and have had much success doing it that way. This...
2
by: Ben | last post by:
Hi We have setup a Strong Name for our Applications, but are having problems with the essembly throwing an error: Error creating assembly manifest: Error reading key file...
0
by: Vahehoo | last post by:
Hi, I am trying to digitally sign an old application in ASP.Net. For that purpose I created a Strong Name Key File. The snk file is located in a root-level directory. in Bin\DG_Key directory....
8
by: =?Utf-8?B?R2Vvcmdl?= | last post by:
Hello everyone, I am migrating my C++ COM server to managed code (C# COM server). I am using the same client to use the same COM class in COM server. The C++ version COM server works properly,...
1
by: Bhrionn | last post by:
Hello World, I am working on implementing a build for my companies application. The scenario implemeted is producing the error: ‘Class does not support automation or does not support expected...
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:
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.