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. Connectivity Issue

Connectivity Issue

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsysadminalgorithmshelp
2 Posts 2 Posters 0 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.
  • N Offline
    N Offline
    Nikhil Bandekar
    wrote on last edited by
    #1

    Hello Friends, I am in a search of some information over asp.net. I have created a web application which my client requires to set in on a server which is phisically present in the company premises itself. The condition of the client is such that when the users are using the application in the same premise they should not be routed through internet, so the bandwith could be saved. Over there they should use LAN for processing the application. But for the user who is accessing the website through internet should hit the same server and application. So in short they need that the application should have two pointers. I have tried giving it two pointers, the application is getting accessed through internet, user can login sucessfully but as the any activity is clicked it displays "Page Cannot be displayed" the reason is it is searching for internal server files through URL. Eg... My test application is deployed by name http://testsoft/login.aspx My live application which has a public ip is by name http://255.26.235.22/login.aspx When user logs in a web application internaly and clicks on any activity through LAN the application redirects the pages through the url http://testsoft/myactivity.aspx But when user logs in a web application externally it should display ip http://255.26.235.22/myactivity.aspx but instead of that its getting redirected to http://testsoft/myactivity.aspx which is basically for internal users. So external users are not getting access through the activities of the application and the result which gets displayed is "Page cannot be displayed". Is there any solution related to global.asax file ? If any kindly let me know. Please reply ASAP,

    Nikhil Bandekar Mumbai, India

    V 1 Reply Last reply
    0
    • N Nikhil Bandekar

      Hello Friends, I am in a search of some information over asp.net. I have created a web application which my client requires to set in on a server which is phisically present in the company premises itself. The condition of the client is such that when the users are using the application in the same premise they should not be routed through internet, so the bandwith could be saved. Over there they should use LAN for processing the application. But for the user who is accessing the website through internet should hit the same server and application. So in short they need that the application should have two pointers. I have tried giving it two pointers, the application is getting accessed through internet, user can login sucessfully but as the any activity is clicked it displays "Page Cannot be displayed" the reason is it is searching for internal server files through URL. Eg... My test application is deployed by name http://testsoft/login.aspx My live application which has a public ip is by name http://255.26.235.22/login.aspx When user logs in a web application internaly and clicks on any activity through LAN the application redirects the pages through the url http://testsoft/myactivity.aspx But when user logs in a web application externally it should display ip http://255.26.235.22/myactivity.aspx but instead of that its getting redirected to http://testsoft/myactivity.aspx which is basically for internal users. So external users are not getting access through the activities of the application and the result which gets displayed is "Page cannot be displayed". Is there any solution related to global.asax file ? If any kindly let me know. Please reply ASAP,

      Nikhil Bandekar Mumbai, India

      V Offline
      V Offline
      Venkatesh Mookkan
      wrote on last edited by
      #2

      Hey Nithil,

      Nikhil Bandekar wrote:

      My test application is deployed by name http://testsoft/login.aspx My live application which has a public ip is by name http://255.26.235.22/login.aspx

      The above code shows that you are using Absolute Path instead of relative path. Eg, You must use Response.Redirect("Login.aspx") where Login.aspx file is located in the same root not Response.Redirect("http://testsoft/login.aspx").

      Nikhil Bandekar wrote:

      Is there any solution related to global.asax file ? If any kindly let me know.

      As per knowledge nope... But I have seen some application are frame the URL in Global.asa or Global.asax file. You check both scenario.

      Regards, Venkatesh Mookkan. Software Engineer, India My: Website | Yahoo Group | Blog Spot

      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