web services over a lan

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iprogrammer
    New Member
    • Feb 2008
    • 14

    web services over a lan

    i wanna access a web service from a remote machine....runn ing currently...as http://localhost:1321/Website5/Service.asmx..n ow thas on local host nd it runs perfectly well...but when a i give a web refrences on my client..as a http://192.168.1.160/Website5/Service.asmx... 192.168.1.160 is the ip add of my machine hosting the service...but it gives a error

    error on first line <@language = c#...etc ...cant make it reallt why...
  • iprogrammer
    New Member
    • Feb 2008
    • 14

    #2
    web services over a lan

    i wanna access a web service from a remote machine....runn ing currently...as http://localhost:1321/Website5/Service.asmx..n ow thas on local host nd it runs perfectly well...but when a i give a web refrences on my client..as a http://192.168.1.160/Website5/Service.asmx... 192.168.1.160 is the ip add of my machine hosting the service...but it gives a error

    error on first line .<%@ WebService Language="C#" CodeBehind="~/App_Code/Service.cs" Class="Service" %>..etc ...cant make it out really why...

    ps: i m new to the dot net framework nd services also..thnks

    Comment

    • Chrace
      New Member
      • Feb 2008
      • 6

      #3
      You forgot the port number?

      http://192.168.1.160:1321/...

      Comment

      • iprogrammer
        New Member
        • Feb 2008
        • 14

        #4
        no buddy...i have nt added in my post even with 192.168.1.160:1 321 it gives the same errorr..srry i forgot to it add it in my post...thnks

        Comment

        • sanatpalia
          New Member
          • Feb 2008
          • 10

          #5
          ..

          Have you tried to ping that server (where Web Service is existing) from the client machine. Just make sure it works.

          Go to Start -> Type 'cmd'
          Hit Enter
          In the console window type
          ping 172....

          Sanat Palia
          Last edited by sanatpalia; Feb 15 '08, 05:45 PM. Reason: ..

          Comment

          • iprogrammer
            New Member
            • Feb 2008
            • 14

            #6
            yups i m in a lan network...nd i can surely ping my server..it works

            Comment

            • Plater
              Recognized Expert Expert
              • Apr 2007
              • 7872

              #7
              I have merged these threads, in the future please do not double post. It is against the posting guidelines

              MODERATOR

              Comment

              • iprogrammer
                New Member
                • Feb 2008
                • 14

                #8
                i"ll take care not to moderator.....b ut frnds anyone with a solution...for my prob...is it anything to do with my lan settings...i have also disabled firewalls ...to avoid probs..but it does not work that way also...

                Comment

                Working...