dsccommunity / dsccommunity/SqlServerDsc

SqlRS: Cannot set database location

Open
#148 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug help wanted
Dominant language
PowerShell
Stars
385
Forks
224
PR merge metrics
No merged PRs in 30d

Description

When I define RSSQLServer, a Reporting Services database should be created on the SQL Server I define, instead, Reporting Services continues to use the database on the Reporting Services server (the one installed by default). The resource doesn't detect a 'Set' is required. No errors or warnings are produced.

xSQLServerRSConfig SQLServerRSConfig
{
    InstanceName       = $Node.SQLInstanceName
    RSSQLServer        = 'MyMainDatabaseServer'
    RSSQLInstanceName  = $Node.SQLInstanceName
    SQLAdminCredential = $Credential
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the xSQLServerRSConfig example and trace how RSSQLServer and RSSQLInstanceName are handled when the resource evaluates configuration. Reproduce the setup against a separate SQL Server, then verify that a changed database location is detected and applied without errors or warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
databases, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.