C1Chart and custom field in C1ReportDesigner - charts

I am getting an error: "Failed to create custom field 'C1.C1Report.CustomFields.Chart’ from assembly 'c1.c1report.customfields.4′."
I am using ComponentOne Studio for ASPNET_2011
I have troubleshoot almost everything that were suggested in the forum.
I am creating a Report Defination(xml) template using C1ReportDesigner. The Report defination contains some subreports and Custom Filed for Chart. The report works fine with the C1ReportDesigner Preview, but when I am using the same template in web forms 4.0 using C1ReportViewer it givers me the above mentioned error. Without CustomField (Chart) it won’t gives me error.
I have mentioned the versions of the dll’s below:
C1ReportDesigner Details
Designer Version: 4.6.20111.54308 C1Report Version: 4.6.20111.54308
C1.C1Report.CustomFields.4.dll —–> 4.6.20101.1 C1.C1Report.4.dll —–>
4.6.20111.54308 (\ComponentOne\Studio for ASP.NET\ReportingTools\Designer.4) C1.C1Report.4.dll —–>
4.6.20111.54307 (\ComponentOne\Studio for ASP.NET\bin\v4) C1.Win.C1Chart.4.dll —-> 4.0.20101.20119 (\ComponentOne\Studio for
ASP.NET\ReportingTools\Designer.4
WebApplication(Project) Dll’s
//C1.C1Report.4.dll —–> 4.6.20111.54307
//C1.C1Report.CustomFields.4.dll —–> 4.6.20101.1
//C1.Win.C1Chart.4.dll —> 4.0.20111.21027
I have added the Custom Field dll in the project as suggested in the forum but its not working. Please help!!!!!!

The issue seems to be due to incorrect version of the chart dll used.
The CustomField dll used is of 10v1 while the version of the C1Chart dll is 11v1 (ie. a later one).
Hence, adding the references of the latest versions of the C1Chart won’t serve the purpose as the CustomFields dll would not be able to refer to this chart dll. You need to add the dll(s) of the version of controls that come packaged with the C1ReportDesigner and are in sync with the version of the dll used by the CustomField project.
You may refer to the following forum post for the complete detail/information on this :
http://our.componentone.com/groups/topic/failed-to-create-custom-field-c1-c1report-customfields-chart/
Regards,
Mohita

Related

Have the ServiceStack v3 libraries been removed from Nuget?

Does anyone know how I can get the V3 version of ServiceStack.Client off Nuget? This wiki page appears to suggest that they should be there: https://github.com/ServiceStackV3/ServiceStackV3
I need to create a new project to interact with a legacy v3 ServiceStack implementation. I can't upgrade the existing API, but the JsonServiceClient in the new v4 is not compatible. I've imported the contracts DLL from our legacy API, which is causing the incompatibility issue.
The exact error is:
Error 105 The type 'ServiceStack.ServiceHost.IReturn' is defined in an assembly that is not referenced. You must add a reference to assembly 'ServiceStack.Interfaces, Version=3.9.48.0, Culture=neutral, PublicKeyToken=null'. D:\Projects\Adactus.Pulse\Main\Solutions\Integration\Mulesoft\SupplierIntegration\ScmtProcessor\InitialInstructionProcessor.cs 231 17 ScmtProcessor
Have they been moved by chance to a different nuget package name (i.e. the BSD version)? Or do I need to manually start copying DLL references around?
No they haven't been moved, you can see all the NuGet package versions listed on NuGet:
https://www.nuget.org/packages/ServiceStack/
https://www.nuget.org/packages/ServiceStack.Common/
You'll need to download the exact v3.9.48 packages you need, which the v3 page you linked to shows an example of:
https://github.com/ServiceStackV3/ServiceStackV3

Where is the latest version of template?

I need to build a custom type of question for Moodle 2.8
The only place I could find a question template is at:
https://moodle.org/mod/data/view.php?d=13&rid=443&filter=1
But, when I downloaded the template, in the READ ME file:
'''WARNING, THIS TEMPLATE IS NOT COMPLETE YET!'''
So, AM I looking in the wrong place for the template? I've also noticed that
the tempalte Requires: Moodle 1.7 or later, so it might be a bit old..
Any advice?
That's a link in the old plugins directory.
There are some notes here for creating a question type in Moodle 2.x : https://docs.moodle.org/dev/Question_types
A template can be cloned from here : https://github.com/jamiepratt/moodle-qtype_TEMPLATE/

TFSBranchToolVsExtension Exection of Action ConnectSourceControl Fails

I downloaded the TFSBranchTool VS Extension Project.
Rebuilt and Installed, but when I try to apply Initial Structure I get the following Error:
Exection Error:
Exection of Action 'ConnectSourceControl' Failed. Details: Could not load file or assembly Microsoft.AlLMRangers.BranchTool.SourceControlWrapper......
Any idea what might be causing the problem ? I tried on 2 different Servers! , I got the latest Update of VS2012.
I got VS2012 SDK installed and Vs2012 ObjectModel too, not sure what I'm missing!
We have posted an update to the sample code on http://vsarguidance.codeplex.com/releases/view/96222, which addresses this bug.
The issue was that Microsoft.ALMRangers.BranchTool.SourceControlWrapper.dll was missed in VSIX package. As action execution engine using MEF to load actions, it has no direct references to actions implementation assembly.
Vladimir from the team fixed the issue by specifying assembly as the MEF asset in the VS extension’s manifest file. Now it’s redistributed inside the extension package.
Can you verify that you have the file Microsoft.ALMRangers.BranchTool.SourceControlWrapper.dll
in the following folder:
%LOCALAPPDATA%\Microsoft\VisualStudio\11.0\Extensions\Microsoft. ALM Rangers\TfsBranchToolVSExtension\1.0
If its not there - try deleting the TfsBranchToolVSExtension and re-install the VSIX.

Custom Plugin Not Showing Up In The List (works fine while debugging - not when deployed through deploy.bat)

I am currently having an issue with my plugin not being displayed in the plugin list within admin.
When I run this straight from VS2010 is works perfectly. I have checked and the description file appears to be OK and the plugin is present in the plugins folder once deployed (using the deploy.bat).
I have noticed there is a massive list of DLLs being deployed with the plugin but don't think that is the issue (although it would be nice to tidy that up to - all references are set to do not copy)
Are there any other things I could be missing? I am fairly new to development and have checked al the things that seem to be obvious to me.
I have already read and checked the following:
http://www.nopcommerce.com/boards/t/13404/plugin-not-showhing-up-in-plugin-list.aspx
http://www.nopcommerce.com/boards/t/14259/plugin-not-copied-to-deploy.aspx
Any assistance will be massively appreciated!
Have you properly documented yor plugin code?
<?php<br>
/*<br>
Plugin Name: Name Of The Plugin<br>
Plugin URI: h ttp://URI_Of_Page_Describing_Plugin_and_Updates<br>
Description: A brief description of the Plugin.<br>
Version: The Plugin's Version Number, e.g.: 1.0<br>
Author: Name Of The Plugin Author<br>
Author URI: h ttp://URI_Of_The_Plugin_Author<br>
License: A "Slug" license name e.g. GPL2<br>
*/<br>
?><br>
(from wpcodex)
This ended up being the publishing to different IIS site without realising so it was updating the DLL in the wrong folder...

Windows Workflow 4 Designer error using custom activities with custom libraries

I built a custom activity referencing a custom library. When I drop my custom activity into a Windows Workflow 4 designer, I get this error:
Workflow Designer encountered problems with your document
Please check the document for invalid content, namespaces, references or reference loops
System.IO.FileNotFoundException: Could not load file or assembly 'my custom libary...'
I'm using Visual Studio 2010.
I've tried adding the library to the GAC, cleaning and rebuilding but still get the error. Any ideas? Thanks.
Be sure that the custom Library is added as a reference to your Rehosted editor. If not you can you can try is manually load your custom library assembly into the AppDomain.
AppDomain.CurrentDomain.Load(AssemblyLocation_you_pass_in);
Hope this helps.