Report Server Database Configuration Error.

  • HI, While trying to configure Report Server getting the below error. Any suggestion to know how to fix the issue?>

    failed at step 3:

    Running database script, two steps were successful:

    verifying database sku

    generating database script

    System.Data.SqlClient.SqlException: CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file 'C:\Data\MSSQLServer\ReportServer.mdf'.

    CREATE DATABASE failed. Some file names listed could not be created. Check related errors.

    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)

    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)

    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)

    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)

    at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)

    at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)

    at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()

    at Microsoft.ReportingServices.Common.DBUtils.ApplyScript(SqlConnection conn, String script, ICommandWrapperFactory commandWrapper)

    at Microsoft.ReportingServices.Common.DBUtils.ApplyScript(String connectionString, String script)

    at ReportServicesConfigUI.SqlClientTools.SqlTools.ApplyScript(String connectionString, String script)

    Thanks.

  • Hello

    Today I have same error but with a different file path:

    CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file 'C:\Program Files (x86)\ReportServer.mdf'.

    What did you do to fix this?

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply