I am getting an error when I add the workflow dll to the bin folder:
Could not load file or assembly 'PerplexMail---Workflow' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
[FileLoadException: Could not load file or assembly 'PerplexMail---Workflow' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +34
System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +152
System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +77
System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +16
System.Reflection.Assembly.Load(String assemblyString) +28
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +38
[ConfigurationErrorsException: Could not load file or assembly 'PerplexMail---Workflow' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +736
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +217
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +130
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +170
System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +91
System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +284
System.Web.Compilation.BuildManager.ExecutePreAppStart() +153
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +521
[HttpException (0x80004005): Could not load file or assembly 'PerplexMail---Workflow' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9931916
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
We've planned a new release for tomorrow which will fix the bug you are currently encountering. To fix the problem in your current solution you may simply copy the new DLL's over the old DLL's in your /bin/ folder.
To further clarify on the error you received, it is displayed because the PerplexMail workflow binary is newer (or older) then the PerplexMail package. Generally speaking if you download both the PerplexMail package and the PerplexMail workflow from the same release date you should never encounter this issue.
I have uploaded a new version of both the package and the workflow dll. They are both available for download from the PerplexMail package download page.
To fix the above issue in your existing solution, simply follow these steps:
Delete the old PerplexMail.dll and the old PerplexMail.Workflow.dll files located in your /bin/ folder (mind the new filename for the PerplexMail workflow)
Download the new PerplexMail.Workflow.dll binary and copy it to your /bin/ folder
Download the new package .zip version
Open the zip file. As you are not installing the package in Umbraco you will have to manually locate the PerplexMail.dll folder. In the package it is renamed to a guid: '1dc6a134-c166-495c-867a-5300d6872633.dll'
Copy the file to your /bin/ folder. For clarity I also recommend renaming it to PerplexMail.dll
The PerplexMail workflow item should now appear in your Umbraco Forms section.
If you have a fresh installation of Umbraco and you wish to add the PerplexMail package + Workflow, you can simply install the package through the Umbraco interface and copy the PerplexMail.Workflow.dll to the /bin/ folder and everything should work.
We are currently focussing on making improvements to the core functionality, but in the future we might provide the package through Nuget which should also make it easy to update the package and workflow files.
Error when adding forms workflow .dll
I am getting an error when I add the workflow dll to the bin folder:
This is with Umbraco 7.2.8
Thanks
Hello William,
Thanks for trying out our lackage!
We've planned a new release for tomorrow which will fix the bug you are currently encountering. To fix the problem in your current solution you may simply copy the new DLL's over the old DLL's in your /bin/ folder.
Good afternoon,
To further clarify on the error you received, it is displayed because the PerplexMail workflow binary is newer (or older) then the PerplexMail package. Generally speaking if you download both the PerplexMail package and the PerplexMail workflow from the same release date you should never encounter this issue.
I have uploaded a new version of both the package and the workflow dll. They are both available for download from the PerplexMail package download page.
To fix the above issue in your existing solution, simply follow these steps:
The PerplexMail workflow item should now appear in your Umbraco Forms section.
If you have a fresh installation of Umbraco and you wish to add the PerplexMail package + Workflow, you can simply install the package through the Umbraco interface and copy the PerplexMail.Workflow.dll to the /bin/ folder and everything should work.
We are currently focussing on making improvements to the core functionality, but in the future we might provide the package through Nuget which should also make it easy to update the package and workflow files.
is working on a reply...