Solved

SQL server 2008 express modify connection visual web developer

Posted on 2009-07-06
7
360 Views
Last Modified: 2013-11-27
Every time when I open Visual Web Developer 2008 Express Edition, I have to modify connection by following procedure.
Database Explorer - Right Click data, Modify Connection - Advanced - Data Source - .\GLJWSQL

I had anther SQL instance called .\GLSQL, and it doesn't exist anymore.
I have to change Data source to .\GLJWSQL every time when I open Visual web developer.
The funny thing is that if I chose .\GLJWSQL from dropdown menu in Data Source, .\GLSQL disappear and won't even give me that option. However, it comes back once I close the application.

Where do they store the Data Source name info so that I can change it and it stays?

Thank you
0
Comment
Question by:jtuttle99
[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
  • 4
  • 2
7 Comments
 
LVL 42

Expert Comment

by:pcelba
ID: 24789871
You should be able to delete the Data source and create new one. If it uses DSN for the connection then you should check/update this DSN also: Control panel - Additional options - ODBC  (or ODBC data sources depending on OS version)
0
 

Author Comment

by:jtuttle99
ID: 24790135

I already have new data source called GLJWSQL.  
GLSQL doesn't exist any more, but I'm not 100% sure.
Where should I look in? I'm using win XP.

I ckecked DSN, but GLSQL doesn't exist...
hmmm...

Thank you
0
 
LVL 27

Expert Comment

by:Chris Luttrell
ID: 24790225
check out this blog about clearing the list of MRU servers, it might do the trick for you.  You will have to reenter the new server the first time after clearing it though.
http://sqlblog.com/blogs/jonathan_kehayias/archive/2009/04/20/clearing-the-recent-servers-list-in-sql-server-management-studio.aspx
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:jtuttle99
ID: 24790291
wops
that killed my connection completely.
Sounds like similar problems though.

-----------error message------
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)
0
 

Author Comment

by:jtuttle99
ID: 24790383
Do you know where this is located?

Data Source=.\GLSQL;AttachDbFilename="C:\Documents and Settings\shinyat\My Documents\Visual Studio 2008\WebSites\greenlake\App_Data\ASPNETDB.MDF";Integrated Security=True;User Instance=True

GLSQL should be GLJWSQL, and if I change it in Visual Web Developer, it won't save.
0
 
LVL 42

Accepted Solution

by:
pcelba earned 500 total points
ID: 24792766
Run Regedit and try to find GLSQL string in registry. It should be safe to remove all its occurences or to update it to GLJWSQL.
0
 

Author Closing Comment

by:jtuttle99
ID: 31600368
I found default SQL and changed it to GLJWSQL. It worked! Thanks!
0

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

726 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