PRB BC30002: Type CSimpleAdo is not defined on ProductPage.aspx

Article # 5445

The information in this article applies to this particular SalesCart Product(s): 
NET


SYMPTOMS
When a new SalesCart NET web is created using Microsoft FrontPage or Dreamweaver it returns the following error.

Parser Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Parser Error Message: BC30002: Type 'CSimpleAdo' is not defined.

Source Error:

Line 23: SQLStmt = SQLStmt & "WHERE [Orderid] =" & Order & "; "
Line 24:
Line 25: SimpleAdo = New CSimpleAdo
Line 26: SimpleAdo.setConnectionString = Session("ConnectionString")
Line 27: RS = SimpleAdo.getRecordSet(SQLStmt)

Source File: C:\intepub\wwwroot\mysite\mall\cartcontents.aspx Line: 25

CAUSE
You do not have the appropriate DLL files in the "bin" directory and/or you did not upload the bin directory to your website.

RESOLUTION

Make sure that you have the "Bin" directory on the root of your website. Also make sure that you have the following DLL files within the Bin directory.
  1. CMail.dll
  2. Common.dll
  3. CSimpleAdo.dll (why the page returns error)
  4. CTP.dll
  5. cusps.dll (used for shipping plug-in)
  6. header.dll
  7. lr.dll
  8. rl.dll

SUMMARY
When running a new installation of SalesCart NET the product page may return the following error: Type CSimpleAdo is not defined on ProductPage.aspx

STATUS
none

REFERENCE
none


Additional Query Words: csimple,simpleado,csimpleado,header,dll

Active/inactive: Active
Author:
 WS
Date:
 10/27/04