BTS 2002 Custom PreProcessor procedures...Not in BTS Rec Func List
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > BTS 2002 Custom PreProcessor procedures...Not in BTS Rec Func List




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    BTS 2002 Custom PreProcessor procedures...Not in BTS Rec Func List  
R Childers BTS 2002


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-29-04 10:52 PM

I'm trying to create a custom preprocessor with VB.Net. FW 1.1 BTS 2002
Class Library project.

I do the following but the component name doesn't show is File Recieve funct
ion dropdown.
1.
Set ref to BTSComponet:
BTSComponentsLib.dll

2.
Implement the inteface (with GUID Ref:
<Guid("C8391A26-63A7-4484-B622-CF88615CBBD2")> _
Public Class CustPreProcessorVB
Inherits ServicedComponent
Implements BTSComponentsLib.IBTSCustomProcess
3.
Create a Strong Name file BEFORE compile:
sn -k  D:\BTSCustomPreprocessor\MyBTSPreProcess
or\MyBTSPreProcessor.snk

4.
Add strong name ref in Assebmly.vb file:
<Assembly: AssemblyKeyFile(" D:\BTSCustomPreprocessor\MyBTSPreProcess
or\MyBTS
PreProcessor.snk")>

5.
Compile dll:
No errors

6.
Create A reg file for BTS Implement Category:
[HKEY_CLASSES_ROOT\CLSID\{C8391A26-63A7-4484-B622-CF88615CBBD2}\Imp
lemented Categories\{20E8080F-F624-4401-A203-9D99CF18A6D9}]

7.
Copy all componets in Bin Directory to tagrget BTS server that will run the 
componts.

8.
Register Dll with regserv using FW 1.1:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\RegSvcs.exe MyBTSPreProcessor.dll
No Errors
9.
Run reg file
No Errors

Open BTS Admin, select a File Recieve function: BAM no prog ID found for com
ponent, My Componet is not in the list.

WHAT is out of order here?





[ Post a follow-up to this message ]



    Re: BTS 2002 Custom PreProcessor procedures...Not in BTS Rec Func List  
Jeff Lynch


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-29-04 10:52 PM

Try changing
<Assembly:
AssemblyKeyFile(" D:\BTSCustomPreprocessor\MyBTSPreProcess
or\MyBTSPreProcesso
r.snk")>
to
<Assembly: AssemblyKeyFile("..\\..\\MyBTSPreProcessor.snk")>

Your strong name .snk file may not be "found" by the compiler. See below.

// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name)
utility.
// When specifying the KeyFile, the location of the KeyFile should be
// relative to the project output directory which is
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
// located in the project directory, you would specify the AssemblyKeyFile
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]

J. Lynch
"A BizTalk Enthusiast"


"R Childers BTS 2002 < Year" <R Childers BTS 2002 <
Year@discussions.microsoft.com> wrote in message
news:BEF7EB77-B00D-4032-9CEC-5301655D0466@microsoft.com...
> I'm trying to create a custom preprocessor with VB.Net. FW 1.1 BTS 2002
> Class Library project.
>
> I do the following but the component name doesn't show is File Recieve
function dropdown.
> 1.
> Set ref to BTSComponet:
> BTSComponentsLib.dll
>
> 2.
> Implement the inteface (with GUID Ref:
> <Guid("C8391A26-63A7-4484-B622-CF88615CBBD2")> _
> Public Class CustPreProcessorVB
>     Inherits ServicedComponent
>     Implements BTSComponentsLib.IBTSCustomProcess
> 3.
> Create a Strong Name file BEFORE compile:
> sn -k  D:\BTSCustomPreprocessor\MyBTSPreProcess
or\MyBTSPreProcessor.snk
>
> 4.
> Add strong name ref in Assebmly.vb file:
> <Assembly:
AssemblyKeyFile(" D:\BTSCustomPreprocessor\MyBTSPreProcess
or\MyBTSPreProcesso
r.snk")>
>
> 5.
> Compile dll:
> No errors
>
> 6.
> Create A reg file for BTS Implement Category:
>
[HKEY_CLASSES_ROOT\CLSID\{C8391A26-63A7-4484-B622-CF88615CBBD2}\Imp
lemented
Categories\{20E8080F-F624-4401-A203-9D99CF18A6D9}]
>
> 7.
> Copy all componets in Bin Directory to tagrget BTS server that will run
the componts.
>
> 8.
> Register Dll with regserv using FW 1.1:
> C:\WINNT\Microsoft.NET\Framework\v1.1.4322\RegSvcs.exe
MyBTSPreProcessor.dll
> No Errors
> 9.
> Run reg file
> No Errors
>
> Open BTS Admin, select a File Recieve function: BAM no prog ID found for
component, My Componet is not in the list.
>
> WHAT is out of order here?







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:46 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register