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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsError While Executing the Data SourceError While Executing the Data Source
Previous
 
Next
New Post
6/11/2008 4:25 PM
Accepted Answer 

I am seeing the same Oracle error. Looks like all report parameters needs to be in the query string, otherwise you will get an error. In my simple query I didn't use any parameters. When I added "WHERE :ModuleID=:ModuleId AND :PortalID=:PortalID AND :UserID=:UserID AND :TabID=:TabID" it worked.

Query giving error:

SELECT * FROM T_USERS

 

Query that works:

SELECT * FROM T_USERS WHERE :ModuleID=:ModuleId AND :PortalID=:PortalID AND :UserID=:UserID AND :TabID=:TabID

 

I guess the Oracle data source hasn't been used that much....

 

 
New Post
6/12/2008 12:54 AM
 

Lars Tungen wrote

I am seeing the same Oracle error. Looks like all report parameters needs to be in the query string, otherwise you will get an error. In my simple query I didn't use any parameters. When I added "WHERE :ModuleID=:ModuleId AND :PortalID=:PortalID AND :UserID=:UserID AND :TabID=:TabID" it worked.

Query giving error:

SELECT * FROM T_USERS

 

Query that works:

SELECT * FROM T_USERS WHERE :ModuleID=:ModuleId AND :PortalID=:PortalID AND :UserID=:UserID AND :TabID=:TabID

 

I guess the Oracle data source hasn't been used that much....

 

 

I think I remember seeing this before - are you using the default report module for SQL Server and trying to get it to connect to Oracle? I know I had to re-write some of the oracle implementations of ExecuteHelper, etc to get it to work correctly with the Reports module. I was thinking (silly me) that you were using the oracle version of this for some silly reason..

Sanjay

 


AcuitiDP - Oracle Data Provider for DotNetNuke
 
New Post
6/12/2008 9:19 AM
 

That worked out great.  Still confused as to why those parameters are need since the database that I was querying has nothing to do with my DNN installation.

Thanks for your help.

Derek

 
New Post
6/12/2008 1:27 PM
 

Sanjay Mehrotra wrote

I think I remember seeing this before - are you using the default report module for SQL Server and trying to get it to connect to Oracle? I know I had to re-write some of the oracle implementations of ExecuteHelper, etc to get it to work correctly with the Reports module. I was thinking (silly me) that you were using the oracle version of this for some silly reason..

Sanjay

I am using Report core module with "OracleClient DataProvider" selected as the ADO.NET Data Provider. Maybe the Report module always create all of the 4 parameters on the command object, regardless if they are used in the query string or not. The MS SQL Server ignores the unused parameters. Oracle raises an error.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsError While Executing the Data SourceError While Executing the Data Source


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