Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7402565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T04:46:28+00:00 2026-05-29T04:46:28+00:00

I am trying to explore the Azure Connect service provided by Windows Azure. So

  • 0

I am trying to explore the Azure Connect service provided by Windows Azure. So I have a simple ASP.NET application running as a Web Role in Azure which is trying to connect to a SQL database hosted on my local system. I followed all the steps provided in the Windows Azure Platform Training Kit and also the steps given here. After doing all this, I am able to ping the Azure Role VM hostname from my local system. I am able to ping my local system from within the VM (checked this by logging into then VM using mstsc). I am able to connect to my local system on port 1433 (opened for SQL communication) using telnet.

But after all this when I try to access the db hosted on my system from the Azure hosted application, I get the following error:

A network-related or instance-specific error occurred while
establishing a connection to SQL Server. The server was not found or
was not accessible. Verify that the instance name is correct and that
SQL Server is configured to allow remote connections. (provider: SQL
Network Interfaces, error: 26 – Error Locating Server/Instance
Specified)

My connection string looks something like below:

<add name="MyConnectionString" connectionString="Data Source=My-PC\SQLEXPRESS;Initial Catalog=Student;Persist Security Info=True;User ID=user;Password=pass" providerName="System.Data.SqlClient"/>

I have done most of the settings mentioned in those tutorials like enabling remote connections on the SQL Server, enabling both Windows & SQL authentication on the SQL server, enabling Network DTC Access for remote client and opened port 1433 for incoming TCP requests on my firewall.

But I still get the same error. Anyone have any clues?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T04:46:29+00:00Added an answer on May 29, 2026 at 4:46 am

    It has been a while since I played with Azure connect – but as I recall you need to specify the port number in your connection string when accessing an on-premises SQL Server instance from an Azure role.

    Please try to modify your connection string adding the port to the Data Source:

    Data Source=My-PC\SQLEXPRESS,1433

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I’m just starting to explore asp mvc and jquery. I have a simple form
I am trying to connect to a windows azure database through visual studio Here
Im trying to replicate an effect as seen on http://www.fiat.co.uk/Showroom/#showroom/punto_evo/explore . I have made
I am trying to create a windows explorer. I have succeeded in populating the
I am trying to use a Database in SQL Azure. I have installed SQL
I have recently started on MongodDb and I'm trying to explore on replica sets
I am trying to create a simple MS Word addin (mostly to explore functionality).
I am trying to explore behaviors with expression blend. I have seen the mouse
I was trying to explore the semantic features of Oracle Database by running a
I'm trying to explore Skipfish by Google I went through their documentation , and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.