4 votes
System.ArgumentException : Value does not fall withing the expected range

Description

 
After the wizard, when creating a new project i receive the above error.
Any idea what it is i am doing wrong ?

I want to create a ANY pipelinecomponent with some properties on it .. plain and simple !

Thanks,

File Attachments


Comments

most recent at top (show oldest at top)
jimmyfrank wrote Jun 10 2008 at 4:28 PM
Sorry, I just read below how to fix this :)

jimmyfrank wrote Jun 10 2008 at 4:26 PM
Has anyone figured this out? I had the wizards installed and working, tried to use it today and I'm getting this error also. The only thing I can think of is maybe I didn't have VS2005 SP1 installed when the wizard was working. Very strange.

zoda wrote May 12 2008 at 1:40 PM
FIX:
In the BizTalkPipelineComponentWizard.cs around line 304, the problem is the wizard fails to get the correct target project out of the project collection. I have corrected the code and the unofficial fix can be used. Change the code, recompile the dll and change the run-time version in the installation directory:

// get a handle to the project. using mySolution will not work.
if (this._Application.Solution.Projects.Count == 1)
pipelineComponentProject = this._Application.Solution.Projects.Item(1);
else
{
// In Doubt: Which project is the target?
pipelineComponentProject = this._Application.Solution.Projects.Item(projectFileName);
// Original code below
//pipelineComponentProject = this._Application.Solution.Projects.Item(Path.Combine(Path.GetFileNameWithoutExtension(projectFileName), projectFileName));
}


/Michael

McGyver wrote May 2 2008 at 11:24 AM
I also receives this error, and I have tried to show all the steps in the attached screenshot-document.

I downloaded the project from CodePlex, compiled it with success. Then I ran the .MSI installation package with succes and even restarted the OS. Then I followed the steps showed in the attached document. (I have tried many combinations with the same result).

/Anders Spur Hansen

kishorementa wrote Apr 17 2008 at 11:48 PM
I am also getting same error "System.ArgumentException : Value does not fall withing the expected range". Is there is fix for this ?.

martijnh wrote Feb 25 2008 at 11:50 AM
Could you please elaborate on the issue? The error is quite generic, some reproduction steps would be easier to analyze.

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2009.10.27.15987