473,587 Members | 2,324 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Riddle me this error ADODB.Recordset (0x800A0E7A)

This is a weird error, it seems if we reboot the web server, which is also
the SQL server, I get this error,

ADODB.Recordset (0x800A0E7A)
Provider cannot be found. It may not be properly installed.
/swvtc/CliDrAppts/detailDrAppts.a sp, line 31

Now line 31 of my asp page is the connection string, so there is nothing
that I can do to get my apps working again.

BUT! (it gets weird here)

If I get the network admin to navigate to this page, it shows it for them
and then after that it works like a charm. Any ideas what could be going
on?

Thanks,
Drew
Jul 21 '05 #1
8 5257
Can we see line 31?

Ray at work

"Drew" <dr********@NOs wvtc.dmhmrsas.v irginia.SPMgov> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
This is a weird error, it seems if we reboot the web server, which is also
the SQL server, I get this error,

ADODB.Recordset (0x800A0E7A)
Provider cannot be found. It may not be properly installed.
/swvtc/CliDrAppts/detailDrAppts.a sp, line 31

Now line 31 of my asp page is the connection string, so there is nothing
that I can do to get my apps working again.

BUT! (it gets weird here)

If I get the network admin to navigate to this page, it shows it for them
and then after that it works like a charm. Any ideas what could be going
on?

Thanks,
Drew

Jul 21 '05 #2
rsCliDrAppt.Act iveConnection = MM_CliDrAppts_S TRING

and MM_CliDrAppts_S TRING looks like this,

Dim MM_CliDrAppts_S TRING
MM_CliDrAppts_S TRING = "Provider=SQLOL EDB.1;Trusted_C onnection=Yes;D ata
Source=swvtc06; Initial Catalog=CliDrAp pts;"

It seems like it may be a permissions problem and it has only been doing
this since we upgraded our Primary DC from NT to 2000 (notice I say upgrade,
not a clean install).

Thanks,
Drew

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:uO******** ******@tk2msftn gp13.phx.gbl...
Can we see line 31?

Ray at work

"Drew" <dr********@NOs wvtc.dmhmrsas.v irginia.SPMgov> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
This is a weird error, it seems if we reboot the web server, which is
also the SQL server, I get this error,

ADODB.Recordset (0x800A0E7A)
Provider cannot be found. It may not be properly installed.
/swvtc/CliDrAppts/detailDrAppts.a sp, line 31

Now line 31 of my asp page is the connection string, so there is nothing
that I can do to get my apps working again.

BUT! (it gets weird here)

If I get the network admin to navigate to this page, it shows it for them
and then after that it works like a charm. Any ideas what could be going
on?

Thanks,
Drew


Jul 21 '05 #3
You're using a trusted connection, meaning it's going to pass the
credentials that the page is running under. Is that your intent? ASP apps
typically use a SQL login. So, if you are not authorized to that database
and your site authenticates you and connects as you, you will be denied
access. It makes sense that an admin wouldn't.

Ray at work

"Drew" <dr********@NOs wvtc.dmhmrsas.v irginia.SPMgov> wrote in message
news:eB******** ******@TK2MSFTN GP15.phx.gbl...
rsCliDrAppt.Act iveConnection = MM_CliDrAppts_S TRING

and MM_CliDrAppts_S TRING looks like this,

Dim MM_CliDrAppts_S TRING
MM_CliDrAppts_S TRING = "Provider=SQLOL EDB.1;Trusted_C onnection=Yes;D ata
Source=swvtc06; Initial Catalog=CliDrAp pts;"

It seems like it may be a permissions problem and it has only been doing
this since we upgraded our Primary DC from NT to 2000 (notice I say
upgrade, not a clean install).

Thanks,
Drew

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:uO******** ******@tk2msftn gp13.phx.gbl...
Can we see line 31?

Ray at work

"Drew" <dr********@NOs wvtc.dmhmrsas.v irginia.SPMgov> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
This is a weird error, it seems if we reboot the web server, which is
also the SQL server, I get this error,

ADODB.Recordset (0x800A0E7A)
Provider cannot be found. It may not be properly installed.
/swvtc/CliDrAppts/detailDrAppts.a sp, line 31

Now line 31 of my asp page is the connection string, so there is nothing
that I can do to get my apps working again.

BUT! (it gets weird here)

If I get the network admin to navigate to this page, it shows it for
them and then after that it works like a charm. Any ideas what could be
going on?

Thanks,
Drew



Jul 21 '05 #4
We are using Windows Integrated Auth. because this on an Intranet. I
thought the same thing, but it doesn't let anyone who doesn't have
permissions in.

Thanks,
Drew

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
You're using a trusted connection, meaning it's going to pass the
credentials that the page is running under. Is that your intent? ASP
apps typically use a SQL login. So, if you are not authorized to that
database and your site authenticates you and connects as you, you will be
denied access. It makes sense that an admin wouldn't.

Ray at work

"Drew" <dr********@NOs wvtc.dmhmrsas.v irginia.SPMgov> wrote in message
news:eB******** ******@TK2MSFTN GP15.phx.gbl...
rsCliDrAppt.Act iveConnection = MM_CliDrAppts_S TRING

and MM_CliDrAppts_S TRING looks like this,

Dim MM_CliDrAppts_S TRING
MM_CliDrAppts_S TRING = "Provider=SQLOL EDB.1;Trusted_C onnection=Yes;D ata
Source=swvtc06; Initial Catalog=CliDrAp pts;"

It seems like it may be a permissions problem and it has only been doing
this since we upgraded our Primary DC from NT to 2000 (notice I say
upgrade, not a clean install).

Thanks,
Drew

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:uO******** ******@tk2msftn gp13.phx.gbl...
Can we see line 31?

Ray at work

"Drew" <dr********@NOs wvtc.dmhmrsas.v irginia.SPMgov> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
This is a weird error, it seems if we reboot the web server, which is
also the SQL server, I get this error,

ADODB.Recordset (0x800A0E7A)
Provider cannot be found. It may not be properly installed.
/swvtc/CliDrAppts/detailDrAppts.a sp, line 31

Now line 31 of my asp page is the connection string, so there is
nothing that I can do to get my apps working again.

BUT! (it gets weird here)

If I get the network admin to navigate to this page, it shows it for
them and then after that it works like a charm. Any ideas what could
be going on?

Thanks,
Drew



Jul 21 '05 #5
Authenticating your users is fine, but when you're doing that, yes, it will
not let anyone in who doesn't have permissions, well, since, that's what
permissions are used for.

Are you saying that people who ARE authorized also cannot connect?

Does SQL Server need to know who is accessing your intranet? I use
integrated authentication all over my intranet, but I've yet to have the
need to pass that person's credentials for SQL login purposes.

Ray at work
"Drew" <dr********@NOs wvtc.dmhmrsas.v irginia.SPMgov> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
We are using Windows Integrated Auth. because this on an Intranet. I
thought the same thing, but it doesn't let anyone who doesn't have
permissions in.

Thanks,
Drew

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
You're using a trusted connection, meaning it's going to pass the
credentials that the page is running under. Is that your intent? ASP
apps typically use a SQL login. So, if you are not authorized to that
database and your site authenticates you and connects as you, you will be
denied access. It makes sense that an admin wouldn't.

Ray at work

"Drew" <dr********@NOs wvtc.dmhmrsas.v irginia.SPMgov> w

Jul 21 '05 #6
I think it's also important to point out that if you ever separate SQL and
IIS onto two different servers, I believe that your authentication to the
SQL Server will always fail. I'm not familiar with all of the technical
details of how kerberos tickets are created and all that, but I do know that
you cannot "daisychain " authentication from the browser to the IIS server to
a third resource when using integrated authentication. I believe that you
need to use basic authentication then so that a kerberos ticket is created,
which would then be sent along to the third hop.

Ray at work

"Drew" <dr********@NOs wvtc.dmhmrsas.v irginia.SPMgov> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
We are using Windows Integrated Auth. because this on an Intranet. I
thought the same thing, but it doesn't let anyone who doesn't have
permissions in.


Jul 21 '05 #7
All of my connections use the trusted connection. I'm not even sure why,
but I know that when the server is rebooted, no one can use any of the apps
on the intranet. The intranet itself is fine, but when a users goes to an
app, like Fiscal, to add or change an Employee, this page shows the no
provider error. This happens until an admin navigates to one of the apps,
and then after that everything works fine.

Maybe I do need to change the connection strings. For instance, what do
your connection strings look like?

Thanks,
Drew

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:uC******** ******@TK2MSFTN GP14.phx.gbl...
Authenticating your users is fine, but when you're doing that, yes, it
will not let anyone in who doesn't have permissions, well, since, that's
what permissions are used for.

Are you saying that people who ARE authorized also cannot connect?

Does SQL Server need to know who is accessing your intranet? I use
integrated authentication all over my intranet, but I've yet to have the
need to pass that person's credentials for SQL login purposes.

Ray at work
"Drew" <dr********@NOs wvtc.dmhmrsas.v irginia.SPMgov> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
We are using Windows Integrated Auth. because this on an Intranet. I
thought the same thing, but it doesn't let anyone who doesn't have
permissions in.

Thanks,
Drew

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
You're using a trusted connection, meaning it's going to pass the
credentials that the page is running under. Is that your intent? ASP
apps typically use a SQL login. So, if you are not authorized to that
database and your site authenticates you and connects as you, you will
be denied access. It makes sense that an admin wouldn't.

Ray at work

"Drew" <dr********@NOs wvtc.dmhmrsas.v irginia.SPMgov> w


Jul 21 '05 #8
Don't use a trusted connection from a web app. It also defeats connection
pooling

Jeff
"Drew" <dr********@NOs wvtc.dmhmrsas.v irginia.SPMgov> wrote in message
news:#q******** ******@TK2MSFTN GP11.phx.gbl...
All of my connections use the trusted connection. I'm not even sure why,
but I know that when the server is rebooted, no one can use any of the apps on the intranet. The intranet itself is fine, but when a users goes to an
app, like Fiscal, to add or change an Employee, this page shows the no
provider error. This happens until an admin navigates to one of the apps,
and then after that everything works fine.

Maybe I do need to change the connection strings. For instance, what do
your connection strings look like?

Thanks,
Drew

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:uC******** ******@TK2MSFTN GP14.phx.gbl...
Authenticating your users is fine, but when you're doing that, yes, it
will not let anyone in who doesn't have permissions, well, since, that's
what permissions are used for.

Are you saying that people who ARE authorized also cannot connect?

Does SQL Server need to know who is accessing your intranet? I use
integrated authentication all over my intranet, but I've yet to have the
need to pass that person's credentials for SQL login purposes.

Ray at work
"Drew" <dr********@NOs wvtc.dmhmrsas.v irginia.SPMgov> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
We are using Windows Integrated Auth. because this on an Intranet. I
thought the same thing, but it doesn't let anyone who doesn't have
permissions in.

Thanks,
Drew

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
You're using a trusted connection, meaning it's going to pass the
credentials that the page is running under. Is that your intent? ASP
apps typically use a SQL login. So, if you are not authorized to that
database and your site authenticates you and connects as you, you will
be denied access. It makes sense that an admin wouldn't.

Ray at work

"Drew" <dr********@NOs wvtc.dmhmrsas.v irginia.SPMgov> w



Jul 21 '05 #9

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

Similar topics

1
2715
by: Mark | last post by:
Hi - Can anyone please help with the error message below - server is XP Pro, and the ASP code it is failing at is (set MM_rsUser.ActiveConnection... as below): <% MM_valUsername=CStr(Request.Form("username")) If MM_valUsername <> "" Then MM_redirectLoginSuccess="fixit_ebase.asp" MM_redirectLoginFailed="fixit_login.asp?failed=yes"...
1
2492
by: Koen | last post by:
Hi all, I created a little database to manage my e-books. The program will synchronize a table with the contents of a directory. Works great. Because I keep additional info (like keywords) to the created records in the database and I don't want to lose all that info when I rename a file and synchronise, I've added some code to the...
4
6698
by: Jack | last post by:
Hi, I am trying to run an example code from a book. However I am getting the following error message: Number: -2147217900 Description: Syntax error or access violation Source: Microsoft OLE DB Provider for SQL Server SQLState: 42000
47
1924
by: Lauren Wilson | last post by:
One more try. After ransacking the Desktop AND Enterprise edition of Ken Getz Dev Handbooks on Access 2002, I STILL don't know if it is or is not possible to link a client side MDE with a WEB server MDB table using ADO. Does ANYONE know the correct answer to that question?
0
1554
by: raminator | last post by:
Microsoft VBScript runtime error '800a01a8' Object required: 'rs2' /login/login.asp, line 233 ------------------------------------------------------------------------------------- I get the error above when I try to log in. The following code is the code through the process. Step 1:
7
31412
by: ruvi | last post by:
I am getting runtime error 3021 - Either EOF or BOF is true or the current record has been deleted..... I have 2 combo boxes in a form- One for the client and the other for the project. When the form loads, the client combo box gets populated with all the clients. When a particular client is clicked, the project combo box gets populated with...
1
1633
by: rn5a | last post by:
I want an ASP app to retrieve records from a MS-Access database table but display them in a HTML table but I want the HTML table table to display only 7 records in a row (<tr>...</tr>) in 7 different cells (<td>...</td>). In other words, if there are 14 records in the DB table, the HTML table should display the 14 records in 2 rows - the 1st...
1
1190
by: lxxslay3rxxl | last post by:
Let's say I haf 3 project that I wan to list, each project should have 1 value assign to it, but if i remove 1 of the value for 1 of the project, and i tried to list all 3 projects, I get this error: Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record. This is my code: <% call...
0
1901
by: bssandeshbs | last post by:
I am developing a Address Book Database Project using Visual Basic 6... When i click the delete button the data does'nt get deleted in the FrontEnd ..But it gets deleted in Database when we see in Access... When i try to delete again in VB front End it gives a Error message and it gets RUN time Error 3021 Either BOF or EOF is true,or...
0
7918
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...
0
7843
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8340
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...
0
8220
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...
1
5713
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5392
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3875
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2353
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
0
1185
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...

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.