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. error running asp page

error running asp page

Scheduled Pinned Locked Moved ASP.NET
sysadmincsharpasp-nethelpquestion
4 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.
  • L Offline
    L Offline
    lost_in_code
    wrote on last edited by
    #1

    hi, i have a page on asp.net, i'm trying to run it on browser but i gives me error cannot find server, what should i do?by the way , the PC i'm working on is in local network

    J 1 Reply Last reply
    0
    • L lost_in_code

      hi, i have a page on asp.net, i'm trying to run it on browser but i gives me error cannot find server, what should i do?by the way , the PC i'm working on is in local network

      J Offline
      J Offline
      JMummery
      wrote on last edited by
      #2

      Hi lost_in_code, Sounds like IIS in not configured to run your asp.net application. Please can you give more details. e.g. Operating System / IIS or Apache etc...

      Regards Julian Mummery
      Please Visit my FREE Bug / Fault Logging Website at FaultLogger.com**


      **

      L 1 Reply Last reply
      0
      • J JMummery

        Hi lost_in_code, Sounds like IIS in not configured to run your asp.net application. Please can you give more details. e.g. Operating System / IIS or Apache etc...

        Regards Julian Mummery
        Please Visit my FREE Bug / Fault Logging Website at FaultLogger.com**


        **

        L Offline
        L Offline
        lost_in_code
        wrote on last edited by
        #3

        hi,i dont think the problem is from IIS 'cause i tried to open it on my PC and it worked(i run it from .net) and i dont have IIS, but when i try run it from a PC on local network it dosnt work and give the following error: The requested URL could not be retrieved While trying to retrieve the URL: http://localhost:3274/trywebsite/Default.aspx The following error was encountered: Unable to determine IP address from host name for unknown server name This means that: The cache was not able to resolve the hostname presented in the URL. Check if the address is correct. but i entered the right address, i dont know the problem!!!!

        J 1 Reply Last reply
        0
        • L lost_in_code

          hi,i dont think the problem is from IIS 'cause i tried to open it on my PC and it worked(i run it from .net) and i dont have IIS, but when i try run it from a PC on local network it dosnt work and give the following error: The requested URL could not be retrieved While trying to retrieve the URL: http://localhost:3274/trywebsite/Default.aspx The following error was encountered: Unable to determine IP address from host name for unknown server name This means that: The cache was not able to resolve the hostname presented in the URL. Check if the address is correct. but i entered the right address, i dont know the problem!!!!

          J Offline
          J Offline
          JMummery
          wrote on last edited by
          #4

          Hi, You cannot use it like that. Example PC No.1 is running the .NET application through Visual Studio by accessing -> http://localhost:3274/trywebsite/Default.aspx PC No.2 which is on same Local Area Network tries to access the same address. This will not work as localhost refers to PC No.2 itself and of course the application is running on PC No.1 The following is untested but may work:- 1. Find out the local IP Address of PC No.1 by going START >> Run and typing CMD [enter] 2. type IPCONFIG [enter] and note down your Ethernet Adapters IP Address (usually ner the top) it will be something like 192.168.x.x (mine is 192.168.2.38 for example) 3. Go to PC No.2 and try to access it in browser by typing in (where the .x.x is your local ip address) -> http://192.168.x.x:3274/trywebsite/Default.aspx Failing that you will have to set it up as an applciation in IIS and then you will be able to access it without the port number e.g. http://192.168.x.x/trywebsite/Default.aspx I hope this helps. Please let me know how you get on.

          Regards Julian Mummery
          Please Visit my FREE Bug / Fault Logging Website at FaultLogger.com**


          **

          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