VBScript Denied-help

G

Gregg Zegarelli

i am trying to do catalog searches on a server catalog
from client workstations. having permission rights
problems using exact same file code.

4 situations:

if i run the vb script on the server catalog from CLIENT
machine in frontpage preview, i get perfect results. that
is, client htm calling into remote server cata. works.

if i run the vb script on the server catalog from the
SERVER with a direct launch of the file in browser, i get
perfect results. that is, manually going into the server
web directory and launching the file gives great results.

BUT, if i run the vb script on the server catalog from
CLIENT machine launched from a direct view of the file in
browser using a url \\servermachinename\c$\...\search.htm
i get Error 80070005 - Access is denied and a VB script
Access is Denied.

if i run the vb script on the server catalog from any
machine (server or client) via an intranet url
http:\\www.xyz.com\search.htm i get Error 80070005 -
Access is denied and a VB script Access is Denied.

i have tried the items at KB 315454 with no avail.

can't seem to figure out where the permission rights are.
since i can get to them from client, in frontpage, can't
be firewall, since i can get to on server or client, cant
be code. the only thing i can think of whenever request
traverses through a pipe it gets trapped. so many pipes,
can get a hold on it.
 
J

Jim Buyens

Please clarify the following points:

o What do you mean by a "server catalog"? Is this a
Microsoft Indexing Service catalog? A database
containing catalog items? Something else?

And if it's some sort of database, what kind?
Access? SQL Server? Oracle? Something else?

o Where is this VBScript code physically located?
In a .htm page? In a .asp page? In a .vb file?
Somewhere else?

o Where do you expect this VBScript code to execute?
Within a browser? On the Web Server? On the
database server? Somewhere else?

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
G

Gregg Zegarelli

o What do you mean by a "server catalog"? Is this a
Microsoft Indexing Service catalog? YES

o Where is this VBScript code physically located?
In a .htm page? YES, ON SERVER. HOWEVER, MY REQUEST
IDENTIFIES 4 SITUTATIONS, TWO OF WHICH ARE WHEN HTM FILE
RESIDING ON CLIENT, WITH INDEX CATS ON SERVER, AND TWO
WHERE THE HTM IS ON THE SERVER (IN THE WEB DIRECTORY) AND
THE CATS ARE ON THE SERVER.
o Where do you expect this VBScript code to execute?
Within a browser? On the Web Server? On the
database server? Somewhere else? FRONTPAGE SITE ON
SERVER. THE HTM FILE WOULD BE LOADED INTO THE CLIENT
BROWSER. THE JAVASCRIPT IN THE HTM IS ACCESSING SERVER
INDEX CAT.

does this help?
 
J

Jim Buyens

Gregg Zegarelli said:
IDENTIFIES 4 SITUTATIONS, TWO OF WHICH ARE WHEN HTM FILE
RESIDING ON CLIENT, WITH INDEX CATS ON SERVER, AND TWO
WHERE THE HTM IS ON THE SERVER (IN THE WEB DIRECTORY) AND
THE CATS ARE ON THE SERVER.

First, I still have no idea what you mean by "INDEX CATS".
Therefore, I ask again what you mean by that phrase. Is it
a Microsoft Indexing Service catallog, an Access Database,
a SQL Server database, or what?

Second, you are correct. Code running on the browser cannot,
in general, directly access resources on the server. This would
lead to gigantic security holes.
SERVER. THE HTM FILE WOULD BE LOADED INTO THE CLIENT
BROWSER. THE JAVASCRIPT IN THE HTM IS ACCESSING SERVER
INDEX CAT.

Again, code running on the browser cannot, in general, access
resources on the server.

The normal approach is for the browser to submit a request to
the Web server, for something like an ASP or ASP.NET to retrieve
and format the data, and then for the browser to receive the data
as plain HTML.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top