Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. Failed to create the configuration database

Failed to create the configuration database

Scheduled Pinned Locked Moved SharePoint
windows-admindatabasesysadmintoolshelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gaurav Dudeja India
    wrote on last edited by
    #1

    I have successfully installed the WSS 3.0 on my windows server 2003, but when running products and configuration wizard I got the following error. Failed to create the configuration database Task configdb has failed with an unknown exception Exception: System.UnauthorizedAccessException: Attempted to perform an unauthorized operation. and here is the part of log file which contains error: Entering function Farm.IsJoinedToFarm 12/07/2009 10:11:20 8 INF Entering function Farm.TryIsJoinedToFarm 12/07/2009 10:11:20 8 INF My cached Farm object is null, so will load it 12/07/2009 10:11:20 8 INF Calling SPFarm.Local and SPServer.Local to get the local farm objects 12/07/2009 10:11:20 8 INF SPFarm.Local returned null. This usually means that the server is not joined. But, you can delete a server from the configdb without unjoining, which would mean that this machine still thinks it is joined. 12/07/2009 10:11:20 8 INF Trying to access the server farm connection string 12/07/2009 10:11:20 8 INF Entering function TaskCommon.TryGetWssVersion3ConnectionStringExists 12/07/2009 10:11:20 8 INF Entering function RegistryHelper.RegistryHelper 12/07/2009 10:11:20 8 INF The RegistryHelper has the key name as SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Secure\ConfigDB and the registry hive as LocalMachine 12/07/2009 10:11:20 8 INF Leaving function RegistryHelper.RegistryHelper 12/07/2009 10:11:20 8 INF WSS v3 registry key SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Secure\ConfigDB for the connection string does not exist 12/07/2009 10:11:20 8 INF Unable to get the WSS v3 connection string 12/07/2009 10:11:20 8 INF Leaving function TaskCommon.TryGetWssVersion3ConnectionStringExists 12/07/2009 10:11:20 8 INF DID NOT discover a v3 connection string and SPFarm.Local indicates that this machine is not joined. 12/07/2009 10:11:20 8 INF Entering function Farm.Clear 12/07/2009 10:11:20 8 INF Entering function CentralAdminServiceInstance.Reset 12/07/2009 10:11:20

    I S 2 Replies Last reply
    0
    • G Gaurav Dudeja India

      I have successfully installed the WSS 3.0 on my windows server 2003, but when running products and configuration wizard I got the following error. Failed to create the configuration database Task configdb has failed with an unknown exception Exception: System.UnauthorizedAccessException: Attempted to perform an unauthorized operation. and here is the part of log file which contains error: Entering function Farm.IsJoinedToFarm 12/07/2009 10:11:20 8 INF Entering function Farm.TryIsJoinedToFarm 12/07/2009 10:11:20 8 INF My cached Farm object is null, so will load it 12/07/2009 10:11:20 8 INF Calling SPFarm.Local and SPServer.Local to get the local farm objects 12/07/2009 10:11:20 8 INF SPFarm.Local returned null. This usually means that the server is not joined. But, you can delete a server from the configdb without unjoining, which would mean that this machine still thinks it is joined. 12/07/2009 10:11:20 8 INF Trying to access the server farm connection string 12/07/2009 10:11:20 8 INF Entering function TaskCommon.TryGetWssVersion3ConnectionStringExists 12/07/2009 10:11:20 8 INF Entering function RegistryHelper.RegistryHelper 12/07/2009 10:11:20 8 INF The RegistryHelper has the key name as SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Secure\ConfigDB and the registry hive as LocalMachine 12/07/2009 10:11:20 8 INF Leaving function RegistryHelper.RegistryHelper 12/07/2009 10:11:20 8 INF WSS v3 registry key SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Secure\ConfigDB for the connection string does not exist 12/07/2009 10:11:20 8 INF Unable to get the WSS v3 connection string 12/07/2009 10:11:20 8 INF Leaving function TaskCommon.TryGetWssVersion3ConnectionStringExists 12/07/2009 10:11:20 8 INF DID NOT discover a v3 connection string and SPFarm.Local indicates that this machine is not joined. 12/07/2009 10:11:20 8 INF Entering function Farm.Clear 12/07/2009 10:11:20 8 INF Entering function CentralAdminServiceInstance.Reset 12/07/2009 10:11:20

      I Offline
      I Offline
      Ian McCaul
      wrote on last edited by
      #2

      This looks like it is possibly a permission issue. Make sure the account you are running this as has local admin rights on the server and that the account you use to connect to SQL server has db creator rights.

      1 Reply Last reply
      0
      • G Gaurav Dudeja India

        I have successfully installed the WSS 3.0 on my windows server 2003, but when running products and configuration wizard I got the following error. Failed to create the configuration database Task configdb has failed with an unknown exception Exception: System.UnauthorizedAccessException: Attempted to perform an unauthorized operation. and here is the part of log file which contains error: Entering function Farm.IsJoinedToFarm 12/07/2009 10:11:20 8 INF Entering function Farm.TryIsJoinedToFarm 12/07/2009 10:11:20 8 INF My cached Farm object is null, so will load it 12/07/2009 10:11:20 8 INF Calling SPFarm.Local and SPServer.Local to get the local farm objects 12/07/2009 10:11:20 8 INF SPFarm.Local returned null. This usually means that the server is not joined. But, you can delete a server from the configdb without unjoining, which would mean that this machine still thinks it is joined. 12/07/2009 10:11:20 8 INF Trying to access the server farm connection string 12/07/2009 10:11:20 8 INF Entering function TaskCommon.TryGetWssVersion3ConnectionStringExists 12/07/2009 10:11:20 8 INF Entering function RegistryHelper.RegistryHelper 12/07/2009 10:11:20 8 INF The RegistryHelper has the key name as SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Secure\ConfigDB and the registry hive as LocalMachine 12/07/2009 10:11:20 8 INF Leaving function RegistryHelper.RegistryHelper 12/07/2009 10:11:20 8 INF WSS v3 registry key SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Secure\ConfigDB for the connection string does not exist 12/07/2009 10:11:20 8 INF Unable to get the WSS v3 connection string 12/07/2009 10:11:20 8 INF Leaving function TaskCommon.TryGetWssVersion3ConnectionStringExists 12/07/2009 10:11:20 8 INF DID NOT discover a v3 connection string and SPFarm.Local indicates that this machine is not joined. 12/07/2009 10:11:20 8 INF Entering function Farm.Clear 12/07/2009 10:11:20 8 INF Entering function CentralAdminServiceInstance.Reset 12/07/2009 10:11:20

        S Offline
        S Offline
        saanj
        wrote on last edited by
        #3

        The sql login that you used should have the right to create database on the sql server.

        There is no foolish question, there is no final answer...

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups