Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Reports Module ...  Error While Executing the Data Source
Previous Previous
 
Next Next
New Post 6/11/2008 1:25 PM
Accepted Answer 
User is offline Lars Tungen
8 posts
10th Ranked


Re: Error While Executing the Data Source 

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/11/2008 9:54 PM
User is offline Sanjay Mehrotra
456 posts
www.acuitisolutions.com
8th Ranked




Re: Error While Executing the Data Source 

 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 6:19 AM
User is offline Derek
92 posts
10th Ranked


Re: Error While Executing the Data Source 

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 10:27 AM
User is offline Lars Tungen
8 posts
10th Ranked


Re: Error While Executing the Data Source 

 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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Reports Module ...  Error While Executing the Data Source
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Intura Vision / Intura Enterprise
Point-of-Sale and business management applications targeted towards quick service, fast casual and delivery-based restaurant concepts.
www.intura.com
Dnaxp.Net
Dnaxp.Net offers a comprehensive base of information, resources, and support for DotNetNuke.
www.dnaxp.net
DNNMasters - modules, consulting, development
DNNMasters developers are involved in DNN development since DNN 1.0.9 and today we offer a broad range of DNN related products and services including custom development of modules, help with ing third party modules for specific needs, general DNN technical support and administrative services.
www.dnnmasters.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP