locked
WCF in IIS Hosting ip problem? RRS feed

Answers

  • Thanks a lot for your's supports.

    I solved my problem .

    Solution :
    1. Run/Open IIS (under Control Panel > Administrative Tools for most Operating Systems)
    2. Find the project in the list of projects. (Open up your computer in the list and look under "Default Web Site").
    3. Bring up its properties (Right click > Properties).
    4. If the "application name" (under "Application Settings" on the "Directory" tab) is greyed out then click '[Create]' and then '[OK]'.

    http://192.168.1.33/WCFService/ISReq.svc  is working in IIS.


    Milyem
    • Marked as answer by UmeshMR Friday, October 24, 2008 9:52 PM
    Friday, October 17, 2008 8:19 PM

All replies

  •  One possibility is that you did not enable World Wide Web Services (Http) in windows firewall settings on 192.168.1.33. Could you please check it? 
    This posting is provided "AS IS" with no warranties, and confers no rights
    Tuesday, October 14, 2008 8:55 PM
  • What do you exactly mean by 'Not Working'? What HTTP errors you see on the browser? Do you see a CLR erorr or a regular IIS error like 401.3? Having specific error message would help nail down the issue quicker.
    Tuesday, October 14, 2008 9:11 PM
  • when  I am running http://localhost:2774/ISReq.svc address in İnternet Explorer , it is look in internet explorer.
    But when  I am running http://192.168.1.33:2774/ISReq.svc address in İnternet Explorer , it is look page not found error.
    Wednesday, October 15, 2008 6:31 AM
  • HI,

    i have project with web services which is hosted and used by the clients. now i have a new requirement and i developed a wcf service which uses chunking channel. i want to have single codebase for all services (asp.net webservice and wcf service) can i use the same project which has asp.net webservices for this. if yes then can anyoune tell me what are the steps to do this. i mean build and deploy and what chenges i have to do in the web.config.

    thanks,
    Srik


    Srikanth
    Wednesday, October 15, 2008 11:20 AM
  • To me, it looks like you have multiple IPs assigned in your NIC. So the IP you are using may have been assigned to a site where you do not have the page you are requesting. Could you verify the IP from the website properties in IIS and test? Because, if you are able to browse with localhost, then IIS is setup fine. If it were to be a invalid IP, you would actually get a 400-Bad request and not a 404 which is 'Page not found'. So the IP is valid, but the request is going to a site where you dont have the page.
    Wednesday, October 15, 2008 10:21 PM
  • A stupid question: are you sure the service is hosted in IIS instead of Asp.Net application server (Cassini)? From uri http://localhost:2774/ISReq.svc , it seems you did not create a virtual application in IIS.  
    For cassini,  it does not support remote access (http://192.168.1.33:2774/ISReq.svc in your case) by design.
    This posting is provided "AS IS" with no warranties, and confers no rights
    • Proposed as answer by KeithElder Friday, October 17, 2008 4:51 PM
    Thursday, October 16, 2008 6:16 PM
  • Probably you are right.before I didnt developed in asp.net . I am beginner .

    I develoed web service in asp.net. 

    I want to learn how to deploy web service in IIS and how to connect to this service from another pc in local network ?
    if you know information or link about this , could you share it to me.



    Milyem
    Friday, October 17, 2008 4:13 PM
  • have a look at theese links, they'll help you:

    http://msdn.microsoft.com/en-us/library/aa751792.aspx
    http://blogs.msdn.com/rjacobs/archive/2008/03/28/wcf-deployment-challenge-phase-ii-deploy-to-iis-on-local-machine.aspx
    Patrik Löwendahl [MVP] [MCT Enterprise Application Development] blog: http://www.lowendahl.net
    Friday, October 17, 2008 5:25 PM
  • Thanks a lot for your's supports.

    I solved my problem .

    Solution :
    1. Run/Open IIS (under Control Panel > Administrative Tools for most Operating Systems)
    2. Find the project in the list of projects. (Open up your computer in the list and look under "Default Web Site").
    3. Bring up its properties (Right click > Properties).
    4. If the "application name" (under "Application Settings" on the "Directory" tab) is greyed out then click '[Create]' and then '[OK]'.

    http://192.168.1.33/WCFService/ISReq.svc  is working in IIS.


    Milyem
    • Marked as answer by UmeshMR Friday, October 24, 2008 9:52 PM
    Friday, October 17, 2008 8:19 PM