Value does not fall within the expected range error.

Capture

Recently when I was trying to deploy SharePoint solution with vs2008  and VSeWSS 1.3 I got this cryptic error which made it difficult to identify the cause of the error due to its cryptic nature. After going thought the solution files in detail It worked out that you get this error when you are missing any files in the VS2008 solution which are referenced by the manifest.xml file.

Capture1

The missing file was referenced by the manifest.xml file inside the VSeWSS  “pkg”  folder as shown below.

Capture3

After the placing the missing file in the file system the deployment succeeded as expected.



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