Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SQL Error 26 - Between SQL Express 2012 and SQL Server 2008 R2

Posted on 2013-11-14
4
Medium Priority
?
484 Views
Last Modified: 2013-11-19
Note:  This set up works fine with another set of applications I have installed.  I sync data  between a SQL Server 2008 and a local copy of SQL Express 2012 , both on my local machine and on my remote computer.  

Problem:  
I copied the working code to another set of applications for a similar project.  Everything works on my local machine.  I do the set up on a remote machine and I get error 26.  I can gain access to the database and its tables, and I add/delete records in it through SSMS.  Yet, I cannot get my visual studio 2010 windows applications to connect to this new SQL Express database on my remote machine.  I get error 26.  

Again, I have another set of applications that work perfectly.  Any suggestions?
0
Comment
Question by:Karen Wilson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 15

Expert Comment

by:unknown_routine
ID: 39649104
You have to Make sure the server machine is reachable so  DNS resolve it correctly,.

Try to ping the server machine. If you can't you have to ask your network admin to govr you access.
0
 

Author Comment

by:Karen Wilson
ID: 39649125
Yes, I can get to the server as it works with another set of applications and I can look at and enter data using management studio.
0
 

Accepted Solution

by:
Karen Wilson earned 0 total points
ID: 39649490
Some days, you just need a cookie and the light turns on.

I use LINQ.  On my *.dbml screen, I needed to change the connection string to make the instance a wild card.  Doh!  

Data Source=.\SQLEXPRESS;Initial Catalog=localMngAssmnt;Integrated Security=True

Everything works now!
0
 

Author Closing Comment

by:Karen Wilson
ID: 39658864
I figured it out by reviewing the working application.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question