Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Cannot get ASP.NET page to run server side

Cannot get ASP.NET page to run server side

Scheduled Pinned Locked Moved ASP.NET
helpquestioncsharpasp-netsysadmin
7 Posts 3 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    Zach Burnett
    wrote on last edited by
    #1

    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

    G Z C 4 Replies Last reply
    0
    • Z Zach Burnett

      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

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      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; }

      Z 1 Reply Last reply
      0
      • G Guffa

        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; }

        Z Offline
        Z Offline
        Zach Burnett
        wrote on last edited by
        #3

        When I run it from my computer I can unlock other users across the network, not just my local machine.

        1 Reply Last reply
        0
        • Z Zach Burnett

          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

          Z Offline
          Z Offline
          Zach Burnett
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • Z Zach Burnett

            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

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • Z Zach Burnett

              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

              Z Offline
              Z Offline
              Zach Burnett
              wrote on last edited by
              #6

              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

              Z 1 Reply Last reply
              0
              • Z Zach Burnett

                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

                Z Offline
                Z Offline
                Zach Burnett
                wrote on last edited by
                #7

                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

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups