index | search | no replies | posting guidelines | help login | register
Index » Products » ASP Report Wizard v2
search this forum:
:: help please ::    show all messagesPost a New Message | Post a Reply
Sep 5 2006, 12:36 AM
 Re: Report Wizard & .NETPost a Reply
 proj

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

since: Sep 1, 2006
from: India

hi

I have used following code.........

**********************

Dim objWiz As New AWSReportWizard2_NET.ReportWizard2
        objWiz.ReportsFile = Server.MapPath("reports.xml")
        dim strConn as string = "Provider=SQLOLEDB;SERVER=localhost;UID=sa;PWD=sa;DATABASE=test"
objWiz.Init(strConn)
        objWiz.HideViews = True
        objWiz.HideProcedures = True
        objWiz.DisplayReports()
        objWiz = Nothing

***********

Still i m getting the following error

Type mismatch


Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: Type mismatch


pl help me.........


thx
proj


Pages: (1)   [1]

search this forum: