Solved

SQL server 2008 express modify connection visual web developer

Posted on 2009-07-06
7
357 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
  • 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

829 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