Does a sql server client application needs to be modified to allow it to have benefits of running on a SQL Server 2012 cluster?

I have a client application in c++ which interacts with sql server database. My question is whether I need to make any changes to the client application code to allow it to have the benefits of running on a SQL server 2012 cluster environment. 
To elaborate more on my query my concern is for e.g if my application has called an api to execute a sql query and during
the execution of this query the sql server (part of the cluster) goes down then as per my understanding the sql cluster would ensure that another node takes up the task from the current sql server which has gone down. Is this transition transparent to the
client application or in such a case my client application needs to again make a new connection and again execute the query?

Hello,
Just as Shanky post above, When you connected to a database in an availability group and specify the availability group listener in the connection string, if the availability group fails over, the original connection is broken, your application
should try a new connection after the failover.
So, when connect to an availability group, please try to increasing connection timeout and implementing connection retry logic to increase the probability of successful connection.
Reference:SqlClient Support for High Availability, Disaster Recovery
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support

Similar Messages

  • Python Server/Client Application Development

    Hey All!
    I am writing a basic proof of concept server/client application for a project I am working on.
    My goal is this:
    1) End user launches client.
    2) Client connects to server.
    3) User selects one or more files to send to server.
    4) Server saves a copy of each file.
    5) Server terminates connection.
    5) Server processes each file.
    6) Upon completion of the processing server sets a "processing completed flag."
    7) Client periodically checks with server for "processing completed flag."
    8) Client securely reconnects
    9) Client downloads processed files.
    I have no background in programming servers/clients so this will be a learning experience for me and the workflow described above may change as I learn more about how this all works. Currently my hope is to first implement a system that will stay connected while the files are processed and once I have a better understanding as to how that works I can add more complexity to the system.
    I will be writing this in Python 3.3 and the server will be hosted on a server which will (for now) be running Arch.
    This thread will act as a sort of development journal but feel free to comment or post suggestions. I will for sure have questions as I go along too!

    brettski wrote:Turns out the best way (so far as I can tell) is to go integer -> string -> byte and then byte -> string -> integer..
    Do you mean regular, non-byte strings? That cannot possibly be the best way to do it. It would be like using Russian as an intermediary language for translating Spanish to French.
    Maybe the following will set you on the right path:
    http://stackoverflow.com/questions/6187 … -in-python
    http://stackoverflow.com/questions/4445 … int-python
    Looking further, this is probably the right way to do it:
    some_int = 57
    bytes = struct.pack('i', bytes)
    sock.send(bytes)
    See http://docs.python.org/3/library/struct.html for details.
    As for threaded servers, you may find some useful examples here.

  • Server/client application

    i'm just starting to learn about server/client applications and i'm a little confused about actually implementing them.
    my client will be an applet which can be accessed over the internet. i want the applet to be able to read/write to the server.
    now my question is, how can i start up the server program?
    i would want it to initialize and run, only when the user has gone to the website that uses the applet.

    look at using a Servlet, running under Tomcat (download the Java Web Services Developer pack from java.sun.com
    here's what the servlet looks like:
    mport javax.servlet.*;
    import java.util.*;
    import java.net.*;
    public class ServletTest extends GenericServlet
    /** servlet is initialising */
    public void init()
    System.out.println("ServletTest initializing");
    /** servlet wascalled bt client */
    public void service(ServletRequest request,ServletResponse response)
    try
    byte[] data=new byte[100];
    ServletInputStream inputStream=request.getInputStream();
    int read=inputStream.read(data);
    String string=URLDecoder.decode(new String(data,0,read),"UTF-8");
    System.out.println("read "+read+" bytes: "+string);
    inputStream.close();
    ServletOutputStream outputStream=response.getOutputStream();
    Date date=new Date();
    outputStream.write(date.toString().getBytes());
    outputStream.close();
    catch(Exception ex)
    ex.printStackTrace();
    /** servlet is being destroyed */
    public void destroy()
    System.out.println("ServletTest terminating");
    here's what the client looks like:
    mport javax.servlet.*;
    import java.util.*;
    import java.net.*;
    public class ServletTest extends GenericServlet
    /** servlet is initialising */
    public void init()
    System.out.println("ServletTest initializing");
    /** servlet wascalled bt client */
    public void service(ServletRequest request,ServletResponse response)
    try
    byte[] data=new byte[100];
    ServletInputStream inputStream=request.getInputStream();
    int read=inputStream.read(data);
    String string=URLDecoder.decode(new String(data,0,read),"UTF-8");
    System.out.println("read "+read+" bytes: "+string);
    inputStream.close();
    ServletOutputStream outputStream=response.getOutputStream();
    Date date=new Date();
    outputStream.write(date.toString().getBytes());
    outputStream.close();
    catch(Exception ex)
    ex.printStackTrace();
    /** servlet is being destroyed */
    public void destroy()
    System.out.println("ServletTest terminating");

  • I need to know how many conections can i have with a license of adobe medie server proffesional

    i need to know how many conections can i have with a license of adobe medie server proffesional
    i need some help. thanks

    I don't have apps on my phone so i can;t do anything

  • Yosemite 10.10.2 server app. FTP help. I have a program running in my local server enviroment that wants to FTP to my mac folder. It asks for the server , name, password, port and path. what are they?

    So I have set up a localhost area in my Mac. I have the new server.app and I am running yosemite 10.10.2 .
    I have a program running in my local server enviroment that wants to FTP to my mac .
    It asks for the server , name, password, port and path. what are they?
    I am pretty certain that the Serveris "localhost",
    Name is my macs name (like my-mac-min)
    password is "my login password"
    and they suggest port 21.
    But what is the file path, lets just say my site is set up http://localhost/siteftp and is actually at my Users/Sites/siteftp folder.
    Why cant this program connect to the mac.
    Is it because they are both operating in the same localhost enviroment,
    could it be my folder permissions are not correct on siteftp folder?
    Help please !

    I tried turning the computer off and then back on. The alerts don't show the notice to update as resolved. Hopefully this is not a problem or an indicator or another problem. Should I ignore or reload 10.10.1 from the app store to trigger a resolved check in a green circle?
    Interesting that I had to buy server software after my free Yosemite download. I would have hoped that the two pieces of software would have gone together without any complication. It is not positive to end up buying a problem. Ah well, time to move on.

  • Hi i am working on my web site and it appears to have blocked the ip from my server i can't open my web sites and i cant open the server home page but can do this on my iPhone i have trend micro running on 2 other desk tops all from the same router please

    Hi i am working on my web site and it appears to have blocked the ip from my server i can't open my web sites and i cant open the server home page but can do this on my iPhone i have trend micro running on 2 other desk tops all from the same router please help maybe its a firewall? Cheers Dave

    All I can suggest is that you open that file on the MBA and save it as a new file, then see if you can open the new one on the iMac.

  • Connection to SQL Azure client application

    Dear all,
    I have setup an SQL azure database that will be accessible from a Desktop client application.
    So that when I need to connect to the database, I need to go to the Admin portal and then allows my current PC IP to the firewall rules tables acess. When this is done my client application is allowed to access the database.
    I am actually accessing the database from a local WCF services hosted as an NT service which have the connection string to the SQL azure database.
    By testing different scenario I have found weird issue and hope you can help on the best way to approach it :
    Question 1 : Client application PC IP adress
    When I distribute my application to a customer which try to run it, it cannot access to the azure database simply because its client IP address PC is not in the list of the firewall on my azure account. As I do not know in advance the IP address of my customer,
    what is the way to allows the connection automatically ?
    I understand that it can be a security feature in a way to authorize a user or not to the data.
    Question 2 : Connection string password
    Actually the connection string to my SQL azure database is visible in the config file of my Nt service host for my WCF endpoint. The problem is that the password is in clear text here and I would like to avoid that. To solve that issue I guess I have
    2 posiibilities :
     - Encrypt the connection string password from my config file, but then how Azure will be able to understand it fro decrypting ?
     - Host my WCF service under azure ? if yes how ? will it be better it terms of performance as well ?
    Thnaks for your feedback and help
    regards 

    Hello,
    1. SQL Database use
    server-level firewall to prevents all access to SQL Database server until the client computers have permission.The firewall grants access based on the originating IP address of each request.
    So, you should configure the firewall rule by adding the IP address of the client PC before connect to the SQL Database.
    2. Windows Azure provides a secure
    certificate store where you can maintain your certificates. After encrypt sensitive data in your configuration files, you can deploy certificate with a key pair to Windows Azure and it can be used for encryption/decryption.
    Reference:
    Wiki: Windows Azure SQL Database Connection Security
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • TS1363 when i connect my phone itunes says it does not recognise my phone and need to update itunes to 64 bit. i have done this but still keeps coming back up!!!!!!!!!!!!!!!!

    when i try to connect my phone to itunes a message comes up saying it does not recognise it and must upgrade itunes to 64 bit i have done this numerous times but stillwill not recognise my phone.!!!!!!!!!!!!!

    Let's try a standalone Apple Mobile Device Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of why it's not installing under normal conditions.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe (or iTunes64setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleMobileDeviceSupport.msi (or AppleMobileDeviceSupport64.msi) to do a standalone AMDS install.
    (If it offers you the choice to remove or repair, choose "Remove", and if the uninstall goes through successfully, see if you can reinstall by doubleclicking the AppleMobileDeviceSupport.msi again.)
    Does it install (or uninstall and then reinstall) properly for you? If so, can you get a normal iTunes install to go through properly now?
    If instead you get an error message during the install (or uninstall), let us know what it says. (Precise text, please.)

  • After I upgrade to Lion OS my Lexmark printer mod. x1185 does not work anymore. I need the scan and copy functions, since I have a HP laserjet for printing. Even in the new (sep/08) driver file from apple there is no driver for my printer. Anyone could h

    Driver for lexmark x1185 (series 1100) for MAC OS 10.7. Anyone has a solution ?

    You should contact Lexmark. They have not released a driver for this printer since 10.3, and they no longer sell it. You could try the Generic PostScript PPD and see if you get limited functionality.
    Hope this helps.

  • Adobe Air Vs Thin Client Application

    Hi,
    I have very little knowledge of Adobe Air. I would like to
    know the basic difference between Adobe Air & thin client
    applications.
    Also, does Adobe air supports web applications? if yes then
    how it interacts with centralize database which resides on main
    server?
    Does Adobe Air works only with MySQL?
    Can anyone help on this?
    Thanks in advance!!

    quote:
    Originally posted by:
    ChinmayeePune
    I would like to know the basic difference between Adobe Air
    & thin client applications.
    I don't see that there necessarily is a
    difference. You can use AIR to build a thin client. You can use AIR
    to build a thick client. It's a tool. It doesn't tell you what to
    build.
    quote:
    Also, does Adobe air supports web applications?
    AIR includes several networking facilities which
    can be used to interact with a web server.
    quote:
    how it interacts with centralize database which resides on
    main server?
    It can do it the same way a browser does: by
    sending requests over HTTP, handled by server side code that
    manipulates the DB. If you have a "Web Service" API, AIR supports
    all the SOAP ****, too. And, there is a raw network API if you have
    to hand-roll your low-level protocol.
    quote:
    Does Adobe Air works only with MySQL?
    AIR doesn't support MySQL at all. The only
    native DB support it has is for SQLite, which is used for databases
    on the local file system where the AIR app resides. To access a
    remote DB, you have to use some form of custom networking to reach
    it.
    Theoretically, you could write a MySQL network client using
    the raw client socket functionality, but I don't believe this
    protocol is documented. You could extract it from the MySQL source
    code, but...eck. Better to set up some kind of web service
    API.

  • Where can I download this SQL-Net Client software 8.1.6.3.8

    What is the most current version of the SQL-Net Client software drivers that we should be using on our Windows Clients to hit our 8.1.6.3 server? Currently we are using 8.1.6.0.0 (per tnsping). According to the certification matrix, looks like 8.1.6.3.8, (right?)
    Destination : Windows 98,NT,2000,XP Clients
    Second, where can I download this SQL-Net Client software? And please don't tell me I have to download the entire server (I hoping, but if I do where?).
    Thanks,
    Jason
    [email protected]

    I think you might be running into the issue that:
    1)  The Yoga 2 Pro does not have a DVD player built-in, and therefore they don't include DVD playback software
    2)  Windows 8 (or 8.1) no longer includes the codecs to play DVDs and such.  You have to upgrade to the Professional edition of it.  (silly, yes).
    I would personally just grab VLC Player from videolan.org, and use that.  Works perfectly fine, and it's free.
    (Did the external USB DVD not come w/ software?  That's actually strange).

  • Forwarding messages server -- clients

    hey guys im still having trouble with my server/client application. I have created a TCP connection orientated client/server application which allows multiple clients to be connected to the one server. my problem is, is that i want the server to "forward" the messages recieved by one client to all the others and i am having trouble doing this.. would a hashtable be my best option?!?!?
    Thanking you guys in advance.. dave-o

    I have your same problem.
    One solution I though was to keep track of the number of clients and then fordward to all of them except to the one which send the data.
    Would be nice if some one give us more ideas.

  • Do I need OS X Server to run MacPro as HPC server?

    Hello,
    At work we are considering the MacPro as a computing server. Can I please ask for feedback from people who have used it as a scientific computing server?
    We will be interested in using it to run MATLAB, COMSOL, and custom compiled scientific codes remotely. Can the base OS X handle multiple people logging in from client terminals and running independent jobs? Or do we have to have OS X Server?
    I do not have much experience with Macs, so some of my questions will be naive ones.
    Essentially I want to use it as one would use a Linux server. Is this possible with the MacPro running normal Leopard (not Leopard Server OS X)?
    Thank you.
    Cheers,
    Misha

    Mac OS X client deals with incoming ssh and sftp and classic terminal sessions and bash and such just fine; it's a Unix box underneath.
    You'll have to open up the firewall for incoming ssh sessions, and set up the login credentials or aim the authentication off at your local LDAP server. The usual sorts of stuff you'd need to set up on any client box.
    You don't need Mac OS X Server for this.
    Mac OS X Server does bring an Xgrid controller and other pieces that might be of interest. (Mac OS X client has an Xgrid client.)
    But if you want a compute box for telnet or ssh, you don't need the server variant.
    There are ten-user limits on serving up AFS and SMB/CIFS file services from the client, and on how you can configure serve up remote files and web directories such.

  • Access denied when opening project using project professional client application

    Hi,
    I have some users who are members of 'Team Members for Project Web App'.
    They can open projects using the browser just fine.
    But, if they try to open it using the menu  :  Projects Tab > Open > In Microsoft Project,
    the project professional client application starts but shows an error : 'you do not have the required permissions to perform the operation'
    Is there some restrictions for 'Team Members for Project Web App' with the project professional application?

    Indeed team members should not be added to the PM group. But they should not either edit directly the proejct plan. The process is the following:
    The PM assignes a resource on a task, either from PWA or MS Project Pro,
    The PM publishes the project plan,
    The TM goes to the task link in the quick launch menu on the left side,
    The TM enters the actual work done on his assignments and submit it to the PM,
    The PM goes to the approval center, sees the task updates waiting for approval, approves or rejects the task updates,
    The PM opens the project plan, updates the remaining work and publishes again the project the the task updates are taken into account and send to the TM.
    See this
    reference for Project Server 2010 but still applicable for 2013.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • TELNET Server-Client Error

    I have created a server-client application wherein my client sends a text file to the server. Both the server & client applications are configured using the TELNET VI's. When the Server end is connected to the internet through a dial-up connection & client is connected through either dial-up or through any broad-band service(static IP) data exchange takes place.
    But if I connect the Server end to the internet through any broad-band connection it shows error 56. Have set time-out as -1, so i think time-out should'nt be a problem.
    Is it that listeners created in the Server application are built only to receive data from a dial-up connection & not through any broad-band connection.
    Jalpa

    Is there a reason you are using Telnet. There are example that ship with LV that show communications using a TCP connection. When communicating between two instances of LV you might also want to consider VI Server and a communications mechanism.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Maybe you are looking for

  • Number of decimals in the stock, availability tab.

    Hi, Dose anybody know if it is possible to change the number of decimals that appear in the availability tab, in the stock. It appears 3 decimals (as is defined in the data type). any clue??? thanks for your attention best regards. Jorge Vigo

  • Using trusted certificates to avoid

    I have a certain presumption I wish to confirm. Presumption: When an SSL client attempts to make a connection to a remote host, once that connection is made, the client says (i.e, behaves as if he says), "I know what site I want to connect to. I have

  • Publish Settings for iOS provisioning

    Under http://helpx.adobe.com/director/using/publishing-ios-devices-using-director.html#id_27206 there is a bullet point titled, Provisioning File Path For Signing The App. There it says, 'Download the mobile Provisioning file path after creating it a

  • JSTL if - problem

    Hello. I have the following problem. I have a website where sometimes users register or they just login. When the user register, the first line of my code gets his ID. But when the user is already registered and just login, the first line returns nul

  • Broken images. Quick way to link them in design view?

    I am working on someone elses website and collected all the files from the host. However all the images are no longer viewable in the html dreamweaver design view. I have all the images and am wondering if there is a quick way to update everything so