Share via

Server Error in '/' Application

Anonymous
2017-01-25T09:16:13+00:00

Dears 

I have a share point server, done by previous IT, but when I try to work on it, an exception pop up

"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:

[InvalidOperationException: This operation can be performed only on a computer that is joined to a server farm by users who have permissions in SQL Server to read from the configuration database. To connect this server to the server farm, use the SharePoint Products Configuration Wizard, located on the Start menu in Microsoft SharePoint 2010 Products.]
   Microsoft.SharePoint.Utilities.SPUtility.AlternateServerUrlFromHttpRequestUrl(Uri url) +223
   Microsoft.SharePoint.Administration.SPAlternateUrl.GetContextUri(HttpContext ctx) +434
   Microsoft.SharePoint.SPAppRequestContext.InitCurrent(HttpContext context) +1070
   Microsoft.SharePoint.SPAppRequestContext.get_Current() +114
   Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(SPSite site, String name, Boolean bNotGlobalAdminCode, String strUrl, Boolean bNotAddToContext, Byte[] UserToken, SPAppPrincipalToken appPrincipalToken, String userName, Boolean bIgnoreTokenTimeout, Boolean bAsAnonymous) +179
   Microsoft.SharePoint.SPRequestManager.GetContextRequest(SPRequestAuthenticationMode authenticationMode) +360
   Microsoft.SharePoint.Administration.SPFarm.get_RequestAny() +408
   Microsoft.SharePoint.SPLanguageSettings.GetGlobalInstalledLanguages(Int32 compatibilityLevel) +30
   Microsoft.SharePoint.Administration.SPTemplateFileSystemWatcher.RefreshInstalledLocales() +99
   Microsoft.SharePoint.Administration.SPTemplateFileSystemWatcher.Initialize() +66
   Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.System.Web.IHttpModule.Init(HttpApplication app) +789
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +630
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +175
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +423
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +317

[HttpException (0x80004005): This operation can be performed only on a computer that is joined to a server farm by users who have permissions in SQL Server to read from the configuration database. To connect this server to the server farm, use the SharePoint Products Configuration Wizard, located on the Start menu in Microsoft SharePoint 2010 Products.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +565
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +118
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +735

Is there any idea how to fix it?

Microsoft 365 and Office | SharePoint | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2017-01-25T13:23:17+00:00

    Hi Abo,

    Since you are using SharePoint on-premise while this forum mainly focuses on SharePoint Online related issues, I would suggest you post this issue in SharePoint forum on TechNet for dedicated support.

    Thanks for your understanding.

    Regards,

    James

    Was this answer helpful?

    0 comments No comments