Install SQL Server 2008 Express on Windows Server 2012 Essentials RC - sql-server-2008-express

I can't Install SQL Server 2008 Express on Server 2012 Essentials
Commandline:
/q /ACTION=Install /FEATURES=SQL /INSTANCENAME=SQLEXPRESS2008 /INSTANCEID=SQLExpress2008 /SQLSVCACCOUNT="NT AUTHORITY\Network Service" /AGTSVCACCOUNT="NT AUTHORITY\LOCAL SERVICE" /SQLSYSADMINACCOUNTS="BUILTIN\ADMINISTRATORS"
I get an exception:
Overall summary:
Final result: SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
Exit code (Decimal): -2068578304
Exit facility code: 1204
Exit error code: 0
Exit message: Network Service or Local Service account is not permitted for the SQL Server service on a domain contoller. Specify a different account.
Start time: 2012-09-17 15:55:44
End time: 2012-09-17 15:55:56
Requested action: Install
Which account should I use?

you should assign it an account from Active Directory. We typically create DBSERVERNAME_SQL or something similiar for this service account. Because it sounds like you're on a domain controller, I don't think that you'll have a choice but to create an active directory account.

Related

SSIS Deployment Error while deploying packages into SQL Server

I was Trying to deploy SSIS package from Visual studio 2019 into MS SQL Server 2016, I have been facing deployment error as shown below:
"“A .NET Framework error occurred during execution of user-defined routine or aggregate "deploy_project_internal": System.ComponentModel.Win32Exception: A required privilege is not held by the client.”
After few hours of debugging found that the error is actually from SQL Server. SQL Server is unable to run the stored procedure from SSISDB "[catalog].[check_schema_version] ".
Hence we realized that there are certain privileges for the current service account on which SQL Server is running. Hence we have created a new local admin account and provided all privileges.
• As per Microsoft suggestion, we have added the SQl server service account & SQL server integration service account in the below Configs :
o Edited DCOM config properties and provided granted the Local Launch and Local Activation permissions for the below component services
 Microsoft SQL Server Integration Services 11.0, Microsoft SQL Server Integration Services 12.0 and Microsoft SQL Server Integration Services 13.0
o Further we extended permissions for both the service accounts as below :
 Log on as a service .
 Permission to write to application event log.
 Impersonate a client after authentication.
 Adjust memory quotas for a process
Below are the two group policies yet to be added :
 Bypass traverse checking
 Replace a process-level token
I would like to know if this resolves the issue and please suggest anything that we are missing here to resolve the issue.
After adding the New service account to the listed group policies, the deployment got succeeded.
I ran into this problem after a new Security Policy was put in place that broke WinRM (disabled "Allow remote server management through WinRM"). Even after rolling back the change I could not deploy SSIS packages. I finally fixed the problem by running the "Repair" SQL option from the installation disk and then restarting the server. After that deployments worked as normal.

Install WCF RIA Services on Windows Server 2016

I have set an Azure Virtual Machine running Windows Server 2016 and now I need to install WCF RIA Services 1.0 SP2 on it.
Until Windows server 2012 I used to do that via command prompt:
msiexec /j RiaServices.msi SERVER=true
However in 2016 I receive the following message:
"You do not have sufficient privileges to complete the re-advertisement of this product. Re-advertisement requires initiation by a local system account calling the MsiAdvertiseScript API, such as through Group Policy Software Development."
Don't know what does it mean or how to make installation works. Obviously I am running command prompt as Administrator.
Any ideas?
I solved this problem changing the command line to:
msiexec /package RiaServices.msi SERVER=true
Still not sure exactly why, but the installation succeeded.

Error installing Accelerator for HL7. Installation cannot be performed because user account is not a member of Biztalk Server Administrators group

Please consider the following error when trying to run the HL7 Accelerator Setup.exe executable.
I'm installing on a Windows Server 2012 R2 VM.
BizTalk 2013 is already installed and configured successfully using Global domain groups for BizTalk Server Administrators (and all other groups for that matter). I am a part of all groups.
SQL Server 2012 SP3 was installed prior to BizTalk
When I go to run the HL7 Accelerator MSI, I get the error pictured above, which states:
Error: Installation cannot be performed because the BizTalk server has not been configured or user account is not a member of the BizTalk Server Administrators group
Like I said, BizTalk is configured, the groups are Global and I'm a member, I'm also a local admin on the machine.
I've also tried this altered MSI from this post to no avail, I get the same error.
I'm at a loss. I can't find anything anywhere explicitly saying that any of these versions are incompatible, and I know SQL Server 2012 SP1 is compatible based on other installations we have running.
Could it be something with Windows Server 2012 R2? I don't know how I'd get this far and not be allowed to install the accelerator of all things.

Microsoft SQL Server Error: 18456 + windows authentication

My PC name is IBALL1. I get an error
Login Failed for user 'iball1\User1'.(Microsoft SQL server, Error: 18456)
I am trying to log in using Windows authentication.
And in SQL Server Configuration Manager > SQl Server Service > SQL Server Logon As Local System.
In error log text file, at C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Log
Log says:
Login failed for user 'iball1\User1'. Reason: Could not find a login matching the name provided. [CLIENT: local machine]
i have also faced same problem then i have followed this intructions
Try this once other wise will look into other solution
Go to SQL Server Configuration Manager
Start->all program->SQL Server 2008 R2->Configuration Tools->SQL Server Configuration Manager
Explore "SQL Server Network Configuration" and then select "Protocols For MSSQLSERVER".
Check your TCP/IP Protocols in right side pane. If it is disabled then enabled it and Restart the "Sql Server(MSSQLSERVER) service" that available in "SQL Server 2008 R2 services pane".
Couple of check points:
1) make sure your your sql express services is up and running with name 'IBALL1'
if not try restarting.
2) while connecting give pc name as prefix for server name too .

Creating setup in vb.net with sql server

Is there any possible way to create a setup in for my program written in vb.net using sql server as the backend.I have a module which creates the database code and i have also created a setup in vb.net for my project but i want this setup to run properly even in a system which doesnt have visual studio and sql server installed.I tried running it on a system which doesnt have both but the error i get is sql server 2005 doesn't allow remote connections in default settings,i tried changing some settings but nothing seems to work.Is it necessary for a server to be there for creating the database?
a little Google always does the trick...
To configure SQL Server 2005 to allow remote connections, you must complete these steps:
1.) Enable remote connections on the instance of SQL Server that you want to connect to from a remote computer.
2.)Turn on the SQL Server Browser service.
3.) Configure the firewall to allow network traffic that is related to SQL Server and to the SQL Server Browser service.
How To Configure Sql 2005 to allow Remote Connections
When I write programs that require SQL Server to be installed on the client, I use the following logic :
Determine if SQL Server is installed on the client machine
If it is not installed, I prompt the user to download it (or download it for them using your installer script. I use NSIS installer). Make sure to install the appropriate version for the user based on your requirements (and the client's operating system). I typically use SQL Sever 2008 R2 Express Edition, SP1.
I then execute the SQL installer using my installer script command. In NSIS, it's ExecWait. In VB.Net you have something like this. You'll have to install it via command line parameters. Here are the list of command line parameters: http://msdn.microsoft.com/en-us/library/ms144259(v=sql.100).aspx
Here's what I use:
C:\PathToMySQLDownload\SQLEXPR.exe /QUIETSIMPLE /SkipRules=RebootRequiredCheck
/ACTION=install /IACCEPTSQLSERVERLICENSETERMS=1 /FEATURES=SQL
/INSTANCENAME=MSSQLSERVER /SECURITYMODE=SQL /SAPWD=MySAPassword /NPENABLED=1
/TCPENABLED=1 /SQLSVCACCOUNT="NETWORK SERVICE" /SQLSYSADMINACCOUNTS="NETWORK SERVICE"
/AGTSVCACCOUNT="NETWORK SERVICE" /ASSVCACCOUNT="NETWORK SERVICE"
/RSSVCACCOUNT="NETWORK SERVICE" /ISSVCAccount="NETWORK SERVICE"
/ASSYSADMINACCOUNTS="NETWORK SERVICE
You can include SQL Server Express in the Pre-requisites for your setup project.
When you build the setup project, it will pick up the packages that are required for the installation from C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages
You can then amend the package.xml file for SQL Express to change how it is configured by the installation. Look for the Command Arguments element, and then to switch on Mixed mode authentication add SECURITYMODE=SQL
to enable remote access add DISABLENETWORKPROTOCOLS=0
(or for SQL 2008 r2 it's /tcpenabled=1 )
When the end user runs the isntallation, SQL Express will be installed first, with the options you have specified.