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/4/2008 5:26 PM
 

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 5:58 PM
 

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 8:19 AM
 

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 10:35 AM
 

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 10:55 AM
 

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
 
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