Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SqlSetup: Module does not support installed feature BIDS #69

Closed
Denverrr3 opened this issue Jun 22, 2016 · 7 comments
Closed

SqlSetup: Module does not support installed feature BIDS #69

Denverrr3 opened this issue Jun 22, 2016 · 7 comments
Labels
enhancement The issue is an enhancement request. not fixed The issue was closed without being fixed.

Comments

@Denverrr3
Copy link

https://www.bountysource.com/issues/27794416-trouble-installing-the-feature-rs_shpwfe

Looks like get-TargetResource does not support detection of the following rolls which we need for our SQL Server install.

@forensicsguy20012004
Copy link

Yeah, I found that out as well, early on but I have yet had the time to get around to re-coding. It would be great if someone with the time could pick this up.

@kwirkykat kwirkykat added enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community. labels Aug 2, 2016
@wsmelton
Copy link
Contributor

Just a note on this one, that it seems this is more than just the features listed in this bug. So I tried to use this features list: SQLENGINE,SSMS,ADV_SSMS,SNAC_SDK,SDK,BC,Conn and Test-TargetResource is returning false, BUT the features are still installed.

I have not dug into the Get-TargetResource for xSqlServerSetup module, but quick check and it seems there a few issues:

  • The features is a string instead of an array. Not sure what the reasoning behind not having this be an array to begin with was, instead of having to split it.
  • Get-TargetResource does not seem to handle anything other than the SSMS options and the components. Anything else it never validates so always returns false, not sure but this may be the only thing needed to fix it (?).

@pmcevoy
Copy link

pmcevoy commented Feb 10, 2017

Likewise, it doesn't work for the parent feature parameter "TOOLS".

@johlju
Copy link
Member

johlju commented Apr 20, 2017

Only BIDS left to support. BC and CONN is supported. Changing title to reflect that.

@johlju johlju changed the title Module does not support installed features BC, CONN, and BIDS xSQLServer: Module does not support installed features BIDS Apr 20, 2017
@johlju johlju changed the title xSQLServer: Module does not support installed features BIDS xSQLServerSetup: Module does not support installed features BIDS Apr 20, 2017
@johlju johlju changed the title xSQLServerSetup: Module does not support installed features BIDS xSQLServerSetup: Module does not support installed feature BIDS Apr 20, 2017
@johlju
Copy link
Member

johlju commented Jun 21, 2017

Feature BIDS should only exist in SQL Server 2008 R2 for installing Business Intelligence Development Studio, and SQL Server 2012 for installing SQL Server Data Tools (SSDT).

@johlju
Copy link
Member

johlju commented Jun 23, 2017

Updating this issue with a suggestions from @ptoluganti in issue #653. @ptoluganti suggest the following code to detect BIDS.

# Check if BIDS in installed
$BIDSRegistryPath = "HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server\$($sqlVersion)0\BIDS\\*"

$isBIDSInstalled = (Get-ItemProperty -Path $BIDSRegistryPath -ErrorAction SilentlyContinue)
if ($isBIDSInstalled)
{
	$features += 'BIDS,'
}
else
{
	"BIDS Not found"
}

After installation of BIDS the following registry keys exist.

HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\110\BIDS
HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\110\BIDS\Setup
HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\110\BIDS\Setup\SQL_BIDS_Full
HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\110\BIDS\Setup\SQL_BIDS_Full\1033

Registry Key:
FeatureList has value SQL_BIDS_Full=3 SQL_WarehouseDevWorkbench_FNS=3

@johlju johlju changed the title xSQLServerSetup: Module does not support installed feature BIDS SqlSetup: Module does not support installed feature BIDS Dec 22, 2017
@SteveL-MSFT SteveL-MSFT added this to Help Wanted in powershell/dscresources May 14, 2019
@SteveL-MSFT SteveL-MSFT removed this from Help Wanted in powershell/dscresources Nov 27, 2019
@johlju
Copy link
Member

johlju commented May 24, 2020

Closing this as SQL Server 2008 R2 has reached end-of-life.

@johlju johlju closed this as completed May 24, 2020
@johlju johlju added not fixed The issue was closed without being fixed. and removed help wanted The issue is up for grabs for anyone in the community. labels May 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue is an enhancement request. not fixed The issue was closed without being fixed.
Projects
None yet
Development

No branches or pull requests

6 participants