index | search | no replies | posting guidelines | help login | register
Index » Products » ASP Report Wizard v2
search this forum:
:: License key not taking :: (8)Post a New Message | Post a Reply
Sep 28 2009, 11:35 AM
 License key not takingPost a Reply
 johnw9433

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

since: Aug 24, 2009
from: somewhere

Cant get the license key to take.  Below is my page that is calling ReportWizard.  Please help.

Thanks

<html>


<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Ticket</title>
<meta name="Microsoft Border" content="none, default">

<link rel = "stylesheet" type = "text/css" href = "../css/reports.css"/>


</head>
<body>

<%

Dim objWiz
Dim sConnection
Dim objConn
Set objWiz = Server.CreateObject("AspWebSolution.ReportWizard2")

With objWiz

.LicenseKey = "xxxx-xxxx-xxxx-xxxx-xxxx"

objWiz.HiddenTables = "tblissues, tblElectricity, tblnotes, tblvendors"

objWiz.HiddenFields = "ID"

objWiz.DatabaseType = "MySQL"


'Make sure you initialize before adding any HTML text
'TODO: Change this to your actual connection tring

'Set an active connection to the Connection object using a DSN-less connection
sConnection = "DRIVER={MySQL ODBC 5.1 Driver}; SERVER=localhost; DATABASE=osmm;UID=xxxxx;PASSWORD=xxxxx; OPTION=3"

objWiz.init(sConnection)

'put this where you want your reports
objWiz.DisplayReports

End With

Set objWiz = Nothing

%>


Sep 29 2009, 6:00 AM
 Re: License key not takingPost a Reply
 ghost

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

from: Washington, DC

Make sure you initialize the report wizard before adding any HTML to the page.
Also, make sure you asp page's domain is that of the licensed domain. e.g. if the license if for http://myserver then the report should be running under my server
e.g. http://myserver/somefolder/report.asp,  http://www.myserver/mypage.asp etc.


<%

Dim objWiz
Dim sConnection

Set objWiz = Server.CreateObject("AspWebSolution.ReportWizard2")

With objWiz
    .LicenseKey = "xxxx-xxxx-xxxx-xxxx-xxxx" // Your license key
    .HiddenTables = "tblissues, tblElectricity, tblnotes, tblvendors"
    .HiddenFields = "ID"
    .DatabaseType = "MySQL"
End With

'Set an active connection to the Connection object using a DSN-less connection
sConnection = "DRIVER={MySQL ODBC 5.1 Driver}; SERVER=localhost; DATABASE=osmm;UID=xxxxx;PASSWORD=xxxxx; OPTION=3"
objWiz.init(sConnection)
%>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    <meta name="Microsoft Border" content="none, default"/>
    <link rel = "stylesheet" type = "text/css" href = "../css/reports.css"/>
    <title>New Ticket</title>
</head>
<body>

<%
'put this where you want your reports
objWiz.DisplayReports

Set objWiz = Nothing

%>
</body>
</html>



-------------------------
Ghost
Sep 29 2009, 6:46 PM
 Re: License key not takingPost a Reply
 johnw9433

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

since: Aug 24, 2009
from: somewhere

The doman we purchased it under is,  XYZ.com. However report wizard is running on an internal intranet within the same company. Is this going to be a problem?

ReportWizard is just running an internal webserver.

http:\\abc\something\index.htm

Sep 30 2009, 10:11 AM
 Re: License key not takingPost a Reply
 johnw9433

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

since: Aug 24, 2009
from: somewhere

Cant get this license key to take.

Domain name is XYZ
ReportWizard is running within a home grown webapp

http://servername/something/reports/default.asp

NOT

http://www.xyz.com

Thanks in advance

Oct 2 2009, 6:39 AM
 Re: License key not takingPost a Reply
 johnw9433

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

since: Aug 24, 2009
from: somewhere

I am still gettting this at the top of the screen.  WHY ISNT IT TAKING THE LICENSE KEY????

Powered by ASP Report Wizard (Free Version)
Copyright © 2004 - AspWebSolution.com

Oct 2 2009, 6:57 AM
 Re: License key not takingPost a Reply
 johnw9433

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

since: Aug 24, 2009
from: somewhere

Here is my code, it still says FREE VERSION.  What up??

<%

Dim objWiz
Dim sConnection

Set objWiz = Server.CreateObject("AspWebSolution.ReportWizard2")

With objWiz
    .LicenseKey = "xxxx-xxxx-xxxx-xxxx-xxxx" // Your license key
    .HiddenTables = "tblissues, tblElectricity, tblnotes, tblvendors"
    .HiddenFields = "ID"
    .DatabaseType = "MySQL"
End With

'Set an active connection to the Connection object using a DSN-less connection
sConnection = "DRIVER={MySQL ODBC 5.1 Driver}; SERVER=localhost; DATABASE=osmm;UID=xxxxx;PASSWORD=xxxxxx; OPTION=3"
objWiz.init(sConnection)
%>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    <meta name="Microsoft Border" content="none, default"/>
    <link rel = "stylesheet" type = "text/css" href = "../css/reports.css"/>
    <title>New Ticket</title>
</head>
<body>

<%
'put this where you want your reports
objWiz.DisplayReports

Set objWiz = Nothing

%>
</body>
</html>


Oct 8 2009, 12:16 PM
 Re: License key not takingPost a Reply
 ghost

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

from: Washington, DC

Were sent you another license for your intranet site


-------------------------
Ghost
Oct 8 2009, 12:19 PM
 Re: License key not takingPost a Reply
 johnw9433

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

since: Aug 24, 2009
from: somewhere

Yep got it, it works!!  I sent you a few other questions in an email.  

Pages: (1)   [1]

search this forum: