none
"An unexpected error has occurred." appears in browser when pointing to WSS console

    Question

  • Hello everyone...

    I am trying to install WSS 3.0 SP2 and while the install goes smoothly, and I get all the through the configuration wizard, at the last point when connecting to the WSS admin console, I see...'connecting...' then "An unexpected error has occurred." 

    I have installed SQL Server 2008 R2 SP1 on Windows Server 2008 R2 SP1.

    Confirmed that WSS tables were created within SQL Server during the install.

    Installation log looks clean.

    I see an error when I try to open the WSS 3.0 Central Admin... I'll cut and paste the last quarter of the log that captures the error...

    09/19/2012 16:33:41  1  INF        Parsed the command line successfully
    09/19/2012 16:33:41  1  INF        Entering function UserInterface.ShowCentralAdmin
    09/19/2012 16:33:41  1  INF          The show central admin command has been chosen
    09/19/2012 16:33:41  1  INF          Searching for registry key Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\CentralAdministrationURL
    09/19/2012 16:33:41  1  INF          Entering function RegistryHelper.RegistryHelper
    09/19/2012 16:33:41  1  INF            The RegistryHelper has the key name as Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS and the registry hive as LocalMachine
    09/19/2012 16:33:41  1  INF          Leaving function RegistryHelper.RegistryHelper
    09/19/2012 16:33:41  1  INF          Entering function RegistryHelper.GetStringValue
    09/19/2012 16:33:41  1  INF            Entering function RegistryHelper.GetValue
    09/19/2012 16:33:41  1  INF            Leaving function RegistryHelper.GetValue
    09/19/2012 16:33:41  1  INF          Leaving function RegistryHelper.GetStringValue
    09/19/2012 16:33:41  1  INF          Found the central admin uri http://idman01-a:24295/ at HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\CentralAdministrationURL, so will browse to it
    09/19/2012 16:33:41  1  INF          Entering function TaskCommon.LaunchDefaultBrowserInNewWindow
    09/19/2012 16:33:41  1  INF            Entering function TaskCommon.GetDefaultBrowserFile
    09/19/2012 16:33:41  1  INF              Entering function TaskCommon.GetDefaultBrowserFile
    09/19/2012 16:33:41  1  INF                Entering function RegistryHelper.RegistryHelper
    09/19/2012 16:33:41  1  INF                  The RegistryHelper has the key name as http\shell\open\command and the registry hive as ClassesRoot
    09/19/2012 16:33:41  1  INF                Leaving function RegistryHelper.RegistryHelper
    09/19/2012 16:33:41  1  INF                Default browser registry key HKEY_CLASSES_ROOT\http\shell\open\command exists
    09/19/2012 16:33:41  1  INF                Entering function RegistryHelper.GetStringValue
    09/19/2012 16:33:41  1  INF                  Entering function RegistryHelper.GetValue
    09/19/2012 16:33:41  1  INF                  Leaving function RegistryHelper.GetValue
    09/19/2012 16:33:41  1  INF                Leaving function RegistryHelper.GetStringValue
    09/19/2012 16:33:41  1  INF                Browser from registry HKEY_CLASSES_ROOT\http\shell\open\command is "C:\Program Files (x86)\Internet Explorer\iexplore.exe" -nohome
    09/19/2012 16:33:41  1  INF                Lowered browser from registry HKEY_CLASSES_ROOT\http\shell\open\command is "c:\program files (x86)\internet explorer\iexplore.exe" -nohome
    09/19/2012 16:33:41  1  INF                Trimmed quotes from browser from registry HKEY_CLASSES_ROOT\http\shell\open\command is c:\program files (x86)\internet explorer\iexplore.exe -nohome
    09/19/2012 16:33:41  1  INF                Browser has been trimmed to c:\program files (x86)\internet explorer\iexplore.exe
    09/19/2012 16:33:41  1  INF                Default value for browser registry key HKEY_CLASSES_ROOT\http\shell\open\command is c:\program files (x86)\internet explorer\iexplore.exe -nohome
    09/19/2012 16:33:41  1  INF              Leaving function TaskCommon.GetDefaultBrowserFile
    09/19/2012 16:33:41  1  INF            Leaving function TaskCommon.GetDefaultBrowserFile
    09/19/2012 16:33:41  1  INF            Browsing to uri http://idman01-a:24295/ using browser c:\program files (x86)\internet explorer\iexplore.exe to make sure we create a new browser window regardless if the user has set up their browser to reuse existing browser windows
    09/19/2012 16:33:41  1  INF          Leaving function TaskCommon.LaunchDefaultBrowserInNewWindow
    09/19/2012 16:33:41  1  INF        Leaving function UserInterface.ShowCentralAdmin
    09/19/2012 16:33:41  1  INF      Leaving function UserInterface.WarmUp
    09/19/2012 16:33:41  1  INF      Entering function TaskDriver.Stop
    09/19/2012 16:33:41  1  INF        Entering function TaskDriver.OnTaskDriverStop
    09/19/2012 16:33:41  1  INF          Sending a task driver stop event: TaskDriverEventArgs.EventCriticalityType error, TaskDriverEventArgs.EventType.stop, 
    09/19/2012 16:33:41  1  INF          Entering function TaskDriverStateChange.Enter
    09/19/2012 16:33:41  1  INF            Acquiring the writer lock to change the state
    09/19/2012 16:33:41  1  INF            Current state of the task driver is neverrun.  You want to change it to stoppedrunning
    09/19/2012 16:33:41  1  INF            Changed state of the task driver to neverrun
    09/19/2012 16:33:41  1  INF            Released the writer lock to change the state
    09/19/2012 16:33:41  1  INF          Leaving function TaskDriverStateChange.Enter
    09/19/2012 16:33:41  1  INF          Entering function TaskDriver.FireOnTaskDriverEvent
    09/19/2012 16:33:41  1  INF            Entering function UserInterface.TaskDriverEventHandler
    09/19/2012 16:33:41  1  INF              Received a TaskDriverEventHandler: TaskDriverEventArgs.EventCriticalityType error, TaskDriverEventArgs.EventType stop, message 
    09/19/2012 16:33:41  1  INF              There isn't a current visible user form or the current form is not handling events, so we will handle this task driver event
    09/19/2012 16:33:41  1  INF            Leaving function UserInterface.TaskDriverEventHandler
    09/19/2012 16:33:41  1  INF          Leaving function TaskDriver.FireOnTaskDriverEvent
    09/19/2012 16:33:41  1  INF        Leaving function TaskDriver.OnTaskDriverStop
    09/19/2012 16:33:41  1  INF      Leaving function TaskDriver.Stop
    09/19/2012 16:33:41  1  INF      UnLocking the task driver for exclusive use while warming the driver up
    09/19/2012 16:33:41  1  INF    Leaving function TaskDriver.WarmUp
    09/19/2012 16:33:41  1  INF    Entering function PsconfigApplicationContext.ClosePsconfigApplication
    09/19/2012 16:33:41  1  INF      The psconfig ui application is closing
    09/19/2012 16:33:41  1  INF      We have do not have a main form, thus the application has been told to close prior to showing the ui at all
    09/19/2012 16:33:41  1  INF    Leaving function PsconfigApplicationContext.ClosePsconfigApplication
    09/19/2012 16:33:41  1  INF    Return code indicates a success
    09/19/2012 16:33:41  1  INF  Leaving function PsconfigUserInterfaceMain.Main

    Any thoughts on what to check...


    Wednesday, September 19, 2012 8:37 PM

All replies

  • Thought to provide a clue here that I just noticed...

    First, which Web.Config file is the one that drives the Sharepoint instance?

    If it is in <drive:>inetpub/wwwroot/virtualDirectories/<portnumber>, then something is odd because this folder number is different than the port number ISS assigns.  In my case the folder is '42341' and IIS states that the SharePoint Central Admin v3 site, (under SItes withint IIS) is 24295. (the right side action menu shows that to browse that web site, :24295(http)) - Is that odd?

    Friday, September 21, 2012 5:47 PM
  • So I guess the real question is does the Binding port need to match the physical path folder name?
    Friday, September 21, 2012 5:49 PM
  • ANd more, i turned o debugging and here is what it spit out during stack trace....


    Stack Trace:


    [HttpException (0x80004005): Unable to validate data.]
       System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, IVType ivType, Boolean useValidationSymAlgo, Boolean signData) +4308283
       System.Web.UI.Page.EncryptStringWithIV(String s, IVType ivType) +155
       System.Web.Handlers.AssemblyResourceLoader.FormatWebResourceUrl(String assemblyName, String resourceName, Int64 assemblyDate, Boolean htmlEncoded) +68
       System.Web.Handlers.AssemblyResourceLoader.GetWebResourceUrlInternal(Assembly assembly, String resourceName, Boolean htmlEncoded) +392
       System.Web.Handlers.AssemblyResourceLoader.GetWebResourceUrl(Type type, String resourceName, Boolean htmlEncoded) +364
       System.Web.UI.ClientScriptManager.RegisterClientScriptResource(Type type, String resourceName) +43
       System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e, Boolean registerScript) +206
       Microsoft.SharePoint.WebControls.AspMenu.OnPreRender(EventArgs e) +166
       System.Web.UI.Control.PreRenderRecursiveInternal() +108
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394

     

     

    Friday, September 21, 2012 7:15 PM
  • The top part of that page is:

     

    Server Error in '/' Application.

    Unable to validate data.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Web.HttpException: Unable to validate data.

    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:
    [HttpException (0x80004005): Unable to validate data.]
       System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, IVType ivType, Boolean useValidationSymAlgo, Boolean signData) +4308283
       System.Web.UI.Page.EncryptStringWithIV(String s, IVType ivType) +155
       System.Web.Handlers.AssemblyResourceLoader.FormatWebResourceUrl(String assemblyName, String resourceName, Int64 assemblyDate, Boolean htmlEncoded) +68
       System.Web.Handlers.AssemblyResourceLoader.GetWebResourceUrlInternal(Assembly assembly, String resourceName, Boolean htmlEncoded) +392
       System.Web.Handlers.AssemblyResourceLoader.GetWebResourceUrl(Type type, String resourceName, Boolean htmlEncoded) +364
       System.Web.UI.ClientScriptManager.RegisterClientScriptResource(Type type, String resourceName) +43
       System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e, Boolean registerScript) +206
       Microsoft.SharePoint.WebControls.AspMenu.OnPreRender(EventArgs e) +166
       System.Web.UI.Control.PreRenderRecursiveInternal() +108
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394
    

    Friday, September 21, 2012 7:42 PM
  • Strange it doesn't call it by its name: Sharepoint Central Admin.... and calls it /

    WTH?

    Friday, September 21, 2012 7:43 PM
  • Even though the topic is really old and the problem probably already has been solved for this person, I'm posting my answer for other people who are running into this error.

    Strange thing was that direct URL's to part in the Central Administration worked properly, which is the reason I started looking at the forward to the /default.aspx page (what also worked when typed directly into the browser). I've changed two things in IIS, but after some extra testing I found what the actual solution had been. The two things I've done were:

    ACTUAL SOLUTION
    In IIS in the Properties menu of the Central Administration site on the ASP.NET tab the ASP.NET version was set to 4.0.30319, while it should be 2.0.50727. Changing this to the correct value in the end made my Central Administration work properly again.

    TRIED, BUT NOT THE SOLUTION
    In IIS in the Properties menu of the Central Administration site on the Documents tab the default.aspx document was missing. I've added default.aspx and deleted the other options (Central Administration uses default.aspx, so it wouldn't get me into any troubles).

    Tuesday, June 3, 2014 2:17 PM