PC Review


Reply
Thread Tools Rate Thread

Database results Error (with criteria)

 
 
Jan van Emmerik
Guest
Posts: n/a
 
      29th May 2004
Hello,

I use the frontpage database results wizard for quering a sql database.
It worked fine for some years now.
Suddenly I get this error.

************************
Database Results Error
Description: [Microsoft][ODBC SQL Server Driver][SQL Server]Prepared
statement '(@P1 numeric(18,0))SELECT ID,* FROM WWWPeople WHERE (ID = @P1);'
expects parameter @P1, which was not supplied.
Number: -2147217900 (0x80040E14)
Source: Microsoft OLE DB Provider for ODBC Drivers
***********************
Other asp pages worked fine but after a while they get the same error and I
didn't change a thing.

When I change the criteria from
select * from table where (ID = ::ID:
to
select * from table where (ID = 160)
It works!

Any help is welcome.

Regards,

Jan


 
Reply With Quote
 
 
 
 
Mettá
Guest
Posts: n/a
 
      29th May 2004
This sounds suspiciously like a problem with the MS SP3 "update" or an MS
security "fix" that has caused chaos for sites with db's. in them

There is a possible fix referred to in a thread dated 14 May 2004 04:11 by
Stephan
or
31 March 2004 17:31 by PAUL BUSNELL

God luck
M



"Jan van Emmerik" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello,
>
> I use the frontpage database results wizard for quering a sql database.
> It worked fine for some years now.
> Suddenly I get this error.
>
> ************************
> Database Results Error
> Description: [Microsoft][ODBC SQL Server Driver][SQL Server]Prepared
> statement '(@P1 numeric(18,0))SELECT ID,* FROM WWWPeople WHERE (ID =

@P1);'
> expects parameter @P1, which was not supplied.
> Number: -2147217900 (0x80040E14)
> Source: Microsoft OLE DB Provider for ODBC Drivers
> ***********************
> Other asp pages worked fine but after a while they get the same error and

I
> didn't change a thing.
>
> When I change the criteria from
> select * from table where (ID = ::ID:
> to
> select * from table where (ID = 160)
> It works!
>
> Any help is welcome.
>
> Regards,
>
> Jan
>
>




 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Database Results Wizards, More Options, Criteria, Comparison..... =?Utf-8?B?cm9iZXJ0?= Microsoft Frontpage 14 14th Jun 2004 07:06 PM
database results wizards - more options - criteria =?Utf-8?B?c3R1Y2s=?= Microsoft Frontpage 1 17th May 2004 11:27 PM
Database Results Wizard Criteria Steve Microsoft Frontpage 2 7th May 2004 01:01 PM
Database Results Criteria Steve Microsoft Frontpage 1 6th May 2004 06:51 PM
criteria for database results page debi Microsoft Frontpage 1 17th Sep 2003 08:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:46 AM.