How to register custom steps on a desktop without Visual Studio

6959
5
Jump to solution
03-05-2015 01:57 PM
AlisonGaiser1
Occasional Contributor

I know that two years ago I figured out how to do this in WMX 10.0, but with 10.2 I am running up against a few brick walls.

I have a couple of custom steps that my developer has recompiled against 10.2 on our of our servers. This server has both WMX and Visual Studio installed. He has supplied us with the .dll output. I then tried to register the .dll on my desktop PC.

I tried using c:\windows\SysWOW64\regsvr32.exe, but I am getting the error "The module CustomAddAttachment.dll" was loaded but the entry point DllRegisterServer was not found. Make sure that "CustomAddattachment.dll" is a valid DLL or OCX file and then try again."

I also tried using the ESRIRegAsm.exe but I was told that this is unlikely to work with Workflow Manager.

Ultimately I will have a number of users to deploy this .dll to. They will not have visual studio on their desktops.

Any suggestions? Could there be an issue with the compiled .dll?

Thanks,

     Alison

0 Kudos
1 Solution

Accepted Solutions
TopeBello
Occasional Contributor III

Hi Alison,

I believe you should be using RegAsm not esriRegAsm. If you are expecting to run this step only on Desktop you can register it with this -  C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe and for server (64 bit) register with this - C:\Windows\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe

Thanks,

Tope

View solution in original post

0 Kudos
5 Replies
TopeBello
Occasional Contributor III

Hi Alison,

I believe you should be using RegAsm not esriRegAsm. If you are expecting to run this step only on Desktop you can register it with this -  C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe and for server (64 bit) register with this - C:\Windows\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe

Thanks,

Tope

0 Kudos
AlisonGaiser1
Occasional Contributor

Unfortunately I am still getting errors when I use the RegAsm.exe.

My developer will be back in the office tomorrow, so I will work with him to see if I can get this to work.

I will post my success/failure.

Thanks,

     Alison

0 Kudos
AlisonGaiser1
Occasional Contributor

I could successfully register my compiled dlls using c:\program files (x86)\ArcGIS\bin\esriRegAsm.exe

Thanks,

     Alison

0 Kudos
Laurensvan_der_Burgt3
New Contributor

In addition to this manual method of registering custom steps, how would you recommend to migrate/roll-out custom steps to a production environment?

Is there any documentation available about best practices? For example the creation of an installer.

Thanks,

Laurens

0 Kudos
AlisonGaiser1
Occasional Contributor

When I used the EsriRegAsm.exe none of the steps would appear in the Workflow Manager Administrator. If I registered the .dll with  c:\windows\Microsoft.NET\Framework\v2.0.50727\regasm.exe the steps appear.

My apologies. Tope had it right all along.

Alison

0 Kudos