Solved

SQL server 2008 express modify connection visual web developer

Posted on 2009-07-06
7
358 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 26

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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

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

Backup Solution for AWS

Read about how CloudBerry Backup fully integrates your backups with Amazon S3 and Amazon Glacier to provide military-grade encryption and dramatically cut storage costs on any platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
date diff with Fiscal Calendar 4 77
tempdb log keep growing 7 45
Where does legacy ASP.NET initialize language? 2 62
SQL Server maintenance plan 8 54
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 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