Re: HttpException : Unable to validate data
- From: Marie <Marie@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 29 Aug 2007 06:58:00 -0700
Hello, Alvin,
We've looked at the file monitor while executing the checkout option;
nothing stood out in particular in the way of a failure on file copy; the
error that we trap, repeatedly, during execution of the "checkout" option on
a document in our shared library, is that httpexection: unable to validate
data...discussed elsewhere on this same thread, as reported by other users
having our configuration. We've reproduced the error twice in our
environment, once on our test server where we initially installed SharePoint
2007 using the "advanced" complete, standalone options -- in a "Farm"
configuration with a single-server, where we created an application on port
80, and then again, using the same configuration on our production server, on
a separate network. In both instances, the SharePoint 2007 installations ran
error-free; in both instances the check-out function, when executed on a
document in the shared document webpart, generated the same exception, as
reported here, and in other threads, repeatedly.
On a separate VM, I did install Share Point 2007 using the "standalone"
option and when I tested the checkout function on a document within the
shared document webpart on the default application created during the
installation, the function worked, error free.
I would request then, that you may wish to attempt to duplicate our error,
in the configuration defined in the scenario outlined in this report -- as
this would reveal if there were an issue with this particular Share Point
2007 configuration, requiring further discovery -- or if there were perhaps a
corruption that may have occurred (unreported) during our installation,
twice, on two separate servers -- on two separate networks.
Thanks very much -- and I appreciate your catching my question on this
forum; this error continues -- and if there were perhaps a software fix in
the future that would address, we would have greater confidence in this
particular configuration going forward with this preferred SharePoint 2007
"advanced complete standalone" farm installation method we have chosen to use.
Regards,
--Marie
"Alvin Bruney [MVP]" wrote:
I'll take a chance and comment. I don't see why the machine key encryption.
should be the cause. If it were, a lot more than checkin/checkout would
fail. Have you looked at permissions configurations for the users where this
is failing? Check-in/out is basically a file copy. That is where I would
start using a tool like filemon for instance.
Have you also tried removing/deleting the document library and recreating
it? Have you tried running the repair wizard on the site?
--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET - MS Press
Professional VSTO 2005 - Wrox/Wiley
OWC Black Book www.lulu.com/owc
"Marie" <Marie@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9F53C45D-C7E1-4656-BC7F-C6259480FC90@xxxxxxxxxxxxxxxx
Hi,
Can somebody please comment on the following proposed fixes indicated for
the error discussed in this thread? I'd like your opinions -- are we on
the
right track --or is this a red herring we are following here?
We have installed a single-server Sharepoint 2007 FARM (using the advanced
"Complete" option) and enabled our single application on port 80. The
application, features, subpages, and functions, work well except for the
document check-in, check-out, publishing options on any document we have
placed in the shared document webparts on any of our application pages.
When you right-mouse-click on a document and select the "check-out"
option,
immediately you will receive an "Unknown Error" message, and the operation
fails. The same error occurs for Check-In, and "Publish" operations on
that
document (using the shared documents web part provided by Microsoft).
We have trapped the following error when this occurs:
"Unable to validate data. at
System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf,
Byte[]
modifier, Int32 start, Int32 length, Int32& dataLength) at
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)
There is much experience with this same error on the Internet; various
developers are explaining how with a Sharepoint 2007 Farm implementation,
developers need to explicitly define the machine key setting, not allowing
them to autogenerate.
Have researched the following four links that describe this requirement:
http://support.stormhosts.net/showthread.php?p=2521
http://forums.whirlpool.net.au/forum-replies-archive.cfm/677326.html
http://www.kbalertz.com/Feedback.aspx?kbNumber=313091
http://msdn2.microsoft.com/en-us/library/system.web.configuration.machinekeysection.aspx
The main concern I have in following any of these suggestions in repairing
this error that we've encountered with the check-out/check-in and publish
options on a document in the "Shared Documents" web part is that the
script
for the Sharepoint 2007 Complete installation did not tell us we needed to
set static machinekeys in web configuration files. So, I would feel
comfortable if I knew others had done the same in this scenario and were
successful.
Thanks, everybody!
--Marie
"James Crowley" wrote:
[Apologies for the duplicate, I posted the first from the wrong email
alias]
Hi everyone,
My site is randomly firing off a "ExceptionHttpException : Unable to
validate data. " error on some of its forms at the moment:
-------
HttpException : Unable to validate data.
http://www.developerfusion.co.uk/Members/Private/EditProfile.aspx
(Referred
by http://www.developerfusion.co.uk/Members/Private/EditProfile.aspx)
at System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[]
buf,
Byte[] modifier, Int32 start, Int32 length, Int32& dataLength)
at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)
-----------
I can't reproduce it myself, but several users and the automatic error
reports that have been generated indicate this. The site isn't running on
a
web farm or anything, the application pool isn't being recycled, and I've
tried the standard solutions of specifying a fixed machine
validation/encryption key, and I've also tried disabling the view state
mac
entirely, but the problem persists. Does anyone have any ideas what might
be
triggering this?
Thanks,
- James
www.developerfusion.co.uk
- References:
- RE: HttpException : Unable to validate data
- From: Marie
- Re: HttpException : Unable to validate data
- From: Alvin Bruney [MVP]
- RE: HttpException : Unable to validate data
- Prev by Date: Re: Date string problem in query string when posting back
- Next by Date: Re: Date string problem in query string when posting back
- Previous by thread: Re: HttpException : Unable to validate data
- Next by thread: Re: Mixing Non-ASP.NET & ASP.NET Files in One Domain
- Index(es):
Relevant Pages
|
|