Sitemap

Amicuk Programming Answers

How do I add my Custom Workflow Activity to FIM 2010 R2 SP1 installed on Windows 2012 server?

2015-10-11   Views:2

Advertisement

Hellos. I have tried and failed to add my custom.dll into the Windows Server 2012  GAC. We have a version of FIM 2010 R2 Sp1 running on Windows Server 2008 R2 and that was no problem. There seemed to be a gacutil.exe present on the system which added

Hellos.
I have tried and failed to add my custom.dll into the Windows Server 2012  GAC.
We have a version of FIM 2010 R2 Sp1 running on Windows Server 2008 R2 and that was no problem. There seemed to be a gacutil.exe present on the system which added my assembly.
I cannot find gacutil.exe on the Windows 2012 Server.
I have downloaded and installed Windows SDK for Windows 8. However, when I try the gacutil.exe /i <myCustom.dll> nothing seems to happen.
Are there any guidelines how to add custom workflow activities to FIM when installed on a Windows Server 2012 system?
TIA
*HH

The replay answer
Advertisement
Well yes. It is fine when FIM is hosted on Windows Server 2008 R2.My difficulty is that I am using FIM 2010 R2 Sp1 and Windows Server 2012. No GACutility executable.
However, the problem has been resolved. Powershell can be used to modify the assemblies.
I opened a RunAs Administrator PS session. My assembly is in folder c:\Temp
Using Windows Explorer I browsed the folder c:\windows\assembly and noted the System.EnterpriseServices entries: version (2.0.0.0) and public key token (b03f5f7f11d50a3a)
(My version is 2.0.0.0 because when installing FIM and SharePoint 2013 the instructions I used suggested setting .Net version to be 2.0)
These powershell commands got me going...
PS C:\temp> [System.Reflection.Assembly]::Load("System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
GAC    Version        Location
True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50...
PS C:\temp> $publish = New-Object System.EnterpriseServices.Internal.Publish
PS C:\temp> $publish.GacInstall("c:\temp\RunPowershellLibrary.dll")
PS C:\temp>
PS C:\temp>
PS C:\temp> iisreset
Amazingly I can see the assembly RunPowershellLibrary in my Windows 2012 GAC. :-)
Also, what is more cheering is that the custom activity actually works with FIM 2010 R2 Sp1.

Go to See the other 3 answers

How do I add my Custom Workflow Activity to FIM 2010 R2 SP1 installed on Windows 2012 server?

Category:DefaultRelease time:2015-10-11Views:130

Hellos. I have tried and failed to add my custom.dll into the Windows Server 2012  GAC. We have a version of FIM 2010 R2 Sp1 running on Windows Server 2008 R2 and that was no problem. There seemed to be a gacutil.exe present on the system which added[More]

Unable to register custom workflow activity on MS CRM 2015 Online

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I am trying to register custom workflow activity using plugin registration tool on MS CRM 2015 Online. Error says that 'No Plugin have been selected from list. Please select atleast one and try again' In short my assembly is not considered as[More]

Highlight an invalid email address in a custom workflow activity in SharePoint Designer 2010

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I have created a custom workflow activity to send an email with the 'From' address being taken as input from the SharePoint Designer when this activity is used in a designer workflow. My requirement is to highlight an invalid email address(from a[More]

Custom Workflow Activity not showing in Plugin Registration

Category:DefaultRelease time:-0001-11-30Views:130

Could anybody suggest what I am doing wrong here? I have created a Custom Workflow Activity using this sample Create a custom workflow activity. But this is not showing up as a plugin/activity type in Plugin Registration Tool. See image below: My sam[More]

How to call an Azure Web API (2.2) - from Dynamics Custom WorkFlow Activity of Plugin c#

Category:DefaultRelease time:-0001-11-30Views:130

Hello, I am specifically trying to call a web api, that has a FromBody. However, I am trying to do it without having to use libraries (or nuget packages) that I cannot install on CRM of CRM Online. It seems JSON newtonsoft is big... or I guess I coul[More]

Custom Workflow Activity & Web.Config

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I'm using a custom activity and I want to read some parameters from config. Any way I read the appSettings I can´t find de keys. I tried diferent ways: System.Web.Configuration.WebConfigurationManager.AppSettings["LogFilePath"];             [More]

Auto-hostep app with custom master page does not allow custom workflows

Category:DefaultRelease time:-0001-11-30Views:130

This has been troubling us all day. We have a sharepoint 2013 auto-hosted app. We wanted to simply change the site logo of the master page but it was easier said than done. Finally we had to create our own custom master page with our own site logo to[More]

Sharepoint 2013 designer workflow custom sendemail activity

Category:DefaultRelease time:2015-10-11Views:130

Does anybody know sharepoint 2013 designer workflow custom sendemail activity. Current OOB sendemail action from designer workflow cancels the entire workflow when sendemail fails. MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint LeadHi Amit, Wh[More]

Custom workflow - How to go from single server to multiple?

Category:DefaultRelease time:2015-10-11Views:130

I have been working on a project that involves developing a custom workflow activity for SharePoint 2013. I am developing it in a single server environment working with http. My problem occurs when deploying to multi-server environment with https (WF[More]

Custom code activity - Could not find type in assembly

Category:DefaultRelease time:-0001-11-30Views:130

I've searched through but cannot find an adequate answer. Im trying to create a code activity for a Sharepoint 2013 workflow. I have created the code activity, the workflow and add the custom code activity to it. As soon as i hit "Build" the cod[More]

Issue with retrieveing the Manager of a System User in a Custom workflow - CRM 2013

Category:DefaultRelease time:2015-10-11Views:130

Issues with custom workflow activity in CRM 2013 On-prem I'm trying to pass the Manager of the System here is the code that I'm running, it gets to setting the MANAGER and stops I put the ran the FetchXML seperatly and it does return a value so I kno[More]

Hot
Hi,  Would like to know whether look up columns are  supported /not supported in content type hub.  Currently I am having few columns in my doc.libs which uses look up column and i want to implement content type hub. heard that this is a limitation i [More]
ipad has been sending & recieving mail with no problems but suddenly is recieving mail but when mail window keeps shutting down & won't stay open??? Any ideas??? It won't be a virus Have you tried closing the Mail app completely ? From the home sc [More]
I am so close to throwing in the towel with BT. The service I receive is both inconsistent and laughable, the customer care is non-existent and the price I pay is more than VirginMedia. Why do I stay? Why do I persist with an organisation who are jus [More]
we're trying to master a PAL 16:9 SD DVD and we can't seem to get it to work properly. material has been shot in 16:9 anamorphic, captured and edited in fcp as such. in compressor we used the PAL 16:9 presets then in the DVDSP project, we set the set [More]
the title pretty much says it all. when i use programs like mc w/o screen running the mouse is usable, but when i use screen and then use mc, the mouse no longer works. anyone knows whats wrong?hbarnwheeler wrote:DO you mean it does not work when you [More]
iPhone 5c ios 8.2 camera and flash light stoped to workClose all open apps by double-tapping the home button, then swiping up and off the screen with the app window (not the smaller icon). Reset your device: hold down the home button along with the s [More]
More details in this picture: (http://www.qpic.ws/images/playounitunes.png)That looks like the Albums view, and it does not have columns to add. If you want to choose columns such as Rating, switch to Songs view.  Then go into View > View Options and [More]
I have a Photosmart D7260 printer with HP Advanced and HP Premium Plus photopaper but the prints are always too dark.  I'm trying to get better colour rendition in prints and I'm exploring letting Photoshop Elements 8 control print output, but I need [More]
Just downloaded Maverick, but it says my version of Trend Micro that came with my laptop isn't compatible. It came with my purchase. Shouldn't I get a free upgrade to the new Trend Micro Titanium?I agree with those who are telling you that Trend Micr [More]
I am a newbie to socket programming. Can any one suggest me how to implement 3 way handshake?Java comes with java.net including Socket and ServerSocket. On the Java level you use this higher-level API (or even URLConnection or HttpURLConnection) and [More]