When using sketchflow, I designed a form, then went to create another one.
On returning to the first one, I got an error: “value does not fall within the expected range”
This turned out to be because I had changed the order of columns in a grid, so the xaml had two columns with the same index.
On moving them to be in the correct order, and removing the index attributes from the grid columns, all returned to normal nicely.
Here is an excellent blog post on the subject:
And here is a useful webpage for decoding url guid’s:
In my particular problem, a custom webpart was trying to enumerate permissions, and the user hadn’t been granted permission to do that.
Thus causing the whole site to fall over, with an access denied message.
- Ensure you are using http not https. (HTTPS will cause you grief in my experience.).
- Ensure the web client service is running
- Go to the document library, click actions, and open with windows explorer.
- Copy this URL that it then uses.
- Create a mapped drive, using the URL, and the relevant security account.
You’re done. Remember, enable Web client, and use HTTP NOT HTTPS.
Here is a great blog post on how to add different document templates to document libraries in Share Point 2007.
On attempting to add a 3rd party webpart to my Share Point 2007 installation I got the following message in a dialogue window:
Unable to add selected webparts. Cannot import this webpart
I reviewed all the instructions and I had followed every step.
One of the steps mentioned adding a safecontrol entry to the web.config.
On changing the order of where this safecontrol entry was in web.config, to the top of the list, the webpart displayed perfectly.
My thinking is, that one of my other entries is causing an error, and stopping the rest from loading…
Anyway, next time you get this error, try moving the Safecontrol entry to the front of the list, and see if it resolves the problem.