Sql Azure Data Sync Agent invalid key error message - azure-sql-database

Windows 8 64 bit
DAta sync agente ver. 4.0.89.0
Error message , I tried reinstall 3 times data sync and 4 tiems new agent and new key also.
No prosy or internet fire wall one no other fire wall software also.
Please enter a valid agent key to proceed. The key must be generated from SQL DAta Sync web portal
agent key 16f25226-2a20-49c3-acfc-062057c42b41:gWpFO0NHm4Xq9bw7fLzo8YS49iSowEDQToYpbMCKqFk=
id:LocalAgentUX_Info, rId:, sId:00000000-0000-0000-0000-000000000000, traceLevel:Warning, version:4.0.0.0, methodName:AgentModel_AgentStatusChanged, message:Agent UI stopped polling for the latest status from Microsoft SQL Data Sync Windows service due to errors. Please address any errors displayed in the UI and then restart Microsoft SQL Data Sync Windows service on your machine and Agent UI to resume polling.

This is a common error. You have to change your system's date to match azure server's time.
Go to the Azure Website and check the location of the server, than set your system's date and time to the same location's time zone.
This worked fine for me,

Related

The service on server started and stopped

I have been using the same SQL Server account for well over a year, and just yesterday, the process stopped working. I get different error messages, depending on where I am trying and failing to log into it.
FROM SQL Server Management Server: the system cannot find the file specified.
From services (local): windows could not start the server ... on local server.
From Registered server: the service started then stopped.
Can someone please tell me where the file that encompasses the failed database is? If this database is truly lost to me, I hope to recapture the stored procedures, functions, table types, etc. that the database defines, even if I can't install it again.
From the services, I am able to enable the Full-text filter daemon Launcher, but nothing else.
SQL Server: Windows could not start the SQL Server ... on local computer.
SQL Server Agent: the dependence group or service failed to start.
Analysis services: the process terminated unexpectedly
In every case, the desired server shows up, but these are the roadblocks thrown my way by the various means at my disposal to find out more. Your suggestions are greatly appreciated.
Please looked into the properties of the service, check whether the file path of SQL server service executable file is correct. It is better to share us more related information from error log or windows event log.

Physical connection is not usable

SQLState=08S02
Microsoft native client 10.0
Physical Connection is not usable [xFFFFFFFF]
I have database on different server and application on different server.
it is security reason, so both database and application will not on same server.
Application is configured in window schedular which run every night round about 11 PM.
Hw to handle this in code or any other solution?

How to initiate a sync operation automatically in C# windows app/sql server 2008

I I am developing a windows 8 app in C#/sql server 2008 which will sync tables in server and client(Desktop) using Microsoft Sync Framework 2.1.Somehow the sync is working perfectly.But I would like to know is there any way that this sync operation can be initiated automatically whenever a change is detected in the table either in the client or in the server. Aslo i would like to know is there any push notification available in windows azure sql, so that I can start using it.
Any help would be much appreciated.

SQL Azure: Timeout expired

we have some cloud Services hosted in Windows Azure and also some Azure SQL database. At night (during 4:00 - 6:00 utc) there are running some Jobs to import data into database. Since some weeks all the Jobs fails with an timeout expired exception of the database. If I run the Jobs later (during 7:00 - 9:00 utc) on my local machine within the Emulator, all Jobs work without any Problems on the same database.
At the mport time is no much traffic from our site on the database server. The monitoring of the manage portal shows that there are not many open Connections, no throttled ones and no connection errors. There are much more traffic during my local runs.
The sys.event_log do not contains any errors or other possible issues.
Are there any logs or other Options to get more Information about why the Jobs failed at night?
Update
It seems, that the SQL Azure Server ignores the command timeout property. The Jobs start at 4:30 UTC and stops with an timeout exception at 4:37. But the query, which gets an timeout, has an command timeout of 1200 (20 minutes). And before starting the command, there are some downloads from an ftp-server, file parsing and other SQL queries.
Just to note that SQL Azure isn't a full version of MS SQL and does have some limitations. Most notable limitation is the infrastructure that its built on. Your SQL Azure DB will be hosted on a Small Instance server that has shared resource with hundreds of other users. Although there is a fair use policy on the machines it does take time for the servers to kick in.
My suggestion would be to have some way of determining if the Job is actually starting or if the connection pool is timing out prior to starting the job. I.E. create a jobs table that is inserted into to say its started and have this as the first action on your job.
Alternatively you could think about migrating to a VM setup in Azure. This is where you have a Small or Medium instance VM with a fully fledged version of MS SQL Server running on it. That way you can run your jobs against the server correctly and control you connection pooling more appropriately.

Why Entity Framework services are not running when publishing?

We're having two systems that are in LAN. Database is in one system
and published files are in another system. Through code the connection is opening
and getting the results, but at publishing time getting "400 Bad Request Error".
If the system having Database, iis in one system at published time also running the
services successfully. But if database is in one system and iis is in another system
then at published time the services are not running.
Please tell me what is the reason and how to resolve that?