Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Unknown Error in Microsoft Office SharePoint Server 2007


Author: Alvin Bruney MVP

View products that this article applies to.

Summary

You receive an error condition with the error string "Unknown Error" in Microsoft Office SharePoint Server 2007 when you try to check-out or publish from a document library in Microsoft Office SharePoint Server 2007.

↑ Back to the top


Symptoms

For Microsoft Office SharePoint Server 2007 Standard Edition Advanced - Complete, single-server installation, certain application Shared Documents library functions such as check-in/out or publish, produce the following error:
Error=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) 

↑ Back to the top


Cause

The error is caused by an incorrect installation and configuration of SharePoint. This error, reported in system diagnostics during application operations, may indicate a work-around that instructs the administrator to edit machine key values in the SharePoint farm to resolve the issue.� Microsoft does not require or recommend�that system administrators edit SharePoint machine key values.�The underlying cause of the error is a configuration issue that may have occurred during or following the initial SharePoint farm installation.

↑ Back to the top


Resolution

To test and verify your Microsoft Office SharePoint Server 2007 Standard Edition farm installation methodology, and isolate possible errors in application code, or post-installation SharePoint configuration, follow these procedures to create a new SharePoint 2007 Standard Edition baseline Virtual Machine:


Pre-installation:� For the purposes of test and validation only, create the following domain users:

Domain user account�(requires administrative privileges to install products on the VM).

Domain Administrator account is required to attach the VM to the Domain.�

SharePoint 2007 Standard Edition Advanced Complete, Single-Server Farm installation requires the following "Application Specific" Domain User accounts:

"SPConfig" -- Use this when prompted for a domain user to assign to administrative configuration databases during software installation.
"SPSearch" -- Use this when prompted for a domain user to assign to search, indexing, profile, or shared services you create.

Installation:

1.� Create a new virtual machine (VM) configured with Microsoft Windows 2003 R2 Standard Edition, with SP2.
2.� Configure preferences to enable over 2GB of RAM.�Configure network settings for your VM.
�2.� Name and join your new VM to the domain (will require Domain Administrator privileges to do so).�
3.� Configure the Server Role "Application Server,"�Install IIS 6.0.
4.� Restart the VM.
5.� Install SQL Server 2005 Standard Edition.
6.� Install SQL Server 2005 SP2 patch.
7.� Restart your VM.
8.� Install SharePoint 2007 Standard Edition Server.� Use the "Advanced" and "Complete" options when prompted.
9.� Assign "SPConfig" domain user to the SharePoint configuration database; otherwise, accept all defaults.
10.� Restart the VM.
11.� Run the SharePoint 2007 Configuration Wizard from the startup menu.� Complete all tasks.
12.� Create the Central Web Application as prompted.
13.� Reboot your VM.
14.� Login to SharePoint 2007 Central Administration as the SPConfig user you created.
15.� Configure all services as prompted.� Assign user "SPSearch" to the Search and Indexing Services.� Also use "SPSearch" when prompted for a domain user in steps that follow:
16.� Create a new Shared Service Provider. On the form, as indicated, create a new web application for shared services -- Do not assign to port 80.�
17.� Using the same Shared Services Provider form, you will create the My Sites web application; Do not assign to port 80.�
18.� After you have created both applications and completed the form, click the "OK" button to create the Shared Services Provider.
19.� Restart your VM.
20.� Create a new application assigned to Port 80.
21.� Assign "SPConfig" to the application database for test purposes only.
22.� Assign your own domain user account to own the application; then click OK to create it.
23.� Ensure that you have enabled "Self Service Site Creation" on your new application.
24.� Ensure that you have enabled "Self Service Site Creation" on your My Sites application (created in step 17).
25.� Log on to your Shared Services Provider that you created in step 18; configure as appropriate for further tests -� User profiles and properties and search settings for example.
25.� Restart your VM.
26.� Now log on to your new Port 80 application and test functionality.� Create a My Site.� Execute Check-out functions in the Shared Documents library.� All should work, error-free.
27.� Isolate and preserve this SharePoint 2007 Standard Edition baseline VM in its current state.� Create another, separate VM, for use in application development.�

↑ Back to the top


More information

This article was prepared with the help of Marie A. Rundquist, Principal Software Engineer for Marie A. Rundquist Consulting Services.

↑ Back to the top


Properties

COMMUNITY SOLUTIONS CONTENT DISCLAIMER
MICROSOFT CORPORATION AND/OR ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY, RELIABILITY, OR ACCURACY OF THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN. ALL SUCH INFORMATION AND RELATED GRAPHICS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS HEREBY DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THIS INFORMATION AND RELATED GRAPHICS, INCLUDING ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, WORKMANLIKE EFFORT, TITLE AND NON-INFRINGEMENT. YOU SPECIFICALLY AGREE THAT IN NO EVENT SHALL MICROSOFT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY DIRECT, INDIRECT, PUNITIVE, INCIDENTAL, SPECIAL, CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF USE, DATA OR PROFITS, ARISING OUT OF OR IN ANY WAY CONNECTED WITH THE USE OF OR INABILITY TO USE THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN, WHETHER BASED ON CONTRACT, TORT, NEGLIGENCE, STRICT LIABILITY OR OTHERWISE, EVEN IF MICROSOFT OR ANY OF ITS SUPPLIERS HAS BEEN ADVISED OF THE POSSIBILITY OF DAMAGES.

↑ Back to the top


Community solutions content disclaimer

Microsoft corporation and/or its respective suppliers make no representations about the suitability, reliability, or accuracy of the information and related graphics contained herein. All such information and related graphics are provided "as is" without warranty of any kind. Microsoft and/or its respective suppliers hereby disclaim all warranties and conditions with regard to this information and related graphics, including all implied warranties and conditions of merchantability, fitness for a particular purpose, workmanlike effort, title and non-infringement. You specifically agree that in no event shall Microsoft and/or its suppliers be liable for any direct, indirect, punitive, incidental, special, consequential damages or any damages whatsoever including, without limitation, damages for loss of use, data or profits, arising out of or in any way connected with the use of or inability to use the information and related graphics contained herein, whether based on contract, tort, negligence, strict liability or otherwise, even if Microsoft or any of its suppliers has been advised of the possibility of damages.

↑ Back to the top


Keywords: kbpubmvp, kbpubtypecca, kbhowto, KB556031

↑ Back to the top

Article Info
Article ID : 556031
Revision : 1
Created on : 10/18/2007
Published on : 10/18/2007
Exists online : False
Views : 306