i have a crystal report that will not run after switching servers. here is the sql trace log. if anyone can help please do. i don't know very much about the whole procces.
ralph
this is the trace log...
Credit Reason R 3ac-398 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 024D1828
UWORD 6 <SQL_DRIVER_NAME>
PTR 0x024D1AE8 [ 14] "PVXODBC"
SWORD 510
SWORD * 0x0012D610 (14)
Credit Reason R 3ac-398 ENTER SQLAllocHandle
SQLSMALLINT 3 <SQL_HANDLE_STMT>
SQLHANDLE 024D1828
SQLHANDLE * 01DDA7AC
Credit Reason R 3ac-398 EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
SQLSMALLINT 3 <SQL_HANDLE_STMT>
SQLHANDLE 024D1828
SQLHANDLE * 0x01DDA7AC ( 0x024d23e8)
Credit Reason R 3ac-398 ENTER SQLExecDirect
HSTMT 024D23E8
UCHAR * 0x01DBEBA0 [ -3] "SELECT CodeList."code", CodeList."desc" FROM "\\wilson\public\Defect\defect.CodeList" CodeList WHERE CodeList."code" = '13'\ 0"
SDWORD -3
Credit Reason R 3ac-398 EXIT SQLExecDirect with return code -1 (SQL_ERROR)
HSTMT 024D23E8
UCHAR * 0x01DBEBA0 [ -3] "SELECT CodeList."code", CodeList."desc" FROM "\\wilson\public\Defect\defect.CodeList" CodeList WHERE CodeList."code" = '13'\ 0"
SDWORD -3
DIAG [S000] Canada][PVX ODBC Driver][FILEIO]Table is not accesible (12)
Credit Reason R 3ac-398 ENTER SQLErrorW
HENV 024D16A0
HDBC 024D1828
HSTMT 024D23E8
WCHAR * 0x0012D840 (NYI)
SDWORD * 0x0012D97C
WCHAR * 0x0012D440
SWORD 242
SWORD * 0x0012D978
Credit Reason R 3ac-398 EXIT SQLErrorW with return code 0 (SQL_SUCCESS)
HENV 024D16A0
HDBC 024D1828
HSTMT 024D23E8
WCHAR * 0x0012D840 (NYI)
SDWORD * 0x0012D97C (12)
WCHAR * 0x0012D440 [ 54] "Canada][PVX ODBC Driver][FI"
SWORD 242
SWORD * 0x0012D978 (54)
Credit Reason R 3ac-398 ENTER SQLFreeHandle
SQLSMALLINT 3 <SQL_HANDLE_STMT>
SQLHANDLE 024D23E8
Credit Reason R 3ac-398 EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
SQLSMALLINT 3 <SQL_HANDLE_STMT>
SQLHANDLE 024D23E8
this is the sql query and formula....
query
------
SELECT
ARO_InvHistoryDetail."InvoiceNumber", ARO_InvHistoryDetail."SOCommentCode", ARO_InvHistoryDetail."SOCommentCodeDescLine1", ARO_InvHistoryDetail."SOCommentCodeDescLine2",
ARN_InvHistoryHeader."InvoiceType", ARN_InvHistoryHeader."InvoiceDate", ARN_InvHistoryHeader."CustomerNumber"
FROM
"ARO_InvHistoryDetail" ARO_InvHistoryDetail,
"ARN_InvHistoryHeader" ARN_InvHistoryHeader
WHERE
ARO_InvHistoryDetail."InvoiceNumber" = ARN_InvHistoryHeader."InvoiceNumber" AND
ARO_InvHistoryDetail."HeaderSeqNumber" = ARN_InvHistoryHeader."HeaderSeqNumber" AND
ARN_InvHistoryHeader."InvoiceType" = 'C' AND
ARO_InvHistoryDetail."SOCommentCode" = '/C' AND
ARN_InvHistoryHeader."CustomerNumber" <> '0095440' AND
ARN_InvHistoryHeader."InvoiceDate" >= ? AND
ARN_InvHistoryHeader."InvoiceDate" <= ?
------------------------------------------------------------------
formula
-------
{ARN_InvHistoryHeader.InvoiceType} = "C" and
{@problem} in ["40", "39", "38", "37", "36", "35", "34", "33", "24", "23", "22", "21", "20", "19", "18", "17", "16", "15", "14", "13", "08", "07", "06", "05"] and
{ARN_InvHistoryHeader.CustomerNumber} <> "0095440" and
{ARN_InvHistoryHeader.InvoiceDate} in Date (2003, 11, 02) to Date (2003, 11, 29) and
{ARO_InvHistoryDetail.SOCommentCode} = "/C"
ralph
this is the trace log...
Credit Reason R 3ac-398 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 024D1828
UWORD 6 <SQL_DRIVER_NAME>
PTR 0x024D1AE8 [ 14] "PVXODBC"
SWORD 510
SWORD * 0x0012D610 (14)
Credit Reason R 3ac-398 ENTER SQLAllocHandle
SQLSMALLINT 3 <SQL_HANDLE_STMT>
SQLHANDLE 024D1828
SQLHANDLE * 01DDA7AC
Credit Reason R 3ac-398 EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
SQLSMALLINT 3 <SQL_HANDLE_STMT>
SQLHANDLE 024D1828
SQLHANDLE * 0x01DDA7AC ( 0x024d23e8)
Credit Reason R 3ac-398 ENTER SQLExecDirect
HSTMT 024D23E8
UCHAR * 0x01DBEBA0 [ -3] "SELECT CodeList."code", CodeList."desc" FROM "\\wilson\public\Defect\defect.CodeList" CodeList WHERE CodeList."code" = '13'\ 0"
SDWORD -3
Credit Reason R 3ac-398 EXIT SQLExecDirect with return code -1 (SQL_ERROR)
HSTMT 024D23E8
UCHAR * 0x01DBEBA0 [ -3] "SELECT CodeList."code", CodeList."desc" FROM "\\wilson\public\Defect\defect.CodeList" CodeList WHERE CodeList."code" = '13'\ 0"
SDWORD -3
DIAG [S000] Canada][PVX ODBC Driver][FILEIO]Table is not accesible (12)
Credit Reason R 3ac-398 ENTER SQLErrorW
HENV 024D16A0
HDBC 024D1828
HSTMT 024D23E8
WCHAR * 0x0012D840 (NYI)
SDWORD * 0x0012D97C
WCHAR * 0x0012D440
SWORD 242
SWORD * 0x0012D978
Credit Reason R 3ac-398 EXIT SQLErrorW with return code 0 (SQL_SUCCESS)
HENV 024D16A0
HDBC 024D1828
HSTMT 024D23E8
WCHAR * 0x0012D840 (NYI)
SDWORD * 0x0012D97C (12)
WCHAR * 0x0012D440 [ 54] "Canada][PVX ODBC Driver][FI"
SWORD 242
SWORD * 0x0012D978 (54)
Credit Reason R 3ac-398 ENTER SQLFreeHandle
SQLSMALLINT 3 <SQL_HANDLE_STMT>
SQLHANDLE 024D23E8
Credit Reason R 3ac-398 EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
SQLSMALLINT 3 <SQL_HANDLE_STMT>
SQLHANDLE 024D23E8
this is the sql query and formula....
query
------
SELECT
ARO_InvHistoryDetail."InvoiceNumber", ARO_InvHistoryDetail."SOCommentCode", ARO_InvHistoryDetail."SOCommentCodeDescLine1", ARO_InvHistoryDetail."SOCommentCodeDescLine2",
ARN_InvHistoryHeader."InvoiceType", ARN_InvHistoryHeader."InvoiceDate", ARN_InvHistoryHeader."CustomerNumber"
FROM
"ARO_InvHistoryDetail" ARO_InvHistoryDetail,
"ARN_InvHistoryHeader" ARN_InvHistoryHeader
WHERE
ARO_InvHistoryDetail."InvoiceNumber" = ARN_InvHistoryHeader."InvoiceNumber" AND
ARO_InvHistoryDetail."HeaderSeqNumber" = ARN_InvHistoryHeader."HeaderSeqNumber" AND
ARN_InvHistoryHeader."InvoiceType" = 'C' AND
ARO_InvHistoryDetail."SOCommentCode" = '/C' AND
ARN_InvHistoryHeader."CustomerNumber" <> '0095440' AND
ARN_InvHistoryHeader."InvoiceDate" >= ? AND
ARN_InvHistoryHeader."InvoiceDate" <= ?
------------------------------------------------------------------
formula
-------
{ARN_InvHistoryHeader.InvoiceType} = "C" and
{@problem} in ["40", "39", "38", "37", "36", "35", "34", "33", "24", "23", "22", "21", "20", "19", "18", "17", "16", "15", "14", "13", "08", "07", "06", "05"] and
{ARN_InvHistoryHeader.CustomerNumber} <> "0095440" and
{ARN_InvHistoryHeader.InvoiceDate} in Date (2003, 11, 02) to Date (2003, 11, 29) and
{ARO_InvHistoryDetail.SOCommentCode} = "/C"