BizTalk Server General - Biztalk 2004 deployment problem

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > March 2004 > Biztalk 2004 deployment problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Biztalk 2004 deployment problem
Michel van Duijse

2004-03-22, 4:35 am

Hi,

i'm trying to deploy my first project.
I run [deploy] [deploy solution] from the visual studio,
and then i get this error:

[Microsoft.BizTalk.Deployment.DeploymentException] Unable
to install the "D:\My Documents\Visual Studio
Projects\myFirstBS\bin\Deployment\myFirs
tBS.dll" assembly
into the Global Assembly Cache.
Exception: A strongly-named assembly is required.

[Microsoft.BizTalk.Gac.GacException] A strongly-named
assembly is required.
[System.Runtime.InteropServices.COMException] Exception
from HRESULT: 0x80131044.

From this i understand that i have to 'strongly-name the
assembly'
But how must i do that?

Michel.
John Plummer [MSFT]

2004-03-22, 8:37 am

You need to use the .NET utility called SN.EXE to generate your key and then
update the BizTalk Sevrer 2004 VS.NET project properties to reflect the
location of the keyfile

ie
1. Launch the VS.NET 2003 command prompt
2. Change directory to your BizTalk project (optional)
3. run sn.exe -k <filename.snk>
4. Goto Project Properties (in VS.NET) and change the Assembly Key File Name
to poin to filemane.snk (created in 3 above)

That should get you going

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"Michel van Duijse" <anonymous@discussions.microsoft.com> wrote in message
news:111bf01c40ff0$143ac4e0$a301280a@phx
.gbl...
Hi,

i'm trying to deploy my first project.
I run [deploy] [deploy solution] from the visual studio,
and then i get this error:

[Microsoft.BizTalk.Deployment.DeploymentException] Unable
to install the "D:\My Documents\Visual Studio
Projects\myFirstBS\bin\Deployment\myFirs
tBS.dll" assembly
into the Global Assembly Cache.
Exception: A strongly-named assembly is required.

[Microsoft.BizTalk.Gac.GacException] A strongly-named
assembly is required.
[System.Runtime.InteropServices.COMException] Exception
from HRESULT: 0x80131044.

From this i understand that i have to 'strongly-name the
assembly'
But how must i do that?

Michel.


Timothy J. Brown

2004-03-23, 3:56 pm

Is this a BizTalk requirement and if so, why do I not have to do this for my
asp.net projects?

TIA,

Tim
"John Plummer [MSFT]" <jplummer@online.microsoft.com> wrote in message
news:405ee7be@news.microsoft.com...
> You need to use the .NET utility called SN.EXE to generate your key and

then
> update the BizTalk Sevrer 2004 VS.NET project properties to reflect the
> location of the keyfile
>
> ie
> 1. Launch the VS.NET 2003 command prompt
> 2. Change directory to your BizTalk project (optional)
> 3. run sn.exe -k <filename.snk>
> 4. Goto Project Properties (in VS.NET) and change the Assembly Key File

Name
> to poin to filemane.snk (created in 3 above)
>
> That should get you going
>
> --
> This posting is provided "AS IS" with no warranties, and confers no

rights.
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
>
>
> "Michel van Duijse" <anonymous@discussions.microsoft.com> wrote in message
> news:111bf01c40ff0$143ac4e0$a301280a@phx
.gbl...
> Hi,
>
> i'm trying to deploy my first project.
> I run [deploy] [deploy solution] from the visual studio,
> and then i get this error:
>
> [Microsoft.BizTalk.Deployment.DeploymentException] Unable
> to install the "D:\My Documents\Visual Studio
> Projects\myFirstBS\bin\Deployment\myFirs
tBS.dll" assembly
> into the Global Assembly Cache.
> Exception: A strongly-named assembly is required.
>
> [Microsoft.BizTalk.Gac.GacException] A strongly-named
> assembly is required.
> [System.Runtime.InteropServices.COMException] Exception
> from HRESULT: 0x80131044.
>
> From this i understand that i have to 'strongly-name the
> assembly'
> But how must i do that?
>
> Michel.
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com