Multiple instance SQL Server not working between VM's

I'm working with SQL Server 2014 running on Windows Server 2012 R2 Azure VM and having problems connecting to the SQL Server instance from a Windows Server 2012 R2 VM running IIS. The connection string and setup is the same as I have been using for several
years. The main difference is I am now running multiple instances on the SQL Server. Firewall is configured properly, SQL is in mixed authentication mode, configuration is identical to all the servers as ones configured in the past. Would there be anything
in the Virtual Network or in Azure that needs configured?

Is this VM deployed in a Virtual Network? If so, make sure to use static IPs, so that, in case the VM is rebooted, the IP remains constant. If not, this may be the cause of your problem, the IP will change when the VM reboots.
If you've tried to connect to the VM from outside the Virtual Network, then you need to create an endpoint for the SQL port. This needs to be configured for each instance of SQL Server on the VM.

Similar Messages

  • Force encryption on SQL Server not working?

    Hello Everyone,
    I'm running SQL Server 2008 64-bit. I've installed a self-signed cert on the box and set  "Force Encryption"  and restarted SQL server. 
    I setup a client machine to trust the authority of the cert installed on the server. When I connect to that SQL server from SSMS from a client machine and select the "encrypt connection" option in the client Connection properties, SSMS correctly complains
    that the cert on the server does not match the computer name I asked to log into . This is because, although the cert is trusted, the dns name dos not match the CN in the cert <- Perfect, exactly what I am expecting.
    When I connect to the same SQL server from the same client but  UNCHECK "encrypt connection" on the client, I'm able to login. Considering I've checked the "Force Encryption" on the server, the server should have rejected the connection. Why not?
    Ameer Deen

    Hi all,
    We are implementing a Merge Synchronization solution which involves three SQL Servers located on three Azure locations worldwide and one on-premises location. We need to secure communications between all servers. We are evaluating the encryption of all server
    communications through SSL:
    http://technet.microsoft.com/en-us/library/ms191192.aspx
    When we configure one server (let’s call it server A) to accept only encrypted connections (with Force Encryption=Yes) we still can connect from other server (let’s call it server B) that do not have the certificate installed. We would expect the server
    B to fail in the attempt of connect as server A should only accept encrypted communications and those should need the certificated to encrypt/decrypt everything (commands and data).
    We have also review the following forum post that is very similar to this one:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/bde679d9-ff83-4fa7-b402-42e336a97106/force-encryption-on-sql-server-not-working
    In all cases the Microsoft answer is:
    “When the
    Force Encryption option for the Database Engine is set to YES, all communications between client and server is encrypted no matter whether the “Encrypt
    connection” option (such as from SSMS) is checked or not. You can check it using the following DMV statement”
    When we run the provided DMV statement to check if encryption is enabled:
    -- To check whether connections are encrypted between server and clients
    SELECT encrypt_option
    FROM sys.dm_exec_connections
    We get “TRUE”. So theoretically encryption is enabled.
    Then:
    Why can we run SQL statements against server A from server B (with SSMS) without any certificate?
    Are we wrong when we expect server A to refuse any client that do not have the right certificate?
    How can server B, without any certificate, decrypt the data encrypted by server A?
    Our intention is to encrypt all server in the same way so all of them will accept only encrypted communications. We are assuming that the Merge Agent will be able to communicate with the Publisher and the Subscriber through this encrypted environment. May
    anyone please confirm ti?
    Thanks for your help.
    Best Regards
    Benjamin Moles

  • Applying Service Pack on multiple instance SQL Server 2008 R2 Cluster and Standalone.

    Friends,
    Its my first time I am applying Service pack to both Standalone and Clustered SQL 2008 R2 servers. I have multiple instances running on both stand alone and Clustered environment. I don't know how to apply pack with multiple instances. Do I need to apply
    the service pack each instance one by one or I can just run the pack to each node of cluster and each box of stand alone server? Will I get any multi instance selection option during the installation process so that I can select multiple instances at once??

    When installing service pack for multiple instances in a standalone machine, you just run the installer and it lists all the instances eligible for the update. You could do it one by one or do it at the same time. Doing it at the same time saves time and
    energy. If you selected multiple instances then you dont have to do anything else.
    In case of cluster, if you have multiple instances then you need to be little careful.
    Eg: Assume you have a 2 node cluster Node 1 and Node 2. Two instances Instance 1 active on Node 1 and Instance 2 active on Node 2. What I would do in this case is to first failover any one instance to the passive node. Assume I failed over Instance 2 to
    Node 1. Now Node 1 is active node for both instance 1 and instance 2 and Node 2 is passive for both instances. At this point I run the service pack on Node 2. Once patching is done, I reboot the node and then failover the instaces one by one to Node
    2. At this point both instances 1 and 2 would get upgraded and will be active in Node2. Now Node 1 is passive and so run the update there. Once the service pack is installed, reboot and then fail back Instance 1 back to Node 1. Note: I would also failover
    Instance 2 to Node 1 just to confirm that failover works completely after service pack update.
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • SQL Server not working

    I had been creating a solution with SQL DB before I upgraded to Windows 7.  (64bit system)    Then SQL2005 doesn't work.         all my programs are messed up with the "Ignore and Continue"
    screen on all my forms.  I uninstalled SQL and went looking for a newer version.  I installed SQL2012, but VB won't let me connect to it.  I've tried this in a new project that is nothing but a blank form and a new database object
    - it won't let me set up the database (new connection)
    The error is: "Failed to generate a user instance of SQL server due to a failure in starting the process for the user instance."
    Shoud I get a different version of VB (2008)? 
    Do I need to uninstall and re-download SQL?
    Do I have the right SQL app? (I now have SQL2012 - 64 bit)

    Hi,
    Welcome to MSDN.
    I am afraid that this is not the proper forum for this issue, since this issue is mainly related to SQL Server, you could consider posting this issue in
    SQL Server forums for more dedicated supports.
    In addition, I found some similar threads, if you are using SQL Server Express, you could refer to this thread:
    Failed to generate a user instance of
    SQL Server due to a failure in starting the process for the user instance.
    If your application is ASP.net project and you are using SQL Server Express, you could refer to this solution:
    Problems with SQL Server Express user instancing and ASP.net Web Application Projects
    Thanks for your understanding.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Reporting Point over remote multiple instance SQL Server

    Hi,
    The scenario is the following:
    1 CAS SCCM 2012 R2
    1 Primary SCCM 2012 R2
    1 SQL Server 2012 SP2. 2 Instances. Each instance has Database Engine Services and Reporting Services - Native.
    The CAS and Primary installation was OK.
    The reporting point for CAS (default SQL instance) installation was OK.
    The reporting point for Primary (named SQL instance) installation is not possible. The reports node at SCCM console is empty. Both of the SRS instances was automatically configured, at installation (Install and Configure).
    The question is:
    Is it possible to use the same SRS to host 2 reporting points? (1 for CAS, 1 for Primary. Each at different instance)
    Thanks in advance!

    Hi,
    At another customer I get the same scenario. They want to use the same server for hosting DBs and reports for CAS site and 2 Primary sites.
    The message is:
    Site Component Manager detected that site system "\\ECBPPRQSM.MYDOMAIN.NET" is currently in use by ConfigMgr site CAS.
    Possible cause: You accidentally configured this site system as part of this site and as part of site CAS.
    Solution: Remove this site system from the list of site systems for this site or for site CAS.
    The question remains basically the same:
    Is it possible to use the same SRS to host 3 reporting points? (1 for CAS, 2 for Primary. Each at different instance)
    Thanks in advance!

  • DB Links pointing to  sql server not working

    Hi,
    We created a db link to fetch data from sql server we are getting the following error
    Link : "APPS_EDW_WALT.WORLD"
    Error : ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from APPS_EDW_WALT
    Please let us know how to resolve the same.
    praavan

    Hi Praavan,
    Please provide Oracle and OS versions.
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Cause: An attempt to call an external procedure or to issue SQL to a non-Oracle system on a Heterogeneous Services database link failed at connection initialization. The error diagnosed by Net8 NCR software is reported separately.
    Action: Refer to the Net8 NCRO error message. If this isn't clear, check connection administrative setup in tnsnames.ora and listener.ora for the service associated with the Heterogeneous Services database link being used, or with 'extproc_connection_data' for an external procedure call.Please refer to following links:
    ORA-28545: error diagnosed by Net8 when connecting to an agent error URGENT
    http://dbaforums.org/oracle/index.php?showtopic=6684
    HTH,
    Thierry

  • Sql is not working after changing from MsAccess into sql server

    Following Sql  is not working after changing from MsAccess into sql server. 
    sum(trn.sales) as sales,
    sum(trn.cost) as cost,
    sales - cost as profit // Here is not working . can we not use sales a column. Please advise
    from trn
    Kind Regards
    pol
    polachan

    It will not work if use two different column from the table or column  from two  different table
    Example
    sum(trn.sales * trn.rate) as salesAmount,
    sum(trn.cost) as cost,
    sum(trn.salesAmount)-sum(trn.cost) as profit ----- Here is not working . can we not use sales a column. Please advise
    from trn
    Regards
    polachan

  • Home Sharing not working between wireless PC's / devices and ethernet wired PC's on the same router.

    Home Sharing is not working between wireless PC's / devices and ethernet wired PC's on the same router.  I installed a new Verizon FIOS ActionTec  MI424WR GigE wireless / ethernet router, replacing the original FIOS router.  With the old router Home Sharing worked fine across and among all iOS and Windows wired and wireless devices.  With the new router Home Sharing works between and among the Wired PC's but not between the wired PC's and the Wireless connected PC's or iOS devices.  Home Sharing also works between and among the wireless connected PC's and iOS decices but not between them and the wired PC's.
    Only the router was changed.  No changes were made to any of the devices except all were updated with the latest version of iTunes 10.7.0.21 and the iSO devices were updated to iOS vrsion 6.01.  Three PC's are wired and all are running Windows 7.  There also is a Windows Home Server connected to the router by ethernet port.  It does not run iTunes but does provide WebDAV services to my iOS devices.  This works fine.  Two PC's are wireless, one running Windows 7 and one running Windows 8.  All of the PC's are connected to the same (new) router via it's ethernet ports and it's wireless access point.  Two of the wired PC's are connected via a high-speed  ethernet hup that is connected to the router (Home Sharing works fine between the two PC's on the hub and the PC on the router).  All wired and wireless devices on the router are visible and members of the router's Home/Office virtual network.
    All of the PC's are visible in the Windows network and all shared files are accessable from all PC's, both wired and wireless.
    Obviously the router seems to be the issue, something between the ethernet and the wireless access point components.  I checked the settings and found nothing that would prevent Home Sharing between the wired and wireless devices.  There is no setting that isolates the wireless network.  I have done the following:
    Read the router user manual and checked all the settings
    Rebooted the router and tested.
    Turned off the router's firewall and tested.
    Home Sharing is turned on all the devices and all use the same Apple ID.
    Restarted iTunes and tested.
    Verified iTunes is "Allowed" in each PC's firewall.
    Again, I can Home Share between the two wireless PC's but not between either of the wireless PC's and any of the wired PC's.  I can Home Share between my iPads and iPhones and either of the two wireless PC's but not with any of the wired PC's.  I can Home Share between any of the wired PC's but not between any wired PC and a wireless PC or iOS device.
    I hope someone may have had a similar problem and has a fix suggestion.  I'm stumped!  I have a;so contacked ActionTec and awaiting an answer.

    Solution from ActionTec is:
    Log into your router.
    Click the Advanced icon
    Cclick Yes
    Click on the IGMP Proxy
    Select Disable
    Click Apply

  • DI Server - Cannot connect to named instance SQL server database

    Hi,
    I have developed a small DI server application and want to migrate it to a production server. I keep on getting the Cannot connect to SBOCommon error on login though. I have verified all user names and passwords and the only real difference is that the production environment uses a named instance SQL server eg server\instance setup.
    The production DI server will however connect perfectly to the test database (which is NOT a named instance) .
    Anyone using DI server against a named instance SQL server or have some other ideas what might cause this?
    I use B1WS 1.0 and the version of SBO is 8.00.181..
    Jaco

    I may have solved the problem, at least partially.
    I created a test user with full rights on my test database server and it would also not connect, even though my test database is not a an instance setup.
    Then I found this thread  [Re: DI Server Always Uses SA to log into MS SQL database even if SOAP packet]
    It seems that at my current patch level the user 'sa' is hard coded into the DI server as sql username! I don't have the production server's 'sa' user credentials at present but will test it on Monday. Will also test against 8.8 soon ..

  • SQL Server not releasing memory

    Hello,
    I have created one stored procedure, which inserts data into 1 table.
    It inserts around 1 million records at a time using XML input.
    Problem is with SQL server memory I think. When I run this stored procedure and check the performance in the morning when server is not so busy, it finishes with less than 10 seconds.\
    However, if I continuously test this stored procedure multiple times, it gives huge variation in performance.
    Also, I call this stored procedure from C# front and there I have made sure that I am disposing Connection object every time.
    After few runs, I have to restart my server computer as it doesn't allow me to run any of the query on that server.
    So my question is :
    What is that which occupies whole server memory?
    Is there any thing which I can write in stored procedure to release memory once it is done?
    Please assist me on this.
    Thank you,
    Mittal.

    Hello,
    I have created one stored procedure, which inserts data into 1 table.
    It inserts around 1 million records at a time using XML input.
    Problem is with SQL server memory I think. When I run this stored procedure and check the performance in the morning when server is not so busy, it finishes with less than 10 seconds.\
    However, if I continuously test this stored procedure multiple times, it gives huge variation in performance.
    Also, I call this stored procedure from C# front and there I have made sure that I am disposing Connection object every time.
    After few runs, I have to restart my server computer as it doesn't allow me to run any of the query on that server.
    So my question is :
    What is that which occupies whole server memory?
    Is there any thing which I can write in stored procedure to release memory once it is done?
    Please assist me on this.
    Thank you,
    Mittal.
    >> 1. What is that which occupies whole server memory?
    Probably your application or the other application, but this need to be checked and not guess! Your machine execute hundreds if not hundreds of thousands applications on the same time! most of them are services that you do not see any
    GUI. The SQL Server itself might execute hundreds if not hundreds of thousands transactions and these might interfere one another (lock tables or rows, use the same resources and so on).
    * as a first test you should try to execute the query using a more reliable application like the SSMS. I recommend to try execute the query throw the SSMS several times and check the behavior.
    >> 2. Is there any thing which I can write in stored procedure to release memory once it is done?
    There are several option to free memory that used by SQL Server, but do you really need it?!? This is probably not the solution for your case. in the best option it will only give you a workaround.
    * SQL Server do not use more resources that you let it (configure it). If you are using SQL EXPRESS than you have some limitations regarding the resources (for example memory and CPU and database size...).
    Make sure that you configure the SQL Server not to use to much resources, so that other applications like the operating system will have what they need! There is no logic in restart the machine if the only
    problem is with specific application (unless you have problems like memory leak which in rare cases can not be treat otherwise)
    http://mrbool.com/how-to-clean-up-memory-sql-server/29242
    https://msdn.microsoft.com/en-us/library/ms178067.aspx?f=255&MSPPError=-2147217396
    ** start monitor the SQL Server resources, locks and waits
    https://technet.microsoft.com/en-us/library/aa213039(v=sql.80).aspx
    http://www.brentozar.com/sql/locking-and-blocking-in-sql-server/
    *** Give us more information instead of stories :-)
    Post codes that you use, post DDL+DML and so on.
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • 'Get All New Data Request by Request' option not working Between DSO n Cube

    Hi BI's..
             Could anyone please tell me why the option ' Get one Request only' and  'Get All New Data Request by Request' is not working in DTP between Standard DSO and InfoCube.
    Scenario:
    I have done the data load by Yearwise say FY 2000 to FY 2009 in Infopackage and load it to Write-optimised DSO (10 requests) and again load Request by request to Standard DSO and activate each request. I have selected the option in DTP's to  'Get All New Data Request by Request' and its working fine between WDSO and SDSO. But not working between Cube and SDSO. While Execute DTP its taking as a single request from SDSO to Cube.( 10 request to single request).
    Regards,
    Sari.

    Hi,
    How does your DTP setting looks like from below options ? It should be change log, assuming you are not deleting change log data.
    Delta Init. Extraction from...
    - Active Table (with archive)
    - Active Table (without archive)
    - Archive ( full extraction only)
    - Change Log
    Also if you want to enable deltas, please do not delete change log. That could create issue while further update from DSO.
    Hope that helps.
    Regards
    Mr Kapadia
    *Assigning points is the way to say thanks*

  • Just upgraded to Lion an am discovering that I cannot send email photos from within iPhoto. Error message says bad Internet connection or server not working, when that's not the case. Never happened in Snow Leopard! Help!!!

    Just upgraded to Lion an am discovering that I cannot send email photos from within iPhoto. Error message says bad Internet connection or server not working, when that's not the case. Never happened in Snow Leopard! Help!!!

    what email service - Yahoo mail have been acting up lately
    you can try setting Mail as your email client - it resolves this pfoblem for some people
    LN

  • What will you do if any SQL is not working.in oracle 10g...apps 11.5.10.2

    What will you do if any SQL is not working. in oracle 10g....apps 11.5.10.2

    928714 wrote:
    yes sir.If you help me in answering my questions i wll be very thankful to you sir.
    tnx,I haven't a clue.
    As you have been advised in many of your posts, go study the documentation for whichever specific topic you are interested in.
    For me to answer your questions, I would need to go get that documentation.
    Then I would need to read that documentation.
    Then I would need to write a forum post that interprets what I think I learned from that documentation.
    It is so very much faster if YOU go do that instead of posting to a forum and expecting others to do it. You will remember what you study for a lot longer time if you teach yourself.

  • ICloud Synchronization not working between iPad first gen 5.1.1 & iPhone 4S 6.0.1?

    iCloud Synchronization not working between iPad first gen 5.1.1 & iPhone 4S 6.0.1?

    I can see the acknowledgement that this issue will be fixed in the 'next' software update. Considering the original post was for an iPad 2 running 5.0.1, I am not sure if this issue on iOS 5.1 which runs on my new iPad (4G) is considered fixed. As I reported in my previous post it is impossible to update individual tracks. I also tried adding entire collection to a single playlist, shuffling the playlist. While shuffle is in progress, turning to the 'list' view that allows tracks to be rated does who the currently shuffled playlist and the currently playing track and assigns the rating to the track correctly. However, as soon as the second track plays, switching to list view (which displays the ratings) lists only the tracks from the currently playing track's album. Which is insane IMHO.
    So, was this not fixed with 5.1 update? Or the iOS 5.1 will get it's own piece of update on this?

  • TS3367 Hi, the FaceTime just did not work between my mom and I. It used to work weeks ago, but now it does not work after showing"connecting". I feel frustrated and try all the method I can think of. Still do not work. Hope u can help me. Thanks!

    Hi, the FaceTime just did not work between my mom and I. It used to work weeks ago, but now it does not work after showing"connecting". I feel frustrated and try all the method I can think of. Still do not work. Hope u can help me. Thanks!

    Was it just this one time?  Could be that you, or your mom, were experiencing network problems.  Try again at a later time.

Maybe you are looking for

  • Still cannot open App Store even after 10.6.8 Combo Update

    Any help on this would be most appreciated. Thanks in advance. I need to get the App Store working so that I can re-install a Lion upgrade that I already purchased before. I had to replace my HD and now with 10.6.8, the App Store will not open. I hav

  • Creative Cloud Lost My Story File - Please Help

    I can not access a five-page file I created yesterday on Adobe Story. Please help - this is beyond irritating. Here are the details: I am a Creative Cloud member. Yesterday, I signed in to Adobe Story for the first time, entering after I'd signed in

  • Mail Configuration in X6

    I have a X6 . When I try to configure rediffmail in the mobile I get the following message : "Our e mail service  has been unable to connect to your e mail service provider preventing email delivery to your phone" I have not changed my username or pa

  • Downloading adobe reader?

    I have had Adobe reader and for some reason, I find that now I do not and it is merely impossible to install.  Does anyone have any advice? I have tried the instillation on the mac and it gets to the last spot and says "download could not be complete

  • HP LJ 1300 not working after software update yesterday

    LJ 1300 crashes as soon as print button is clicked after yesterday's software update. Can anyone help please?