Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Error: Could not find stored procedure 'Configuration_GetConfiguration'.



  • Successfully installed Build Master on 2012 server, with database in SQL 2014. I set it up to use integrated security and added the app-pool user to the database with BuildMasterUser_Role AND db_owner role. Yet when I run webapp on localhost:81 I get the error: Could not find stored procedure 'Configuration_GetConfiguration'.
    The store proc is in the database. What is it the I need to do to make it work.
    Here is the stack trace it is showing with the error:

    [SqlException (0x80131904): Could not find stored procedure 'Configuration_GetConfiguration'.]
    System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) +388 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +815 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4515 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() +69 System.Data.SqlClient.SqlDataReader.get_MetaData() +134 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +6553981 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) +6556619 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean asyncWrite) +586
    System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +104
    System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +288
    System.Data.SqlClient.SqlCommand.ExecuteReader() +302
    Inedo.Data.SqlServerDataFactory.ExecuteDataSet(String storedProcName, String[] tableNames, IList`1 parameters) +112
    Inedo.Data.WrappedStoredProcedure.ExecuteDataTable() +110
    Inedo.BuildMaster.Configuration.Sources.DatabaseConfigSource.ReadConfigValue(String scope, String key) +158
    Inedo.BuildMaster.Web.WebApplication.WebConfig.get_IntegratedAuthenticationEnabled() +76
    Inedo.BuildMaster.Web.WebApplication.BuildMasterHttpModule.AuthenticateRequest(HttpApplication app) +398
    System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165

    Product: BuildMaster
    Version: 4.7.3



  • Hi Wajeeh,

    It looks like there is definitely something wrong with your database; probably, the stored procedures are being created under different schema (i.e. not dbo). If this is the case, You can rectify this by dropping the database, and then running the bmdbupdate.exe tool from the manual install packages... but it's probably easier to uninstall, drop the BuildMaster database, and then reinstall.



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation