Cannot get ASP.NET page to run server side
-
Basically I have created a Web page that allows our users to type in their IP address and their user name and click a button. The page then calls a .bat file which calls a .vbe file, and so on. The end result is that the users computer will be unlocked. I've tested the above page many times on my computer and it works, but once I put it on the webserver and rebuilt it, it does nothing. Even from the webservers own browser it does nothing. We have enven tried to give all access to all users, still nothing. You click the button and the page flashes and sits there. Is it possible the code behind has lost association with the event? If so how can I repair? Any help on this confusing issue is appricated. Thanks, Zach
-
Basically I have created a Web page that allows our users to type in their IP address and their user name and click a button. The page then calls a .bat file which calls a .vbe file, and so on. The end result is that the users computer will be unlocked. I've tested the above page many times on my computer and it works, but once I put it on the webserver and rebuilt it, it does nothing. Even from the webservers own browser it does nothing. We have enven tried to give all access to all users, still nothing. You click the button and the page flashes and sits there. Is it possible the code behind has lost association with the event? If so how can I repair? Any help on this confusing issue is appricated. Thanks, Zach
-
You are unlocking the server, not the client. When you run it locally on your own computer it works, as it's acting both as server and client.
--- b { font-weight: normal; }
When I run it from my computer I can unlock other users across the network, not just my local machine.
-
Basically I have created a Web page that allows our users to type in their IP address and their user name and click a button. The page then calls a .bat file which calls a .vbe file, and so on. The end result is that the users computer will be unlocked. I've tested the above page many times on my computer and it works, but once I put it on the webserver and rebuilt it, it does nothing. Even from the webservers own browser it does nothing. We have enven tried to give all access to all users, still nothing. You click the button and the page flashes and sits there. Is it possible the code behind has lost association with the event? If so how can I repair? Any help on this confusing issue is appricated. Thanks, Zach
Zach Burnett wrote:
The page then calls a .bat file which calls a .vbe file, and so on.
Maybe I could be a bit more helpful by addressing what exactly the .bat and .vbe files are doing. the first .bat file is used to pass the IP and User Name to the .vbe file the .vbe file creates a connection to the remote computer using the administrator credentials, and then calls another .bat file this .bat file passes the IP and User Name to the final .vbe the final .vbe updates the lockout tag and unlocks the users pc Process works great when using an access database that had been used. I am just trying to remove the access database because they were having to be updated manually at the sites where they were installed, which you could guess is not being done. Hope that made it a bit more clear as to what's going on. :) Zach
-
Basically I have created a Web page that allows our users to type in their IP address and their user name and click a button. The page then calls a .bat file which calls a .vbe file, and so on. The end result is that the users computer will be unlocked. I've tested the above page many times on my computer and it works, but once I put it on the webserver and rebuilt it, it does nothing. Even from the webservers own browser it does nothing. We have enven tried to give all access to all users, still nothing. You click the button and the page flashes and sits there. Is it possible the code behind has lost association with the event? If so how can I repair? Any help on this confusing issue is appricated. Thanks, Zach
Guffa is right - it works when the machine you're browsing on is the server.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
Basically I have created a Web page that allows our users to type in their IP address and their user name and click a button. The page then calls a .bat file which calls a .vbe file, and so on. The end result is that the users computer will be unlocked. I've tested the above page many times on my computer and it works, but once I put it on the webserver and rebuilt it, it does nothing. Even from the webservers own browser it does nothing. We have enven tried to give all access to all users, still nothing. You click the button and the page flashes and sits there. Is it possible the code behind has lost association with the event? If so how can I repair? Any help on this confusing issue is appricated. Thanks, Zach
Oh. Well darn it. I thought that by running it from the server the server would call the scripts and send it out through the network sort of like it does when I run it from thet access database. So if it can't work like that any ideas on another approach I could take? Thanks, Zach
-
Oh. Well darn it. I thought that by running it from the server the server would call the scripts and send it out through the network sort of like it does when I run it from thet access database. So if it can't work like that any ideas on another approach I could take? Thanks, Zach
I'm also curious as to why it will not work. The way I was thinking was that once unlock was clicked and code executed on the server the server would call the the files that are in the drive which would take over away from the actual page and run like it did in the access program. Can someone point out my flaw please? Thanks Zach