Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Database not supported messageDatabase not supported message
Previous
 
Next
New Post
10/29/2007 3:59 PM
 
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: DAILY COURT REVIEW 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://www.dailycourtreview.com/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
 
New Post
10/29/2007 7:04 PM
 

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

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Database not supported messageDatabase not supported message


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out