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. Web Services

Web Services

Scheduled Pinned Locked Moved Web Development
wcfwindows-adminhelptutorialquestion
3 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
    Li Mu Bai
    wrote on last edited by
    #1

    I have created a web service on my development machine with a local IIS - it works. I then created a web application on my development site and that worked - happy campers so far:) I deployed the web service to my live IIS and that worked - :):) I deployed my web application to use the web service but it does not work:- It throws a web exception when it tries reading data back from the web service, Can you deploy web apps to other IIS's? If you can then I have another problem and do you know how to solve it? :confused: :confused: :confused: The Wudan Master

    P 1 Reply Last reply
    0
    • L Li Mu Bai

      I have created a web service on my development machine with a local IIS - it works. I then created a web application on my development site and that worked - happy campers so far:) I deployed the web service to my live IIS and that worked - :):) I deployed my web application to use the web service but it does not work:- It throws a web exception when it tries reading data back from the web service, Can you deploy web apps to other IIS's? If you can then I have another problem and do you know how to solve it? :confused: :confused: :confused: The Wudan Master

      P Offline
      P Offline
      Paul Watson
      wrote on last edited by
      #2

      Li Mu Bai wrote: Can you deploy web apps to other IIS's? Ok, really simple check before I start thinking about this: Is ASP.NET (or the .NET Framework) installed on the IIS server you are deploying your web-app to? Also, what is the specific error that is occuring when you run your web-app? Then we can help you more :) regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge Sonork ID: 100.9903 Stormfront

      L 1 Reply Last reply
      0
      • P Paul Watson

        Li Mu Bai wrote: Can you deploy web apps to other IIS's? Ok, really simple check before I start thinking about this: Is ASP.NET (or the .NET Framework) installed on the IIS server you are deploying your web-app to? Also, what is the specific error that is occuring when you run your web-app? Then we can help you more :) regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge Sonork ID: 100.9903 Stormfront

        L Offline
        L Offline
        Li Mu Bai
        wrote on last edited by
        #3

        Thanks, I have installed the .NET framework on the remote IIS. The error received was: Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Net.WebException: The request failed with HTTP status 404: Object Not Found. Stack Trace: [WebException: The request failed with HTTP status 404: Object Not Found.] System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream) +977 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +238 QueryDatabaseApp.localhost1.InfoService.getNumberOfTests(String serialNumber) +48 QueryDatabaseApp.WebForm1.Page_Load(Object sender, EventArgs e) +78 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +73 System.Web.UI.Page.ProcessRequestMain() +394 I had a thought that the web app was created on the development IIS and had a web reference to it so when I coppied the app it still had the web reference to the development IIS. I have now created a new web app with a web reference to the service on the remote IIS but it cannot see it??? Am i going the right way here or is there another problem?? Thanks guys Wudan Master

        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