BizTalk Visual Studio Compile Error: The operation could not be completed. The parameter is incorrect.

  • Sandro Pereira
  • Jun 20, 2023
  • 2 min read

Always fun returning to an old BizTalk Server solution I worked on before! Today, while modifying an existing solution for the first time in 3 years! – You have to love BizTalk Server for that consistency and reliability that is difficult to find in any other platform or service! – I got a weird issue while trying to rebuild the solution:

The operation could not be completed. The parameter is incorrect.

The operation could not be completed

with no more details! which is always lovely!

📝 One-Minute Brief

Rebuilding BizTalk solutions in Visual Studio can fail with the error “The operation could not be completed. The parameter is incorrect.” This article explains why this issue occurs and shows a simple workaround that resolves the build problem quickly.

Cause

It has been a constant these days, but that is honestly true: I don’t know exactly the reason why. And the solutions describing this type of issue are not consistent and range from restarting Visual Studio, and deleting files, to restarting the machine!

But my feeling is that it is more related to Visual Studio security execution permissions and user permissions.

Solution

To resolve this issue, run Visual Studio as an administrator. To do that, you need:

  • Select the Start button, and then in the Search box, type Visual Studio.
  • Next, right-click either Visual Studio <version>, and then select More > Run as administrator.
Run as administrator

Open your BizTalk Visual Studio Solution and try to build it. It worked for me!

  • Build started…
  • Build succeeded

Hope you find this helpful! So, if you liked the content or found it helpful and want to help me write more content, you can buy (or help buy) my son a Star Wars Lego! 

Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

Leave a Reply

Your email address will not be published. Required fields are marked *

The Ultimate Cloud
Management Platform for Azure

Supercharge your Azure Cost Saving

Learn More
Turbo360 Widget

Back to Top