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

Strong Name problem

Hi,

I'm trying to apply Strong Name to my project and I get the following error
while building the project,

Building satellite assemblies...
Satellite build for culture 'ms-MY' failed. Please see the output window for
more detailed error information.
ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
cannot find the file specified.
Satellite build for culture 'ms' failed. Please see the output window for
more detailed error information.
ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
cannot find the file specified.
Satellite build for culture 'zh-CHS' failed. Please see the output window
for more detailed error information.
ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
cannot find the file specified.

Anyone has any idea why this is happening and how to solve it? If the
project does not contain any localized windows form, then everything works
fine.

Thanks.
Jul 19 '05 #1
3 3434
Hi!

It seems that the assembly linker encounters a problem when trying to open
the snk-file. Try to use "..\..\..\ssm.snk" as the active directory is the
output directory (e.g. ...\myproject\bin\debug) and NOT the solution path.
In addition and first of all, you should make sure that the file ssm.snk
exists in the directory.

HTH,

Markus

"Programatix" <pr*********@nospam.com> schrieb im Newsbeitrag
news:eY**************@TK2MSFTNGP12.phx.gbl...
Hi,

I'm trying to apply Strong Name to my project and I get the following error while building the project,

Building satellite assemblies...
Satellite build for culture 'ms-MY' failed. Please see the output window for more detailed error information.
ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
cannot find the file specified.
Satellite build for culture 'ms' failed. Please see the output window for
more detailed error information.
ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
cannot find the file specified.
Satellite build for culture 'zh-CHS' failed. Please see the output window
for more detailed error information.
ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
cannot find the file specified.

Anyone has any idea why this is happening and how to solve it? If the
project does not contain any localized windows form, then everything works
fine.

Thanks.

Jul 19 '05 #2
In Microsoft's documentation, it stated that in VB. Net project, the .snk
file should be located where the solution files is located. The funny thing
here is, if I remove all the localize Windows Forms, the solution will be
compiled correctly without error.

"Markus Wildgruber" <ms********@syska.de> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi!

It seems that the assembly linker encounters a problem when trying to open
the snk-file. Try to use "..\..\..\ssm.snk" as the active directory is the
output directory (e.g. ...\myproject\bin\debug) and NOT the solution path.
In addition and first of all, you should make sure that the file ssm.snk
exists in the directory.

HTH,

Markus

"Programatix" <pr*********@nospam.com> schrieb im Newsbeitrag
news:eY**************@TK2MSFTNGP12.phx.gbl...
Hi,

I'm trying to apply Strong Name to my project and I get the following

error
while building the project,

Building satellite assemblies...
Satellite build for culture 'ms-MY' failed. Please see the output window

for
more detailed error information.
ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
cannot find the file specified.
Satellite build for culture 'ms' failed. Please see the output window for more detailed error information.
ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
cannot find the file specified.
Satellite build for culture 'zh-CHS' failed. Please see the output window for more detailed error information.
ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
cannot find the file specified.

Anyone has any idea why this is happening and how to solve it? If the
project does not contain any localized windows form, then everything works fine.

Thanks.


Jul 19 '05 #3
Hi!

I don't know how VB.NET organizes its output directories but in C# you have
....\solution\bin\debug as output directory by default. If you put the
snk-file in the solution directory you have to specify "..\..\key.snk".
Maybe this is similar in VB.NET.
I can't tell you anything about the fact that it works when compiling
without windows forms items. Seems very strange to me.

Markus

"Programatix" <pr*********@nospam.com> schrieb im Newsbeitrag
news:eY**************@TK2MSFTNGP11.phx.gbl...
In Microsoft's documentation, it stated that in VB. Net project, the .snk
file should be located where the solution files is located. The funny thing here is, if I remove all the localize Windows Forms, the solution will be
compiled correctly without error.

"Markus Wildgruber" <ms********@syska.de> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi!

It seems that the assembly linker encounters a problem when trying to open
the snk-file. Try to use "..\..\..\ssm.snk" as the active directory is the output directory (e.g. ...\myproject\bin\debug) and NOT the solution path. In addition and first of all, you should make sure that the file ssm.snk
exists in the directory.

HTH,

Markus

"Programatix" <pr*********@nospam.com> schrieb im Newsbeitrag
news:eY**************@TK2MSFTNGP12.phx.gbl...
Hi,

I'm trying to apply Strong Name to my project and I get the following

error
while building the project,

Building satellite assemblies...
Satellite build for culture 'ms-MY' failed. Please see the output
window for
more detailed error information.
ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
cannot find the file specified.
Satellite build for culture 'ms' failed. Please see the output window

for more detailed error information.
ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
cannot find the file specified.
Satellite build for culture 'zh-CHS' failed. Please see the output window for more detailed error information.
ALINK: error AL1044: Error reading key file '..\SSM.snk' -- The system
cannot find the file specified.

Anyone has any idea why this is happening and how to solve it? If the
project does not contain any localized windows form, then everything works fine.

Thanks.



Jul 19 '05 #4

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

Similar topics

1
by: John E. | last post by:
How can I compile two projects with a circular reference while giving them a strong name? There is a project that we have that has two components that reference each other e.g. A<->B thus...
0
by: Josh | last post by:
To all... I have experienced this problem and recently so has my co-worker which led me to try to solve the problem. Before I give you the fix, let me give a brief overview of the problem....
20
by: Razzie | last post by:
Hey all, I'm really going through a small hell right now - I've completely lost it :) I made a project, using two interop libraries from exchange (created them as in this msdn article:...
8
by: Tamir Khason | last post by:
Following the code: Assembly myAssembly = Assembly.LoadFrom(FileName); foreach (Type myType in myAssembly.GetTypes()) {Do_whatever()}
6
by: Manuel Lopez | last post by:
Hello, I have a Web Project (UserControls.dll) with some user controls that is shared by many asp.net web applicattions. What we do is copy UserControls.dll to all the applications bin...
10
by: Chubbly Geezer | last post by:
I have been working on a VB 2005 DLL which has previously been working. I would create the DLL (reporting.dll), install it, run 'gacutil' and 'regasm' and my Access 2000 DB could see it and use...
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...
7
by: Alan T | last post by:
I have create a class library and add it to the reference list in one of the projects. However, when I compile the project and got the error: Assembly generation failed -- Referenced assembly...
6
by: raylopez99 | last post by:
Anybody use Strong Name Signing? I think this is used by default for Resource files, which is one reason perhaps I can't get my resource files to work (somehow the public key is messed up, perhaps...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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.