Home > CRM SDK, Dynamics CRM 2015 > Microsoft Dynamics CRM 2015 – SDK Solution Packager – The given path’s format is not supported

Microsoft Dynamics CRM 2015 – SDK Solution Packager – The given path’s format is not supported

Using the CRM 2015 Solution Packager within the Bin folder from the latest public CRM 2015 SDK (http://www.microsoft.com/en-us/download/confirmation.aspx?id=44567), you can extract the contents of a CRM Solution into individual files. I was using this tool with the following run command line option inside a batch file (with a pause to see the outcome):

solutionpackager /action:Extract /zipfile:D:\CRM\Sandbox\Default_1_0.zip
/folder:Sandbox\Solution  

pause

I was then fronted with the following error:

The given path’s format is not supported

 

ErrorShown

After looking into the XML files inside the Default_1_0.zip to, it seems one of my Security roles has a colon ( : ) in the name when trying to write the file to disk, which Windows Operating System doesn’t allow colons in the filename. Therefore the Solution Packager aborts with an error.

I thought I would blog this in the unlikely event you also encounter this error. I will be logging it with Microsoft Connect to get their response. I would like to see a mapping of non-compliant characters to be mapped to compliant characters and maybe a log file written to note what files had their name change because of this issue. I haven’t tested the earlier versions of the SolutionPackager.exe

 

Greg Olsen
YellowDuckGuy

Advertisements
Categories: CRM SDK, Dynamics CRM 2015
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: