rluse wrote
Maybe this formatting will help.
Hi, Can someone tell me what I am doing wrong? When I run this command:
Dim intCount As Long = TblACTTable.Instance.GetRecordListCount(compoundFilter, Nothing)
I get this in the Event Log:
AssemblyVersion: 04.06.02
PortalID: 0
PortalName: ****************
UserID: 1
UserName: host
ActiveTabID: 86
ActiveTabName: DCRAutoMailer
RawURL: /Home/DCRAutoMailer/tabid/86/ctl/Edit/mid/555/ProductID/1/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://****************/Home/DCRAutoMailer/tabid/86/ctl/Edit/mid/555/ProductID/1/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; {08BB7EF7-929B-0C45-D4AE-7C0C19155558}; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.590; .NET CLR 3.5.20706)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: db29da46-3edd-4f9e-863e-32749877cfd0
InnerException: Unable to get records. Database not supported.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: BaseClasses.Data.SqlProvider.RDbAdapterUtils.ConvertDBException
StackTrace:
Message: System.Exception: Unable to get records. Database not supported. ---> System.ArgumentException: Database not supported.at BaseClasses.Data.SqlProvider.RDbAdapterUtils.ConvertDBException(IDbConnection con, Exception e, String msg, SQLAdapterType adapterType)at BaseClasses.Data.SqlProvider.SqlTransaction.GetADOConnectionByName(String connectionName)at BaseClasses.Data.SqlProvider.StoredProceduresSQLServerAdapter.GetRecordValues(TableDefinition table, SqlBuilderColumnSelection requestedSelection, SqlBuilderColumnSelection workingSelection, SqlBuilderColumnSelection distinctSelection, BaseFilter filter, OrderBy sortOrder, Int32 startIndex, Int32 count, Int32& totalCount)--- End of inner exception stack trace ---at BaseClasses.Data.BaseTable.GetRecordListCount(BaseFilter filter, OrderBy orderBy)at DCR.Modules.DCR_Product.WarrantyDeedDCRDataBuilder.GetRecordCountForPreferences(ArrayList Criteria) in http://server/App_Code/DCR_Product/WarrantyDeedDB.vb:line 358
Source:
Server Name: VIR123-02