asp.net adding a web refernce

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • asp.net NUT!!!

    asp.net adding a web refernce

    Hi
    I've been trying to add a web refernece to a asp.net application project,
    from a web service within the same solution. The site is hosted on my local
    host & in a virtual directory.
    when I go through the process of adding the web refernce to the application
    layer I get an error message stating that my LAN services are configured for
    web URL discovery. I then searched through the MSDN help to discover that
    this can be configured through the tools/options/internet
    properties/connections TAB/LANsettings & then entering the domain name or IP
    address of the local machine & associated port number.
    I then did this but it still didn't work, May I need to cionfigur something
    in IIS before the project is even begun, It shouldn't be this hard to add a
    webreference
    Thanks
    Dave
  • Cor Ligthert

    #2
    Re: asp.net adding a web refernce

    Dave

    I try to understand your message
    [color=blue]
    > I've been trying to add a web refernece to a asp.net application project,
    > from a web service within the same solution.[/color]

    So you have created a webservice
    Then an aspnet application
    Added a webreference in the last and have set a reference to that webservice
    Than you have instanced that webservicerefer ence in your project and than
    used that in a method to call the webservice
    [color=blue]
    >The site is hosted on my local host & in a virtual directory.[/color]

    So this a development and testing situation?
    [color=blue]
    > when I go through the process of adding the web refernce to the
    > application
    > layer I get an error message stating that my LAN services are configured
    > for
    > web URL discovery. I then searched through the MSDN help to discover that
    > this can be configured through the tools/options/internet
    > properties/connections TAB/LANsettings & then entering the domain name or
    > IP
    > address of the local machine & associated port number.
    > I then did this but it still didn't work, May I need to cionfigur
    > something
    > in IIS before the project is even begun, It shouldn't be this hard to add
    > a
    > webreference[/color]

    All this above should normally not happen so first my first questions.

    I hope it helps anyway in advance

    Merry Christmas

    Cor


    Comment

    Working...