473,396 Members | 2,036 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,396 software developers and data experts.

provider cannot be found

I am trying to connect to my Sql Server 2000 database from my VS 2003
program and get the "provider cannot be found" when I try to connect to the
database. It sees the Server fine but when I tell it to connect using the
Windows NT Integrated Security it gives me the message.

What would cause that?

Thanks,

Tom
Apr 18 '07 #1
5 4214
uh probably the fact that NT (integrated) security for SQL Server is
'too buggy for real world use'

and MS is too busy making bloatware to fix real problems in SQL Server
authentication

M$ needs to stop playing Xbox and start taking databases seriously
_SERIOUSLY_

On Apr 17, 6:47 pm, "tshad" <t...@home.comwrote:
I am trying to connect to my Sql Server 2000 database from my VS 2003
program and get the "provider cannot be found" when I try to connect to the
database. It sees the Server fine but when I tell it to connect using the
Windows NT Integrated Security it gives me the message.

What would cause that?

Thanks,

Tom

Apr 18 '07 #2
First, ignore dbahooker; he's a troll.

Second, does your SQLServer have both Windows Security and SQLServer
security enabled?

Robin S.
---------------------
"tshad" <t@home.comwrote in message
news:%2******************@TK2MSFTNGP02.phx.gbl...
>I am trying to connect to my Sql Server 2000 database from my VS 2003
program and get the "provider cannot be found" when I try to connect to
the database. It sees the Server fine but when I tell it to connect using
the Windows NT Integrated Security it gives me the message.

What would cause that?

Thanks,

Tom

Apr 18 '07 #3
stfu girl

Microsoft needs to drop the Xbox and start taking DATABASES SERIOUSLY

fuck .NET and fuck XML

Microsoft needs to put a lot more effort into the database world.

ADO.net sucks balls compared to ADO classic

On Apr 17, 11:46 pm, "RobinS" <Rob...@NoSpam.yah.nonewrote:
First, ignore dbahooker; he's a troll.

Second, does your SQLServer have both Windows Security and SQLServer
security enabled?

Robin S.
---------------------"tshad" <t...@home.comwrote in message

news:%2******************@TK2MSFTNGP02.phx.gbl...
I am trying to connect to my Sql Server 2000 database from my VS 2003
program and get the "provider cannot be found" when I try to connect to
the database. It sees the Server fine but when I tell it to connect using
the Windows NT Integrated Security it gives me the message.
What would cause that?
Thanks,
Tom- Hide quoted text -

- Show quoted text -

Apr 18 '07 #4
"RobinS" <Ro****@NoSpam.yah.nonewrote in message
news:ZP******************************@comcast.com. ..
First, ignore dbahooker; he's a troll.
Huh?
Second, does your SQLServer have both Windows Security and SQLServer
security enabled?
Yes, I do. And my websites and applications have no problem. Here is a
piece of code using VS 2003 that works fine:

Dim sTemp As String
Dim iTemp As Integer
Dim dbReader As SqlDataReader
Dim ConnectionString As String = _
"Persist Security Info=False;Data Source=Server;Initial Catalog=ft;User
ID=xxx;Password=yyyy;"
Dim objConn As New SqlConnection(ConnectionString)
Dim CommandText As String = "AddEmployees"
Dim objCmd As New SqlCommand(CommandText, objConn)
objCmd.CommandType = CommandType.StoredProcedure
objConn.Open()

Not sure what it means when it says provider cannot be found. The Server
Explorer Pane shows the Server, the Services that are running and the Sql
Server but shows it with a red X.

Thanks,

Tom
>
Robin S.
---------------------
"tshad" <t@home.comwrote in message
news:%2******************@TK2MSFTNGP02.phx.gbl...
>>I am trying to connect to my Sql Server 2000 database from my VS 2003
program and get the "provider cannot be found" when I try to connect to
the database. It sees the Server fine but when I tell it to connect using
the Windows NT Integrated Security it gives me the message.

What would cause that?

Thanks,

Tom


Apr 24 '07 #5

"tshad" <t@home.comwrote in message
news:OP****************@TK2MSFTNGP02.phx.gbl...
"RobinS" <Ro****@NoSpam.yah.nonewrote in message
news:ZP******************************@comcast.com. ..
>First, ignore dbahooker; he's a troll.
Huh?
dbahooker responded to your post. He has a bunch of aliases (susiedba,
todos menos, larry linson (jr), aaron kempf, to start with), and is a known
troll in this group.

http://en.wikipedia.org/wiki/Internet_troll
>Second, does your SQLServer have both Windows Security and SQLServer
security enabled?

Yes, I do. And my websites and applications have no problem. Here is a
piece of code using VS 2003 that works fine:

Dim sTemp As String
Dim iTemp As Integer
Dim dbReader As SqlDataReader
Dim ConnectionString As String = _
"Persist Security Info=False;Data Source=Server;Initial Catalog=ft;User
ID=xxx;Password=yyyy;"

If you are using Windows Integrated security, this should look more like
this:

Data Source=sqlservername;Initial Catalog=ft;Integrated Security=True

The connection string you are using is for SQLServer security. Maybe that's
the problem.
Dim objConn As New SqlConnection(ConnectionString)
Dim CommandText As String = "AddEmployees"
Dim objCmd As New SqlCommand(CommandText, objConn)
objCmd.CommandType = CommandType.StoredProcedure
objConn.Open()

Not sure what it means when it says provider cannot be found. The Server
Explorer Pane shows the Server, the Services that are running and the Sql
Server but shows it with a red X.

Thanks,

Tom

I used to get "provider cannot be found" when I was running against Access,
and I didn't have the MDAC components installed. I'm assuming you are
including references to the appropriate .Net components, System.Data, and
maybe System.Data.SqlClient?

Robin S.

Apr 24 '07 #6

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

Similar topics

5
by: Geert-Pieter Hof | last post by:
Hello, My VB application read and writes data from and to a MS Excel workbook, using the Microsoft.Jet.OLEDB.4.0 provider. I have installed the MS ActiveX Data Object 2.0 Library on my computer...
1
by: Randy Harris | last post by:
I'm trying to get Access 2000 to connect to Oracle using the OraOLEDB.Oracle provider. When I try to connect I get the message: "Provider cannot be found. It may not be installed properly." I...
0
by: cgraham | last post by:
Hi, I have just upgraded our terminal server to Win 2003 Enterprise Ed on a new Dell server from an older model running Win 2003 Standard Ed. The DB2 client we are using is 7.1, Fixpak 14 and all...
0
by: Ivan Pequeño | last post by:
Visual Net cannot found the source code Do you wish to activate the assembler window ? Context Windows Xp-Pro Sp 2 Visual Studio Net 2 Programing Windows.Form Accidentally, I think I have...
1
by: gaya | last post by:
HI all, I have a intranet which runs in SQL server 2000 and uses DBAMGR in the front end..I have a connection string that connects to our ERP system sql provider is SQLOLEDB... the intranet is...
2
by: Claudia Fong | last post by:
I got this error after creating the virtual directory The page cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable....
0
by: lyle fairfield | last post by:
For several years the ADO Provider for Internet Publishing has been available in Access for putting files on IIS websites and retrieving them. Public Sub TestADOInternetPublishingProvider() Dim...
0
by: Parimaladevi | last post by:
hi , i m getting the following error when viewing a report using Reporting service in silverlight application. i m using iis 7.any one used reporting service means tell me why this error is thrown...
10
by: GLSmyth | last post by:
I got a new Windows 7 box and am having troubles getting ASP to connect to the database. I have read about this error and it sounds like I need to download and install something but just do not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
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,...

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.