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  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
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
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Reports Module ...  Error While Executing the Data Source
Previous Previous
 
Next Next
New Post 6/4/2008 2:26 PM
Resolved
User is offline Derek
92 posts
10th Ranked


Error While Executing the Data Source 

When I attempt to run my report I receive the following error:

There was an error executing the data source: An error occurred while executing the data source (Code: -2146232008): ORA-01036: illegal variable name/number 

The query string that I provide works correctly when executing against the database( select * from proc_names).

Generally this error means there is a problem with a variable that I am passing but in this case I am not passing any variables.

Will the report module work with ad-hoc queries or with stored procedures only?

Any help is appreciated.

Thanks.

Derek

 
New Post 6/4/2008 2:58 PM
User is offline Sanjay Mehrotra
478 posts
www.acuitisolutions.com
8th Ranked




Re: Error While Executing the Data Source 

Derek, 
With the error provided above, I'm assuming that you're trying to pull data from an oracle data source (hence the oracle error #)... The Report Module should work against an oracle data source but I'm not sure which version of the module you're using.. 
I don't think you will be able to do the select * from storedprocedure like you've mentioned above (unless you put that in as an example).. In general, if you're calling a stored proc, you'll have to provide the parameters and make sure that one of the parameters in the sproc itself is a cursor type to return back the results...

SAnjay

 


AcuitiDP - Oracle Data Provider for DotNetNuke
 
New Post 6/5/2008 5:19 AM
User is offline Derek
92 posts
10th Ranked


Re: Error While Executing the Data Source 

Can you pass a generic query into the field for "Query", for example "select * from tablename", or does the field for "Query" take only stored procedures?

Thanks.

Derek

 
New Post 6/6/2008 7:35 AM
User is offline Sanjay Mehrotra
478 posts
www.acuitisolutions.com
8th Ranked




Re: Error While Executing the Data Source 

You can do both - the trick with stored procedures is getting it to recognize the cursor you're pushing the output with (from the stored proc)... I know with the oracle version of the reports module, I made some tweaks to get it to recognize the output parameters (this is in the core oracle dataprovider engine itself) so that this would work as expected but not sure if some workaround was made on the sql server version that's out there.
Sanjay

 


AcuitiDP - Oracle Data Provider for DotNetNuke
 
New Post 6/6/2008 7:55 AM
User is offline Derek
92 posts
10th Ranked


Re: Error While Executing the Data Source 

I am still having issues executing a simple query and receive the ORA-01036: illegal variable name / number, but I am not passing any variables. In a simple database on the MSSQL side I can run the same query without a problem, any ideas?

Thanks for your help.

Derek

 
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.

 


WDK Solutions
Quality modules for the DotNetNuke community. Check out our 'wild' modules!
wdkns.com
UK - DotNetNuke providers
UK providers of DNN module development and skin package design. Oxford Information Labs provides cost-effective solutions for businesses and organisations specialising in Skin design and bespoke module development.
www.oxil.co.uk
TronixSoft
Hosting for local businesses that want more from their websites.
www.TronixSoft.com

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