+1-888-365-2779
Try Now
More in this section

Forums / Deployment / Problem with sitefinity and my pre-existing web-service

Problem with sitefinity and my pre-existing web-service

2 posts, 0 answered
  1. john mirzaei
    john mirzaei avatar
    13 posts
    Registered:
    06 Oct 2009
    23 Dec 2009
    Link to this post
    Hello with admire
    I had a web-service running on my server working properly.Then I uploaded sitefinity on my server in root,after uploading sitefinity my webservice didnt work properly. The web-service exists in a folder( virtual directory) but sitefinity is at the root folder.
    To give more info i have to say that both the web-service and sitifinty has different web.config files.
    and this is the web-service log:

    2009/12/23 01:42:54 a.m : Exception :The request failed with the error message:
    --
    <html><head><title>Object moved</title></head><body>
    <h2>Object moved to <a href="%2fshservice%2fGenericErrorPage.htm%3faspxerrorpath%3d%2fshservice%2fSharewareService.asmx">here</a>.</h2>
    </body></html>

    --. System.Net.WebException
    2009/12/23 01:42:54 a.m : Exception :The request failed with the error message:
    --
    <html><head><title>Object moved</title></head><body>
    <h2>Object moved to <a href="%2fshservice%2fGenericErrorPage.htm%3faspxerrorpath%3d%2fshservice%2fSharewareService.asmx">here</a>.</h2>
    </body></html>

    --. System.Net.WebException

    Any idea about the problem?
    Where is the problem? And how can i solve it?
    Thanks in advance for your help

  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    23 Dec 2009
    Link to this post
    Hello John,

    I think that the problem is the configuration inheritance, which is a feature of Asp.Net. Perhaps the config setting describing the web service location is overridden by the parent web.config file. You can also check if you have app.config or other config file in the web service directory, and modify the path (if it is changed for some reason). 

    As for the inheritance, please check the following blog post - I think it will help you - http://www.kowitz.net/archive/2007/05/16/stopping-asp.net-web.config-inheritance.aspx

    Greetings,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered