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

  • Home
  • SEARCH
  • 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 5844547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:18:30+00:00 2026-05-22T12:18:30+00:00

We have 2 physical servers, one the first one we have Windows Server 2008

  • 0

We have 2 physical servers, one the first one we have Windows Server 2008 with IIS 7, on the second server we have Windows Server 2008 with SQL Server 2008.

The application is an ASP.NET MVC 3 (using .NET 4.0 then). The application pool uses use .NET frmework 4.0 in mode “Integrated” mode, identity “NetworkService”

In “IIS maanger”,in the three pane, I have Sites\Default web site\MyWebSite when I do a browse I receeive an error :
The server was not found or was not accessible, allow remote connections, (provider:SQL Network Interface, error : 26 - Error Locating/Instance specified)

From the IIS server, I tried a “Telenet serverSQLname 1433” and that’s work

In the connectionstring of NHibernate, I have this :

Data Source=SERVERDBNAME;Initial Catalog=MyDatabase; Initial Catalog=MyDB; 
User Id= MyUser; Password=MyUser; Integrated Security=True

I tried several syntax but same result.

I created the user “MyUser” in SQL Server.

I created a connection string in IIS, but don’t know if it’s useful

I open to try your solutions 🙂 This kind of job it’s not my job at all, I’m just a developer 🙂

Thanks,

  • 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-22T12:18:31+00:00Added an answer on May 22, 2026 at 12:18 pm

    In your connection string, use integrated security, or username

    Data Source=SERVERDBNAME;Initial Catalog=MyDatabase; Initial Catalog=MyDB; User Id= MyUser; Password=MyUser;
    
    Data Source=SERVERDBNAME;Initial Catalog=MyDatabase; Initial Catalog=MyDB; Integrated Security=True
    

    Also, use instance name if it applies :

    Data Source=SERVERDBNAME\INSTANCENAME;Initial Catalog=MyDatabase; Initial Catalog=MyDB; Integrated Security=True
    

    Finally, make sure that tcp/ip is enabled :

    • Go to SQL Server Configuration Manager, on the server hosting SQL Server
    • Go to SQL Server Network Configuration
    • Go to Procotols for SQL Server
    • TCP/IP : set to enable
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have IIS6 running on a 64-bit Windows 2003 server with 32Gb physical RAM.
Have you ever seen any of there error messages? -- SQL Server 2000 Could
Have you used VS.NET Architect Edition's Application and System diagrams to start designing a
I have a distributed Java application running on 5 application servers. The servers all
I have a stored procedure in a test instance of a sql server (named
We have a physical machine that runs VMware and hosts a VM we use
I have this scenario where I need data integrity in the physical database. For
Have a n-tire web application and search often times out after 30 secs. How
We have a large system of physical devices which all run a web service
Our application stores user files on the physical drives (alebit a large number of

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.