473,383 Members | 1,840 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,383 software developers and data experts.

"the data provider or other service returned an E_FAIL status"!?!?! WT-???

Bob
I'm running sql server ver 7.0 SP4.

I have an access project (.adp) that runs a view which is nothing more
than a select statement. Access locks up solid when I try to run this
query - with NO error messages what-so-ever.

If I sign onto the server, and run the view from enterprise manager - I
get:
"the data provider or other service returned an E_FAIL status" !?!?!
There is NO ERROR number, or further explanation of the message!!

Now - this query DID work last week - all of a sudden I get this error
- I've:
1) repaired / compacted this database
2) rebooted the server
3) spent several hours searching websites & groups for an explanation
a) I don't care how useless some people think enterprise manager is -
at least it gave me SOME kind of error; where access just locks up!
b) There are no issues with null values, or problem date fields
anywhere in these tables.
4) tried MANY variations on the query, and am now more confused than
ever.
5) I've RUN THIS QUERY IN AN ACCESS MDB WITH LINKS TO THE SQL SERVER -
AND IT WORKS!?!?!?!?

The query I'm using follows; if I remove ONE field from the select
statement - this query RUNS!!!
It doesn't matter what field I remove! It's as if, I can only have so
many fields in the select statement!?!?!?
This is clearly ridiculous since the query ran fine last week with the
same number of fields, not that
that should have anything to do with this, as sql shouldn't care how
many fields I request.
I'm not actually requesting any fields in the last table - but if I
remove this table it works!? If I leave this table, and select fields
from it, but remove another table - again it works!

So my questions:
1) What [T-] is going on here?
2) Why would an mdb be able to run a query that an adp can not!?!?
3) When will microsoft ever release a product that provides useful
error messages?

I really don't expect an answer to #3, because I know the answer is
NEVER - microsoft doesn't want to make solving problems easy.

Here's the query I'm using:

SELECT codes.proj_id, answers.report_date,
answers.release_date, answers.notes,
answers.answer_date, answers.answer_person,
answers.answer, answers.answer_status,
answers.answer_person2, codes.cust_id
FROM dbo.codes LEFT OUTER JOIN
dbo.demos ON
dbo.codes.code = dbo.demos.code LEFT OUTER JOIN
dbo.answers ON dbo.codes.code = dbo.answers.code
any help appreciated - TIA
Bob

Oct 16 '06 #1
2 13736
Bob;

I love ADP.. I use them every single day

all views are 'just select statements'

My gut says that you have simple cartesianing

I would change from LEFT OUTER JOIN to INNER JOIN and make sure that
the results you get are similar to what you want.

and then I would evaluate whether you are missing another join
statement.

BTW; MDB sucks balls spit on anyone that uses it for anything.


SELECT codes.proj_id, answers.report_date,
answers.release_date, answers.notes,
answers.answer_date, answers.answer_person,
answers.answer, answers.answer_status,
answers.answer_person2, codes.cust_id
FROM dbo.codes LEFT OUTER JOIN
dbo.demos ON
dbo.codes.code = dbo.demos.code LEFT OUTER JOIN
dbo.answers ON dbo.codes.code = dbo.answers.code

Bob wrote:
I'm running sql server ver 7.0 SP4.

I have an access project (.adp) that runs a view which is nothing more
than a select statement. Access locks up solid when I try to run this
query - with NO error messages what-so-ever.

If I sign onto the server, and run the view from enterprise manager - I
get:
"the data provider or other service returned an E_FAIL status" !?!?!
There is NO ERROR number, or further explanation of the message!!

Now - this query DID work last week - all of a sudden I get this error
- I've:
1) repaired / compacted this database
2) rebooted the server
3) spent several hours searching websites & groups for an explanation
a) I don't care how useless some people think enterprise manager is -
at least it gave me SOME kind of error; where access just locks up!
b) There are no issues with null values, or problem date fields
anywhere in these tables.
4) tried MANY variations on the query, and am now more confused than
ever.
5) I've RUN THIS QUERY IN AN ACCESS MDB WITH LINKS TO THE SQL SERVER -
AND IT WORKS!?!?!?!?

The query I'm using follows; if I remove ONE field from the select
statement - this query RUNS!!!
It doesn't matter what field I remove! It's as if, I can only have so
many fields in the select statement!?!?!?
This is clearly ridiculous since the query ran fine last week with the
same number of fields, not that
that should have anything to do with this, as sql shouldn't care how
many fields I request.
I'm not actually requesting any fields in the last table - but if I
remove this table it works!? If I leave this table, and select fields
from it, but remove another table - again it works!

So my questions:
1) What [T-] is going on here?
2) Why would an mdb be able to run a query that an adp can not!?!?
3) When will microsoft ever release a product that provides useful
error messages?

I really don't expect an answer to #3, because I know the answer is
NEVER - microsoft doesn't want to make solving problems easy.

Here's the query I'm using:

SELECT codes.proj_id, answers.report_date,
answers.release_date, answers.notes,
answers.answer_date, answers.answer_person,
answers.answer, answers.answer_status,
answers.answer_person2, codes.cust_id
FROM dbo.codes LEFT OUTER JOIN
dbo.demos ON
dbo.codes.code = dbo.demos.code LEFT OUTER JOIN
dbo.answers ON dbo.codes.code = dbo.answers.code
any help appreciated - TIA
Bob
Oct 24 '06 #2
Bob
Aaron-

TX much for your reply!

interesting suggestion - I didn't think of that - I'll give it a try.

as for mdb ball sucking - you're preaching to the choir!!!
I had simply used up everything else I could think of, and decided to
try it diagnostically - with surprising results!

aa*********@gmail.com wrote:
Bob;

I love ADP.. I use them every single day

all views are 'just select statements'

My gut says that you have simple cartesianing

I would change from LEFT OUTER JOIN to INNER JOIN and make sure that
the results you get are similar to what you want.

and then I would evaluate whether you are missing another join
statement.

BTW; MDB sucks balls spit on anyone that uses it for anything.


SELECT codes.proj_id, answers.report_date,
answers.release_date, answers.notes,
answers.answer_date, answers.answer_person,
answers.answer, answers.answer_status,
answers.answer_person2, codes.cust_id
FROM dbo.codes LEFT OUTER JOIN
dbo.demos ON
dbo.codes.code = dbo.demos.code LEFT OUTER JOIN
dbo.answers ON dbo.codes.code = dbo.answers.code


Bob wrote:
I'm running sql server ver 7.0 SP4.

I have an access project (.adp) that runs a view which is nothing more
than a select statement. Access locks up solid when I try to run this
query - with NO error messages what-so-ever.

If I sign onto the server, and run the view from enterprise manager - I
get:
"the data provider or other service returned an E_FAIL status" !?!?!
There is NO ERROR number, or further explanation of the message!!

Now - this query DID work last week - all of a sudden I get this error
- I've:
1) repaired / compacted this database
2) rebooted the server
3) spent several hours searching websites & groups for an explanation
a) I don't care how useless some people think enterprise manager is -
at least it gave me SOME kind of error; where access just locks up!
b) There are no issues with null values, or problem date fields
anywhere in these tables.
4) tried MANY variations on the query, and am now more confused than
ever.
5) I've RUN THIS QUERY IN AN ACCESS MDB WITH LINKS TO THE SQL SERVER -
AND IT WORKS!?!?!?!?

The query I'm using follows; if I remove ONE field from the select
statement - this query RUNS!!!
It doesn't matter what field I remove! It's as if, I can only have so
many fields in the select statement!?!?!?
This is clearly ridiculous since the query ran fine last week with the
same number of fields, not that
that should have anything to do with this, as sql shouldn't care how
many fields I request.
I'm not actually requesting any fields in the last table - but if I
remove this table it works!? If I leave this table, and select fields
from it, but remove another table - again it works!

So my questions:
1) What [T-] is going on here?
2) Why would an mdb be able to run a query that an adp can not!?!?
3) When will microsoft ever release a product that provides useful
error messages?

I really don't expect an answer to #3, because I know the answer is
NEVER - microsoft doesn't want to make solving problems easy.

Here's the query I'm using:

SELECT codes.proj_id, answers.report_date,
answers.release_date, answers.notes,
answers.answer_date, answers.answer_person,
answers.answer, answers.answer_status,
answers.answer_person2, codes.cust_id
FROM dbo.codes LEFT OUTER JOIN
dbo.demos ON
dbo.codes.code = dbo.demos.code LEFT OUTER JOIN
dbo.answers ON dbo.codes.code = dbo.answers.code
any help appreciated - TIA
Bob
Nov 1 '06 #3

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

Similar topics

2
by: Savas Ates | last post by:
<form method=post enctype="multipart/form-data" action="xx.asp"> <input type=file name=YourFile> <input type="text" name="xx"> </form> how can i learn xx input value i tried...
0
by: Siegfried Heintze | last post by:
This program works fine on my desktop when I grant full control of the MSAccess database to everyone. However, when I put it on my hosting service with no impersonation, I now get this error (see...
1
by: SQLScott | last post by:
I am using the System.ServiceProcess methods to look at the status of several services. It will tell me if it is Stopped, Started, etc. But how do I tell if a service is Not Responding, or Hung?...
49
by: matty | last post by:
Hi, I recently got very confused (well that's my life) about the "undefined" value. I looked in the FAQ and didn't see anything about it. On...
0
by: lpinho | last post by:
Hi There, I've generated a C# file from a wsdl file using wsdl.exe utility. Then I created a console application and made a call to the method generated, first I got the error: "The request...
2
by: TheBurgerMan | last post by:
Hi all. I am using W2K3, .NET2 on a machine running AD and Exchange. I started getting the message below last week. I googled the error and not much was returned, but I did find this;...
10
by: phforum | last post by:
Hi, I wrote a PHP page for user input the information to search the database. And the database data will update every second. I want to set the auto refresh to get the data from database every...
0
by: vladimir.plotnikov | last post by:
Hello! I have problem: I have IPB forum installed. After search in IPB (search takes about 3-4 seconds for post table about 300 000 records) mysql shows "Sending Data" status and takes about...
0
by: Brian Lampe | last post by:
On Apr 11, 7:25 am, subhash <chend...@hotmail.comwrote: If your service is using a port other than 80, you can specify it in the service instantiation's Url property: ...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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...

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.