473,738 Members | 11,146 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5838
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.goo glegroups.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.goo glegroups.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
2390
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 application is a client/server one. In each client computer there's a link to the application on the server. There is no problem with Windows 98, Windows 2000 pro, Windows xp pro clients, but the windows 95 ones cannot log in to the database. The...
18
1995
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 the project .. it errors out saying it "sql server does not exist or access denied"
5
3812
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; a.. Under the "Connection" tab, under "1. Select or enter a server name:" when I either select the drop down box or click the refresh button I get an error dialog saying "Error enumerating data servers. Enumerator reports Unspecified error'". The...
11
2264
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 2003 at the same time. Are there major changes between SQL 7 and SQL 2003, and how hard of a task would it be to migrate our single database to a new version of SQL? Thanks, Neil
9
4971
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 incompatibilities between Access 2003 and SQL Server 2005. Anyone hear of anything? And, if so, would staying with Access 2000 be better? Thanks! Neil
2
4227
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 installed locally), it's giving me the 'SQL Network Interface Error (error 25): connection string is not valid'. So far, i've tried using the following connection string in my web.config file:
1
1624
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 Crystal Report from a SQL Server 2000 table. I followed advice from the MSDN article "Add Professional Quality Reports to Your Application with Visual Studio .NET" (http://msdn.microsoft.com/msdnmag/issues/02/05/Crystal/), and it
5
8522
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 server. Database is placed on another server. I received the error: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings...
4
3153
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 success. Now, I have a need to go to Access 2007 which produces database.accdb file instead of database.mdb. I've used ole db Jet 4.0 to connect to Access 2002 in Visual Studio.Net 2003, now I guess you need to use Microsoft Ace 12.0 to make a...
0
8969
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9476
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9335
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9263
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9208
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4825
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3279
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2745
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.