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:3

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
From Word 2010, when printing to the Adobe PDF printer (Acrobat 10.1.6), some users are experiencing an issue where the log file is created but the PDF document is not.  THe log file contains two lines: THe operation COmpleted successfully Pipe:\\.\p [More]
When I want to open Network System Preferences I get the message "Your network settings have been changed by another application". When I click "OK" the message keeps reappearing. The only way out is a Force Quit of System Preferences. [More]
How can I stop and delete a download? Bought a TV episode - it came with both the HD and standard version. Only want the standard. Can't get the HD version to clear from my available downloads. Help!??!?You cannot. let it download, then delete it.Rea [More]
I have been trying to download in design and it keeps thinking, thinking, thinking and then does nothing.. So then i tried to go online and download a trial version from there and then it states i don't have the right system requirements, i am runnin [More]
I have just updated to i tunes 10.5 Now i pad won't load up but i phone does. I Pad 1 Iphone 3gsNot sure if this is related, but my iPhone 4S works fine on iTunes 10.5, but my iPad 1 just stopped finishing the sync,, it will get to step 7 of 7 and th [More]
Is it possible to pass multi-select dashboard prompts to direct database requests? I have a report based on direct database request that needs the ability to run for all customers or the selected combination of customers. For example: select customer [More]
Dear Friends. I have to connect 2 different BDCs in a program. First BDC. Starts from tcode VL06P, as I enter Route and Warehouse Num, A list of deliveries is displayed. I have to pick the Ship to Party from this list and start the second BDC. Second [More]
I set many alarms for work since I am doing timed changes at my radio station. If I'm on a call and an alarm sounds it blasts into my ear at full volume as if I wasn't using the phone at all. Is there any way to set the tone so that when I'm on a cal [More]
When I try to open certain Photoshop files that I had created in PS7 they won't open and I get a message "Could not complete your request because of a program error. What is that about? If I flatten the file, I can open it, but that defeats the purpo [More]
I put my iphone 4s to the lost mode via icloud.com, and after an hour i found my iphone. i entered my password, it didn't unlocked. in stead the screen went black. please help how to disactivate the lost mode via icloud.com since i cant enter the pas [More]