473,410 Members | 1,875 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,410 software developers and data experts.

Run script on another NON-IIS server

I am trying to perform the following task. I believe it is possible from
other asp pages I have seen before.

I have a server (ServerA) Win2003 IIS 6 running a web page
I have a server (ServerB) Win2003 Active Directory Domain Controller
which I do not want to put IIS.

I need a user to go to the ServerA web page and enter data, and once the
submit button is executed, I want the script to take the data and execute it
on the ServerB server (AD DC).

This script can only run on the DC locally, not remotely.
I have hear of an asp page once before that mapped a drive to the DC, and
put the global.asa file on the mapped drive. There was also something about
editing the asa file.

Any help would be greatly appreciated.
Jul 19 '05 #1
10 1562
> I have a server (ServerA) Win2003 IIS 6 running a web page
I have a server (ServerB) Win2003 Active Directory Domain Controller
which I do not want to put IIS.
I need a user to go to the ServerA web page and enter data, and once the
submit button is executed, I want the script to take the data and
execute it on the ServerB server (AD DC).


Are you able to create a virtual directory in IIS on ServerA that points
to a folder on ServerB? If you can do that, you should be able to point
the form to submit to a page there.

Jenny
Jul 19 '05 #2
I have tried the below and the scritp still appears to run from the web
server (ServerA) and not the non IIS server (ServerB)

To troubleshoot I ass the following code:
Set WShShell = Server.CreateObject("WScript.Shell")
strSvr = WshShell.ExpandEnvironmentStrings("%ComputerName%" )

(in html section)
ServerName = <%=strSvr%>

The code returns ServerA (IIS Server) not ServerB as am trying to
accomplish.

I need to code to actually execute on ServerB just as if I were sitting on
ServerB and executing the vbs code.
"jenny mabe" <ne**@rabidduck.com> wrote in message
news:opr3ym9906qafk40@localhost...
I have a server (ServerA) Win2003 IIS 6 running a web page
I have a server (ServerB) Win2003 Active Directory Domain Controller
which I do not want to put IIS.
I need a user to go to the ServerA web page and enter data, and once the
submit button is executed, I want the script to take the data and
execute it on the ServerB server (AD DC).


Are you able to create a virtual directory in IIS on ServerA that points
to a folder on ServerB? If you can do that, you should be able to point
the form to submit to a page there.

Jenny
Jul 19 '05 #3
Just keep in mind that the script will run in the context of serverA, not
serverB.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"jenny mabe" <ne**@rabidduck.com> wrote in message
news:opr3ym9906qafk40@localhost...
I have a server (ServerA) Win2003 IIS 6 running a web page
I have a server (ServerB) Win2003 Active Directory Domain Controller
which I do not want to put IIS.
I need a user to go to the ServerA web page and enter data, and once the
submit button is executed, I want the script to take the data and
execute it on the ServerB server (AD DC).


Are you able to create a virtual directory in IIS on ServerA that points
to a folder on ServerB? If you can do that, you should be able to point
the form to submit to a page there.

Jenny
Jul 19 '05 #4
I am trying to get it to run in the context of ServerB (Non-IIS Server). Is there any way to perform this? ServerB is a domain controller and I do not want to put IIS on it, however I need the vbs script to run Local to the DC but called with parameters from ServerA (IIS Server)

Is there not a way to accomplish this
Jul 19 '05 #5
One way I can think of would be to have the script on serverA write the
necessary data to a file on serverB and then have a scheduled batch job on
serverB process it.

You could also use MSMQ if you were willing to set it up on both servers.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Raptor" <an*******@discussions.microsoft.com> wrote in message
news:E5**********************************@microsof t.com...
I am trying to get it to run in the context of ServerB (Non-IIS Server). Is there any way to perform this? ServerB is a domain controller and I do
not want to put IIS on it, however I need the vbs script to run Local to the
DC but called with parameters from ServerA (IIS Server).
Is there not a way to accomplish this?

Jul 19 '05 #6
Yeah, I was trying to avoid doing something like that

How would MSMQ help in performing this task? I might consider this as long as IIS componants are not on serverB (Active Directory Domain controller)
Jul 19 '05 #7
MSMQ allows an application to queue "messages" to a message queue. The
messages are pulled from the queue by another application that can be on any
system. So the web-server could queue the data needed by the other server to
a queue that was processed by that server.

There is some administrative overhead in setting up the queues and serverB
would have to have access to MSMQ. It has been a while since I did anything
with it (we did a Training CBT course for it for Microsoft and Candle Corp
when it first came out) so I don't know what the current requirements are to
use it. Probably a batch process would be simpler to set up but I thought I
would mention it.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Raptor" <an*******@discussions.microsoft.com> wrote in message
news:8F**********************************@microsof t.com...
Yeah, I was trying to avoid doing something like that.

How would MSMQ help in performing this task? I might consider this as long as IIS componants are not on serverB (Active Directory Domain
controller).

Jul 19 '05 #8
Thanks for your assistance, a scheduled job would be easier. It's hard to
believe that IIS and ASP can't accomplish this though.
Thanks Again,
Richard

"Mark Schupp" <ms*****@ielearning.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
MSMQ allows an application to queue "messages" to a message queue. The
messages are pulled from the queue by another application that can be on any system. So the web-server could queue the data needed by the other server to a queue that was processed by that server.

There is some administrative overhead in setting up the queues and serverB
would have to have access to MSMQ. It has been a while since I did anything with it (we did a Training CBT course for it for Microsoft and Candle Corp
when it first came out) so I don't know what the current requirements are to use it. Probably a batch process would be simpler to set up but I thought I would mention it.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Raptor" <an*******@discussions.microsoft.com> wrote in message
news:8F**********************************@microsof t.com...
Yeah, I was trying to avoid doing something like that.

How would MSMQ help in performing this task? I might consider this as

long as IIS componants are not on serverB (Active Directory Domain
controller).


Jul 19 '05 #9
IIS and ASP are running in a process on serverA. They cannot access system
resources on serverB without something running on serverB. At the very least
you would need a remote COM+ package on serverB that could be called by the
ASP script on serverA.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"news.microsoft.com" <Ri*****@RaptorCon.net> wrote in message
news:ua*************@TK2MSFTNGP11.phx.gbl...
Thanks for your assistance, a scheduled job would be easier. It's hard to
believe that IIS and ASP can't accomplish this though.
Thanks Again,
Richard

"Mark Schupp" <ms*****@ielearning.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
MSMQ allows an application to queue "messages" to a message queue. The
messages are pulled from the queue by another application that can be on any
system. So the web-server could queue the data needed by the other server to
a queue that was processed by that server.

There is some administrative overhead in setting up the queues and
serverB would have to have access to MSMQ. It has been a while since I did

anything
with it (we did a Training CBT course for it for Microsoft and Candle Corp when it first came out) so I don't know what the current requirements

are to
use it. Probably a batch process would be simpler to set up but I
thought I
would mention it.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Raptor" <an*******@discussions.microsoft.com> wrote in message
news:8F**********************************@microsof t.com...
Yeah, I was trying to avoid doing something like that.

How would MSMQ help in performing this task? I might consider this as

long as IIS componants are not on serverB (Active Directory Domain
controller).



Jul 19 '05 #10
Agreed, I was hoping one was available that I was not aware of. I though I
had heard of this type of process working before.

Thx to MSFT's use of AT vs mstasks they have made things even more
difficult. But, that's life in the scripting/programming world........

Thanks again for our assistance!
Richard
"Mark Schupp" <ms*****@ielearning.com> wrote in message
news:Ow**************@TK2MSFTNGP09.phx.gbl...
IIS and ASP are running in a process on serverA. They cannot access system
resources on serverB without something running on serverB. At the very least you would need a remote COM+ package on serverB that could be called by the ASP script on serverA.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"news.microsoft.com" <Ri*****@RaptorCon.net> wrote in message
news:ua*************@TK2MSFTNGP11.phx.gbl...
Thanks for your assistance, a scheduled job would be easier. It's hard to
believe that IIS and ASP can't accomplish this though.
Thanks Again,
Richard

"Mark Schupp" <ms*****@ielearning.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
MSMQ allows an application to queue "messages" to a message queue. The
messages are pulled from the queue by another application that can be on
any
system. So the web-server could queue the data needed by the other

server
to
a queue that was processed by that server.

There is some administrative overhead in setting up the queues and

serverB would have to have access to MSMQ. It has been a while since I did

anything
with it (we did a Training CBT course for it for Microsoft and Candle Corp when it first came out) so I don't know what the current requirements

are
to
use it. Probably a batch process would be simpler to set up but I

thought
I
would mention it.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Raptor" <an*******@discussions.microsoft.com> wrote in message
news:8F**********************************@microsof t.com...
> Yeah, I was trying to avoid doing something like that.
>
> How would MSMQ help in performing this task? I might consider this

as long as IIS componants are not on serverB (Active Directory Domain
controller).
>
>



Jul 19 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Clay Beatty | last post by:
When you create database diagrams in Enterprise Manager, the details for constructing those diagrams is saved into the dtproperties table. This table includes an image field which contains most of...
10
by: Max | last post by:
Hello all, I am trying to protect a page within my site with a JS password scheme. Now I know JS can be quite easily "circumvented", but I came by a code below. My question is: 1. Is there...
11
by: Jonny | last post by:
Netscape 7.02 is giving me a headache with a downloaded snow script. Starting with a blank page, I inserted the script and checked it in IE 6 and Netscape 7.02. Everything worked and looked fine. A...
11
by: rajarao | last post by:
hi I want to remove the content embedded in <script> and </script> tags submitted via text box. My java script should remove the content embedded between <script> and </script> tag. my current...
28
by: Randy Starkey | last post by:
Hi, Does anyone know where I can get a script that show a little plus sign after a line of text, that when you click the plus sign, more text is revealed on that same page, like a continuing...
6
by: Troels Arvin | last post by:
Hello, In the init-script contained in the RPMs downloadable from the PostgreSQL site (I checked the one for Fedora), an explicit locale is set before running initdb. - And the explicit locale...
15
by: Lennart | last post by:
Hi folks, I have created an animated image gallery in dhtml. It works fine in Internet Explorer. In Firefox, it only works if I ommit the DOCTYPE tag. The page is valid xhtml-strict but with a...
9
by: Steve | last post by:
Hi; I've being going through some legacy code on an old JSP site I have been patching. I noticed that when I save the JSP down to my PC as an HTML file I get this javascript error in IE 6 ( ...
6
by: RossRGK | last post by:
A script I've implemented is doing this annoying thing where it works in mozilla only if you have Firebug installed. I was all excited to find someone had solved what sounded like the same...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.