Search box is no available on any site page.
I've tried to create a new site as search server (Enterprise tag template) and when I try to open the search created site I get the following error.
Sorry, something went wrong
An unexpected error has occurred.
Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator.
Correlation ID: 0b5a5d9c-85a1-6072-9cae-82bae96b9a75
Once enabled "debug" in web.config: (callstack
= “true” and customerror mode = “Off”) when open site i find the following trace error:
Common Language Runtime detected an invalid program.
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.InvalidProgramException: Common Language Runtime detected an invalid program.
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:
[InvalidProgramException: Common Language Runtime detected an invalid program.]
Microsoft.Office.Server.Search.WebControls.SearchCommon.GetUserAdvancedLanguageSettingsUrl() +0
Microsoft.Office.Server.Search.WebControls.ScriptApplicationManager..ctor() +1555
Microsoft.Office.Server.Search.WebControls.ScriptApplicationManager.GetCurrent(Page page) +183
Microsoft.Office.Server.Search.WebControls.SearchBoxScriptWebPart.OnInit(EventArgs e) +199
System.Web.UI.Control.InitRecursive(Control namingContainer) +477
System.Web.UI.Control.AddedControl(Control control, Int32 index) +304
System.Web.UI.WebControls.WebParts.WebPartManagerControlCollection.AddWebPartHelper(WebPart webPart) +440
System.Web.UI.WebControls.WebParts.WebPartManagerControlCollection.AddWebPart(WebPart webPart) +228
Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddWebPartWithRetry(WebPart webPart) +817
Microsoft.SharePoint.WebPartPages.SPWebPartManager.CreateWebPartsFromRowSetData(Boolean onlyInitializeClosedWebParts) +8218
Microsoft.SharePoint.WebPartPages.SPWebPartManager.LoadWebParts() +146
Microsoft.SharePoint.WebPartPages.SPWebPartManager.OnPageInitComplete(Object sender, EventArgs e) +350
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2059
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18056
I
I've seen more than one issue similar to this in this forum.Someone has already fixed this problem?
Thanks in AdvancedImage may be NSFW.
Clik here to view.Image may be NSFW.
Clik here to view.