473,399 Members | 3,302 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

vbexpress and sql2000

HI all,

I downloaded vbexpress and am trying to connect to my sql 2000 server, but
keep on getting this error messag:
"An error occured while establishing a conenction to the server. When
connecting to SQL server 2005, this failure may be caused by the fact that
under the default settings SQL server does not allow remote connections"

My sqlserver2000 is running. I can connect to it via VS2003, and via dBASE.
So I know its workin.
Downloaded SQLEXPRESS and reied to install, but never saw any changes
Does VBexpress only work with SQLexpress.
When installing SQLexpress, will it install a seperate instance to an
existing sql2000 instalation.

Thanks
Robert
Jan 15 '06 #1
12 1323
Hi,

Frpm the vb express readme file.

1.3.13 SQL Server Express is the only version of SQL Server that will work
with Express Editions other than Visual Web Developer Express Edition.

SQL Server Express is the only version of SQL Server that will work with
Visual Basic 2005 Express Edition, Visual C++ 2005 Express Edition, Visual C#
2005 Express Edition, and Visual J# 2005 Express Edition.

To resolve this issue

If you did not specify SQL Server Express when you installed your Express
Edition, you can install it by using Add or Remove Programs in the Windows
Control Panel.

http://msdn.microsoft.com/vstudio/ex...t/readme/#exvb

Ken
---------------------

"Robert Bravery" wrote:
HI all,

I downloaded vbexpress and am trying to connect to my sql 2000 server, but
keep on getting this error messag:
"An error occured while establishing a conenction to the server. When
connecting to SQL server 2005, this failure may be caused by the fact that
under the default settings SQL server does not allow remote connections"

My sqlserver2000 is running. I can connect to it via VS2003, and via dBASE.
So I know its workin.
Downloaded SQLEXPRESS and reied to install, but never saw any changes
Does VBexpress only work with SQLexpress.
When installing SQLexpress, will it install a seperate instance to an
existing sql2000 instalation.

Thanks
Robert

Jan 15 '06 #2
HI Ken,

I did run the install of SQLserverExpress. it installed, but does not seem
to be running. Altho my SQL2000 is still running.
My question is can you have SQL2000 and SQLExpress running on the same PC,
in order to evaluate and use VBexpress. If you cant, then it is of no use to
me because I cannot uninstall my sqlserver, on my development PC
If you can have bot sql server versions running, How then?

Thanks
Robert

"Ken Tucker [MVP]" <Ke**********@discussions.microsoft.com> wrote in message
news:BA**********************************@microsof t.com...
Hi,

Frpm the vb express readme file.

1.3.13 SQL Server Express is the only version of SQL Server that will work
with Express Editions other than Visual Web Developer Express Edition.

SQL Server Express is the only version of SQL Server that will work with
Visual Basic 2005 Express Edition, Visual C++ 2005 Express Edition, Visual C# 2005 Express Edition, and Visual J# 2005 Express Edition.

To resolve this issue

If you did not specify SQL Server Express when you installed your Express
Edition, you can install it by using Add or Remove Programs in the Windows
Control Panel.

http://msdn.microsoft.com/vstudio/ex...t/readme/#exvb

Ken
---------------------

"Robert Bravery" wrote:
HI all,

I downloaded vbexpress and am trying to connect to my sql 2000 server, but keep on getting this error messag:
"An error occured while establishing a conenction to the server. When
connecting to SQL server 2005, this failure may be caused by the fact that under the default settings SQL server does not allow remote connections"

My sqlserver2000 is running. I can connect to it via VS2003, and via dBASE. So I know its workin.
Downloaded SQLEXPRESS and reied to install, but never saw any changes
Does VBexpress only work with SQLexpress.
When installing SQLexpress, will it install a seperate instance to an
existing sql2000 instalation.

Thanks
Robert

Jan 15 '06 #3
HI,

From this I gather that any of the express packages cannot connect to other
database servers, like oracle, Interbase, Firebird, MySQ etc

Robert

"Ken Tucker [MVP]" <Ke**********@discussions.microsoft.com> wrote in message
news:BA**********************************@microsof t.com...
Hi,

Frpm the vb express readme file.

1.3.13 SQL Server Express is the only version of SQL Server that will work
with Express Editions other than Visual Web Developer Express Edition.

SQL Server Express is the only version of SQL Server that will work with
Visual Basic 2005 Express Edition, Visual C++ 2005 Express Edition, Visual C# 2005 Express Edition, and Visual J# 2005 Express Edition.

To resolve this issue

If you did not specify SQL Server Express when you installed your Express
Edition, you can install it by using Add or Remove Programs in the Windows
Control Panel.

http://msdn.microsoft.com/vstudio/ex...t/readme/#exvb

Ken
---------------------

"Robert Bravery" wrote:
HI all,

I downloaded vbexpress and am trying to connect to my sql 2000 server, but keep on getting this error messag:
"An error occured while establishing a conenction to the server. When
connecting to SQL server 2005, this failure may be caused by the fact that under the default settings SQL server does not allow remote connections"

My sqlserver2000 is running. I can connect to it via VS2003, and via dBASE. So I know its workin.
Downloaded SQLEXPRESS and reied to install, but never saw any changes
Does VBexpress only work with SQLexpress.
When installing SQLexpress, will it install a seperate instance to an
existing sql2000 instalation.

Thanks
Robert

Jan 15 '06 #4

"Robert Bravery" <me@u.com> wrote in message
news:e4**************@TK2MSFTNGP10.phx.gbl...
From this I gather that any of the express packages cannot connect to
other
database servers, like oracle, Interbase, Firebird, MySQ etc


Seems odd considering all of the translation layers from the app to the DB
but I believe you.

Jan 15 '06 #5
Hi,

I remember reading some was able to connect to an sql server 2000
with the oledb classes. I cant seam to find the link right now.

Ken
----------------
"Robert Bravery" <me@u.com> wrote in message
news:e4**************@TK2MSFTNGP10.phx.gbl...
HI,

From this I gather that any of the express packages cannot connect to
other
database servers, like oracle, Interbase, Firebird, MySQ etc

Robert

"Ken Tucker [MVP]" <Ke**********@discussions.microsoft.com> wrote in
message
news:BA**********************************@microsof t.com...
Hi,

Frpm the vb express readme file.

1.3.13 SQL Server Express is the only version of SQL Server that will
work
with Express Editions other than Visual Web Developer Express Edition.

SQL Server Express is the only version of SQL Server that will work with
Visual Basic 2005 Express Edition, Visual C++ 2005 Express Edition,
Visual

C#
2005 Express Edition, and Visual J# 2005 Express Edition.

To resolve this issue

If you did not specify SQL Server Express when you installed your Express
Edition, you can install it by using Add or Remove Programs in the
Windows
Control Panel.

http://msdn.microsoft.com/vstudio/ex...t/readme/#exvb

Ken
---------------------

"Robert Bravery" wrote:
> HI all,
>
> I downloaded vbexpress and am trying to connect to my sql 2000 server, but > keep on getting this error messag:
> "An error occured while establishing a conenction to the server. When
> connecting to SQL server 2005, this failure may be caused by the fact that > under the default settings SQL server does not allow remote
> connections"
>
> My sqlserver2000 is running. I can connect to it via VS2003, and via dBASE. > So I know its workin.
> Downloaded SQLEXPRESS and reied to install, but never saw any changes
> Does VBexpress only work with SQLexpress.
> When installing SQLexpress, will it install a seperate instance to an
> existing sql2000 instalation.
>
> Thanks
> Robert
>
>
>


Jan 16 '06 #6

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi,

I remember reading some was able to connect to an sql server 2000
with the oledb classes. I cant seam to find the link right now.


Any thoughts on JET connectivity?

H
Jan 16 '06 #7
VB Express connects just fine to Jet. I am developing a commercial level
software in it right now and using Jet database.

Regards
Cyril
Jan 16 '06 #8

"Cyril Gupta" <no****@mail.com> wrote in message
news:u8**************@TK2MSFTNGP14.phx.gbl...
VB Express connects just fine to Jet. I am developing a commercial level
software in it right now and using Jet database.


That's good to know!

Jan 16 '06 #9
Well I was able to connect to Access, I gather throu Jet

Robert

"Homer J Simpson" <no****@nowhere.com> wrote in message
news:5YByf.83917$AP5.4301@edtnps84...

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi,

I remember reading some was able to connect to an sql server 2000
with the oledb classes. I cant seam to find the link right now.


Any thoughts on JET connectivity?

H

Jan 16 '06 #10
If you do, let me know

Thanks
Robert

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi,

I remember reading some was able to connect to an sql server 2000
with the oledb classes. I cant seam to find the link right now.

Ken
----------------
"Robert Bravery" <me@u.com> wrote in message
news:e4**************@TK2MSFTNGP10.phx.gbl...
HI,

From this I gather that any of the express packages cannot connect to
other
database servers, like oracle, Interbase, Firebird, MySQ etc

Robert

"Ken Tucker [MVP]" <Ke**********@discussions.microsoft.com> wrote in
message
news:BA**********************************@microsof t.com...
Hi,

Frpm the vb express readme file.

1.3.13 SQL Server Express is the only version of SQL Server that will
work
with Express Editions other than Visual Web Developer Express Edition.

SQL Server Express is the only version of SQL Server that will work with Visual Basic 2005 Express Edition, Visual C++ 2005 Express Edition,
Visual

C#
2005 Express Edition, and Visual J# 2005 Express Edition.

To resolve this issue

If you did not specify SQL Server Express when you installed your Express Edition, you can install it by using Add or Remove Programs in the
Windows
Control Panel.

http://msdn.microsoft.com/vstudio/ex...t/readme/#exvb

Ken
---------------------

"Robert Bravery" wrote:

> HI all,
>
> I downloaded vbexpress and am trying to connect to my sql 2000 server,
but
> keep on getting this error messag:
> "An error occured while establishing a conenction to the server.

When > connecting to SQL server 2005, this failure may be caused by the fact

that
> under the default settings SQL server does not allow remote
> connections"
>
> My sqlserver2000 is running. I can connect to it via VS2003, and via

dBASE.
> So I know its workin.
> Downloaded SQLEXPRESS and reied to install, but never saw any changes
> Does VBexpress only work with SQLexpress.
> When installing SQLexpress, will it install a seperate instance to an
> existing sql2000 instalation.
>
> Thanks
> Robert
>
>
>



Jan 16 '06 #11
hre
Yes, you can run both on the same PC.

"Robert Bravery" <me@u.com>, haber iletisinde şunları
yazdı:eo**************@TK2MSFTNGP11.phx.gbl...
HI Ken,

I did run the install of SQLserverExpress. it installed, but does not seem
to be running. Altho my SQL2000 is still running.
My question is can you have SQL2000 and SQLExpress running on the same PC,
in order to evaluate and use VBexpress. If you cant, then it is of no use
to
me because I cannot uninstall my sqlserver, on my development PC
If you can have bot sql server versions running, How then?

Thanks
Robert

"Ken Tucker [MVP]" <Ke**********@discussions.microsoft.com> wrote in
message
news:BA**********************************@microsof t.com...
Hi,

Frpm the vb express readme file.

1.3.13 SQL Server Express is the only version of SQL Server that will
work
with Express Editions other than Visual Web Developer Express Edition.

SQL Server Express is the only version of SQL Server that will work with
Visual Basic 2005 Express Edition, Visual C++ 2005 Express Edition,
Visual

C#
2005 Express Edition, and Visual J# 2005 Express Edition.

To resolve this issue

If you did not specify SQL Server Express when you installed your Express
Edition, you can install it by using Add or Remove Programs in the
Windows
Control Panel.

http://msdn.microsoft.com/vstudio/ex...t/readme/#exvb

Ken
---------------------

"Robert Bravery" wrote:
> HI all,
>
> I downloaded vbexpress and am trying to connect to my sql 2000 server, but > keep on getting this error messag:
> "An error occured while establishing a conenction to the server. When
> connecting to SQL server 2005, this failure may be caused by the fact that > under the default settings SQL server does not allow remote
> connections"
>
> My sqlserver2000 is running. I can connect to it via VS2003, and via dBASE. > So I know its workin.
> Downloaded SQLEXPRESS and reied to install, but never saw any changes
> Does VBexpress only work with SQLexpress.
> When installing SQLexpress, will it install a seperate instance to an
> existing sql2000 instalation.
>
> Thanks
> Robert
>
>
>


Jan 16 '06 #12
On Mon, 16 Jan 2006 09:19:33 +0200, "Robert Bravery" <me@u.com> wrote:

¤ If you do, let me know
¤

Dim DatabaseConnection As New System.Data.OleDb.OleDbConnection

'Standard Security
DatabaseConnection.ConnectionString = "Provider=sqloledb;" & _
"Data Source=myServerName;" & _
"Initial Catalog=myDatabaseName;" & _
"User Id=myUsername;" & _
"Password=myPassword"

'Trusted connection
DatabaseConnection.ConnectionString = "Provider=sqloledb;" & _
"Data Source=myServerName;" & _
"Initial Catalog=myDatabaseName;" & _
"Integrated Security=SSPI"

'Named instance
DatabaseConnection.ConnectionString = "Provider=sqloledb;" & _
"Data Source=myServerName\myInstanceName;" & _
"Initial Catalog=myDatabaseName;" & _
"User Id=myUsername;" & _
"Password=myPassword"

DatabaseConnection.Open()
Paul
~~~~
Microsoft MVP (Visual Basic)
Jan 17 '06 #13

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

Similar topics

1
by: LizP | last post by:
Hi, guys - looking for a bit of help/advice on moving a database from SQL 7 to SQL 2000. We've a third party application which currently uses a SQL7 database. This database has a number of views...
2
by: Al_C | last post by:
Not happy about this, but just saw a note on another forum that VBExpress/.net2.0 does not run on WIN98SE. Can anyone please help me sleep better tonight. Otherwise I need to change dioections...
2
by: PointMan | last post by:
i make a project in vs2005 that use ASPNETDB.MDF and use <asp:LoginView ID="LoginView1" runat="server" > server control for vs2005 in this case , i'd like to use hosting service but this...
0
by: basuritta | last post by:
I am trying to add a SQL2000 subscriptor to a SQL2005 publisher and distributor using the Management Studio. I'm using a non-standard port in both ends, but I have set the port for the TCP/IP...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.