Creating an expression to return a yes/no or True/False statement in Ms SQL Server Report Builder
I am attempting to create a field that returns a True/False value instead of a numeric value. I have a field with the expression =Fields!CreditLimit.Value*.95 this returns a value that is equal to 95% of the value in my Balance field. The issue is I
don't remember how to turn =IIF (Fields!CreditLimit.Value > *.95, true, false) into an expression that compares the 2 fields and then returns True/False. Can you please help me out?
Thanks,
-John
Hi,
Try below one:
=IIF (Fields!CreditLimit.Value *.95>95, true, false)
Here you have to define a limit. For Example; When output of Fields!CreditLimit.Value
*.95 is greater than 95 then True else False. So specify the value according to your requirement.
Thanks Shiven:) If Answer is Helpful, Please Vote
Similar Messages
-
I have a SQL Server Reporting Services report that has a textbox within a Report with variations of the following expression
=Sum(IiF(Fields!RegisterID.Value = 6000, 1, 0)
and
Iif(Fields!PointID.Value = 500, 1, 0)) / Sum(Iif(Fields!PointID.Value = 500, 1, 0))
I see the following error when I try to preview the report:
The Value expression for the text box ‘Textbox2’ uses an aggregate expression without a scope. A scope is required for all aggregates used outside of a data region unless the report contains exactly one dataset.
What am I missing in this this expression to make it run incorrectlyCan you include dataset name in your sum functions? e.g. Sum(IiF(Fields!RegisterID.Value = 6000, 1, 0)
and
Iif(Fields!PointID.Value = 500, 1, 0)) should include your dataset name as Sum(IiF(Fields!RegisterID.Value = 6000, 1, 0) and Iif(Fields!PointID.Value = 500, 1, 0),"datasetname")Like wise Sum(Iif(Fields!PointID.Value = 500, 1, 0)) should also have dataset name Sum(Iif(Fields!PointID.Value = 500, 1, 0),"datasetname")
Gaur -
Creating alias for Web access to SQL Server Reporting Services
Hello colleagues.
I have MS SQL Server 2012 with SQL Server Reporting Services in domain "domain.local". In the local network at the entrance via Web browser to "mdr.domain.local/Reports" get into Reports of SQL Server Reporting Services and it's work fine.
Necessary that the SQL Server Reporting Services could include via Web browser from alias "reports2.domain.local/Reports". To do this:
1) I created a new A record "reports2" in the DNS leading to IP mdr.domain.local
2) in Reporting Services Configuration Manager on a tab "Web Service URL" in "Report Server Web Service URLs" I add new record "http://reports2:80/ReportServer" (host Header Name: reports2)
BUT "reports2.domain.local/Reports" is not work. When entering to "reports2.domain.local/Reports" I see page "An error in the security certificate for this Web Site..." and when I click "Continue to ...", then "Unable
to find a web page."
What and where I must add/change for work of alias "reports2.domain.local/Reports" by analogy with "mdr.domain.local/Reports"?
I hope for your help.
Thanks.WooW it's work!!! Thank you
JJordheim you are the best!
With my PKI I create new certificate for "reports2.domain.local" and Import it to MDR server (in Personal). I create new network adapter and configure Reporting Services Configuration on "Report manager URL" tab (for SSL):
mdr.domain.local - certificate "mdr.domain.local" - network adapter №1
reports2.domain.local - certificate "reports2.sygroup.local" - network adapter №2
And all work fine.
If I configure all to 1 network adapter it's doesn't work.
Thanks for help! -
SQL Server Reporting Services in SQL Server Express 2012
I installed SQL Server Express 2012 but cannot find SQL Server Reporting Services.
Is it possible to use SSRS in SQL Server Express 2012?
If possible, where do I get so that I could install it and make environment?Hi ,
Did you get a chance to look into the below link
http://blogs.msdn.com/b/mvpawardprogram/archive/2014/03/10/adding-sql-server-express-2012-advanced-services-to-existing-development-environment.aspx
Best Regards Sorna -
Folders are creating automatically in Sql Server Report Manger
Dear All,
I am using Sql Server Reporting Services. And i have created Diffrent Folders in Report Manager,
And deployed various reports. Now the problem is one folder created automatically in Report Manager as 'User Folders'
and in that folder, sub folders are created automatically whenenver users are extracting the reports.
Iam getting the below error whenever iam going to delete that folders,
The permissions granted to user 'sbkhetan' are insufficient for performing this operation. (rsAccessDenied)
Pl help me on this issue. How can i delete that folders,
ThanksThat folder is part of the My Reports functionality. As long as you've got that activated you cannot delete the folder...
"While the feature is activated, Users Folders and its subfolders cannot be deleted. Furthermore, the name "My Reports" becomes
a reserved name for folders created under the root node (Home)."
Ref. Enabling and Disabling My Reports
MCITP SQL Server 2008 (BI & DEV); MCTS SQL Server 2008 (BI, DEV & DBA)
Check out my articles at BI: Beer Intelligence? -
Expression Question for SQL Server Reporting Services 2008 R2
I am trying to form an expression that will give me the est. hours for a specific project type. Project Type is a field in the data set as well as est.hrs. There are no calculations needed. The hours is listed under the field name"Est.Hours".
So I've been trying to us an IIF expression. IIF(Fields!ProjectType.Value=Landscaping, "", Fields!Est.Hours.Value). It is not working. It renders "0" and it should render "10". What am I doing wrong?Hi Data Specialist,
Per my understanding that you want to use the expression to display the Est.Hours for the ProjectType which value are not "Landscaping" and if the value is "Landscaping" it will display null value, right?
I have tested on my SSRS 2008 R2 environment and find the issue can be caused by the expression you are using, I would like to confirm with you if the expression "IIF(Fields!ProjectType.Value=Landscaping, "", Fields!Est.Hours.Value)"
is what you are currently using.
As Patrick Hurst mentioned that we need do modify the wrap Landscaping in double quotes: "Landscaping" and also the fields name "Est.Hours" also can cause the problem, please try to remove the ".", rename the
field like"EstHours", So finally the expression is as below:
=IIF(Fields!ProjectType.Value="Landscaping", "", Fields!EstHours.Value)
If your problem still exists, please try to provide details information below to help us more effective to provide an solution:
If you got some error message, please provide them to us.
Please try to provide the snapshot of the report structure and the sample data of the table
Any problem, please feel free to ask.
Regards
Vicky Liu -
Create OLE DB Data Source in Sql Server Reporting Services
Hi,
I need to connect to a sap bw cube and when i try to create Data Source everything is going well but i can't see my cubes in the catalog field.
any one have experience with it??
Thanks.Hi Gil,
Check whether the cube is present in the below table.
RSDCUBE: Directory of InfoCubes / InfoProvider.
Regards,
KK. -
For the captioned issue, is it possible? We have successfully created linked server between 2 MS SQL server 2008 standard edition, but failed for the standard and express edition. Is there any trick to setup? Thanks.
Hello,
SQL Server Management Studio Express Edition may not allow to create a linked server, but the workaround is to use the T-SQL. You can use sp_addlinkedserver and sp_addlinkedsrvlogin.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
SQL Server 2014 Express LocalDB automatic instance is not created
I have just installed SQL Server 2014 Developer Edition and noticed that there is no v12.0 automatic instance. Instead, there is MSSQLLocalDB automatic instance. Is this a bug?
Hi Alex,
According to your description, we need to verify if you install SQL Server 2014 Developer edition and SQL Server 2014 express edition. LocalDB is only just a lightweight version of Express version that has all its programmability features. If you install
SQL Server 2014 express LocalDB, please ensure you install automatic instances of LocalDB and not named instance of LocalDB. Usually,
when the target machine has the specified version of LocalDB installed, the automatic instance of
LocalDB for that version is available on the target machine as well. The name for the automatic instance is a single v character followed by the
LocalDB release version number in the format
xx.x. For example, v12.0 represents SQL Server 2014. For more information, see:
http://msdn.microsoft.com/en-us/library/hh510202(v=sql.120).aspx
If the issue still exists after checking the above suggestions, you can submit a feedback to Microsoft such issues, I would recommend to submit it to the Microsoft Connect at this link
https://connect.microsoft.com/SQLServer/Feedback. This connect site will serve as a connecting point between you and Microsoft, and ultimately the large community for you and Microsoft to
interact with. Your feedback enables Microsoft to offer the best software and deliver superior services, meanwhile you can learn more about and contribute to the exciting projects on Microsoft Connect.
Thanks,
Sofiya Li
If you have any feedback on our support, please click here.
Sofiya Li
TechNet Community Support -
SQL Server Express 2008 Setup Error : Exit code -2147467259.
Hello.
I have been trying to install SQL Express 2008, 3 different editions on a Windows 2008 Standard Server. All of the installers failed just after the install file had finished unpacking itself in a temp folder. No errors or logs were found.
.Net3.5sp1, Windows Installer 4.5 and PowerShell 1.0 were all installed.
I was only able to find a log file when I used the SqlExpressWrapper.exe to drive the installation.
The error displayed from the wapper is : An error occurred during installation of SQL Server 2008 Express. Installation failed with exit code -2147467259
thank you for your help.
Naim
Here is the complete log.
C:\ProgramData\Microsoft\SQL Server 2008 Express Install\2008-11-12_14-27-41-519\Logs\Install Wrapper\log.txt
Info: [T1][14:27:41.519] Program.Main Install Wrapper started, log initialized.
Verbose: [T1][14:27:41.550] Program.Main Executable path: C:\ProgramData\Microsoft\SQL Server 2008 Express Install\2008-11-12_13-56-59-277\SqlExpressWrapper.exe
Verbose: [T1][14:27:41.550] Program.Main Command line arguments: (none)
Verbose: [T1][14:27:41.550] Program.Main Environment:
Current UI culture: en-US
Installed culture: en-US
OS: Windows Server 2008 Service Pack 1 (Microsoft Windows NT 6.0.6001 Service Pack 1), product type: 3
Architecture: x86
Verbose: [T1][14:27:41.550] Program.Main Running UI.
Verbose: [T1][14:27:41.550] LocaleCollection.GetLocaleForCulture Start - cultureName=en-US
Verbose: [T1][14:27:41.550] LocaleCollection.GetLocaleForCulture End - returned [Id=en, EnglishName=English]
Verbose: [T1][14:27:42.924] Wizard.Window_Loaded Start - sender=Microsoft.SqlServer.SqlExpressWrapper.UI.Wizard; e=System.Windows.RoutedEventArgs
Verbose: [T1][14:27:42.924] Wizard.Window_Loaded End
Info: [T1][14:27:43.845] InstallState.get_ComponentsToInstall Determining components to install.
Verbose: [T1][14:27:43.845] ComponentInfo.get_IsInstalled Start
Info: [T1][14:27:43.845] ComponentInfo.get_IsInstalled Checking whether Windows Installer 4.5 is installed.
Verbose: [T1][14:27:43.845] ComponentInfo.get_IsInstalled Checking version of file C:\Windows\system32\msi.dll; minimum version is 4.5
Verbose: [T1][14:27:43.845] ComponentInfo.get_IsInstalled Detected version 4.5.6001.22162
Verbose: [T1][14:27:43.845] ComponentInfo.get_IsInstalled File version check PASSED.
Info: [T1][14:27:43.845] ComponentInfo.get_IsInstalled Windows Installer 4.5 is installed.
Verbose: [T1][14:27:43.845] ComponentInfo.get_IsInstalled End - returned True
Verbose: [T1][14:27:43.845] InstallState.get_ComponentsToInstall Windows Installer 4.5 - No (already installed)
Verbose: [T1][14:27:43.845] ComponentInfo.get_IsInstalled Start
Info: [T1][14:27:43.845] ComponentInfo.get_IsInstalled Checking whether Windows Powershell 1.0 is installed.
Verbose: [T1][14:27:43.845] ComponentInfo.CheckRegistryValues Start - path=HKEY_LOCAL_MACHINE\Software\Microsoft\Powershell\1:Install; data=1
Verbose: [T1][14:27:43.845] ComponentInfo.CheckRegistryValue Start - path=HKEY_LOCAL_MACHINE\Software\Microsoft\Powershell\1:Install; data=1
Verbose: [T1][14:27:43.861] ComponentInfo.ParseRegKeyPath Start - path=HKEY_LOCAL_MACHINE\Software\Microsoft\Powershell\1:Install; keyName=NULL; valueName=NULL
Verbose: [T1][14:27:43.861] ComponentInfo.ParseRegKeyPath End
Verbose: [T1][14:27:43.861] ComponentInfo.CheckRegistryValue Checking registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Powershell\1:Install for 1
Verbose: [T1][14:27:43.861] ComponentInfo.CheckRegistryValue End - returned True
Verbose: [T1][14:27:43.861] ComponentInfo.CheckRegistryValues End - returned True
Verbose: [T1][14:27:43.861] ComponentInfo.get_IsInstalled Registry check PASSED.
Info: [T1][14:27:43.861] ComponentInfo.get_IsInstalled Windows Powershell 1.0 is installed.
Verbose: [T1][14:27:43.861] ComponentInfo.get_IsInstalled End - returned True
Verbose: [T1][14:27:43.861] InstallState.get_ComponentsToInstall Windows Powershell 1.0 - No (already installed)
Verbose: [T1][14:27:43.861] ComponentInfo.get_IsInstalled Start
Verbose: [T1][14:27:43.861] ComponentInfo.get_IsInstalled End - returned False
Verbose: [T1][14:27:43.861] InstallState.get_ComponentsToInstall SQL Server 2008 Express with Tools - Yes
Verbose: [T1][14:27:43.861] InstallState.get_ComponentsToInstall SQL Server 2008 Express with Advanced Services - No (not selected or required)
Verbose: [T1][14:27:43.861] InstallState.get_ComponentsToInstall SQL Server 2008 Express - No (not selected or required)
Verbose: [T1][14:27:43.908] StartPage.Page_Loaded Start - sender=Microsoft.SqlServer.SqlExpressWrapper.UI.StartPage; e=System.Windows.RoutedEventArgs
Verbose: [T1][14:27:43.908] StartPage.Page_Loaded End
Verbose: [T1][14:27:46.546] StartPage.ButtonInstall_Click Start - sender=System.Windows.Controls.Button: Install; e=System.Windows.RoutedEventArgs
Verbose: [T1][14:27:46.546] LocaleCollection.GetLocaleForCulture Start - cultureName=en-US
Verbose: [T1][14:27:46.546] LocaleCollection.GetLocaleForCulture End - returned [Id=en, EnglishName=English]
Verbose: [T1][14:27:46.562] InstallController.InstallCommand_ExecutedStart - sender=Microsoft.SqlServer.SqlExpressWrapper.UI.StartPage; e=System.Windows.Input.ExecutedRoutedEventArgs
Verbose: [T1][14:27:46.562] InstallController.InstallCommand_ExecutedEnd
Verbose: [T1][14:27:46.562] StartPage.ButtonInstall_Click End
Verbose: [T3][14:27:46.562] InstallController.InstallWorker Start
Verbose: [T3][14:27:46.562] LocaleCollection.GetLocaleForCulture Start - cultureName=en-US
Verbose: [T3][14:27:46.562] LocaleCollection.GetLocaleForCulture End - returned [Id=en, EnglishName=English]
Info: [T3][14:27:46.562] InstallController.InstallWorker Starting install session.
Verbose: [T3][14:27:46.562] InstallState.GetIncompatibleComponents Start
Info: [T3][14:27:46.562] InstallState.GetIncompatibleComponents Checking components for system compatibility.
Info: [T3][14:27:46.562] ComponentInfo.get_TargetDeployment Determining best deployment of SQL Server 2008 Express with Tools for this system.
Verbose: [T3][14:27:46.562] ComponentInfo.get_TargetDeployment Target locale: en
Info: [T3][14:27:46.577] ComponentInfo.get_TargetDeployment Best deployment: [LocaleId=en, OS=5.1.2600-5.1.9999.9999,5.2.3790.3959-, Architecture=x86, DownloadUrl=http://go.microsoft.com/fwlink/?LinkID=119768&clcid=0x409]
Info: [T3][14:27:46.577] InstallState.GetIncompatibleComponents Found 0 incompatible component(s).
Verbose: [T3][14:27:46.577] InstallState.GetIncompatibleComponents End - returned System.Collections.ObjectModel.Collection`1[Microsoft.SqlServer.SqlExpressWrapper.Configuration.ComponentInfo]
Verbose: [T3][14:27:46.577] InstallController.DownloadComponents Start
Info: [T3][14:27:46.577] InstallController.DownloadComponents Download phase started.
Info: [T3][14:27:46.577] InstallState.get_ComponentsToDownload Determining components to download.
Verbose: [T3][14:27:46.577] ComponentInfo.get_IsInstalled Start
Verbose: [T3][14:27:46.577] ComponentInfo.get_IsInstalled End - returned True
Verbose: [T3][14:27:46.577] InstallState.get_ComponentsToDownload Windows Installer 4.5 - No (already installed)
Verbose: [T3][14:27:46.577] ComponentInfo.get_IsInstalled Start
Verbose: [T3][14:27:46.577] ComponentInfo.get_IsInstalled End - returned True
Verbose: [T3][14:27:46.593] InstallState.get_ComponentsToDownload Windows Powershell 1.0 - No (already installed)
Verbose: [T3][14:27:46.593] ComponentInfo.get_IsInstalled Start
Verbose: [T3][14:27:46.593] ComponentInfo.get_IsInstalled End - returned False
Verbose: [T3][14:27:46.593] ComponentInfo.get_IsDownloaded Start
Verbose: [T1][14:27:47.608] ProgressPage.Page_Loaded Start - sender=Microsoft.SqlServer.SqlExpressWrapper.UI.ProgressPage; e=System.Windows.RoutedEventArgs
Verbose: [T1][14:27:47.608] ProgressPage.Page_Loaded End
Verbose: [T3][14:27:47.639] ComponentInfo.get_IsDownloaded File C:\ProgramData\Microsoft\SQL Server 2008 Express Install\Downloads\SqlExpressWithTools\SQLEXPRWT_x86_ENU.exe is already downloaded.
Verbose: [T3][14:27:47.639] ComponentInfo.get_IsDownloaded End - returned True
Verbose: [T3][14:27:47.639] InstallState.get_ComponentsToDownload SQL Server 2008 Express with Tools - No (already downloaded)
Verbose: [T3][14:27:47.639] InstallState.get_ComponentsToDownload SQL Server 2008 Express with Advanced Services - No (not selected or required)
Verbose: [T3][14:27:47.639] InstallState.get_ComponentsToDownload SQL Server 2008 Express - No (not selected or required)
Info: [T3][14:27:47.639] InstallController.DownloadComponents Download phase ended.
Verbose: [T3][14:27:47.639] InstallController.DownloadComponents End
Verbose: [T3][14:27:47.639] InstallController.InstallComponents Start
Info: [T3][14:27:47.639] InstallController.InstallComponents Install phase started.
Verbose: [T3][14:27:47.639] InstallController.SetForRestart Start - restart=True
Verbose: [T3][14:27:47.654] InstallController.CopyProgramFiles Start
Verbose: [T3][14:27:47.654] InstallController.CopyProgramFiles Copying wrapper files from C:\ProgramData\Microsoft\SQL Server 2008 Express Install\2008-11-12_13-56-59-277 to C:\ProgramData\Microsoft\SQL Server 2008 Express Install\2008-11-12_14-27-41-519
Verbose: [T3][14:27:47.701] InstallController.CopyProgramFiles End
Verbose: [T3][14:27:47.701] InstallController.SetForRestart Setting registry key for restart.
Verbose: [T3][14:27:47.701] InstallController.SetForRestart End
Verbose: [T3][14:27:47.717] ComponentInstaller.Install Start
Info: [T3][14:27:47.717] ComponentInstaller.Install Preparing to install SQL Server 2008 Express with Tools.
Verbose: [T3][14:27:47.717] ComponentInstaller.ValidateFile Start
Info: [T3][14:27:47.717] ComponentInstaller.ValidateFile Validating SQLEXPRWT_x86_ENU.exe.
Verbose: [T3][14:27:47.717] ComponentInstaller.GetFileCertificate Start - file=C:\ProgramData\Microsoft\SQL Server 2008 Express Install\Downloads\SqlExpressWithTools\SQLEXPRWT_x86_ENU.exe
Verbose: [T3][14:27:47.717] ComponentInstaller.GetFileCertificate Retrieved certificate: CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Verbose: [T3][14:27:47.717] ComponentInstaller.GetFileCertificate End - returned [Subject]
CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
[Issuer]
CN=Microsoft Code Signing PCA, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
[Serial Number]
610F784D000000000003
[Not Before]
2007-08-22 20:23:13
[Not After]
2009-02-22 19:33:13
[Thumbprint]
D57FAC60F1A8D34877AEB350E83F46F6EFC9E5F1
Verbose: [T3][14:27:47.717] ComponentInstaller.IsValidCertificate Start - cert=[Subject]
CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
[Issuer]
CN=Microsoft Code Signing PCA, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
[Serial Number]
610F784D000000000003
[Not Before]
2007-08-22 20:23:13
[Not After]
2009-02-22 19:33:13
[Thumbprint]
D57FAC60F1A8D34877AEB350E83F46F6EFC9E5F1
Verbose: [T3][14:27:47.779] ComponentInstaller.IsValidCertificate Looking in certificate chain for public key 3082010A0282010100A2DB0A8DCFC2C1499BCDAA3A34AD23596BDB6CBE2122B794C8EAAEBFC6D526C232118BBCDA5D2CFB36561E152BAE8F0DDD14A36E284C7F163F41AC8D40B146880DD98194AD9706D05744765CEAF1FC0EE27F74A333CB74E5EFE361A17E03B745FFD53E12D5B0CA5E0DD07BF2B7130DFC606A2885758CB7ADBC85E817B490BEF516B6625DED11DF3AEE215B8BAF8073C345E3958977609BE7AD77C1378D33142F13DB62C9AE1AA94F9867ADD420393071E08D6746E2C61CF40D5074412FE805246A216B49B092C4B239C742A56D5C184AAB8FD78E833E780A47D8A4B28423C3E2F27B66B14A74BD26414B9C6114604E30C882F3D00B707CEE554D77D2085576810203010001
Verbose: [T3][14:27:47.779] ComponentInstaller.IsValidCertificate Checking certificate: [Subject] CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US [Issuer] CN=Microsoft Code Signing PCA, O=Microsoft Corporation, L=Redmond, S=Washington, C=US [Serial Number] 610F784D000000000003 [Not Before] 2007-08-22 20:23:13 [Not After] 2009-02-22 19:33:13 [Thumbprint] D57FAC60F1A8D34877AEB350E83F46F6EFC9E5F1
Verbose: [T3][14:27:47.779] ComponentInstaller.IsValidCertificate End - returned True
Info: [T3][14:27:47.779] ComponentInstaller.ValidateFile File validation PASSED.
Verbose: [T3][14:27:47.779] ComponentInstaller.ValidateFile End - returned True
Info: [T3][14:27:47.779] ComponentInstaller.Install Installing SQL Server 2008 Express with Tools.
Verbose: [T3][14:27:47.795] ComponentInstaller.Install Executing command line "C:\ProgramData\Microsoft\SQL Server 2008 Express Install\Downloads\SqlExpressWithTools\SQLEXPRWT_x86_ENU.exe" /ACTION=Install
Verbose: [T3][14:27:47.795] ComponentInstaller.ParseCommandLine Start
Verbose: [T3][14:27:47.795] ComponentInstaller.ParseCommandLine End - returned System.Diagnostics.ProcessStartInfo
Verbose: [T3][14:27:48.903] ComponentInstaller.Install Waiting for process to exit.
Verbose: [T3][14:28: 0. 97] ComponentInstaller.Install Process returned exit code -2147467259.
Error: [T3][14:28: 0. 97] ComponentInstaller.Install Command line '"C:\ProgramData\Microsoft\SQL Server 2008 Express Install\Downloads\SqlExpressWithTools\SQLEXPRWT_x86_ENU.exe" /ACTION=Install ' returned unexpected error code -2147467259.
Verbose: [T3][14:28: 0. 97] ComponentInstaller.Install End - returned NULL
Error: [T3][14:28: 1.159] InstallController.InstallComponents Error: Microsoft.SqlServer.SqlExpressWrapper.Controller.InstallException was thrown: Installation failed with exit code -2147467259.
Source: SqlExpressWrapper
Stack: at Microsoft.SqlServer.SqlExpressWrapper.Controller.ComponentInstaller.Install()
at Microsoft.SqlServer.SqlExpressWrapper.Controller.InstallController.InstallComponents()
INNER EXCEPTION:
<NONE>
Verbose: [T3][14:28: 1.159] Wizard.controller_Error Start - sender=Microsoft.SqlServer.SqlExpressWrapper.Controller.InstallController; e=Microsoft.SqlServer.SqlExpressWrapper.Controller.ErrorEventArgs
Verbose: [T1][14:28: 1.159] Wizard.controller_Error Start - sender=Microsoft.SqlServer.SqlExpressWrapper.Controller.InstallController; e=Microsoft.SqlServer.SqlExpressWrapper.Controller.ErrorEventArgs
Verbose: [T1][14:28: 1.190] ErrorDialog.Window_Loaded Start - sender=Microsoft.SqlServer.SqlExpressWrapper.UI.ErrorDialog; e=System.Windows.RoutedEventArgs
Verbose: [T1][14:28: 1.190] ErrorDialog.Window_Loaded End
Verbose: [T1][14:28: 3.688] InstallController.ViewLogCommand_ExecutedStart - sender=Microsoft.SqlServer.SqlExpressWrapper.UI.ErrorDialog; e=System.Windows.Input.ExecutedRoutedEventArgs
Verbose: [T1][14:28: 3.688] InstallController.ViewLogCommand_ExecutedEnd
Verbose: [T1][14:30:18.832] InstallController.ViewLogCommand_ExecutedStart - sender=Microsoft.SqlServer.SqlExpressWrapper.UI.ErrorDialog; e=System.Windows.Input.ExecutedRoutedEventArgs
Verbose: [T1][14:30:18.847] InstallController.ViewLogCommand_ExecutedEndOk I found the log file. I used Process Monitor to trace setup.exe and it created SQLSetup.log in %userprofile%\appdata\local\temp\SqlSetup.log.
these are the lines which seem to be causing the error. Any idea of how I fix this ?
11/13/2008 09:40:44.273 Checking to see if policy file exists
11/13/2008 09:40:44.286 .Net security policy file does exist
11/13/2008 09:40:44.304 Attempting to load .Net security policy file
11/13/2008 09:40:44.318 Error: Cannot load .Net security policy file
Naim
here is the full log file:
11/13/2008 09:40:43.853 ======================================================================
11/13/2008 09:40:43.872 Setup launched
11/13/2008 09:40:43.884 Attempting to determine media source
11/13/2008 09:40:43.895 Media source value not specified on command line argument.
11/13/2008 09:40:43.914 Setup is launched from media directly so default the value to the current folder.
11/13/2008 09:40:43.973 Media source: C:\temp\SqlExpress\
11/13/2008 09:40:43.985 Attempt to determine media layout based on file 'C:\temp\SqlExpress\mediainfo.xml'.
11/13/2008 09:40:44.020 Media layout is detected as: Core
11/13/2008 09:40:44.033 Media LCID is detected as: 1033
11/13/2008 09:40:44.052 Local setup.exe not found, so continuing to run setup.exe from media.
11/13/2008 09:40:44.063 /? or /HELP or /ACTION=HELP specified: false
11/13/2008 09:40:44.075 Help display: false
11/13/2008 09:40:44.088 Checking to see if we need to install .Net version 2.0
11/13/2008 09:40:44.099 Determining the cluster status of the local machine.
11/13/2008 09:40:44.132 The local machine is not configured as a cluster node.
11/13/2008 09:40:44.154 Attempting to find media for .Net version 2.0
11/13/2008 09:40:44.166 .Net version 2.0 is installed
11/13/2008 09:40:44.178 RedistMSI::GetExpectedBuildRevision - Setup expects MSI 4.5.6001.22159 at the minimum
11/13/2008 09:40:44.189 Attempting to get Windows Installer version
11/13/2008 09:40:44.206 Windows Installer version detected: 4.5.6001.22162
11/13/2008 09:40:44.225 RedistMSI::IsVistaRTM - Not Vista RTM build
11/13/2008 09:40:44.237 Required version of Windows Installer is already installed
11/13/2008 09:40:44.249 Attempt to initialize SQL setup code group
11/13/2008 09:40:44.262 Attempting to determine security.config file path
11/13/2008 09:40:44.273 Checking to see if policy file exists
11/13/2008 09:40:44.286 .Net security policy file does exist
11/13/2008 09:40:44.304 Attempting to load .Net security policy file
11/13/2008 09:40:44.318 Error: Cannot load .Net security policy file
11/13/2008 09:40:44.341 Error: InitializeSqlSetupCodeGroupCore(32bit) failed
11/13/2008 09:40:44.357 Error: InitializeSqlSetupCodeGroup failed: 0x80004005
11/13/2008 09:40:44.375 Setup closed with exit code: 0x80004005
11/13/2008 09:40:44.399 ====================================================================== -
How can I display True/False in my dropdownlist as "Yes" and "No"?
Hi All,
I want to bind a dropdownlist to a boolean value (so it's either true or false). I'm particularly interested in using two-way binding to when the user changes from "yes" to "no" the boolean value automatically changes from "true" to "false." But, I want the user to see "yes" and "no" as the options, rather than "true" and "false".
How can I display "yes" and "no" and still take advantage of binding? Or can I not use binding in this circumstance?
-JoshSolution 1:
In order to display Yes/No for True/False, you may specify labelFunction for the dropdownList.
In MXML:
<s:DropDownList labelFunction="myLabelFunction" />
In actionscript:
private var arr:ArrayCollection = new ArrayCollection(["true","false"]);
private function mylabelFunction(item:Object):String
if(item.toString() == "true")
return "yes";
else return "No";
OR
Solution2:
may be u can try making an array collection like
private var arr:ArrayCollection = new ArrayCollection([{label:"yes",value:"true"},{label:"no",value:"false"}]);
and specify labelField for the dropdownList like
<s:DropDownList labelField="label" dataProvider="{arr}" /> -
Errors when Creating Aggregate Tables in OBIEE 11.1.1.6 within SQL server
Hi All,
I was trying to create an aggregate table in OBIEE 11.1.1.6 within SQL Server. The sql was generated successfully as below. But an error occurred when I use NQCMD to execute the sql and the following error showed:
1. SQL for creating Aggregate Table:
create aggregates
"ag_Measure"
for "ASOBI_DTT_Demo"."Measure"("ValidVIPCnt")
at levels ("ASOBI_DTT_Demo"."日期"."月", "ASOBI_DTT_Demo"."門市品牌"."門市品牌", "ASOBI_DTT_Demo"."門市類別"."門市類別", "ASOBI_DTT_Demo"."內創門市"."內創門市", "ASOBI_DTT_Demo"."門市/倉庫"."門市/倉庫", "ASOBI_DTT_Demo"."門市群組"."門市群組", "ASOBI_DTT_Demo"."門市行政區課"."行政區", "ASOBI_DTT_Demo"."門市地區"."城市")
using connection pool "ASOBI_DTT_Demo"."ASOBI_System10"
in "ASOBI_DTT_Demo"."ASOBI"."dbo";
2. Error Message:
"ag_Measure"
for "ASOBI_DTT_Demo"."Measure"("ValidVIPCnt")
at levels ("ASOBI_DTT_Demo"."日期"."月", "ASOBI_DTT_Demo"."門市品牌"."門市品牌"
, "ASOBI_DTT_Demo"."門市類別"."門市類別", "ASOBI_DTT_Demo"."內創門市"."內創門市"
, "ASOBI_DTT_Demo"."門市/倉庫"."門市/倉庫", "ASOBI_DTT_Demo"."門市群組"."門市群
組", "ASOBI_DTT_Demo"."門市行政區課"."行政區", "ASOBI_DTT_Demo"."門市地區"."城市
using connection pool "ASOBI_DTT_Demo"."ASOBI_System10"
in "ASOBI_DTT_Demo"."ASOBI"."dbo"
[343][State: 37000] [Microsoft][SQL Server Native Client 10.0][SQL Server]CREATE
、DROP or ALTER 陳述式中使用未知的物件類型 'aggregates'。
Statement execute failed
Which means "Using unknown object type 'aggregates' in CREATE. DROP or ALTER statements" in English.
Can anyone give me a suggestion for this error?? Many thanks!!!Hi Martin,
I guess, I was not clear enough. Let me try again
How Aggregate Persistence works in OBIEE?
Once you are done choosing options in the Aggregate Persistence wizard, it generates an intelligent Query.
What query is it?
If you happen to understand the query, it is not like any ANSI standard SQL (I would say DDL) query. As you might have noticed there are no SQL Server datatypes, lengths, keys, constraints etc. This query can only be understood by the BI Server.
How do I issue this query?
Since the logical query could only be understood by BI Server, it has to be issued only to BI Server Engine using some tool viz NQCMD in this case.
What does issuing this query using NQCMD do?
The execution steps are as follows, the moment the query is issue via NQCMD
Aggregate Persistent Wiz Generate Query ----- Issued to ---> NQCMD ----- Passes the logical query to ---> BI Server ----- Parses the query ---> Builds the corresponding physical DDL statements Issued --->To the Database --- If successful ---> .RPD is automatically updated with the aggregated sources etc.
How do I pass the query to BI Server using NQCMD?
The format of issuing this logical query to BI Server using NQCMD is
nqcmd -d <Data Source Name> -u <Analytics UserId> -p <Password> -s <command> > output.log
where
<Data Source Name> : Is the DSN name which OBIPS uses to talk to Oracle BI Server. Yes, it's the very same DSN that can be found in InstanceConfig.xml
<Analytics UserID> : Any user in obiee with admin privileges.
<Password> : Password of the obiee UserId
<Command> : Logical SQL Command which you already have handy.
Hope I was good this time..
Dhar -
Installing SQL Server 2014 Express package as ClickOnce prerequisite
I'm using clickOnce and deploying an installer with it.
I have tried various settings. Using SQL Server 2008 Express and SQL Server 2012 Express as prerequisite is all ok (I've dowloaded them and set the option of clickonce "download prerequisites from the same path of app").
Now I'm trying to do the same thing with SQL Server 2014 Express.
Since the SQL Server 2014 Express package isn't alredy done line 2008 and 2012 versiones, I'm trying to create it.
I have done and it seems to work, but while installing it gives error number **-2054422506**. It is a very generic error and I don't understand it.
It appears a pop up saying the installation is stopped because it is an error installing SQL Server Express 2014 and to look the log for more infos.
The log only says:
Installing using command
'C:\Users\VIRTUA~1\AppData\Local\Temp\VSD24F4.tmp\SqlExpress2014\
SQLEXPR32_x86_ITA.EXE' and parameters '/q /action=Install /features=SQL
/instancename=SQLEXPRESS /securitymode=SQL /sapwd=234692Is
/sqlsvcaccount="NT Authority\Network Service'
Process exited with code -2054422506
Status of package 'SQL Server 2014 Express' after install is 'InstallFailed'
So, I've tried to install SQL Server 2014 Express manually, without ClickOnce, and it works. So I think I've made some mess in the xml file of the package.
My package is so build (in C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\Bootstrapper\Packages\):
\SqlExpress2014
\it
SQLEXPR32_x86_ITA.exe
SQLEXPR_x64_ITA.exe
eula.rtf
package.xml
product.xml
SqlExpressChk.exe
This is my package.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<Package
xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper"
Name="DisplayName"
Culture="Culture"
LicenseAgreement="eula.rtf">
<PackageFiles CopyAllPackageFiles="false">
<PackageFile Name="SQLEXPR32_x86_ITA.EXE"/>
<PackageFile Name="SQLEXPR_x64_ITA.EXE" />
<PackageFile Name="eula.rtf"/>
</PackageFiles>
<InstallChecks>
<ExternalCheck Property="SQLExpressChk" PackageFile="SqlExpressChk.exe" Arguments="11.0.2100 1040"/>
</InstallChecks>
<Commands Reboot="Defer">
<!-- Defines a new installation (x86)
/skiprules=RebootRequiredCheck /enableranu=1 /AddCurrentUserAsSqlAdmin /hideconsole
-->
<Command PackageFile="SQLEXPR32_x86_ITA.EXE"
Arguments='/q /action=Install /features=SQL /instancename=SQLEXPRESS /securitymode=SQL /sapwd=234692Is /sqlsvcaccount="NT Authority\Network Service"
/IAcceptSqlServerLicenseTerms /SQLSVCPASSWORD="234692Is" /SQLSYSADMINACCOUNTS="NT Authority\Network Service" /AGTSVCACCOUNT="NT AUTHORITY\Network Service"'
EstimatedInstalledBytes="225000000"
EstimatedInstallSeconds="420">
<InstallConditions>
<FailIf Property="VersionNT" Compare="ValueNotExists" String="InvalidPlatformOS"/>
<FailIf Property="VersionNT" Compare="VersionLessThan" Value="6.0.0" String="InvalidPlatformOS"/>
<FailIf Property="VersionNT" Compare="VersionLessThan" Value="6.0.2" String="InvalidPlatformOSServicePack"/>
<FailIf Property="VersionNT" Compare="VersionEqualTo" Value="6.1.0" String="InvalidPlatformOSServicePack"/>
<FailIf Property="AdminUser" Compare="ValueEqualTo" Value="false" String="AdminRequired"/>
<FailIf Property="SQLExpressChk" Compare="ValueEqualTo" Value="-1" String="InvalidUpgradeNotExpress"/>
<FailIf Property="SQLExpressChk" Compare="ValueEqualTo" Value="-2" String="InvalidUpgradeNotExpressCore"/>
<FailIf Property="SQLExpressChk" Compare="ValueEqualTo" Value="-3" String="InvalidUpgradeLanguage"/>
<FailIf Property="SQLExpressChk" Compare="ValueEqualTo" Value="-4" String="InvalidUpgradeWoW"/>
<FailIf Property="SQLExpressChk" Compare="ValueLessThan" Value="-4" String="GeneralFailure"/>
<BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="Intel"/>
<BypassIf Property="SQLExpressChk" Compare="ValueNotEqualTo" Value="1"/>
</InstallConditions>
<ExitCodes>
<ExitCode Value="0" Result="Success"/>
<ExitCode Value="1641" Result="SuccessReboot"/>
<ExitCode Value="3010" Result="SuccessReboot"/>
<!-- 0x84BE0BC2 (1214,3010) -->
<ExitCode Value="-2067919934" Result="FailReboot"/>
<!-- 0x84C10BC2 (1217,3010) -->
<ExitCode Value="-2067723326" Result="FailReboot"/>
<!-- 0x84BE0007 (1214,7) -->
<ExitCode Value="-2067922937" Result="Fail" String="AdminRequired"/>
<!-- 0x84C4001F (1220,31) -->
<ExitCode Value="-2067529697" Result="Fail" String="AdminRequired"/>
<!-- 0x84BE0001 (1214,1)-->
<ExitCode Value="-2067922943" Result="Fail" String="InvalidPlatformOSServicePack"/>
<!-- 0x84C4000E (1220,14) -->
<ExitCode Value="-2067529714" Result="Fail" String="InvalidPlatformOSLanguage"/>
<!-- 0x84C4000B (1220,11) -->
<ExitCode Value="-2067529717" Result="Fail" String="AnotherInstanceRunning"/>
<!-- 0x84BE01F8 (1214,504) -->
<ExitCode Value="-2067922440" Result="Fail" String="BetaComponentsFailure"/>
<!-- 0x84BE01FA (1214,506) -->
<ExitCode Value="-2067922438" Result="Fail" String="BetaComponentsFailure"/>
<!-- 0x84BE0202 (1214,514) -->
<ExitCode Value="-2067922430" Result="Fail" String="InvalidPlatformArchitecture"/>
<!-- 0x84BE0203 (1214,515) -->
<ExitCode Value="-2067922429" Result="Fail" String="InvalidPlatformArchitecture"/>
<ExitCode Value="216" Result="Fail" String="InvalidPlatformArchitecture"/>
<DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" />
</ExitCodes>
</Command>
<!-- Defines an upgrade installation (x86) -->
<Command PackageFile="SQLEXPR32_x86_ITA.EXE"
Arguments="/q /hideconsole /action=Upgrade /instancename=SQLEXPRESS /securitymode=SQL /sapwd=234692Is /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck"
EstimatedInstalledBytes="225000000"
EstimatedInstallSeconds="420">
<InstallConditions>
<BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="Intel"/>
<BypassIf Property="SQLExpressChk" Compare="ValueNotEqualTo" Value="2"/>
</InstallConditions>
<ExitCodes>
<ExitCode Value="0" Result="Success"/>
<ExitCode Value="1641" Result="SuccessReboot"/>
<ExitCode Value="3010" Result="SuccessReboot"/>
<!-- 0x84BE0BC2 (1214,3010) -->
<ExitCode Value="-2067919934" Result="FailReboot"/>
<!-- 0x84C10BC2 (1217,3010) -->
<ExitCode Value="-2067723326" Result="FailReboot"/>
<!-- 0x84BE0007 (1214,7) -->
<ExitCode Value="-2067922937" Result="Fail" String="AdminRequired"/>
<!-- 0x84C4001F (1220,31) -->
<ExitCode Value="-2067529697" Result="Fail" String="AdminRequired"/>
<!-- 0x84BE0001 (1214,1)-->
<ExitCode Value="-2067922943" Result="Fail" String="InvalidPlatformOSServicePack"/>
<!-- 0x84C4000E (1220,14) -->
<ExitCode Value="-2067529714" Result="Fail" String="InvalidPlatformOSLanguage"/>
<!-- 0x84C4000B (1220,11) -->
<ExitCode Value="-2067529717" Result="Fail" String="AnotherInstanceRunning"/>
<!-- 0x84BE01F8 (1214,504) -->
<ExitCode Value="-2067922440" Result="Fail" String="BetaComponentsFailure"/>
<!-- 0x84BE01FA (1214,506) -->
<ExitCode Value="-2067922438" Result="Fail" String="BetaComponentsFailure"/>
<!-- 0x84BE0202 (1214,514) -->
<ExitCode Value="-2067922430" Result="Fail" String="InvalidPlatformArchitecture"/>
<!-- 0x84BE0203 (1214,515) -->
<ExitCode Value="-2067922429" Result="Fail" String="InvalidPlatformArchitecture"/>
<ExitCode Value="216" Result="Fail" String="InvalidPlatformArchitecture"/>
<DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" />
</ExitCodes>
</Command>
<!-- Defines a new installation (amd64) -->
<Command PackageFile="SQLEXPR_x64_ITA.EXE"
Arguments='/q /hideconsole /action=Install /features=SQL /instancename=SQLEXPRESS /securitymode=SQL /sapwd=234692Is /enableranu=1 /sqlsvcaccount="NT Authority\Network Service" /AddCurrentUserAsSqlAdmin /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck'
EstimatedInstalledBytes="225000000"
EstimatedInstallSeconds="420">
<InstallConditions>
<BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="amd64"/>
<BypassIf Property="SQLExpressChk" Compare="ValueNotEqualTo" Value="1"/>
</InstallConditions>
<ExitCodes>
<ExitCode Value="0" Result="Success"/>
<ExitCode Value="1641" Result="SuccessReboot"/>
<ExitCode Value="3010" Result="SuccessReboot"/>
<!-- 0x84BE0BC2 (1214,3010) -->
<ExitCode Value="-2067919934" Result="FailReboot"/>
<!-- 0x84C10BC2 (1217,3010) -->
<ExitCode Value="-2067723326" Result="FailReboot"/>
<!-- 0x84BE0007 (1214,7) -->
<ExitCode Value="-2067922937" Result="Fail" String="AdminRequired"/>
<!-- 0x84C4001F (1220,31) -->
<ExitCode Value="-2067529697" Result="Fail" String="AdminRequired"/>
<!-- 0x84BE0001 (1214,1)-->
<ExitCode Value="-2067922943" Result="Fail" String="InvalidPlatformOSServicePack"/>
<!-- 0x84C4000E (1220,14) -->
<ExitCode Value="-2067529714" Result="Fail" String="InvalidPlatformOSLanguage"/>
<!-- 0x84C4000B (1220,11) -->
<ExitCode Value="-2067529717" Result="Fail" String="AnotherInstanceRunning"/>
<!-- 0x84BE01F8 (1214,504) -->
<ExitCode Value="-2067922440" Result="Fail" String="BetaComponentsFailure"/>
<!-- 0x84BE01FA (1214,506) -->
<ExitCode Value="-2067922438" Result="Fail" String="BetaComponentsFailure"/>
<!-- 0x84BE0202 (1214,514) -->
<ExitCode Value="-2067922430" Result="Fail" String="InvalidPlatformArchitecture"/>
<!-- 0x84BE0203 (1214,515) -->
<ExitCode Value="-2067922429" Result="Fail" String="InvalidPlatformArchitecture"/>
<ExitCode Value="216" Result="Fail" String="InvalidPlatformArchitecture"/>
<DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" />
</ExitCodes>
</Command>
<!-- Defines an upgrade installation (amd64) -->
<Command PackageFile="SQLEXPR_x64_ITA.EXE"
Arguments="/q /hideconsole /action=Upgrade /instancename=SQLEXPRESS /securitymode=SQL /sapwd=234692Is /IAcceptSqlServerLicenseTerms /skiprules=RebootRequiredCheck"
EstimatedInstalledBytes="225000000"
EstimatedInstallSeconds="420">
<InstallConditions>
<BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="amd64"/>
<BypassIf Property="SQLExpressChk" Compare="ValueNotEqualTo" Value="2"/>
</InstallConditions>
<ExitCodes>
<ExitCode Value="0" Result="Success"/>
<ExitCode Value="1641" Result="SuccessReboot"/>
<ExitCode Value="3010" Result="SuccessReboot"/>
<!-- 0x84BE0BC2 (1214,3010) -->
<ExitCode Value="-2067919934" Result="FailReboot"/>
<!-- 0x84C10BC2 (1217,3010) -->
<ExitCode Value="-2067723326" Result="FailReboot"/>
<!-- 0x84BE0007 (1214,7) -->
<ExitCode Value="-2067922937" Result="Fail" String="AdminRequired"/>
<!-- 0x84C4001F (1220,31) -->
<ExitCode Value="-2067529697" Result="Fail" String="AdminRequired"/>
<!-- 0x84BE0001 (1214,1)-->
<ExitCode Value="-2067922943" Result="Fail" String="InvalidPlatformOSServicePack"/>
<!-- 0x84C4000E (1220,14) -->
<ExitCode Value="-2067529714" Result="Fail" String="InvalidPlatformOSLanguage"/>
<!-- 0x84C4000B (1220,11) -->
<ExitCode Value="-2067529717" Result="Fail" String="AnotherInstanceRunning"/>
<!-- 0x84BE01F8 (1214,504) -->
<ExitCode Value="-2067922440" Result="Fail" String="BetaComponentsFailure"/>
<!-- 0x84BE01FA (1214,506) -->
<ExitCode Value="-2067922438" Result="Fail" String="BetaComponentsFailure"/>
<!-- 0x84BE0202 (1214,514) -->
<ExitCode Value="-2067922430" Result="Fail" String="InvalidPlatformArchitecture"/>
<!-- 0x84BE0203 (1214,515) -->
<ExitCode Value="-2067922429" Result="Fail" String="InvalidPlatformArchitecture"/>
<ExitCode Value="216" Result="Fail" String="InvalidPlatformArchitecture"/>
<DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" />
</ExitCodes>
</Command>
</Commands>
<Strings>
<String Name="DisplayName">SQL Server 2014 Express</String>
<String Name="Culture">it</String>
<String Name="SqlExpr32Exe">http://download.microsoft.com/download/1/6/E/16E343FB-7961-457C-A9C9-E6919F2B7188/Express%2032BIT/SQLEXPR_x86_ITA.exe</String>
<String Name="SqlExpr64Exe">http://download.microsoft.com/download/1/6/E/16E343FB-7961-457C-A9C9-E6919F2B7188/Express%2064BIT/SQLEXPR_x64_ITA.exe</String>
<String Name="AdminRequired">Non si dispone delle autorizzazioni necessarie per installare SQL Server 2014 Express. Rivolgersi all'amministratore.</String>
<String Name="GeneralFailure">Errore durante il tentativo di installazione di SQL Server 2014 Express.</String>
<String Name="InvalidPlatformOS">La versione del sistema operativo corrente non supporta SQL Server 2014 Express.</String>
<String Name="InvalidPlatformOSServicePack">Il sistema operativo corrente non soddisfa i requisiti di livello di Service Pack per SQL Server 2014 Express. Installare il Service Pack più recente dall'Area download Microsoft all'indirizzo http://www.microsoft.com/downloads prima di continuare l'installazione.</String>
<String Name="InvalidPlatformOSLanguage">La versione italiana di SQL Server 2014 Express può essere installata unicamente in un sistema operativo Windows nella stessa lingua.</String>
<String Name="AnotherInstanceRunning">Un'altra istanza del programma di installazione è già in esecuzione. Per continuare, è necessario attendere il completamento di tale istanza.</String>
<String Name="BetaComponentsFailure">È stata rilevata una versione beta di .NET Framework o SQL Server nel computer. Disinstallare le versioni beta precedenti dei componenti di SQL Server 2014, dei file di supporto di SQL Server o di .NET Framework prima di continuare.</String>
<String Name="InvalidPlatformArchitecture">Questa versione di SQL Server 2014 Express non è supportata per l'architettura del processore corrente.</String>
<String Name="InvalidUpgradeNotExpress">L'istanza di SQL Server denominata 'SQLEXPRESS' non è un'istanza di SQL Server Express. Impossibile eseguirne l'aggiornamento a SQL Server 2014 Express.</String>
<String Name="InvalidUpgradeNotExpressCore">L'istanza di SQL Server Express denominata 'SQLEXPRESS' contiene componenti non inclusi in SQL Server 2014 Express. Impossibile eseguire l'aggiornamento di tale istanza in SQL Server 2014 Express. Utilizzare SQL Server 2014 Express with Advanced Services.</String>
<String Name="InvalidUpgradeLanguage">L'istanza di SQL Server Express denominata 'SQLEXPRESS' è una versione in una lingua diversa rispetto a SQL Server 2014 Express. Impossibile eseguire l'aggiornamento di tale istanza.</String>
<String Name="InvalidUpgradeWoW">Impossibile eseguire l'aggiornamento dell'istanza esistente di SQL Server Express (x64 WoW) denominata 'SQLEXPRESS' mediante SQL Server 2014 Express (x64). Disinstallare l'istanza esistente di SQL Server Express e riprovare a installare SQL Server 2014 Express (x64).</String>
</Strings>
</Package>
And this is the product.xml:
<?xml version="1.0" encoding="utf-8"?>
<!-- SQL Express 2014 VS Bootstrapper : product.xml : Language neutral information -->
<Product xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper" ProductCode="Microsoft.SqlServer.Express.12.0">
<RelatedProducts>
<EitherProducts>
<DependsOnProduct Code=".NETFramework,Version=v4.5" />
<DependsOnProduct Code=".NETFramework,Version=v4.0" />
</EitherProducts>
<!-- Also depends on MSI4.5 or greater, which is included on all of the OS levels supported (see package.xml) -->
<IncludesProduct Code="Microsoft.Sql.Server.Express.1.0" />
<IncludesProduct Code="Microsoft.Sql.Server.Express.9.2" />
<IncludesProduct Code="Microsoft.Sql.Server.Express.10.0" />
<IncludesProduct Code="Microsoft.SqlServer.Express.10.5" />
<IncludesProduct Code="Microsoft.SqlServer.Express.11.0" />
</RelatedProducts>
<PackageFiles>
<PackageFile Name="SqlExpressChk.exe" />
</PackageFiles>
</Product>
I've copied the SqlExpressChk.exe file from the SQL Server 2012 Express package, hoping it is the same (2008 and 2012 versions seems the same, so I supposed it also for the 2014).
I've delete the part in package.xml about the publicKey, since I don't know it and, further, I think I don't need it.
In the same file, I've inserted custom parameters, first like in the 2008 and 2012 versions, then doing some attempts (without success).
Did anyone have this problem? How did you have manage it?
**NOTE**: I'm using my clickOnce deploy in an empty virtual machine, so there aren't any conflicts o something similar.
More attempts, more failures, always the same error! I'm deleting the optional stuff to study better the core of the xml, but still no success.. does microsoft have a package of sql server 2014 express?refer to this link
http://bootstrapper-manifest-generator-for-vs20.software.informer.com/2.0/
remember make the reply as answer and vote the reply as helpful if it helps.
thanks! =)
SqlServer usually runs a file (SqlExpressChk.exe) to see if there is already an installation and a sql instance called sqlExpress (for the express installations). Do you know how can do this test with the bootstrapper manifest generator?
I am not able to test it currently, but I assume that will also check whether that has installed.
You have tested it, right?
remember make the reply as answer and vote the reply as helpful if it helps. -
Function which returns multiple values that can then be used in an SQL Sele
I'd like to create a function which returns multiple values that can then be used in an SQL Select statement's IN( ) clause
Currently, the select statement is like (well, this is a very simplified version):
select application, clientid
from tbl_apps, tbl_status
where tbl_apps.statusid = tbl_status.statusid
and tbl_status.approved > 0;
I'd like to pull the checking of the tbl_status into a PL/SQL function so my select would look something like :
select application, clientid
from tbl_apps
where tbl_apps.statusid in (myfunction);
So my function would be running this sql:
select statusid from tbl_status where approved > 0;
... will return values 1, 5, 15, 32 (and more)
... but I haven't been able to figure out how to return the results so they can be used in SQL.
Thanks for any help you can give me!!
Trisha GorrPerhaps take a look at pipelined functions:
Single column example:
SQL> CREATE OR REPLACE TYPE split_tbl IS TABLE OF VARCHAR2(32767);
2 /
Type created.
SQL> CREATE OR REPLACE FUNCTION split (p_list VARCHAR2, p_delim VARCHAR2:=' ') RETURN SPLIT_TBL PIPELINED IS
2 l_idx PLS_INTEGER;
3 l_list VARCHAR2(32767) := p_list;
4 l_value VARCHAR2(32767);
5 BEGIN
6 LOOP
7 l_idx := INSTR(l_list, p_delim);
8 IF l_idx > 0 THEN
9 PIPE ROW(SUBSTR(l_list, 1, l_idx-1));
10 l_list := SUBSTR(l_list, l_idx+LENGTH(p_delim));
11 ELSE
12 PIPE ROW(l_list);
13 EXIT;
14 END IF;
15 END LOOP;
16 RETURN;
17 END SPLIT;
18 /
Function created.
SQL> SELECT column_value
2 FROM TABLE(split('FRED,JIM,BOB,TED,MARK',','));
COLUMN_VALUE
FRED
JIM
BOB
TED
MARK
SQL> create table mytable (val VARCHAR2(20));
Table created.
SQL> insert into mytable
2 select column_value
3 from TABLE(split('FRED,JIM,BOB,TED,MARK',','));
5 rows created.
SQL> select * from mytable;
VAL
FRED
JIM
BOB
TED
MARK
SQL>Multiple column example:
SQL> CREATE OR REPLACE TYPE myrec AS OBJECT
2 ( col1 VARCHAR2(10),
3 col2 VARCHAR2(10)
4 )
5 /
Type created.
SQL>
SQL> CREATE OR REPLACE TYPE myrectable AS TABLE OF myrec
2 /
Type created.
SQL>
SQL> CREATE OR REPLACE FUNCTION pipedata(p_str IN VARCHAR2) RETURN myrectable PIPELINED IS
2 v_str VARCHAR2(4000) := REPLACE(REPLACE(p_str, '('),')');
3 v_obj myrec := myrec(NULL,NULL);
4 BEGIN
5 LOOP
6 EXIT WHEN v_str IS NULL;
7 v_obj.col1 := SUBSTR(v_str,1,INSTR(v_str,',')-1);
8 v_str := SUBSTR(v_str,INSTR(v_str,',')+1);
9 IF INSTR(v_str,',')>0 THEN
10 v_obj.col2 := SUBSTR(v_str,1,INSTR(v_str,',')-1);
11 v_str := SUBSTR(v_str,INSTR(v_str,',')+1);
12 ELSE
13 v_obj.col2 := v_str;
14 v_str := NULL;
15 END IF;
16 PIPE ROW (v_obj);
17 END LOOP;
18 RETURN;
19 END;
20 /
Function created.
SQL>
SQL> create table mytab (col1 varchar2(10), col2 varchar2(10));
Table created.
SQL>
SQL> insert into mytab (col1, col2) select col1, col2 from table(pipedata('(1,2),(2,3),(4,5)'));
3 rows created.
SQL>
SQL> select * from mytab;
COL1 COL2
1 2
2 3
4 5 -
SQL Server 2014 Express Installation Failure
Hi,
Now trying to install SQL Server 2014 Express on my work machine. Here is the error log. Any ideas? The error help link is useless.
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2061893606
Start time: 2014-06-19 16:24:17
End time: 2014-06-19 16:38:03
Requested action: Install
Setup completed with required actions for features.
Troubleshooting information for those features:
Next step for RS: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Next step for SQLEngine: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Next step for FullText: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Next step for Replication: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Machine Properties:
Machine name: PC12345
Machine processor count: 4
OS version: Windows 7
OS service pack: Service Pack 1
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID
Feature Language
Edition Version Clustered Configured
Package properties:
Description: Microsoft SQL Server 2014
ProductName: SQL Server 2014
Type: RTM
Version: 12
SPLevel: 0
Installation location: C:\Scott\Software\SQLEXPRADV_x64_ENU\x64\setup\
Installation edition: Express
Product Update Status:
None discovered.
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: true
AGTSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Disabled
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: MULTIDIMENSIONAL
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: <empty>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Disabled
CLTCTLRNAME: <empty>
CLTRESULTDIR: <empty>
CLTSTARTUPTYPE: 0
CLTSVCACCOUNT: <empty>
CLTSVCPASSWORD: <empty>
CLTWORKINGDIR: <empty>
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE:
CTLRSTARTUPTYPE: 0
CTLRSVCACCOUNT: <empty>
CTLRSVCPASSWORD: <empty>
CTLRUSERS: <empty>
ENABLERANU: true
ENU: true
ERRORREPORTING: false
FEATURES: SQLENGINE, REPLICATION, FULLTEXT, RS, CONN, BC, SDK, BOL, SSMS, ADV_SSMS, LOCALDB
FILESTREAMLEVEL: 2
FILESTREAMSHARENAME: MSSQLSERVER
FTSVCACCOUNT: NT Service\MSSQLFDLauncher
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTSQLSERVERLICENSETERMS: true
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR: C:\SQL Server Data
INSTANCEDIR: C:\Program Files\Microsoft SQL Server\
INSTANCEID: MSSQLSERVER
INSTANCENAME: MSSQLSERVER
ISSVCACCOUNT: NT AUTHORITY\Network Service
ISSVCPASSWORD: <empty>
ISSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <empty>
MATRIXNAME: <empty>
NPENABLED: 0
PID: *****
QUIET: false
QUIETSIMPLE: false
ROLE: AllFeatures_WithDefaults
RSINSTALLMODE: DefaultNativeMode
RSSHPINSTALLMODE: DefaultSharePointMode
RSSVCACCOUNT: NT Service\ReportServer
RSSVCPASSWORD: <empty>
RSSVCSTARTUPTYPE: Automatic
SAPWD: <empty>
SECURITYMODE: <empty>
SQLBACKUPDIR: <empty>
SQLCOLLATION: Latin1_General_CI_AS
SQLSVCACCOUNT: NT Service\MSSQLSERVER
SQLSVCPASSWORD: <empty>
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: INTERNAL\sbass
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: false
TCPENABLED: 0
UIMODE: AutoAdvance
UpdateEnabled: true
UpdateSource: MU
USEMICROSOFTUPDATE: false
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140619_162416\ConfigurationFile.ini
Detailed results:
Feature: Management Tools - Complete
Status: Passed
Feature: Client Tools Connectivity
Status: Passed
Feature: Client Tools SDK
Status: Passed
Feature: Client Tools Backwards Compatibility
Status: Passed
Feature: Management Tools - Basic
Status: Passed
Feature: Reporting Services - Native
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A001A
Error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
Feature: Database Engine Services
Status: Failed: see logs for details
Reason for failure: An error occurred during the setup process of the feature.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A001A
Error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
Feature: Full-Text and Semantic Extractions for Search
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A001A
Error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
Feature: SQL Server Replication
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A001A
Error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
Feature: SQL Browser
Status: Passed
Feature: Documentation Components
Status: Passed
Feature: SQL Writer
Status: Passed
Feature: LocalDB
Status: Passed
Feature: Setup Support Files
Status: Passed
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20140619_162416\SystemConfigurationCheck_Report.htmThanks Shanky, that fixed my issue. I reinstalled, specifying NT AUTHORITY\LOCALSYSTEM for the SQL Server Database Engine account. After the successful installation, I used Sql Server Configuration Manager to change the account to LocalService
(NT AUTHORITY\LocalService). The Database Engine is restarting OK.
So, my accounts are:
SQL Server (MSSQLSERVER): NT AUTHORITY\LocalService
SQL Full-text Fiter Daemon Launcher (MSSQLSERVER): NT Service\MSSQLFDLauncher
SQL Server Reporting Services (MSSQLSERVER): NT Service\ReportServer
SQL Server Browser: NT AUTHORITY\LOCALSERVICE
SQL Server Agent (MSSQLSERVER): NT AUTHORITY\NETWORKSERVICE
I check out the link http://msdn.microsoft.com/en-us/library/ms143504.aspx#Serv_Perm. I'm a bit confused how the NT Service\* accounts are created, such as NT Service\MSSQLSERVER. However, I did see this http://msdn.microsoft.com/en-us/library/ms191153.aspx#manual;
perhaps I need to read it further.
Regardless, this is my desktop machine, the installation is for development only, it's inside our network, and no external users will be accessing this SQL Server instance. So, while I haven't fully read the details on running under LocalService, I
believe this will meet my needs.
Thanks again for your help.
Maybe you are looking for
-
Macbook and iPod Touch not picking up wireless signal
I have had some issues pertaining to the wireless internet in my house. About a week and a half ago, I discovered that my iPod Touch and Macbook suddenly was not connecting to my wireless internet; I receive a message in the AirPort when trying to co
-
Scheduling Report output to a Database Table
Hi, Scenario: I have a RPT - loaded on the BO server (BO XI R2) - (which uses a stored procedure and a formula to populate the report) which generates the data in a tabular format. Requirement: I would like to insert the resultant rows generated in t
-
Best WorkFlow to sample a 64 count in a house track and loop it
I've had to do this a number of times and I know i'm doing it the hard and long way. Anyone know a simple or shorter workflow to achieve this? I don't have Ableton Live to do it in either. Thanks Je
-
Query on javax.mail.event.MessageCountListener
Hi All, Have a java batch which reads email from an inbox (IMAP) and processes new mails received. we are using javax.mail.event.MessageCountListener to listen for any new mails received and add those to a arraylist which can be processed. During som
-
Itunes cannot run because some required files are missing...vista 64 bit OS
I'm running on a Vista 64 bit HP computer, and I have been trying to download itunes for the past couple days and all it says is Itunes cannot run because some required files are missing please reinstall itunes...I have no idea what to do...i have lo