Probably that you are writing a server side script and not a client side
one. A client side script is typically written in client side javascript,
it is in a <script> tag (no runat=server att).
Now, what you are trying to do however, is not possible. I don't think
client side javascript would have access to that kind of information - and
it would certainly not be able to write a file on the client's computer at
will. If you are thinking you want it to write on the server's computer -
well, it can't do that either, since it is running on the client, and not on
the server. It's connection to the server has long been terminated. You
would need to do some sort of call to the server, and give it the
appropriate information - which I don't think think you would even have
access to.
"Carl Jones via .NET 247" <an*******@dotnet247.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
(Type your message here)
I'm trying to run a client-side script from a web page.
It's a VB script that gets information (computer name, software versions
etc )about the computer and writes it to a txt file. If I simply run the script from a button click it gathers the information
of the server, not the workstation, no matter what workstation I'm on. What am I missing?
--------------------------------
From: Carl Jones
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>i9ms5AysxEOKKACK2W1Upw==</Id>