New tool : Solution Import for Microsoft Dynamics CRM 2011

Hi,

Today, I released a little tool to ease the import of solution in Microsoft Dynamics CRM 2011.

It displays a simple UI where you can :

  • change import settings
  • Drag & drop a solution file (Zip)
  • Define a path containing the extraction of a solution file

image_thumb[2]

I hope this will help you a bit...

As usual, the tool is on CodePlex

Enjoy!

Comments

Dave Berry said…
Anything that comes with "Activate plugin steps and workflows" by default is better than the out-of-box functionality. Splendid work, Tanguy!
Carlos Mollá said…
Hello Tanguy, I'm having this error when using your tool:

An error occurred while receiving the HTTP response to https://afirma.api.crm4.dynamics.com/XRMServices/2011/Organization.svc. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details

I can import the solution using the web interface with no errors but I can't do it using your tool or even using my own .NET code.
Do you know where the problem is?
Thank you.
Tanguy said…
You could have used codeplex to submit your issue...

When does the error occurs? when connection? when importing?
Carlos Mollá said…
Thank you for your fast response Tanguy.
The connection is right. It happens when importing. I get this error after some minutes of importing the solution (one managed solution).
In fact the solution appears in my CRM online and it seems that the import process was right. But the tool throws the exception. When I do the same import process with your tool on an on-premise CRM everything is fine.
Carlos Mollá said…
Hello again Tanguy.

I've found a workaround in my own code. I don't know if it's the best solution, but what I do is to catch the exception (a CommunicationException) and I ignore it:

byte[] fileBytes = File.ReadAllBytes(filePath);
ImportSolutionRequest importSolutionRequest = new ImportSolutionRequest();
importSolutionRequest.CustomizationFile = fileBytes;
try
{
OrganizationResponse organizationResponse = service.Execute(importSolutionRequest);
}
catch (CommunicationException)
{
// ignore response exception, because it's thrown even if import suceed
}

I don't understand why I get this exception in an online CRM and not in an on-premise CRM. I hope it helps to your tool.
Thanks.
Darcy Grubaugh said…
A CRM system can help greatly in managing and organizing processes within a business. It is also involved in providing technical support to clients and enhancing marketing efforts. A CRM system with a simple user interface can help make managing the tasks easier, but a system with similar interface and better functionality would be better.

Darcy Grubaugh
Dhodgin said…
Ive been having trouble importing a solution into our development environment and all i would get is a generic "error try again"

with your tool it gave me back an exact message why that an option set name was conflicting with an existing one.

saved my life

thanks a alot

Popular posts from this blog

Use feature flags in your plugins

New XrmToolBox plugin : Import/Export NN relationships

Searchable Propery Attribute Updater