SQL Reporting parameters causing crash

foznic

New Member
I'm using SQL 2005 Reporting services on Windows 2003 server, my development machine is Windows XP Pro. Attempting to report from a Progress 10.0B (also Win 2003 Server) database with the DataDirect 4.2 SQL92 driver.

A simple static query executes brilliantly (i.e. SELECT Col1 FROM Tab1 WHERE Col1 = 200) When I add a parameter (i.e. SELECT Col1 FROM Tab1 WHERE Col1 = ?), then execute the query I'm prompted for the parameter value, I enter a valid value, then receive the error: "Attempted to read or write protected memory. this is often an indication that other memory is corrupt." Then VS crashes. obviously this is bothersome.

An ODBC trace shows the SQL statement (SELECT Col1 FROM Tab1 WHERE Col1 = ?), note: the parameter value I entered is not in the trace. Should it be?

Anyone had luck creating parameterized reports against Progress 10.0B? Ideas?
 
I have no experience whatsoever with MS SQL server 2005, neither with their reporting services but I know that it is only certified against 10.0B04. I don't know which servciepack you are on, but if it is not 04 or higher then that could be the issue.....

from the KB P84637:
MS SQL Server 2005 has only been certified against OpenEdge 10.0B04
and 10.1A.
Microsoft SQL Server 2005 certification of the OpenEdge 10 DataServer
product relies on specific ODBC Drivers.
Driver supported in OpenEdge 10.0B04:
o SQL Server version 2000.85.1117.00 (Microsoft Corporation -
SQLSRV32.DLL)
Drivers supported in OpenEdge 10.1A:
o OpenEdge 10.1A ODBC Wire Protocol driver for MS SQL Server
version 5.10.00.03 (DataDirect Technologies - P1MSSS21.DLL)
o SQL Server version 2000.85.1117.00 (Microsoft Corporation -
SQLSRV32.DLL)

Regards,

Casper.
 
I've found a work around since I posted, but we are running 10.0B03 so I will look into upgrading our service pack today.

thanks for your thoughts Casper!
 
Back
Top