473,394 Members | 1,829 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,394 software developers and data experts.

ASP.Net page will not run properly on the webserver

I have created a page that should unlock our local users throughout our
network. The page is simple enough. It just takes users input for the IP
Address and the User Name of the lockout computer. When they click the
unlock button A series of If Else statements decides by the I.P. Address
which site they are at. From this it calls an appropriate .bat file passing
the IP and UserName. The series of .bat files and .vbe files are located on
the webserver and log in remotly from the webserver to the local machine and
then unlocks the account. We have given all access to all users just to make
sure that they won't be denied because of privaliges issues.

When testing on my computer where I built the page all works perfectly and I
can unlock accross the network. When testing from the webserver the only
thing that happens is a page refresh.

Anybody have any ideas on where the problem could lie?

(Just to make specifically clear the webpage does nothing more than figure
out which .bat file to call all the remote unlocking is performed by the
series of .bat's and .vbe's. The files are all located in the same directory
and under IIS all users have been given read, write, execute privilages for
the page.)
Nov 27 '06 #1
2 1169
How far through your code does it get? I.e. where, specifically is the
code stopping execution? If you don't know, add more logging.

Zach Burnett wrote:
I have created a page that should unlock our local users throughout our
network. The page is simple enough. It just takes users input for the IP
Address and the User Name of the lockout computer. When they click the
unlock button A series of If Else statements decides by the I.P. Address
which site they are at. From this it calls an appropriate .bat file passing
the IP and UserName. The series of .bat files and .vbe files are located on
the webserver and log in remotly from the webserver to the local machine and
then unlocks the account. We have given all access to all users just to make
sure that they won't be denied because of privaliges issues.

When testing on my computer where I built the page all works perfectly and I
can unlock accross the network. When testing from the webserver the only
thing that happens is a page refresh.

Anybody have any ideas on where the problem could lie?

(Just to make specifically clear the webpage does nothing more than figure
out which .bat file to call all the remote unlocking is performed by the
series of .bat's and .vbe's. The files are all located in the same directory
and under IIS all users have been given read, write, execute privilages for
the page.)
Nov 27 '06 #2
After Reading your reply I decided to start with a couple of visual Ideas
before I went in and rehacked the code. What I found after looking at the
task manager for the webserver I discovered that there were several hidden
cmd prompts open (which would be used for the .bat and .vbe's). Judging by
that I believe the problem lies with either an error on one of the .bat or
..vbe calls or (the easier of the 2) there is a firewall setting that is not
allowing the scripts to run on the local machine. Thanks for the advice. I
believe I'll start by checking if it gets stopped in the firewall first.

"Eric" wrote:
How far through your code does it get? I.e. where, specifically is the
code stopping execution? If you don't know, add more logging.
Nov 28 '06 #3

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

Similar topics

4
by: David Walker | last post by:
Hi I have a Microsoft SQL database I can use (also mySQL, so if you know how to do this in mySQL that is just as useful). The database can only be accessed from webpages hosted on the same server...
19
by: Joshua Beall | last post by:
Hi All, I would like to setup my site so that when a page is request that does not exist, transfer is instead passed to a certain page that I specify. For instance, if the user requests...
2
by: Jon Haakon | last post by:
Hi, I'm developing a websolution using ASP and DHTML technology that's running on a MS IIS webserver. My solution is frame based with a toolbar on top, a hidden frame for scripts in the...
4
by: James Cooke | last post by:
The clients that connect to my webserver all have a bunch of html files located on their hard drives, ie c:\myfiles\html1.htm c:\myfiles\html2.htm c:\myfiles\html3.htm c:\myfiles\html4.htm...
1
by: Lenard Gunda | last post by:
Hi! I have the following problem. From my main page, when someone clicks a button, it uses client side javascript to open another .aspx page. This page displays content, based on what the...
6
by: emorgoch | last post by:
Hi there. I'm currently working on a project involving rebuilding our local intranet site. The site was originally developed using frames, defining a header, sidebar, and content area, which...
33
by: STILL LEARNING | last post by:
I'm not sure if this can even be done, but what prompts the question is my desire to be able to create an "Uber Link" script/code of some sort, such that even if the html page contains nothing but...
2
by: =?Utf-8?B?U2hhbm5vbg==?= | last post by:
I am trying to publish an application to a server that I do not have desktop access to because of our hosting environment. I publish to a file share. The WEB site has been configured by the hosts...
4
by: BillE | last post by:
Using VS2005, C#, asp 2, web forms I have a panel which contains 3 sub-panels. The first sub-panel contains a combo box. Making a selection populates a gridview in the second sub-panel. ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.