After you have successfully installed the ASP Report Wizard, do the following steps get your first database online and start running your reports.
- Create a folder in from your Internet Services Manager (or IIS) and grant this folder read/write permissions
- Create a blank text file and rename it default.asp. Copy the following lines of ASP code into your default.asp file
<%
Dim
objReport, strConnectionString Set objReport =
Server.CreateObject("AspWebSolution.ReportWizard")
'TODO: Change the following connection string to reflect your 'database location
strConnectionString =
"PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE = " & _
"C:\Program Files\Microsoft Visual Studio\VB98\nwind.mdb;"
'NOTE:
'You must call the Init procedure before adding any HTML
Tags/Text into your page
objReport.Init(strConnectionString)
objReport.DisplayReports
Set objReport = Nothing
%>
save this file
- Create another blank text file and rename it reports.xml. Copy the following line of XML code into your report.xml file
<reports/>
save this file
- Launch your web browser and navigate to the folder
which you created.
..happy
reporting...
|