Jump to content
Software FX Community

RE: Unable to get trial version to work fully


User (Legacy)

Recommended Posts

From: Nguyen, Quang Tue (qnguyen@sfaf.org)

Subject: RE: Unable to get trial version to work fully

Date: Thu, 22 Mar 2001 22:05:11 -0500

Message-ID: <EVEYI2yr8GA.1696@webserver1.softwarefx.com>

Newsgroups: chartfx.internet.55

Lines: 549

Path: webserver1.softwarefx.com

Xref: webserver1.softwarefx.com chartfx.internet.55:686

NNTP-Posting-Host: MYCHARTFX1 198.172.137.122

Justin -- Thanks for your help. I got the software to work by replacing the

IUSR account with my own which has domain control. This doesn't answer my

question about where the problem is coming from specifically, but at least I

am more certain now that it has to do with security and access rights. I'm

using a development machine that has many hands on it previously So I will

tinker from there.

Quang Tue Nguyen

San Francisco AIDS Foundation

415.487.3087 (Voice)

415.487.3009 (Fax)

-----Original Message-----

From: Justin Trask [mailto:JustinT@softwarefx.com]

Sent: Thursday, March 22, 2001 7:59 AM

To: Nguyen, Quang Tue

Subject: RE: Unable to get trial version to work

fully

Hello,

ChartFX does not choose who it's user is but requests tasks

to be

performed by IIS and IIS chooses who the user is. Typically

this user

is IUser_MachineName. You could for testing purposes set

everyone to

have permissions over this directory in order to insure that

the right

user has permissions. The problem though as discussed in

the article

may have to do with the path to the license file as well.

When you do

view source on your asp page and you see the relative path

for the

license file make sure that this path is the same path that

you are

using to view the license file from within Internet

Explorer.

Justin Trask

Software FX

-----Original Message-----

From: Nguyen, Quang Tue [mailto:qnguyen@sfaf.org]

Sent: March 22, 2001 10:51 AM

To: Justin Trask

Subject: RE: Unable to get trial version to work fully

Justin - I'm able to see CfxIE.lic fine from IE. NN gives

me a dialogue

to

save the file, which is fine also.

How about a test for the permissions on the Config folder?

It's not

under

the web home directory (wwwroot), but I assume that your

software is

trying

to access it via IUSR_MACHINENAME.

I hope we can resolve this quickly, since this problem is

impeding my

ability to make a recommendation on purchasing this product.

Thanks for your help.

Quang Tue Nguyen

San Francisco AIDS Foundation

415.487.3087 (Voice)

415.487.3009 (Fax)

-----Original Message-----

From: Justin Trask

[mailto:JustinT@softwarefx.com]

Sent: Thursday, March 22, 2001 7:14 AM

To: Nguyen, Quang Tue

Subject: RE: Unable to get trial

version to work

fully

Hello,

One test that you could perform is to type

the URL for

the

license file

into the address bar of your web browser and

see if you

are

able to view

the contents of the license file from within

Internet

Explorer or

Netscape Navigator.

Justin Trask

Software FX

-----Original Message-----

From: Nguyen, Quang Tue

[mailto:qnguyen@sfaf.org]

Sent: March 21, 2001 8:13 PM

To: Justin Trask

Subject: RE: Unable to get trial version to

work fully

Thanks for your message. As I said in my

first message,

I

don't believe

the

error is caused by the permissions on

/License and

Config,

since I have

checked that based on your KB articles. But

I need a

better

way to

troubleshoot and rule out the permissions as

a factor.

Do

you have any

tests I can do that will definitely confirm

that the

system

has/has not

access to these files (such as a method that

outputs the

status of the

component's attempt to read the files)?

Also, could it be that my web browser user

agent is not

compatible with

the

ActiveX/PlugIn based on the rules in

Sfxcgi.ini and

StxcgiWC.ini?

Using

<%=

Request.ServerVariables("HTTP_USER_AGENT") %>

I get the following for IE and NN

respectively:

Mozilla/4.0 (compatible; MSIE 4.01; Windows

NT)

Mozilla/4.75 [en] (WinNT; U)

This is the content of Sfxcgi.ini and

SfxcgiWC.ini as

installed from

your

installation program

;;;;;;;;;;;;;;;;;;;;;;;;;;

;;; Microsoft Browsers ;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;

[iE Non-Windows]

Object=None

Image=Jpeg

[iE 1.5]

object=None

[iE 2.0]

object=None

[iE 3.0]

object=ActiveX

[iE 4.0]

object=ActiveX

Image=Png

[iE 5.0]

object=ActiveX

Image=Png

; Pocket Internet Explorer

; PIE 1.0

[Microsoft Pocket Internet Explorer/0.6]

object=None

; PIE 1.1

[Mozilla/1.1 (compatible; MSPIE 1.1; Windows

CE)]

object=None

;;;;;;;;;;;;;;;;;;;;;;;;;

;;; Netscape Browsers ;;;

;;;;;;;;;;;;;;;;;;;;;;;;;

[Netscape Non-Windows]

Object=None

Image=Jpeg

[Netscape 2.0]

object=PlugIn

[Netscape 3.0]

object=PlugIn

; Communicator 4.0

; Note the use of () instead of [] in the

topic title

[Netscape 4.0]

Object=PlugIn

; Netscape does not support PNG transparency

; and seems to prefer PNG files with a GIF

extension

[Netscape 4.04]

Object=PlugIn

Image=,Png,2,gif,image/x-png

[Netscape 6.0]

Object=PlugIn

Image=Png

[Netscape 6.0 Non-Windows]

Object=None

Image=Png

;;;;;;;;;;;;;;;;;;;;;;

;;; Oracle Browsers ;;

;;;;;;;;;;;;;;;;;;;;;;

[Oracle 1.5]

object=None

[Mozilla/2.01 (Compatible) Oracle™

PowerBrowser™/1.0a]

parent=Oracle 1.5

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;; Other Browsers should be added HERE ;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;; Browsers added by Wildcards matching ;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Character ? in a rule will match any

character

; eg. 'Mozilla/4.?' matches 'Mozilla/4.1' or

'Mozilla

4.2'

;

; Character * in a rule will match 0 or more

characters

; until the next character of the rule is

found

; eg. 'MSIE 4.*;' matches 'MSIE 4.0;' or

'MSIE 4.01axy;'

; '(Win95; *16-bit' DO NOT MATCH

'(Win95; I; 16;

16-bit'

;

; Character ^ in a rule will match 0 or more

characters

; until the next character of the rule is

found

; eg. '(Win95; ^16-bit' matches '(Win95;

16-bit' or

'(Win95;

I; 16;

16-bit'

;

; Character # in a rule will match a number

equal or

greater

than the

next

character

; eg. '4.0#4' matches '4.04' or '4.05' but

not '4.02'

;

; Character \ is the escape key, \? will

match ?, \*

will

match *,

; \^ will match ^, and \\ will match \

;

; Character ! marks the end of a rule.

;

; Please note that ^ is more expensive

(slower) than *

since

it may

require

; backtracking when the next character of

the rule is

found

but

; the string does not match (it will search

for another

occurrence of

the

; 'next' character of the rule). There is a

limitation

of 10

^

characters

; in a given rule.

;

; The first rule tested will be R[LAST] and

the last

will be

R0

; It is important that newer browsers are

added to the

top

of

; the list (bigger numbers) so that they are

tested

first.

[Wildcards]

LAST=43

; EXPLORER 5.X

R43=Mozilla/4.0 (compatible; MSIE 5.*;

^Windows

9?*!Parent=IE 5.0

R42=Mozilla/4.0 (compatible; MSIE 5.*;

^Windows

NT*!Parent=IE 5.0

R41=Mozilla/4.0 (compatible; MSIE 5.*;

^Win32*!Parent=IE

5.0

R40=Mozilla/4.0 (compatible; MSIE 5.*;

^Windows

3.1*!Parent=IE

5.0,Object=Plugin

R39=Mozilla/4.0 (compatible; MSIE

5.*;*!Parent=IE

Non-Windows

; NAVIGATOR 6.0

R38=Mozilla/5.0 (Windows; *)

Netscape6*!Parent=Netscape

6.0

R37=Mozilla/5.0 (*)

Netscape6*!Parent=Netscape 6.0

Non-Windows

; NAVIGATOR 4.0X

R36=Mozilla/4.0#4 (*)*(Win*!Parent=Netscape

4.04

R35=Mozilla/4.0#4

(Macintosh*!Parent=Netscape

Non-Windows

R34=Mozilla/4.0* (*)*(Win*!Parent=Netscape

4.0

R33=Mozilla/4.0* (Macintosh*!Parent=Netscape

Non-Windows

; NAVIGATOR 4.5 (or later)

R32=Mozilla/4.* (*)*(Win*!Parent=Netscape

4.04

R31=Mozilla/4.* (Macintosh*!Parent=Netscape

Non-Windows

; EXPLORER 4.X

R30=Mozilla/4.0 (compatible; MSIE 4.*;

^Windows

98*!Parent=IE 4.0

R29=Mozilla/4.0 (compatible; MSIE 4.*;

^Windows

95*!Parent=IE 4.0

R28=Mozilla/4.0 (compatible; MSIE 4.*;

^Windows

NT*!Parent=IE 4.0

R27=Mozilla/4.0 (compatible; MSIE 4.*;

^Win32*!Parent=IE

4.0

R26=Mozilla/4.0 (compatible; MSIE 4.*;

^Windows

3.1*!Parent=IE

4.0,Object=Plugin

R25=Mozilla/4.0 (compatible; MSIE

4.*;*!Parent=IE

Non-Windows

; NAVIGATOR 3.X

R24=Mozilla/3.* ^(Win98;

^16bit*!Parent=Netscape 2.0

R23=Mozilla/3.* ^(Win98*!Parent=Netscape 3.0

R22=Mozilla/3.* ^(Win95;

^16bit*!Parent=Netscape 2.0

R21=Mozilla/3.* ^(Win95*!Parent=Netscape 3.0

R20=Mozilla/3.* ^(WinNT*!Parent=Netscape 3.0

R19=Mozilla/3.* ^(Win16*!Parent=Netscape 3.0

R18=Mozilla/3.* ^(Macintosh*!Parent=Netscape

Non-Windows

; EXPLORER 3.X

R17=Mozilla/2.0 (compatible; MSIE 3.*;

^Windows

95*!Parent=IE 3.0

R16=Mozilla/2.0 (compatible; MSIE 3.*;

^Windows

NT*!Parent=IE 3.0

R15=Mozilla/2.0 (compatible; MSIE 3.*; ^Win

32*!Parent=IE

3.0

R14=Mozilla/2.0 (compatible; MSIE 3.*;

^Win32*!Parent=IE

3.0

R13=Mozilla/2.0 (compatible; MSIE 3.*;

^Windows

3.1*!Parent=IE

3.0,Object=Plugin

R12=Mozilla/2.0 (compatible; MSIE 3.*;

^Mac_*!Parent=IE

Non-Windows

R11=Mozilla/2.0 (compatible; MSIE

3.*;*!Parent=IE

Non-Windows

; POCKET EXPLORER

R10=Microsoft Pocket Internet

Explorer/*!Parent=PIE 1.0

R9=Mozilla/1.1 (compatible; MSPIE

*!Parent=PIE 1.1

; NAVIGATOR 2.X

R8=Mozilla/2.* (Win95;

^16bit*!Parent=Netscape 2.0

R7=Mozilla/2.* (Win95*!Parent=Netscape 2.0

R6=Mozilla/2.* (WinNT*!Parent=Netscape 2.0

R5=Mozilla/2.* (Windows*!Parent=Netscape 2.0

R4=Mozilla/2.* (16bit*!Parent=Netscape 2.0

R3=Mozilla/2.* (Macintosh*!Parent=Netscape

Non-Windows

; MSIE 2.X

R2=Mozilla/2.0 (compatible; MSIE

2.*!Parent=IE 2.0

R1=Mozilla/1.22 (compatible; MSIE

2.*!Parent=IE 2.0

; MSIE 1.5

R0=Mozilla/1.22 (compatible; MSIE

1.*!Parent=IE 1.5

; This list will contain the user agents

matched using

any

of the rules

[MatchedBrowsers]

; This list will contain the user agents

that did not

match

any of the

rules

[NotMatchedBrowsers]

Quang Tue Nguyen

San Francisco AIDS Foundation

415.487.3087 (Voice)

415.487.3009 (Fax)

-----Original Message-----

From: Justin Trask

[mailto:JustinT@softwarefx.com]

Sent: Wednesday, March 21,

2001 11:05

AM

To: Nguyen, Quang Tue

Subject: RE: Unable

to get trial

version to work

fully

Hello,

For the first problem where

the activex

component is not

generated

unless you force it has to

do with this

suggestion found

in

one of our

support article.

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

Even when the browser

supports activex

objects such as

Internet Explorer

5 ChartFX will only display

a Jpeg image

Description

Browser Detection has failed

due to a

lack

of

permissions on

the Config

directory

Resolution

In order to fix this problem

you need to

change the NT

security

permissions on this

directory to Read

and

Write for

IUser_MachineName.

Read permissions alone can

cause browser

detection to

fail.

If the

problem continues after the

permissions

have

been

changed on

this

directory then it will be

necessary for

you

to reboot

your

web server

because it may be caching

your previous

security

settings.

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

For the problme with failed

to download

license message

please follow

the suggestion below that is

found in

one of

our support

articles.

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

Internet Explorer shows a

"Failed to

download license"

message inside

the chart

Description:

ChartFX IE was not able to

download the

license file

Resolution:

- Check that a file named

CfxIE.lic is

located in the

WWWRoot\License

folder of your webserver

- Check that the NT file

permissions on

this

folder

(License) allows

Read access to the user

impersonated by

IIS

(typically

IUSR_MachineName)

- Check in your web server

configuration

that you have a

virtual

directory called License

pointing to the

WWWRoot\License

folder (if you

are hosting multiple web

sites please

make

sure that you

create this

virtual directory in each of

the web

sites

that will use

charts)

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

Justin Trask

Software FX

-----Original Message-----

From: Nguyen, Quang Tue

[mailto:qnguyen@sfaf.org]

Posted At: March 20, 2001

10:21 PM

Posted To: Pending CfxIE

Conversation: Unable to get

trial

version to

work fully

Subject: Unable to get trial

version to

work

fully

I'm in the process of

evaluating Chart

FX IE

2000 for a

project I am

working

on.

I am having some difficulty

trying to

get

your product

to

work

completely

correctly. The ActiveX /

PlugIns do not

come up even

for

browsers I

know

are compatible when I

generate HTML code

from ASP. The

problem doesn't

seem

to exist when I use the HTML

generated

by

the Designer;

in

that

situation,

the ActiveX/PlugIn come up

as expected.

Your Kb articles about

setting the

permissions for

IUSR_COMPUTERNAME for

/License and /Includes and

so forth do

not

apply here

since

the

permissions

are correct (and work for

some of the

scenarios I

mentioned

above).

I get the following errors

on the

client,

when I try to

force the system

to

output as an ActiveX or

Plugin (via the

getHTMLTag

function):

(IE 4.72) Fail to download

License

(NN 4.75) Corrupt License

If the getHTMLTag is set to

AUTO, JPEG

will

always be

generated, and is

displayed OK.

Server:

CfxIESrv.dll version

4.4.18.1

I'm using ASP on an NT 4

Server with SP

4

Below are some codes for

your review.

I've

included my

asp

codes, the

HTML

source that it produces for

IE that

gives

the "Fail to

Load

License"

error,

and the HTML from the

Designer that

works

correctly on

IE.

It seems to me that the

problem is that

the

license

parameter is not

completed with the value

("/License/CfxIE.lic")

<PARAM NAME="LICENSE"

VALUE="">

in the bad code generated by

the

getHTMLTag,

but I don't

know how to

correct

it.

I hope you can point me to

the right

solution. I am

impressed with your

product, but I need to

demonstrate the

functionality

with

ActiveX/PlugIn

before I can give the OK to

purchase a

license. Thanks.

========================================================================

Here are ASP codes for IE

output that

give

me the error:

<%@ LANGUAGE="VBSCRIPT" %>

<%

option explicit

dim qry

dim rs

dim x()

dim y()

dim i

dim chart1

dim connString

dim CfxArray

dim debugOn

'this just generates

boilerplate HTML

setHeader "About",

COMP_ABOUT,

COMP_ABOUT,

true,

getCosmeticNavigation()

connString =

Application("ConnString")

qry = "select CASE WHEN

Gender IS NULL

THEN

'Null' ELSE

Gender END,

Calls=count(LogID) " & _

"from

ContactLog..AnonymousContactCore " & _

"GROUP BY Gender " &

_

"order by Gender"

response.write("<P>qry: " &

qry &

"</P>")

set

rs=Server.CreateObject("ADODB.Recordset")

rs.open qry,

connString,,,adCmdText

Set chart1 =

Server.CreateObject("ChartFX.WebServer")

chart1.Gallery = PIE

chart1.RGBBk =

RGB(255,255,255)

'chart1.RGB3DBk =

RGB(255,255,255)

'chart1.Axis(AXIS_Y).Max =

2000

'chart1.Axis(AXIS_Y).Min = 0

'chart1.Axis(AXIS_X).Max =

40

'chart1.Axis(AXIS_X).Min = 0

'chart1.Axis(AXIS_X).LabelAngle = 75

chart1.imgWidth = 500

chart1.imgHeight = 500

chart1.chart3D = true

chart1.PointLabels = True

chart1.Axis(AXIS_Y).Title =

"Calls"

chart1.Axis(AXIS_X).Title =

"Gender"

'chart1.SerLegBox = true

chart1.AdoResultset rs

Chart1.SeparateSlice(0) = 30

Chart1.borderStyle=0

response.write(chart1.GetHtmlTag("100%","100%","ActiveX"))

setFooter()

rs.close

set rs=nothing

set cfxArray=nothing

set chart1=nothing

%>

<!-- #include

virtual="/Include/CfxIE.inc"

-->

<!-- #include

file="cf_security.inc" -->

<!-- #include

file="cf_html.inc" -->

========================================================================

Here's the HTML from View

Source for the

above ASP (on

IE)

that gives

the

"Fail to Load License"

error:

<HTML><HEAD>

<META

HTTP-EQUIV="Content-Type"

CONTENT="text/html;

charset=iso-8859-1">

<META NAME="copyright"

CONTENT="2000-2001,

San Francisco

AIDS

Foundation">

<TITLE>About</title><LINK

REL="STYLESHEET"

HREF="/crm/html/StyleSheet.css"

TYPE="text/css"></HEAD>

<BODY><TABLE

BORDER="0"CELLPADDING=0

CELLSPACING="0"

WIDTH="600">

<TR><TD BGCOLOR="#99CCFF"

ALIGN="CENTER"

WIDTH="134"

ROWSPAN="3"><IMG

BORDER="0"

SRC="/crm/images/logo.gif"></TD><TD

WIDTH="8"> </TD><TD

WIDTH="458"><IMG HEIGHT="40"

SRC="/crm/images/database/banner_about.gif"></TD></TR>

<TR VALIGN="TOP"><TD

WIDTH="8"> </TD><TD

WIDTH="458"><IMG HEIGHT=20

WIDTH=63 BORDER=0 ALT="Main"

SRC="/crm/images/database/main_on.gif"><IMG

HEIGHT=20 WIDTH=63 BORDER=0

SRC="/crm/images/database/blank_off.gif"><IMG

HEIGHT=20 WIDTH=63 BORDER=0

SRC="/crm/images/database/blank_off.gif"><IMG

SRC="/crm/images/database/blue_line.gif"

WIDTH=269

HEIGHT=20></TD></TR>

<TR VALIGN="TOP"><TD

WIDTH="8"> </TD><TD

WIDTH="458"

ALIGN="RIGHT"><A

HREF="#"

onClick="openWindow('/crm/asp/help/Bug.asp?s=20001','Bug',630,550,'yes',

'yes

','no');"><IMG BORDER="0"

ALT="Report

Bug"

SRC="/crm/images/database/bug.gif"></A><IMG

BORDER="0"

SRC="/crm/images/database/diamond.gif"><A

HREF="#"

onClick="openWindow('/crm/asp/About.asp','About',630,550,'yes','yes','no

');"

><IMG BORDER="0" ALT="About"

SRC="/crm/images/database/about.gif"></A></TD></TR>

</TABLE><SCRIPT

SRC="/crm/html/ValidationJavaScripts.js"></SCRIPT>

<P>qry: select CASE WHEN

Gender IS NULL

THEN

'Null' ELSE

Gender END,

Calls=count(LogID) from

ContactLog..AnonymousContactCore

GROUP BY Gender

order by Gender</P><OBJECT

CLASSID="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA"

TYPE="application/x-oleobject"

WIDTH="100%" HEIGHT="100%"

ID="Chart1"

>

<PARAM NAME="LICENSE"

VALUE="">

<PARAM NAME="DATAPATH"

VALUE="/cfxtemp/CFT0320_1909173A1.chw">

</OBJECT>

<BR><font size=1

bgcolor="FFFFFF"

color="000000">This

chart

was created

using the TRIAL version of

ChartFX

Internet

Edition</font></BODY></HTML>

========================================================================

Here's HTML generated from

the Designer

that

works FINE

on

IE, with the

ActiveX component.

<HTML>

<HEAD>

</HEAD>

<BODY>

<OBJECT

classid="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA"

type="application/x-oleobject"

id="Chart1"

width="300" height="300"

Codebase="/Download/CfxIE.cab#Version=4,4,13,1"

>

<PARAM

name="License"

value="/License/CfxIE.lic">

<PARAM

name="TypeMask"

value="113774850">

<PARAM

name="IntFlags"

value="4">

<EMBED

type="chart/chartfxie"

name="Chart1"

width="300"

height="300"

Pluginspage="/Download/NpCfxIE.htm"

PluginVersion="4,4,13,1"

License="/License/CfxIE.lic"

TypeMask="113774850"

IntFlags="4"

>

</OBJECT>

</BODY>

</HTML>

Quang Tue Nguyen

Database Manager

San Francisco AIDS

Foundation

415.487.3087 (Voice)

415.487.3009 (Fax)

'

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...