index | search | no replies | posting guidelines | help login | register
Index » Products » ASP Report Wizard v2
search this forum:
:: Bug Report :: (9)Post a New Message | Post a Reply
Jun 30 2005, 9:44 AM
 Bug ReportPost a Reply
 rawdotnet

View this author's profile Send this author a private message

since: Jun 30, 2005
from: Jamaica

I am using MySQL server 4.1.

After connecting to my database using my connection script, I don't see my database tables or views.  I however get the same list of categorised reports (also without table or views) that  I saw in the online demo.

When I try to follow any of the links to those reports (in this case the one labeled "discount orders" under the invoicing category) I recieve the following error message:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[Order Details].[OrderID],[Order Details].[UnitPrice],[Order Details].[Quantity]' at line 1

Help!

I would appreciate anything you guys could do to help me to resolve this issue.

Thanks in advance for your usual prompt response.

Best Regards,

rawdotnet



Jun 30 2005, 4:18 PM
 Re: Bug ReportPost a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

It seems the report wizard cannot recognize database type from your connection string.
try this:
add the following statement before you initialize your connection string:

    objWiz.DatabaseType = "MySQL"

Also take a look at the following post:

http://aspwebsolution.com/forums/?tid=729




-------------------------
Ghost
Jun 30 2005, 10:14 PM
 Re: Bug ReportPost a Reply
 rawdotnet

View this author's profile Send this author a private message

since: Jun 30, 2005
from: Jamaica

Great!

That worked to a certain extent, in that, I now see my database tables (this database only had tables, no views), BUT I am also seeing the same list of categorised reports that I saw in the online demo.

When I try to follow any of the links to those reports  I recieve the following error message:

ODBC driver does not support the requested properties.

Why do I keep seeing that list of categorised reports, when they bear no relationship to my actual database?

Help!.

Thanks, again, in advance for your usual prompt response.

Regards,

rawdotnet





Jul 1 2005, 4:44 AM
 Re: Bug ReportPost a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

Because you are using the ReportsFile from the example online.
Create a new ReportsFile


-------------------------
Ghost
Jul 1 2005, 8:46 AM
 Re: Bug ReportPost a Reply
 rawdotnet

View this author's profile Send this author a private message

since: Jun 30, 2005
from: Jamaica

I assume that you are referring to the reports.xml file (I am playing around with the files in the "Simple" folder).

What is the best way to go about doing that?  I have no clue.

Help!




Jul 1 2005, 11:31 AM
 Re: Bug ReportPost a Reply
 whichman

View this author's profile Send this author a private message Visit author's homepage

from: Laurel, MD

The report wizard should automatically create one if it does not find any.
Just add/change the following line:

objWiz.ReportsFile = "myreports.xml"

Also check out the following article: Handling Multiple Databases


-------------------------
Master of the Game
Jul 3 2005, 10:09 PM
 Re: Bug ReportPost a Reply
 rawdotnet

View this author's profile Send this author a private message

since: Jun 30, 2005
from: Jamaica

Thanks Guys,

My database is now online.  And I am able to create useful reports.

However, when paging through my created reports (by clicking on the various page numbers) I occassionally get the following error when moving from the last page to any of the previous pages:

Command text was not set for the command object.

Help!

Thanks in advance for your usual prompt response.

Regards,

rawdotnet


Additionally, I am now (04 July 2004) unable to create new reports.  I get the following error messages on clicking the "finish" button on the Report Wizard Dialog window:

Errors Occured!!
Error #-2147024891
Access is denied
.

Return


Errors Occured!!
Error #-2147024891
Access is denied
.

Return


Errors Occured!
Could not save report


Return

I can't think of any reason why this is happening.  I tried restarting the machine and iis - errors persist.

Help! again.

Regards,

rawdotnet



Jul 5 2005, 5:14 AM
 Re: Bug ReportPost a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

This error implies that the report wizard cannot write to the ReportsFile.
Make sure that your reports folder is registered as an application under IIS and also that your reports folder/file is not read-only

Also check out the following posts
http://aspwebsolution.com/forums/?tid=1174
http://aspwebsolution.com/forums/?tid=1323


-------------------------
Ghost
Jul 9 2005, 7:33 AM
 Re: Bug ReportPost a Reply
 rawdotnet

View this author's profile Send this author a private message

since: Jun 30, 2005
from: Jamaica

Done!  But still does not work.

I am now having the same exact problem outlined at the now inactive post http://aspwebsolution.com/?tid=1525

The screen shot below shows the point at which the application freezes after clicking the Finish button to build a report:

screen shot


Further, after a hanging episode I am forced to restart iis in order to do other things like view a reports etc.

The really funny thing is it has worked before and allowed me to create three reports .... suddenly this!

Thanks in advance for your usual prompt response.


Pages: (1)   [1]

search this forum: