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
I hope this will help you a bit...
As usual, the tool is on CodePlex
Enjoy!
Comments
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.
When does the error occurs? when connection? when importing?
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.
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
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