Azure - SQL Sync - Windows Server 2008 R2 - Buggy? - sql-server

Are there people out there using Windows Server 2008 R2 + SQL Server 2008 R2 and have successfully synced the database from localhost to the cloud on Azure? My goal is to give preference to the local machine database, and I want the cloud database to by in sync with whatever's on the local machine.
First off I had a hard time downloading dependencies, but after getting past that, I'm still getting errors (bugs?), or hopefully am I doing something wrong with getting the client sync agent to load?
I downloaded the "SQLDataSyncAgent-Preview-ENU.msi" file. I'm entering my local box administrator password but I get an error "Service MS SQL Data Sync could not be installed. verify that you have sufficient privileges to install system services". Are you guys using some special account you're creating separately instead of using the local admin?

This and other similar issues are discussed with solution in the Forum:
Unable to install MS SQL Azure Data Sync (Preview)

Related

Deploying Windows application with SQL Server database

I have a WPF project and I will use SQL Server database. The instance of SQL Server IT created for me is SQL Server 13 (2016 standard version) on a remove server. When I’m deploying the application on a client’s computers, what version I need to install there as a prerequisite? Can I deploy SQL Server Express 2016 on a client’s computer and access the remove SQL Server Standard edition? I am looking for a simple solution and for a lighter version I need to install on the user’s computers. I cannot install a full SQL Server on each user.
I have searched the net and a similar question has been asked many times, but I didn’t find a clear answer before. Many people started their SQL Server experience using local type databases, like SQL Server CE or LocalDB. In this case specific DLLs and redistributables must be added with the installation program. It is hard to understand at the beginning, but when an instance of SQL Server is on a remote server, this is a different story. Everything is happening on this remote server. There is no need of any SQL Server instances on a client’s machine. Just a connection string must be added. The adapter or Entity Framework will take care of everything else.

SQL Server 2014 SSIS and SSRS access

My company has a database located on a server. On that same server there is an installation of SQL Server. I plan on installing SQL Server on my workstation (we have the appropriate license) so I can access the data for reporting purposes. I will need access to SSRS and SSIS on my workstation to help with this process. Will this be issue for me? Will I be able to install SSRS and SSIS or will it only be accessible on the Server's installation of SQL Server?
You can install SSRS and SSIS in your workstation and use the database in your company server as datasource.
Keep in mind your workstation must have access to your company network and your Windows credentials / Sql Server login should have the right permission level in order to connect to the SQL SERVER instance.
I assume you want to install SSIS to design some kind of ETL or data integration process. I'd recommend you only use your workstation to design/develop/test SSIS packages then deploy those packages to your server and run them from it.
The same recommendation if you want to use your workstation as a report server. If you need to delivery reporting services to a large number of users it is possible your machine cannot handle it.
Let me know if this helps.
My company has a database located on a server. On that same server there is an installation of SQL Server. I plan on installing SQL Server on my workstation (we have the appropriate license) so I can access the data for reporting purposes.
No need to install SQL Server Database Server on your workstation to access the data for reporting. You just need to install SSRS and SSIS locally on your workstation if you plan to work on reports and create your ETL packages locally.
I will need access to SSRS and SSIS on my workstation to help with this process. Will this be issue for me?
If you are using a local account to run SSIS/SSRS on your workstation you may run into some permission issues, especially for windows pass-through authentication when accessing data sources - unless you plan to store static data source credentials. You could run the SSRS/SSIS as domain service accounts that have "Write Public Information" permissions to enable Kerberos Authentication, which eliminate the double-hop issues you may potentially face
As pointed out by alejandro you will also need to make sure these service accounts have appropriate permissions set on the remote SQL Server Database Instance
Will I be able to install SSRS and SSIS or will it only be accessible on the Server's installation of SQL Server?
You should be able to install SSRS/SSIS on your workstation, and it doesnt have to be installed on SQL Server
Thanks again for your help. I have the necessary permission to the database and have already started building some queries via SQL Express.
The IT department is going to add a developer server with an installation of SQL Server. We will test the packages on this server and once we are satisfied with the results we will deploy them to the server that houses the databases. I'm assuming they will add the necessary permissions to do so, but we will see. I also installed SQL Express on my workstation and can at least test the TSQL queries on my workstation, and I believe SSRS, before hand.
As a side question:
If there are multiple installations of SQL Server on different workstations/servers, will the server that houses the database have master administrative rights versus the other installations. I ask because each time I install SQL Server I add the admin account, and to me it seems that each installation could have administrative rights. Is that right?

Unable to import/deploy database to SQL Azure: "The service objective (Business/Web) specified is invalid."

I'm trying to move my databases to a newer Azure subscription. I used to simply click "Deploy to Azure" on a local database from SSMS and have it deployed to a specified Azure server. Importing/Exporting a BACPAC file also works. However, I can't seem to do any of this on the new server. I keep getting the error:
"The service objective 'Web' specified is invalid."
Googling around, I found this thread explaining the need to update the CREATE DATABASE template to accommodate Azure Databases (Azure upgrade, I'm guessing). However, the hotfix provided is specifically for SQL Server 2014 and I'm using SQL Server 2012. I checked other cumulative updates for 2012 here but found no fix for the issue.
Is there any other way I can fix this without having to upgrade to 2014?
Just to summarize my software versions:
SQL Server 2012
SQL Management Studio 11.0.2100.60
Local database: SQL Server 10.50.16000
Old Azure server: SQL Server 11.0.9230
New Azure server: SQL Server 13.0.15
You are getting this error because the latest V12 servers are not supporting the Web and Business Editions anymore. If you don't want to upgrade to SSMS 2014, you can create a V11 server and import your DB on this server. However this is only a temporary solution as Web and Business edition databases will be retired in September. At this point you will have to work with the latest tools to avoid this problem.
There is a Hotfix for it you can download and install on your machine. Please navigate to:
https://support.microsoft.com/en-gb/kb/2936603
You need to enter your email then download link will be sent to your email address. Then install it on your machine and you can see the following options:
Install the database as a Data Project into Visual Studio,
Set the target framework in the properties window to SQL Azure,
Build the project and resolve any unsupported issues.
Publish to your azure site.
I have tried the above and did not work for me - this solution worked!

Microsoft SQL Server Management studio, can't find local servers

This is my first time using it, I come from a PHP/MYSQL background and a client is asking me to assist with his MSSQL database and he gave me a file which is the exported database, it doesn't have an extension though.
I downloaded and installed Microsoft SQL Server Management studio but I'm not sure what to do, the tutorials online seem to be able to connect to the local server, on my end when I browse for a Server name I can't find anything under "Local server".
If it helps, the client have informed me that his previous developer (the one who seems to have had a conflict with the client and left) was using the same application with the server type set to "Database engine" and the Authentication set to "Windows Authentication", that's all the information I have.
Please help. Thanks.
If you installed a default instance of SQL Server with Management Studio, use the server name "localhost". If you only installed SQL Server Management Studio, you will need to at least download SQL Express: http://www.microsoft.com/en-us/server-cloud/products/sql-server-editions/sql-server-express.aspx
Also, note that if you develop in the latest version of SQL Server, you will not be able to back up and restore to the client's database if the client uses an older version. You will need to ensure all changes are scripted or use dacpacs (which you probably won't use).

Creating a SQL Server Database on the local Azure emulator (Not online)

I have succeeded in creating a basic tables running on the azure emulator in Visual Studio 2012 and I have also managed to create a couple of SQL Server databases that work with applications on a single computer. I was wondering how you would combine these to create a SQL Server database running on my local azure emulator ,that allows other computers and mobile devices to connect to it.
I have done a bit of research on this and there are quite a few topics about it, but it seems like you have to create the database on the Azure online portal and then connect to it, but I was hoping to skip this since I want to avoid connecting to any online resources.
If someone could just please point me in the right direction , because I'm still pretty unsure about using azure and all it's features. It would be great if I could create a SQL Server database on visual studio and then just specify a connection string to it through azure. (Must connect through Azure)
"For local testing, you can use a local SQL Server (full, express or even CE) within your app - just use local connection string's in place of the SQL Azure ones in your .cscfg or .config files - then the local compute instance will connect just like any other local process would." Quoted from How do I test locally against SQL Azure?
I have read that question post, but the answer was a bit too vague for rooky programming knowledge.
I think it might be able to help me if someone could also maybe elaborate on it.
Thanks in advance !
there is no emulator for Azure SQL Database.
As the post you referenced pointed out, you use a local SQL instance (CE, server, express, localdb) to simulate your database operations.
when you're ready to move to Azure SQL Database, you just change your connection string to point to your Azure SQL Database instead of your local database.
please take note though that Azure SQL Database and your typical SQL installation have feature differences, so that into account. you may be able to run some T/SQL on your local instance that is not supported in Azure SQL

Resources