index | search | no replies | posting guidelines | help login | register
Index » Products » ASP Report Wizard v2
search this forum:
:: Errors Occured! Unspecified Error :: (8)Post a New Message | Post a Reply
Jun 4 2004, 5:12 AM
 Errors Occured! Unspecified ErrorPost a Reply
 karena

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

since: Jan 16, 2004
from: somewhere

Hello!  I am getting the following error:

Errors Occured!
Unspecified error

This is from the line: objWiz.DisplayReports

It is at teh top of the page even though the reports and views display fine underneath. Occasionally, however i get the Page Cannot be Displayed error with this same error listed as the cause.  I have no idea how it is caused and what to do.  Your help is greatly appreciated!


Jun 4 2004, 8:17 AM
 Re: Errors Occured! Unspecified ErrorPost a Reply
 ghost

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

from: Washington, DC

Can I please see your source code?


-------------------------
Ghost
Jun 8 2004, 8:06 AM
 Re: Errors Occured! Unspecified ErrorPost a Reply
 karena

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

since: Jan 16, 2004
from: somewhere

Here is my code.  The error is very inconsistent and i cannot seem to find a pattern to the error.  any help is appreciated!
Dim sConnStr
sConnStr = "Driver={Microsoft Access Driver (*.mdb)};DBQ=" & server.MapPath("/database/AttendanceDB.mdb") & ";"
Dim oReports
Set oReports = Server.CreateObject("AspWebSolution.ReportWizard2")
oReports.Init(sConnStr)
oReports.CanAdd = false
oReports.CanEdit = false
oReports.CanDelete = false
oReports.DisplayReports
Set oReports = Nothing

Jun 10 2004, 5:08 AM
 Re: Errors Occured! Unspecified ErrorPost a Reply
 ghost

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

from: Washington, DC

I can't seem to understand what causes this error.
What kind version of windows and IIS are you using?


-------------------------
Ghost
Jun 10 2004, 9:08 AM
 Re: Errors Occured! Unspecified ErrorPost a Reply
 karena

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

since: Jan 16, 2004
from: somewhere

I'm using WIndows 2000 Pro and IIS 5.0.  Thanks!

Jun 10 2004, 9:15 AM
 Re: Errors Occured! Unspecified ErrorPost a Reply
 karena

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

since: Jan 16, 2004
from: somewhere

I dont know if this helps, but if i hit refresh when the error occurs SOMETIMES i get the following error:

Error Type:
ADOX.Views (0x800A0CB3)
Object or provider is not capable of performing requested operation.
/reports.asp, line 24



Jun 10 2004, 10:59 AM
 Re: Errors Occured! Unspecified ErrorPost a Reply
 whichman

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

from: Laurel, MD

ADOX requires microsoft data access components (MDAC) which normally get upgraded when you upgrade you service paks.
However, I will consider upgrading to the latest service pack: Microsoft Data Access Components (MDAC) 2.7 Service Pack 1 Refresh
which you can download from microsoft's MSDN Download Center

I will howver, continue to look into this problem
Let know if this helps


-------------------------
Master of the Game
Jun 10 2004, 2:55 PM
 Re: Errors Occured! Unspecified ErrorPost a Reply
 whichman

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

from: Laurel, MD

If that error continues, you can overide ADOX by using the UseTables property as shown below to solve this problem in the mean time.

objWiz.UseTables = "A table name, another table name etc."
objWiz.Init(strConn)






-------------------------
Master of the Game
Pages: (1)   [1]

search this forum: