Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

ERROR! Server Side Script

3 posts in General Discussion (old) Last posting was on 2000-03-27 18:51:10.0Z
Jonathan Alexandre Posted on 2000-03-27 18:37:08.0Z
Newsgroups: sybase.public.easerver
From: "Jonathan Alexandre" <jalexandre@mindspring.com>
Subject: ERROR! Server Side Script
Date: Mon, 27 Mar 2000 13:37:08 -0500
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 165.247.5.30
Message-ID: <347_dG3hfsBm$GA.290@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25612
Article PK: 155679

Hi Everyone.
I'm writing server side script to create
an HTML Datawindow and I keep an error.

First my script: (I've cut out any additional script because the error
happens on the 2nd line)

dwLocal = java.CreateComponent("DataWindow/HTMLGenerator",
"iiop://localhost:9000", "jagadmin", "");

dwLocal.SetDWObject("D:\\sybase\\powersite\\tutorial\\datawindows\\psmart.pb
l", "d_search_criteria")


This is the Error:

Not Allowed to create dwLocal.SetDWObject[SetDWObject] near line 19 in
/criteria.htm.

Any help would be appreciated

Thanks, Jon


Tim Nesham Posted on 2000-03-27 18:51:10.0Z
Newsgroups: sybase.public.easerver
From: "Tim Nesham" <tim.nesham@born.com>
Subject: Re: ERROR! Server Side Script
Date: Mon, 27 Mar 2000 12:51:10 -0600
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 198.cleveland-25rs.oh.dial-access.att.net 12.76.119.198
Message-ID: <347_xlJX24Bm$GA.52@forums.sybase.com>
References: <347_dG3hfsBm$GA.290@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25608
Article PK: 155674

Check for a valid reference to dwLocal and
try this instead:
dwLocal.SetDWObject("D:/sybase/powersite/tutorial/datawindows/psmart.pbl",
"d_search_criteria")

Jonathan Alexandre <jalexandre@mindspring.com> wrote in message
news:dG3hfsBm$GA.290@forums.sybase.com...
> Hi Everyone.
> I'm writing server side script to create
> an HTML Datawindow and I keep an error.
>
> First my script: (I've cut out any additional script because the error
> happens on the 2nd line)
>
> dwLocal = java.CreateComponent("DataWindow/HTMLGenerator",
> "iiop://localhost:9000", "jagadmin", "");
>
>
dwLocal.SetDWObject("D:\\sybase\\powersite\\tutorial\\datawindows\\psmart.pb
> l", "d_search_criteria")
>
>
> This is the Error:
>
> Not Allowed to create dwLocal.SetDWObject[SetDWObject] near line 19 in
> /criteria.htm.
>
> Any help would be appreciated
>
> Thanks, Jon
>
>


Catherine Valentin Posted on 2000-03-27 18:47:45.0Z
Newsgroups: sybase.public.easerver
Date: Mon, 27 Mar 2000 14:47:45 -0400
From: Catherine Valentin <catherinev@edp.ssspr.com>
X-Mailer: Mozilla 4.04 [en] (Win95; I)
MIME-Version: 1.0
Subject: Re: ERROR! Server Side Script
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 19
NNTP-Posting-Host: 209.100.234.125
Message-ID: <347_38DFACD1.C9CE348B@edp.ssspr.com>
References: <347_dG3hfsBm$GA.290@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25610
Article PK: 155677

This page have a example:
http://techinfo.sybase.com/css/techinfo.nsf/DocID/ID=47977

Catherine

Jonathan Alexandre wrote:

> Hi Everyone.
> I'm writing server side script to create
> an HTML Datawindow and I keep an error.
>
> First my script: (I've cut out any additional script because the error
> happens on the 2nd line)
>
> dwLocal = java.CreateComponent("DataWindow/HTMLGenerator",
> "iiop://localhost:9000", "jagadmin", "");
>
> dwLocal.SetDWObject("D:\\sybase\\powersite\\tutorial\\datawindows\\psmart.pb
> l", "d_search_criteria")
>
> This is the Error:
>
> Not Allowed to create dwLocal.SetDWObject[SetDWObject] near line 19 in
> /criteria.htm.
>
> Any help would be appreciated
>
> Thanks, Jon