index | search | no replies | posting guidelines | help login | register
Index » Products » ASP Report Wizard v2
search this forum:
:: installation problem with asp report ::    show all messagesPost a New Message | Post a Reply
Mar 16 2005, 11:00 AM
 Re: installation problem with asp reportPost a Reply
 John55

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

from: Fresno, CA

Hi,
Here's the code, the only changes from the sample are to the folder locations. At this point I believe it's something on the server set up. It's a new W2003 server. Server side ASP is turned on. The web site folder is included as a default application under the application pools, which would include the report folder. Permissions are set to read, write, and scripts. It connects to the database and shows the tables, but whenever a Javascript:_doPostBack() is called, it fails. Don't know where to look for any other settings?

<%
'Declare object
Dim objWiz

'Create an instance
Set objWiz = Server.CreateObject("AspWebSolution.ReportWizard2")

'Set license key before you initialize connection
'objWiz.LicenseKey = "U7MA-WA7C-2P8F-ZPPK-YMPM"

'Create database connection
objWiz.Init("PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" & Server.MapPath("/report/data/sample.mdb") & ";")
%>

<html>
    <head>
        <title>Simple Repoprts</title>
    </head>
    <body scroll="auto">
        <%
            'put this where you want your reports
            objWiz.DisplayReports
        %>
    </body>
</html>

<%    
Set objWiz = Nothing
%>


Pages: (1)   [1]

search this forum: