Monday, February 06, 2012     | Register
 
Current Blog
Oct 30

Written by: Adrian Colquhoun
Thursday, October 30, 2008

 

I've been using my "between contracts" time to do some in depth sharepoint webpart development using the Visual Studio 2008 extensions. On the second deploy of a custom webpart I receieved a rather unhelpful error:

 

"Value does not fall within the expected range"

 

Not much on google about this on but I eventually tracked down a blog post from Brian Madsen with a workaround. You can read Brians post for all the gory details but to cut a long story short try the following in your prebuild event:

 

rd /S/Q "$(ProjectDir)pkg\"

 

Works on my machine !

 

Tags:

1 comments so far...

Re: Value does not fall within the expected range - sharepoint webpart deployment error

you should have a
comments thing somewhere so i don't have to pretend to reply to your goooblegog.
please take my ideas on board
alice
:)

By alice on   Sunday, December 21, 2008

Your name:
Title:
Comment:
Add Comment    Cancel  

Switch blogs
Print  

Search Blogs
Print  

Archive
Print  


Copyright 2007 by Intelligent Decisioning Ltd   |  Privacy Statement  |  Terms Of Use