cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Amruthavarshini
Helper III
Helper III

Getting error while importanting solution using devops import script

Hello everyone, 

I am getting a error while running import script in my VS, the error is saying import failed. I dont see anything in solution history.

 

The log file has below message :

 

PackageDeployer Error 2 26-11-2021 14:06:26 Message: Failed to load solution IRIS Core with version 0.2021.1020.1953. Message: Field not found: 'Microsoft.Xrm.Tooling.Connector.ImportSolutionProperties.ISTEMPLATEMODE'.
Source : Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageCore
Method : ExecuteImportSolution
Date : 14:06:26
Time : 26-11-2021
Error : Field not found: 'Microsoft.Xrm.Tooling.Connector.ImportSolutionProperties.ISTEMPLATEMODE'.
Stack Trace : at Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageCore.ImportCode.BaseImportCustomizations.ExecuteImportSolution(ConfigSolutionFile Sol, String sSolutionImportFilePath)

 

I am not able to figure out the cause of the error.  Can you please help me with this if you have any idea? 

 

2 REPLIES 2
ChrisPiasecki
Dual Super User
Dual Super User

Hi @Amruthavarshini,

 

Can you post your Package Deployer xml configuration? Will need a bit more detail in order to help troubleshoot.

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

Amruthavarshini
Helper III
Helper III

@ChrisPiasecki , Thank you for responding.

 

Here is the content of the Importconfig.xml file

 

<?xml version="1.0" encoding="utf-16"?> <configdatastorage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" installsampledata="false" waitforsampledatatoinstall="false" agentdesktopzipfile="" agentdesktopexename="" crmmigdataimportfile="PackageConfigData.zip"> <solutions> <configsolutionfile solutionpackagefilename="Develop1SmartButtons_1_2_444_1.zip" overwriteunmanagedcustomizations="false" requiredimportmode="async" /> <configsolutionfile solutionpackagefilename="IRISCore_managed.zip" overwriteunmanagedcustomizations="false" requiredimportmode="async" /> <configsolutionfile solutionpackagefilename="IRISEDPFramework_managed.zip" overwriteunmanagedcustomizations="false" requiredimportmode="async" /> <configsolutionfile solutionpackagefilename="IRISDocumentStorage_managed.zip" overwriteunmanagedcustomizations="false" requiredimportmode="async" /> <configsolutionfile solutionpackagefilename="IRISCorrespondence_managed.zip" overwriteunmanagedcustomizations="false" requiredimportmode="async" /> <configsolutionfile solutionpackagefilename="IRISCompliance.zip" overwriteunmanagedcustomizations="false" requiredimportmode="async" /> </solutions> </configdatastorage>
 
I tried updating XRMtooling package to latest version but it didn't solve the issue.

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (3,467)