SQL connection failure and network reliability [closed] - sql

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Are there any tools to quickly test network reliability to a SQL server?
We are receiving error reports from a particular customer who has a random "connection failure" message popup throughout the day. We have identified a few spots where this error might occur, but at different times of the day the code executes perfectly. Some other research leads me to believe this might be a licensing issue too. I need something to give to their IT department.

Connection errors -
1) Are these happening from only within your Application ? For example, if a connection drops when connected thru SQL-Mgmt Studio , it means that no programming caused that error - its a SQL Server 'installation / licensing / admin / non-app / non-programmer' error.
2)If it does not drop from a sys-tool like studio, and only happens from your app - then you need to look at the application stack.
3) Are these long-running database connections, or OLTP -types ? From your description it does not look like it..
4) You can do multiple things I guess to peek into TCP/IP stuff (apart from SQL-server layer).
Run pings in a loop ? (Not sure but why not). Look at TCP/IP keep alives.
5) If the network is unreliable it should show up in other ways, other things like outlook which requires a all-day-long connection, will show errors too.

For network monitoring tools you might want to start with looking at Servers Alive or Nagios.

Related

SQL Azure "database 'x' on server 'y' is not currently available." for HOURS -- anybody else experiencing this? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I'm using Azure SQL and everything was working fine until around 2PM CT today when all my cloud instances started giving me this error:
EXCEPTION: System.Data.SqlClient.SqlException (0x80131904): Database 'x' on server 'y' is not currently available. Please retry the connection later. If the problem persists, contact customer support, and provide them the session tracing ID of 'z'
Has anyone else been experiencing this? I made no code changes between the time when it was working and 2PM. I thought it might be Microsoft adding some additional IP addresses to their cloud environment and forgetting (again) to add it to the firewall exclusion list for Azure SQL, but I checked that and manually added, no difference. I also tested from my local workstation test environment as well which was working fine this morning, which definitely has the firewall rules in place, and that's not working either.
The really, really strange this is that I can connect into the SQL Azure Manage portal just fine, and I can also connect from Visual Studio directly in (as I always have been able) and issue queries to the same database that's reporting errors above.
Did Microsoft change something today on their side rendering any features obsolete? The database I'm trying to access is a Federation master for two other databases, and I know that they announced that they are getting rid of that, but I wouldn't think that would have anything to do with it.
Can someone recommend how I might go about troubleshooting such a condition to identify the root cause? I'm scratching my head on this one and my cloud services are down.
* UPDATE *
OK I've been able to track this down further. This is 100% a Federations issue.
Earlier today I could connect to my Federation master and issue a normal USE FEDERATION command. Now, however, this doesn't work. I get the error I described above and a login error. So, apparently something Microsoft did today completely screwed us Federation customers over. Again.
If anybody knows how to fix this on our own, please let me know. If I find a solution, I'll post likewise.

Which is the best choice for windows app SQL Server Express / SQLite / SQL Server CE? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I know this cloud be duplicate of many question but again the answer is not straight forward.
I know it depends upon usage and functionality of windows application
But as SQL Server CE (compact edition) does not have any features like views, stored procedures , function etc , It is light weighted.
please guid me to choose which should I used among SQL Server Express / SQLite / SQL Server CE?
I have already gone through all procs and cons still need a single line answer :(
I'm working on windows application which is an desktop app of paper setter
it will set question paper.
Exactly depending upon requirement I need to decide but I'm worried about the space and performance. if I choose SQL express then it might take a long time depending upon computer config. My win app will related with papers which includes audio and video sets also
for this app which could be the best to use please guide.
For Windows app, if you want to use store procedure and views kind of things then you must need to use SQL Express, but if your database is small and you can manage through just select statements and insert / update statements then you need to use sqllite for small db purpose.
So based on your requirement you need to take a decision.
I m not sure, but this will help u.
http://developer.nokia.com/Community/Wiki/How_to_use_SQLite_in_Windows_Phone

Retrieve real-time SQL requests between Oracle and Tomcat server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm running a LoadRunner script which generates "Missing IN or OUT parameter at Index:: 1". I think this may come from a sql statement. So I want to get the SQL requests in real-time between my Tomcat server and the Oracle database. I tried to seach on Oracle Enterprise Manager, but didn't get anything useful (I'm not familliar with this tool). So I wonder if there are something that can display the SQL requests(statements) and in what time they have been executed. I don't care about the performence, things like how much time they take, how many percentage of CPU they use, ect..
Is there some tools can do this job? Thanks a lot in advance.
Looks at your tomcat log and your database transaction logs if you are looking for a time context for when a particular event occurs. If you are looking at frequency, performance, top talkers on your DB then you want to invoke whatever profiler you have your your particular database solution.

In house data sync service for iOS devices [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am going to write a small program for a small client(3 iPads + 1 mac). I want to sync data between all devices, I need to sync CoreData objects + PDF files + Images. It would be perfect if the solution could run on a in house server without internet connection.
I thought of writing the server side code myself, but I am a bit of a stranger to server side code so it would take a bit time for me to learn an implement a reliably solution.
My question does anyone know some kind of sync service that can run without internet connection? Or does one exist with internet connection?
Thanks for your help!
I think what might be best for you is writing a bonjour application. Its apple's easy way of connecting devices and is relatively simple to work with. You could run an in house Mac Mini/Server that all the devices connect to. Its a bit of a broad question but might help put you in the right direction.
Bonjour tutorial
Apple Bonjour

Every second day i have to recycle errorlogs [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
On the production server when xp_readerrorlog cmd is run the size will show approx 500000 daily i have to recycle error logs the errorlogs contains messages of all the successful login and not successfull login details. i need both the information please suggest what i can do.
If you're capturing every single login and failed login into your error log along with all the other stuff that gets written to the error log, then your error log is just going to grow and there's nothing you can do about that.
If you need to capture logins and you're using SQL Server 2008 or better, I'd suggest taking a look at Extended Events. This will output to a different file, which you'll still have to manage, but it won't be filling up your error logs.
For 2005 & earlier you can do similar work with a server-side trace, but it's not as efficient as extended events. Here's an article on how to set up a server-side trace from Gail Shaw.