none
Error 3005 after DCPromo RRS feed

  • Question

  • Hi all,

    We have a SharePoint 2010 foundation installed at a Windows 2008 R2 Server. After tried to promote this server to DCPROMO, Sharepoint stops, I cannot open Central Administration or any sites.

    I removed DC from the server but still cannot work. I create new users to start SharePoint Servers, now every server is up and running, but nothing happen with SP.

    Here is the error at Event Viewer

     

    Event code: 3005 
    Event message: An unhandled exception has occurred. 
    Event time: 07/01/2015 19:30:48 
    Event time (UTC): 07/01/2015 21:30:48 
    Event ID: 5397e58ccb8944e1b115b7a75e52ccc4 
    Event sequence: 2 
    Event occurrence: 1 
    Event detail code: 0 

    Application information: 
        Application domain: /LM/W3SVC/1851140256/ROOT-3-130651398479501677 
        Trust level: Full 
        Application Virtual Path: / 
        Application Path: C:\inetpub\wwwroot\wss\VirtualDirectories\4077\ 
        Machine name: <machine>

    Process information: 
        Process ID: 6628 
        Process name: w3wp.exe 
        Account name: <DOMAIN>\SPAdmin 

    Exception information: 
        Exception type: InvalidOperationException 
        Exception message: 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.
       at Microsoft.SharePoint.Utilities.SPUtility.AlternateServerUrlFromHttpRequestUrl(Uri url)
       at Microsoft.SharePoint.Administration.SPAlternateUrl.GetContextUri(HttpContext ctx)
       at Microsoft.SharePoint.SPAppRequestContext.InitCurrent(HttpContext context)
       at Microsoft.SharePoint.SPAppRequestContext.get_Current()
       at Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(SPSite site, String name, Boolean bNotGlobalAdminCode, String strUrl, Boolean bNotAddToContext, Byte[] UserToken, SPAppPrincipalToken appPrincipalToken, String userName, Boolean bIgnoreTokenTimeout, Boolean bAsAnonymous)
       at Microsoft.SharePoint.SPRequestManager.GetContextRequest(SPRequestAuthenticationMode authenticationMode)
       at Microsoft.SharePoint.Administration.SPFarm.get_RequestAny()
       at Microsoft.SharePoint.SPLanguageSettings.GetGlobalInstalledLanguages(Int32 compatibilityLevel)
       at Microsoft.SharePoint.Administration.SPTemplateFileSystemWatcher.RefreshInstalledLocales()
       at Microsoft.SharePoint.Administration.SPTemplateFileSystemWatcher.Initialize()
       at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.System.Web.IHttpModule.Init(HttpApplication app)
       at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
       at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
       at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
       at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)



    Request information: 
        Request URL: http://sharepointnet:65535/ 
        Request path: / 
        User host address: fe80::479:5f0c:daef:82bFull 
        User:  
        Is authenticated: False 
        Authentication Type:  
        Thread account name: <DOMAIN>\SPAdmin 

    Thread information: 
        Thread ID: 499 
        Thread account name: <DOMAIN>\SPAdmin 
        Is impersonating: False 
        Stack trace:    at Microsoft.SharePoint.Utilities.SPUtility.AlternateServerUrlFromHttpRequestUrl(Uri url)
       at Microsoft.SharePoint.Administration.SPAlternateUrl.GetContextUri(HttpContext ctx)
       at Microsoft.SharePoint.SPAppRequestContext.InitCurrent(HttpContext context)
       at Microsoft.SharePoint.SPAppRequestContext.get_Current()
       at Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(SPSite site, String name, Boolean bNotGlobalAdminCode, String strUrl, Boolean bNotAddToContext, Byte[] UserToken, SPAppPrincipalToken appPrincipalToken, String userName, Boolean bIgnoreTokenTimeout, Boolean bAsAnonymous)
       at Microsoft.SharePoint.SPRequestManager.GetContextRequest(SPRequestAuthenticationMode authenticationMode)
       at Microsoft.SharePoint.Administration.SPFarm.get_RequestAny()
       at Microsoft.SharePoint.SPLanguageSettings.GetGlobalInstalledLanguages(Int32 compatibilityLevel)
       at Microsoft.SharePoint.Administration.SPTemplateFileSystemWatcher.RefreshInstalledLocales()
       at Microsoft.SharePoint.Administration.SPTemplateFileSystemWatcher.Initialize()
       at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.System.Web.IHttpModule.Init(HttpApplication app)
       at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
       at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
       at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
       at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)

    I'm thinking to reinstall SharePoint but we don't have a full backup from SharePoint installation.

    Could you please help me ?

    Regards

    Mauricio Souza

    Thursday, January 8, 2015 9:37 AM

Answers

  • Hi,

    Here is an article for executing dcpromo on SharePoint server:

    http://brainlitter.com/2009/12/27/dcpromoing-a-sharepoint-server/

    You need to disconnect server from SharePoint farm before and reconnect it to farm after. Please run SharePoint Config wizard and perform IISReset.

    In addition, please use domain administrator account which has sufficient permission rights on the whole farm to do the testing.

    Regards,


    Rebecca Tu
    TechNet Community Support

    • Marked as answer by Rebecca Tu Friday, January 16, 2015 6:22 AM
    Sunday, January 11, 2015 8:25 AM

All replies

  • Hi Mauricio,

    With the error message we are able to see that the server is not a part of Farm now. Is it a stand alone server?

    Thursday, January 8, 2015 10:59 AM
  • No, it's a Domain Member, but SharePoint databases are installed at another server
    Thursday, January 8, 2015 12:16 PM
  • Hi,

    Here is an article for executing dcpromo on SharePoint server:

    http://brainlitter.com/2009/12/27/dcpromoing-a-sharepoint-server/

    You need to disconnect server from SharePoint farm before and reconnect it to farm after. Please run SharePoint Config wizard and perform IISReset.

    In addition, please use domain administrator account which has sufficient permission rights on the whole farm to do the testing.

    Regards,


    Rebecca Tu
    TechNet Community Support

    • Marked as answer by Rebecca Tu Friday, January 16, 2015 6:22 AM
    Sunday, January 11, 2015 8:25 AM
  • try this link:

    http://brainlitter.com/2009/12/27/dcpromoing-a-sharepoint-server/

    http://community.spiceworks.com/topic/316149-sophos-error-3005-on-promoted-2008r2-domain-controller

    Sunday, January 11, 2015 1:27 PM