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. Database & SysAdmin
  3. System Admin
  4. Error in running an application from network

Error in running an application from network

Scheduled Pinned Locked Moved System Admin
2 Posts 2 Posters 12 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.
  • S Offline
    S Offline
    srikrishnathanthri
    wrote on last edited by
    #1

    Hello, I am using a portable chat application via LAN which is placed in local server(Windows server 2012) computer say computer1. I have another Windows server(Windows server 2012) PC in which around 10 people are working. Say that pc as computer2. While working in computer2 we used to access chat application from computer1. Some time I will update the some features of chat application and replace that in computer1 without any error. Now in order to make latest version of application available to the users of computer2, all the working users in computer2 has to close and then open the chat application. This is the procedure which need to be done in order to open the latest version of app, 1.userA and userB are using chat application, 2.userA, userb both closes the application 3.userA, userb opens the app Here is my problem, 1.userA and userB are using chat application, 2.userA closes the application but userB still kept that app open. 3.userA opens the app, here userA will get old version instead of new version which is available in computer1. Why this is happening ? Where windows store the cache ? Is it not possible to make that application to load newer version when a other user is kept open that ? I know I can follow method1 as solution, but it is very difficult to know that all the users are closed the app so that I can inform again to open it. Please help me.

    L 1 Reply Last reply
    0
    • S srikrishnathanthri

      Hello, I am using a portable chat application via LAN which is placed in local server(Windows server 2012) computer say computer1. I have another Windows server(Windows server 2012) PC in which around 10 people are working. Say that pc as computer2. While working in computer2 we used to access chat application from computer1. Some time I will update the some features of chat application and replace that in computer1 without any error. Now in order to make latest version of application available to the users of computer2, all the working users in computer2 has to close and then open the chat application. This is the procedure which need to be done in order to open the latest version of app, 1.userA and userB are using chat application, 2.userA, userb both closes the application 3.userA, userb opens the app Here is my problem, 1.userA and userB are using chat application, 2.userA closes the application but userB still kept that app open. 3.userA opens the app, here userA will get old version instead of new version which is available in computer1. Why this is happening ? Where windows store the cache ? Is it not possible to make that application to load newer version when a other user is kept open that ? I know I can follow method1 as solution, but it is very difficult to know that all the users are closed the app so that I can inform again to open it. Please help me.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      srikrishnathanthri wrote:

      Why this is happening ?

      Because you can't overwrite a file that is in use.

      srikrishnathanthri wrote:

      Is it not possible to make that application to load newer version when a other user is kept open that ?

      Sure; don't overwrite the previous version.

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

      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