473,473 Members | 1,843 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 3437
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
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...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.