Workflow Actions not Appearing

Hello, recently we purchased
Aspose.Words for SharePoint and we are having a slight issue.We installed
Aspose.Words for SharePoint using an .exe that came with our download, the only
problem is it would create a duplicate line in our web.config, namely
under
under <system.webServer>
This line would cause
our site to not work, issuing an error of duplicate session states. Removing
this line, everything will work again. Aspose.Words works great in SharePoint
using the ribbon button at the top, it will convert the document. However when
I try and use the workflow actions for aspose in SharePoint Designer, they will
not show up.
I have compared our web.config files from before and after
the installation of Aspose.Words and it seems to only add 4 lines in total. I
have made sure the remaining 3 lines were still in our web.config:

Is there something I am missing that would cause the
workflow actions to not show up in sharepoint designer?

Hi Mike,

Thanks for your inquiry and sorry for the delayed response. We’re checking with this scenario and will get back to you soon.

Best Regards,

I have also discovered another problem with our installation. Aside from the line in the web.config, I tried to convert a pdf through the SharePoint ribbon tab, and this was the results (see attached)

SharePointDocxToConvert.png is the document I went to convert inside SharePoint.

SharePointPDFConvert.png is the result of this action, you will notice the second paragraph gets duplicated twice for some unknown reason.

TestSharePointServerPDFConvert.png is a conversion I did on a SEPERATE installation of SharePoint we use for testing purposes. It only had the trial version of Aspose.Words installed (has the watermark) but as you can see it never duplicated the second paragraph.

Do you know what caused this? The only thing we changed during our installation was the web.config, by removing the one line. We installed Aspose.Words via the .exe in the package we recieved, but like I said, the only thing outside of running that .exe that we did was change the one line in our web.config.

Yep, still having issues…

So we have tried completely uninstalling Aspose.Words and reinstalling the latest version (released August 1st) to see if that was the issue. Unfortunately it is not and we are still missing the WorkFlow Actions and we are still getting the same behaviour as posted above in the screenshots.

It’s been close to a month and we have been unable to use the product we purchased since day 1, and we haven’t received a response from anybody in close to 5 days now.

We also use eScribe with our SharePoint installation if that helps…

Hi Mike,

Thanks for your inquiry and sorry for the delayed response. I just came back to work from vacation yesterday and I will make sure things stay on schedule from now onwards. I apologise once again for the wait.
Mike:
I have also discovered another problem with our installation. Aside from the line in the web.config, I tried to convert a pdf through the SharePoint ribbon tab, and this was the results (see attached)
Could you please attach your input Word document (.docx file), you’re getting this problem with, here for testing? I will investigate the issue on my side and provide you more information.

Best Regards,

Hi Mike,

Thanks for your patience.
Mike:
Is there something I am missing that would cause the workflow actions to not show up in sharepoint designer?
Please make sure that the assembly mentioned in the web.config (Aspose.Words.SharePoint.Workflow) is actually present in the GAC (Windows | Assembly folder).

Moreover, Aspose.Words for SharePoint workflow activities are available for document libraries only because they make use of a library they are attached to. The action result is saved to the current library by default.

Best Regards,

Here is the word document in question. I am able to convert it just fine using the non-licensed version on our SharePoint test installation (aside from the watermark). Something seems to be making it behave improperly on our production SharePoint installation.

I checked the Assembly folder and it appears that Aspose stuff is located in there. I attached a picture to show you what I can see, I noticed however they are not all the same version?

When trying to use the workflow actions all I am doing is creating a new list/reusable workflow. When I try to create such workflows on our test installation in SharePoint designer the actions will appear and I am able to use them, this is not the case on our production SharePoint installation.

Thanks for the response, looking forward to solving this.

Mike

Hi Mike,

Thanks for the additional information.
Mike:
Here is the word document in question. I am able to convert it just fine using the non-licensed version on our SharePoint test installation (aside from the watermark). Something seems to be making it behave improperly on our production SharePoint installation.
I managed to reproduce this issue on my side. I have logged this issue in our bug tracking system. The issue ID is WORDSNET-6805.Your request has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Regarding your other WorkFlow related problem, I have asked the developer responsible for Aspose.Words for SharePoint to take a look at your request shortly. Please expect a reply soon.

Best Regards,

Hi Mike.
Thank you for using our products.
Regarding the missing workflow activities, could you please check that workflow activity description files are present after installation? Activity descriptions are AsposeConverterActivity.ACTIONS and AsposeReportActivity.ACTIONS. They should be present in a template subdirectory corresponding to your locale locale ID. For example, for US English the path should be like \Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\1033\Workflow, where 1033 is US English locale ID.
Thanks && Best Regards,

Hello,

They appear to be showing up in the Workflow subfolder. See picture attached. I also attached a picture of designer and it not showing any workflow actions, on our test installation Aspose actions would show under the core actions category.

Edit: I also attached the two files located in that directory.
Edit2: I was reading some stuff on custom SharePoint workflows and the gacutil command. I ran the command /gacutil /l Aspose.Words.SharePoint.WorkFlow and this is the result.

c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>gacutil /l Aspose.Words.S
harePoint.WorkFlow
Microsoft ® .NET Global Assembly Cache Utility. Version 4.0.30319.1
Copyright © Microsoft Corporation. All rights reserved.

The Global Assembly Cache contains the following assemblies:
Aspose.Words.SharePoint.WorkFlow, Version=1.1.0.0, Culture=neutral, PublicKeyT
oken=716fcc553a201e56, processorArchitecture=MSIL

Number of items = 1

So as far as I can tell it is installed in the global assembly cache.

Edit3: Is it possible to allow our other Aspose Account (NorthCowichan) to be able to see attached images/files. Friday is my last day I will be working here so if this cannot be wrapped up by then I will have to pass the reins to someone else in our organization. If not I will just give them my account information.

If the above does not help you, I’m afraid I’m out of ideas for now. Just in case, could you please mention your SharePoint installation language and service pack version?
Thanks && Best Regards,

Hi Mike,

Thanks for your inquiry.
Mike:
Edit3: Is it possible to allow our other Aspose Account (NorthCowichan) to be able to see attached images/files. Friday is my last day I will be working here so if this cannot be wrapped up by then I will have to pass the reins to someone else in our organization. If not I will just give them my account information.
We have checked this scenario and unfortunately there is no way to share forum attachments for normal customers with other users. Only Aspose Staff members and thread owner can see the attachments. The only option you have is to share your current account with other person before leaving.

Best Regards,

dmitry.matveenko:
Hi Mike,
Thank you for the additional information.
Everything seems to be in the proper order with the actions files.
May I ask you to make sure that the list you are associating the workflow with is a document library? Those workflow actions only apply to document libraries.
From your posts above I assume that Aspose.Words.SharePoint.Workflow assembly is present under authorized types for workflow compiler in the web.config, is that correct? Below is how the section should look like:

If the above does not help you, I’m afraid I’m out of ideas for now. Just in case, could you please mention your SharePoint installation language and service pack version?
Thanks && Best Regards,

We are on Service Pack 1 and English. The actions are now showing up properly after I triple checked everything you guys mentioned here, thanks for the help.

As for the duplicating paragraph, that is a confirmed bug?

Hi Mike,

Thank you for your patience. It’s great to hear your problem with workflow activities is resolved.

As to the “duplicating paragraph” issue, I confirm that the issue is submitted to our defect database. You will be notified via this forum when the issue is resolved in Aspose.Words. Then the following release of Aspose.Words for SharePoint will pick up the fix.

Thanks && Best Regards,

The issues you have found earlier (filed as WORDSNET-6805) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.