472,806 Members | 1,786 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,806 software developers and data experts.

Changing VB.NET 2003 connection from SQL Server 2000 to 2005 database.

I'm having a difficult time getting my current VB.NET 2003 application
to point to my upgraded SQL Server 2005 database. I performed the
upgrade from SQL Server 2000 to SQL Server 2005 on my local computer
and when I try to reconnect my VB.NET project to SQL Server 2005, I
received a message that states unable to connect.

Does anyone have an idea on how to do this? I'm fairly new to both
programs and inherited the project from someone else who wrote the
program.

Thank you for your help.

Aug 14 '06 #1
3 5793
Hello leo813,

try to experiment with different type of connection drivers

lI'm having a difficult time getting my current VB.NET 2003
lapplication to point to my upgraded SQL Server 2005 database. I
lperformed the upgrade from SQL Server 2000 to SQL Server 2005 on my
llocal computer and when I try to reconnect my VB.NET project to SQL
lServer 2005, I received a message that states unable to connect.
l>
lDoes anyone have an idea on how to do this? I'm fairly new to both
lprograms and inherited the project from someone else who wrote the
lprogram.
l>
lThank you for your help.
l>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Aug 14 '06 #2
Leo,

Why do you not try it in a little new project doing this.
That takes 2 minutes and gives you the connection string in the created
config.file.

http://www.vb-tips.com/dbpages.aspx?...2-b1ed16424252

I hope this helps,

Cor

"leo813" <le****@comcast.netschreef in bericht
news:11**********************@b28g2000cwb.googlegr oups.com...
I'm having a difficult time getting my current VB.NET 2003 application
to point to my upgraded SQL Server 2005 database. I performed the
upgrade from SQL Server 2000 to SQL Server 2005 on my local computer
and when I try to reconnect my VB.NET project to SQL Server 2005, I
received a message that states unable to connect.

Does anyone have an idea on how to do this? I'm fairly new to both
programs and inherited the project from someone else who wrote the
program.

Thank you for your help.

Aug 14 '06 #3
I believe that SQL 2005 has tcp/ip access disabled by default. If this
is the method you are using to connect then make sure it is enabled.
You can do this by going to SQL Server configuration manager and then
to protocols. Also make sure your new connection string is valid. An
easy way to do this is to use a .udl file. Check out this link for
instructions on how to do that:

http://www.ctrlalt313373.com/DavidsB...3/Default.aspx

Cor Ligthert [MVP] wrote:
Leo,

Why do you not try it in a little new project doing this.
That takes 2 minutes and gives you the connection string in the created
config.file.

http://www.vb-tips.com/dbpages.aspx?...2-b1ed16424252

I hope this helps,

Cor

"leo813" <le****@comcast.netschreef in bericht
news:11**********************@b28g2000cwb.googlegr oups.com...
I'm having a difficult time getting my current VB.NET 2003 application
to point to my upgraded SQL Server 2005 database. I performed the
upgrade from SQL Server 2000 to SQL Server 2005 on my local computer
and when I try to reconnect my VB.NET project to SQL Server 2005, I
received a message that states unable to connect.

Does anyone have an idea on how to do this? I'm fairly new to both
programs and inherited the project from someone else who wrote the
program.

Thank you for your help.
Aug 14 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Marino | last post by:
Hi all, I have a Windows 2003 server, which is also a terminal server for application, with sql 2000 installed. My company has developed an application that uses SQL 2000 as its database. The...
18
by: Jon Delano | last post by:
Hey all I am building a new computer. I have Windows XP Pro with SP2 and all the updates. I installed VS 2003. Then copied a project from my old computer to the new one. When I try and run...
5
by: Microsoft | last post by:
Hi, I have Visual Basic .net 2003 (Standard Edition) & SQL Server 2000 Developer Edition. When trying to create a connection in the server explorer from the .net IDE I get a number of problems;...
11
by: Neil | last post by:
We are running SQL 7, using Access 2000 as a front end. Our network person is wanting to migrate to Windows 2003 (we're currently on Windows 2000), and wants to know if we should migrate to SQL...
9
by: Neil | last post by:
We have an Access 2000 MDB with a SQL 7 back end. We are upgrading SQL Server to SQL 2005, and are considering upgrading to Access 2003. Someone mentioned that they had heard about some...
2
by: hfk0 | last post by:
Hi, I have a simple asp.net application running ok on my WinXP development server with SQL Server Express 2005 installed locally. After moving to the live server (Win 2000 server with MSDE 2000...
1
by: eisenb | last post by:
microsoft.public.dotnet.languages.vb.upgrade isn't getting much traffic, so I'll try here. Ours is a VB6 shop exploring .NET. First I wrote a new application with VB .NET 2003 to create a pdf...
5
by: Mitya Mitriev | last post by:
Hi I created ASP.NET 2.0 web application that uses SQL Server 2000 database and it works perfectly when website and Sql server were on local machine. Then I installed application on production...
4
by: Cindy H | last post by:
Hi I am currently using Visual Studio.Net 2003 running on Windows Server 2000 operating system. I have used Visual Studio.net 2003 connecting to Access 2002 databases in the pass with great...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.