I am looking to add SQL Express 2012 as a pre-requisite using WIX

Hi,
I need working sql bootstrapping configuration that also setup password for SA Account.
Please help me with the solution.
Thanks,
Naga Sreenivas Gupta V
Naga Sreenivas, Software Engineer, SourceEdge Software Technologies.

<?define InstanceName = "EURODESK" ?>
<util:RegistrySearch Id="SQL2012x64InstanceExists"
Variable="SQL2012x64InstanceExists"
Root="HKLM"
Key="SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL"
Value="$(var.InstanceName)"
Win64="yes"
Result="exists"/>
<util:RegistrySearch Id="SQL2012x64InstanceKey"
Variable="SQL2012x64InstanceKey"
Root="HKLM"
Key="SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL"
Value="$(var.InstanceName)"
Win64="yes"
After="SQL2012x64InstanceExists"
Condition="SQL2012x64InstanceExists" />
<util:RegistrySearch Id="SQL2012x64InstanceInstalled"
Variable="SQL2012x64InstanceInstalled"
Root="HKLM"
Key="SOFTWARE\Microsoft\Microsoft SQL Server\[SQL2012x64InstanceKey]"
Result="exists"
Win64="yes"
After="SQL2012x64InstanceKey"
Condition="SQL2012x64InstanceExists" />
<util:RegistrySearch Id="SQLx64Version"
Variable="SQLx64Version"
Root="HKLM"
Key="SOFTWARE\Microsoft\Microsoft SQL Server\[SQL2012x64InstanceKey]\Setup"
Value="Version"
Win64="yes"
After="SQL2012x64InstanceKey"
Condition="SQL2012x64InstanceInstalled" />
<util:RegistrySearch Id="SQL2012x86InstanceExists"
Variable="SQL2012x86InstanceExists"
Root="HKLM"
Key="SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL"
Value="$(var.InstanceName)"
Win64="no"
Result="exists"/>
<util:RegistrySearch Id="SQL2012x86InstanceKey"
Variable="SQL2012x86InstanceKey"
Root="HKLM"
Key="SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL"
Value="$(var.InstanceName)"
Win64="no"
After="SQL2012x86InstanceExists"
Condition="SQL2012x86InstanceExists" />
<util:RegistrySearch Id="SQL2012x86InstanceInstalled"
Variable="SQL2012x86InstanceInstalled"
Root="HKLM"
Key="SOFTWARE\Microsoft\Microsoft SQL Server\[SQL2012x86InstanceKey]"
Result="exists"
Win64="no"
After="SQL2012x86InstanceKey"
Condition="SQL2012x86InstanceExists" />
<util:RegistrySearch Id="SQLx86Version"
Variable="SQLx86Version"
Root="HKLM"
Key="SOFTWARE\Microsoft\Microsoft SQL Server\[SQL2012x86InstanceKey]\Setup"
Value="Version"
Win64="no"
After="SQL2012x86InstanceKey"
Condition="SQL2012x86InstanceInstalled" />
<PackageGroup Id="SQLServer2012Express">
<ExePackage Id="SQL2012Expressx64"
InstallCondition="VersionNT64 AND NOT SQL2012x64InstanceInstalled"
SourceFile="$(var.MyDir)\SQLEXPR_x64_ENU.exe"
DisplayName="Installing Microsoft® SQL Server® 2012 - Express Edition..."
InstallCommand="/ACTION=Install /INSTANCENAME=EURODESK /FEATURES=SQLENGINE /Q /HIDECONSOLE /SkipRules=RebootRequiredCheck /IAcceptSQLServerLicenseTerms /SQLSVCSTARTUPTYPE=Automatic /SQLSVCACCOUNT=&quot;NT AUTHORITY\NETWORK SERVICE&quot; /AGTSVCACCOUNT=&quot;NT AUTHORITY\NETWORK SERVICE&quot; /ASSYSADMINACCOUNTS=BUILTIN\Administrators /SQLSYSADMINACCOUNTS=BUILTIN\Administrators /BROWSERSVCSTARTUPTYPE=Disabled /ADDCURRENTUSERASSQLADMIN=true /TCPENABLED=1"
Permanent="yes"/>
<ExePackage Id="SQL2012Updatex64"
InstallCondition="VersionNT64 AND (SQL2012x64InstanceInstalled AND SQLx64Version &lt; v11.0.0.0)"
DisplayName="Upgrading SQL Server to SQL Server Express 2012..."
InstallCommand='/IACCEPTSQLSERVERLICENSETERMS /HIDECONSOLE /ACTION=Upgrade /QUIET=True /INSTANCENAME=EURODESK /SkipRules=RebootRequiredCheck'
SourceFile="$(var.MyDir)\SQLEXPR_x64_ENU.exe"
Permanent="yes"/>
<ExePackage Id="SQL2012Expressx86"
InstallCondition="NOT VersionNT64 AND NOT SQL2012x86InstanceInstalled"
SourceFile="$(var.MyDir)\SQLEXPR_x86_ENU.exe"
DisplayName="Installing Microsoft® SQL Server® 2012 - Express Edition..."
InstallCommand="/ACTION=Install /INSTANCENAME=EURODESK /FEATURES=SQLENGINE /Q /HIDECONSOLE /SkipRules=RebootRequiredCheck /IAcceptSQLServerLicenseTerms /SQLSVCSTARTUPTYPE=Automatic /SQLSVCACCOUNT=&quot;NT AUTHORITY\NETWORK SERVICE&quot; /AGTSVCACCOUNT=&quot;NT AUTHORITY\NETWORK SERVICE&quot; /ASSYSADMINACCOUNTS=BUILTIN\Administrators /SQLSYSADMINACCOUNTS=BUILTIN\Administrators /BROWSERSVCSTARTUPTYPE=Disabled /ADDCURRENTUSERASSQLADMIN=true /TCPENABLED=1"
Permanent="yes"/>
<ExePackage Id="SQL2012Updatex86"
InstallCondition="NOT VersionNT64 AND (SQL2012x86InstanceInstalled AND SQLx86Version &lt; v11.0.0.0)"
DisplayName="Upgrading SQL Server to SQL Server Express 2012..."
InstallCommand='/IACCEPTSQLSERVERLICENSETERMS /HIDECONSOLE /ACTION=Upgrade /QUIET=True /INSTANCENAME=EURODESK /SkipRules=RebootRequiredCheck'
SourceFile="$(var.MyDir)\SQLEXPR_x86_ENU.exe"
Permanent="yes"/>
</PackageGroup>
But I am not sure how I can I supply sa user password through command.
Also please suggest what I am doing is the better solution or not?
Naga Sreenivas, Software Engineer, SourceEdge Software Technologies.

Similar Messages

  • SQL Browser not started in SQL Express 2012

    I just installed SQL Express 2012 on a Windows Server 2008. I downloaded the advanced 64bit installation file and selected all the options except SSRS. Everything seemed to install successfully including SSMS. I was able to connect to the instance locally
    and create a database. However, when I tries to connect from a client PC, I got the "not configured for remote connections" error. I went into Configuration Manager on the server and saw that that SQL Browser was stopped. But the Start Service option
    was grayed out. How can I enable SQL Browser?
    Darrell H Burns

    Hi, be sure that service is enabled by
    hope it will help you,
    Questo post è fornito &quot;così com'è&quot;. Non conferisce garanzie o diritti di alcun tipo. Ricorda di usare la funzione &quot;segna come risposta&quot; per i post che ti hanno aiutato a risolvere il problema e &quot;deseleziona
    come risposta&quot; quando le risposte segnate non sono effettivamente utili. Questo è particolarmente utile per altri utenti che leggono il thread, alla ricerca di soluzioni a problemi similari. ENG: This posting is provided &quot;AS IS&quot;
    with no warranties, and confers no rights. Please remember to click &quot;Mark as Answer&quot; on the post that helps you, and to click &quot;Unmark as Answer&quot; if a marked post does not actually answer your question. Please Vote This As
    Helpful if it helps to solve your issue. This can be beneficial to other community members reading the thread.

  • SQL Express 2012 SP2 Offline Install Available?

    We have a customer where SQL Express 2012 SP2 is needed for an application (the application is not yet validated for SQL Express 2014).
    The computer for this application is not connected to the internet (Win7x64).
    Is there an install package for this?

     It does complain that it cannot connect to Windows Update, but you can click past that. 
    Yes, the installer supports "live update slipstream" for newer SQL Server Service Pack, but you can skip this during installation.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Install Both SQL Express 2012 & LocalDB on Same Dev PC?

    Q. How do I install both SQL Express 2012 & LocalDB 2012 on the same development PC?
    I tried running the LocalDB 2012 Wizard installer and it failed because I have a 'Higher Version' of SQL Express installed.
    I currently cannot run a web app using LocalDB unless I 'Attach' the database file in SQL Express 2012.

    Hi, you should be able to install both Express and LocalDB on the same machine.  Can you run the discovery report to show exactly what is on your machine from a SQL Server perspective?  Also, which version of Express and which version of LocalDB
    are you trying to install?
    Thanks,
    Sam Lester (MSFT)
    My Blog
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • Looking for MS SQL Server(2012 or older versions) all commands

    HI,
    Looking for MS SQL Server(2012 or older versions) all commands, i.e., all available sql server commands.
    Is there any reference manual or MS KL to get all commands in SQL Server ?
    Thanks in advance

    Thanks for link
    Sean Gallardy and Jingyang Li.
    This is is not usefull for my requirement.
    What i am looking is..SQL Server commands  like examples... DDL/DML comands...create/alter
    Examples: Insert/update/delete,truncate.......etc
    Create database,create procedure.......etc
    Alter database,shutdown,drop,create....etc
    Looking for list of all commands in one place/doc in SQL Server.
    Thanks

  • Can't connect to VS Express 2012 from SQL Express 2012

    I have recently installed VS Express 2012 and SQL Server Express 2012.
    I can open the Management Tools in SQL and view my data - and see my databases are all there, with their data..
    From within VS Express, when I use the wizard to create a new datasource - it never finds the SQL server...
    Is there something I need to do to enable the connection between VS and SQL?
    Thanks,
    Amber

    Hello ,
    I would be curious to know the "short" name of your SQL Server Express you have installed.
    As I suppose that you have installed all the available features of your SQL Server , you have 3 ways to know this "short" name ( it is important as it is possible that you have installed a no-named instance , that's to say with an empty "short" name
    1) find your SQL Server Configuration Manager and open it. It will open on a screen like this
    select and click the 1st item in the left panel ( SQL Server Services ) . In the right panel , you should see at the 1st line the name of your SQL Server instance. In my case , the "short" name of my instance is SQLEXPRESS. So the name you have to give
    for your datasource is
    yourComputerName\ShortInstanceName
    yourComputerName is the name of your laptop
    ShortInstanceName is the short name of your SQL Server instance ( you will find it surrounded by brackets ).If you have done a default install , it should be SQLEXPRESS like for me.
    Check that the service is running ( like in my screenshot ). If not , right-click on the line corresponding to the SQL Server service and click on Start.
    2nd solution : you can use VS ( I have a VS 2012 Express for Windows DeskTop ).Click on Add a connection .A new form ( labeled Add a connection ) will appear. Click on the Refresh button ,  at the right of a listbox labeled Server Name ( the listbox
    with the names of the available SQL Server instances is not populated automatically and sometimes you will need to click twice on the Refresh button to see all SQL Server instances ). Select the full name of your SQL Server instance..As it is the 1st time
    that you are creating a database , you should be able to see only the system databases ( Master , msdb , tempdb , model).
    3rd solution : to use SSMS , it is the best solution to create a new database. When you open SSMS , you have immediately the connection form on the screen. Choose the last item labeled " of the combobox labeled Browse for more and you will select the
    name of your SQL Server instance.
    Have a nice day
    Mark Post as helpful if it provides any help.Otherwise,leave it as it is.

  • Login failed for user 'IIS APPPOOL\DefaultAppPool' on SQL Express 2012

    I am new to both ASP.NET and SQL Server.
    I have IIS8 installed on my Windows 8 PC, together with SQL Server Express 2012. Given my ignorance, I have just set everything up using default values.
    I have a very small web site set up in its own folder and set up in IIS 8 as a virtual folder under the default web site. I have also set up a very simple database called 'StockControl' via SSMS, which contains one table called 'Colours' which has two columns.
    One page in the website is a simple ASP.NET form which runs on localhost without any problems.
    On the second page in the website I added a GridView ASP.NET control, letting Expression Web 4 generate the connection string and place it in a web.config file. I tested the SQL query and the connection as I went along and both came back as successful. So
    far, so good.However, when I try to run the page in the browser I get the error message:
    Server Error in '/' Application.
    Cannot open user default database. Login failed.
    Login failed for user 'IIS APPPOOL\DefaultAppPool'.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Data.SqlClient.SqlException: Cannot open user default database. Login failed.
    Login failed for user 'IIS APPPOOL\DefaultAppPool'.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [SqlException (0x80131904): Cannot open user default database. Login failed.
    Login failed for user 'IIS APPPOOL\DefaultAppPool'.]
    I have spent two days trying to find out what I have done wrong and even uninstalled and re-installed SQL Server just in case i'd totally messed up and corrupted the database.
    I would really appreciate some help please.

    I changed the IIS default identity to NetworkService and got this error instead
    Unable to open the physical file "C:\Program Files\Microsoft SQL Server\MSSQL11.SQLEXPRESS\MSSQL\DATA\StockControl.mdf". Operating system error 32: "32(The process cannot access the file because it is being used by another process.)".
    An attempt to attach an auto-named database for file C:\Program Files\Microsoft SQL Server\MSSQL11.SQLEXPRESS\MSSQL\DATA\StockControl.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
    There is nothing running that is using the database.
     I have also set a login up for the Apppool and set the user mapping to the database but the problem persists,
    What is so infuriating is that a week ago I had several pages in this website that displayed, inserted, updated and deleted records on this database using ADO as well as ASP.NET running just fine. Then this problem came out of nowhere.

  • CAS Policy Manager error when installing Server SQL express 2012

    Hello everyone,
    I was wondering if anyong can help me with this.
    I am trying to install SQL server express 2012 on a windows 7 computer and am unable to install it.
    When I try to start the installer I get the error "Microsoft .NET Framework CAS Policy Manager has stopped working"
    Problem signature:
      Problem Event Name: APPCRASH
      Application Name: caspol.exe
      Application Version: 2.0.50727.5420
      Application Timestamp: 4ca2b8df
      Fault Module Name: ntdll.dll
      Fault Module Version: 6.1.7601.18247
      Fault Module Timestamp: 521eaf24
      Exception Code: c0000005
      Exception Offset: 0000000000027689
      OS Version: 6.1.7601.2.1.0.256.1
      Locale ID: 1033
      Additional Information 1: 00a4
      Additional Information 2: 00a4a2975d5a28cfbbc1bf906fc7eacd
      Additional Information 3: 0146
      Additional Information 4: 0146abaed829ebf2f677c0e9088e54ea
    And after I hit close program on that I get the error:
    CasPol.exe - Application Error
    The application was unable to start correctly (0x0000005). Click OK to close the application.
    And I have tried redownloading it multiple times.
    I have run the .net cleanup tool and a repair tool
    I have uninstalled and reinstalled .net as well to the lastest version.
    With no luck at all.
    Any suggestions on what I might be able to do to fix this?
    An help would be greatly appreciated.

    Hello,
    It points to fact that your .Net Framework is corrupt.Use below tool to repair .Net framework
    .Net framework repair tool
    Additional helpful articles to refer
    CAS policy error message
    CAS policy error message when
    installing SQL server
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Sql sever 2012 setup crashes when invoked using cygwin

    I'm using CSC agility platform which is hybrid cloud platform, which uses cygwin to run scripts on the VM's it creates.
    I have a windows server 2012 standard, in which I have to install SQL server 2012 express, the setup will get invoked using cygwin.
    When I execute SQL server setup using "cmd" i.e command prompt, it runs fine. But when I use cygwin, the installation crashes. If install any other software using cygwin, it works fine, the installation doesn't crash. It only happens with SQL server,
    but the installation goes fine when done using "cmd".
    Even if I open "cmd" through cygwin, the problem occurs.
    The installer is not corrupt, i have re-downloaded SQL server setup and tried, it still crashes.
    Description:
    Stopped working
    Problem signature:
    Problem Event Name: CLR20r3
    Problem Signature 01: scenarioengine.exe
    Problem Signature 02: 11.0.2100.60
    Problem Signature 03: 4f35dbe7
    Problem Signature 04: Microsoft.SqlServer.Chainer.Infrastructure
    Problem Signature 05: 11.0.0.0
    Problem Signature 06: 4f35dbe6
    Problem Signature 07: 200
    Problem Signature 08: 179
    Problem Signature 09: ZAGSF01GRLFWVJMY5S0U0HXSJJE2HDT4
    OS Version: 6.2.9200.2.0.0.272.7
    Locale ID: 1033
    This is the stacktrace of the exception SQL server installer has produced:
    Unhandled Exception: Microsoft.SqlServer.Chainer.Infrastructure.ChainerInfrastructureException: Item has already been added. Key in dictionary: 'tmp' Key being added: 'tmp' ---> S
    ystem.ArgumentException: Item has already been added. Key in dictionary: 'tmp' Key being added: 'tmp'
    at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
    at System.Collections.Specialized.StringDictionary.Add(String key, String value)
    at System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputN
    ame, String& errorName, String trueCmdLine)
    at System.CodeDom.Compiler.Executor.ExecWaitWithCapture(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& e
    rrorName, String trueCmdLine)
    at Microsoft.CSharp.CSharpCodeGenerator.Compile(CompilerParameters options, String compilerDirectory, String compilerExe, String arguments, String& outputFile, Int32& nativeRetu
    rnValue, String trueArgs)
    at Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
    at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)
    at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)
    at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource(CompilerParameters options, String[] sources)
    at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
    at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters par
    ameters, Assembly assembly, Hashtable assemblies)
    at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
    at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
    at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
    at Microsoft.SqlServer.Chainer.Infrastructure.DataStoreService.SerializeObject(String rootPath, Object objectToSerialize, Boolean saveToCache)
    --- End of inner exception stack trace ---
    at Microsoft.SqlServer.Chainer.Infrastructure.DataStoreService.SerializeObject(String rootPath, Object objectToSerialize, Boolean saveToCache)
    at Microsoft.SqlServer.Chainer.Infrastructure.DataStoreService.SetCommonFlag(String key, Boolean value)
    at Microsoft.SqlServer.Chainer.Setup.Setup.InitializeLogProviders(ServiceContainer context)
    at Microsoft.SqlServer.Chainer.Setup.Setup.Run()
    at Microsoft.SqlServer.Chainer.Setup.Setup.Start()
    at Microsoft.SqlServer.Chainer.Setup.Setup.Main()

    Hi bmanojkumar24,
    From your description, you install SQL Server 2012 Express successfully via the command prompt, and SQL Server setup only fails when you use Cygwin. I suspect that there are some
    issues existing in Cygwin, I would recommend you report the problem to Cygwin support according to this
    article.
    In addition, we recommend you use the following ways to install SQL Server.
    • Install SQL Server 2012 from the Installation Wizard
    • Install SQL Server 2012 from the Command Prompt as your post
    • Install SQL Server 2012 using a Configuration File
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • SCOM 2012 R2 - Implementation Pre-requisites.

    Hi All,
    I would like to know if we need to keep in mind any pre-requisites when we implement SCOM 2012 R2. So my question is specific is , if I would install SCOM DB in a VLAN A and operations manager in VLAN B than are there any specific pre-requisites that
    I need to keep in mind?
    Rgs,

    No. You need to verify firewall ports and communication between Vlans
    http://expertslab.wordpress.com/2014/04/09/scom-2012-firewall-ports/
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

  • Error 997 on SQL Express 2012 install for Windows 7

    When installing SQL 2012 Express on my Windows 7 machine at home, I receive a
    Error
    997.Overlapped I/O operation is in progress
    This happens when it is doing the 'Install Set Up Files' portion of the set up wizard.  I am not on as a temporary user.  I have tried turning off my anti-virus.  I unistalled that MS update KB2918614, tried to load SQL without success
    and then reinstalled KB2918614 again.  I tried contacting Microsoft, but they want money.  So, what is there left to try? 

    Hello,
    Please review all SQL Server requirements on the following link:
    http://technet.microsoft.com/en-us/library/bb680951.aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • New Dell Server with OpenManage Essentials adds SQL Server 2012 Native Client to existing SQL Server 2008R2 in SBS 2011

    Had to upgrade my server to new Dell T320. Support wanted me to install OpenManage Essentials which unfortunately installed SQL Server 2912 native client. Now I have 2 sqlserv apps running at the same time.
    Is there a problem with SBS 2011 Standard running two different SQL Server native clients?
    I have no idea why Dell OpenManage did not use the existing 2008R2 native client, but that is the way it is.
    Can I combine or upgrade the database so they all use one and not both?
    Thanks
    Gerald Fay

    Hi,
    I have asked some who similar the SQL product, in general you can install the different version SQL client on the same operation system, but when the OpenManage Essentials
    install a SQL instance on your SQL server, it will automatic upgrade same SQL component to the newer version.
    For example, if your SQL server is 2008r2, you install the OpenManage Essentials built-in SQL instance which version is higher(such as 2012), by default it will automatic
    upgrade the same SQL component to SQL 2012, I don’t similar with the OpenManage Essentials
     tool, I think you can ask DELL® support for the further support.
    Thanks.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • SQL Server 2012 Reporting Services Report Manager using non-HTTPS URLs on part of site

    For potential ease of understanding, I am seeing the same issue as this person
    here.
    Currently, my site is successfully using HTTPS in all areas of the /Reports site, with a single exception. If you drill down to a report and go to "Manage", the following links are all http://, not https://:
    Parameters
    Data Sources
    Subscriptions
    Processing Options
    Cache Refresh Options
    Report History
    Snapshot Options
    Security
    These remain regardless of the configuration combinations I enter in Reporting Services Configuration Manager. I'm not sure what makes this part of Report Manager special. Even if I only enable https in the Report Manager URL settings, these links all stay
    as http (port 80). I can find no references in config files to this.
    Any assistance is welcome. Obviously having non-encrypted links is not acceptable.

    Hi SteveKSM,
    According to your description, you specify the report manager URL as https://. When you open the child items on report manager, the URL change to the http://.
    In your scenario, since you want to set SSRS to require all SSL connections, you need to change the SecureConnectionLevel value to 3 in RSReportServer.config file (located in C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer).
    It means that all communication must use secure connections. So please specify this attribute like below:
    <Add Key="SecureConnectionLevel" Value="3"/>
    Reference:
    Configuring the Report Server for SSL Communication and Internet Deployment:
    https://msdn.microsoft.com/en-us/library/cc304416.aspx
    Report Manager Links with SSL
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • SQL Server 2012 Express LocalDB parm for keeping unicode char from TextBox

    Platform: developer's windows 8.1 pc with visual studio 2012 pro, .net 4.5, sql express 2012 express and localDB
    in a textbox, say textTbx on a  windows form, if there is Unicode like \U2221, I can have to save to file and read back without change using textTbx.Text value.
    however for the content in the textTbx.Text value, upon saving to
    SQL Server 2012 Express LocalDB, and then retrieved, the content gets changed for some Unicode like 
    U2221. it get translated to the plain - instead of keeping as
    −.
    what  parameter do I need to setup to make sure it keep such character as is?
    Btw: I had posted to visual studio general forum but was asked to post here

    Platform: developer's windows 8.1 pc with visual studio 2012 pro, .net 4.5, sql express 2012 express and localDB
    in a textbox, say textTbx on a  windows form, if there is Unicode like \U2221, I can have to save to file and read back without change using textTbx.Text value.
    however for the content in the textTbx.Text value, upon saving to
    SQL Server 2012 Express LocalDB, and then retrieved, the content gets changed for some Unicode like 
    U2221. it get translated to the plain - instead of keeping as
    −.
    what  parameter do I need to setup to make sure it keep such character as is?
    Btw: I had posted to visual studio general forum but was asked to post here
    Hello,
    In this case, we could convert the text value to varbinary type before storing them to sql, and we could convert it back to the encoded one, you could change UTF-8 to the one you are dealing with.
    You could refer to the suggestions shared by Filip Ekberg in the following thread.
    http://stackoverflow.com/questions/11859926/load-or-convert-varbinary-from-sql-to-textbox-text
    Here's an example on how you convert a text to bytes and then back again:
    var bytes = Encoding.UTF8.GetBytes("test");
    This will give you a byte array that looks like this:
    { 116, 101, 115, 116 }
    Now to get the text again, you can use Encoding.UTF8.GetString() like this:
    Encoding.UTF8.GetString(bytes);
    This means that you could simple do this when saving the value:
    cmdb.Parameters.AddWithValue("@text", Encoding.UTF8.GetBytes(textreview.Text));
    And then when loading it back you simply do this:
    textreview.Text = Encoding.GetString((byte[])dr["text"]);
    Regards.
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Reports & Microsoft SQL Server 2012 Express LocalDB support policy

    Hello,
    Willing to move some databases into Microsoft SQL Server 2012 (2014) Express LocalDB, I have tryed to map some reports on that database.
    Using OLE DB SQL Native Client (v11) and SAP CR RunTime SP10 (>SP9), I still have trouble when using this data source:
    After drawing some simple reports (standard ones with 2-3 fields from the database):
    - VS designer:
    + when "checking database" or "getting a preview" of the report, it always complains about missing tables.
    + when trying to "re-map" tables from one SQL Server 2012 Express LocalDB to another one it fails, complaining about not findind resources.
    - Running application (.NET 4.0, 32 or 64-bits):
    + without any change to the report configuration: CR Viewer complains with multiple error codes (17, ...) that it cannot find the tables
    + trying to change the configured database from the report: CR VIewer complains with some more error codes
    => Is Microsoft SQL Server 2012 Express LocalDB now officially supported by CR ?
    => Is changing datasource/database configuraton during execution now officially supported by CR ?
    Feel free to provide an any links / howto's / white paper about how managing Microsoft SQL Server 2012 Express LocalDB with SAP CR !
    Many thanks in advance.
    Regards.

    Don,
    I did not want you to think that I am not willing to change anything...
    The issue is that LocalDB specs (http://msdn.microsoft.com/en-us/library/ms130822(v=sql.110).aspx) are not (seems not) fulfiled by what SAP APIs provide.
    Following specs, I need to provide ADO DB/SQL Native Client v11 an "AttachDBFileName" property which, for LocalDB instance, is equal to the DatabaseName property (check below screenshot from MS Mgmt Studio connected to a SQL Server 2012 LocalDB instance).
    Moreover, OLEDB discovery provide in CR 2013 UI this same list of "DatabaseName":
    When connected, this same CR 2013 UI got the right "view" of connected "MDF-labelled" names:
    Moreover, CR connected datasource properties also provide an "initial catalog" (databasename) value with that "MDF-labelled" name:
    That is what I saw previously in API dumped objects and what I tryed to reproduce in my code:
    As previously explained, after adding tables, I am also beeing able to add fields from those tables in my fresh-new report document:
    It fikrst shows results in preview but as soon as I try to refresh / add some more fields / ask CR to "check database" / "change database source", the interface always complain about having "lost" objects:
    Site note for Ludek Uher: CR 2013 StandaAlone fresh-new builded reports are not working neither using CR runtime SP10 when opening/updating that report..
    So YES, I am OK to change whatever is required but please explain me what to use/put into the "crConnectioninfo.DatabaseName" property for a SQL Express 2012 LocalDB case.
    Or leave it as is, LocalDB not being supported by CR ...
    (all my reports & c# code are working well while using SQL Express 2012 "classic" (not localdb)).
    Thanks again for your time.
    Regards.

Maybe you are looking for