WCF - ResourcePopulationMode

4 posts, 0 answers
  1. Tim
    Tim avatar
    39 posts
    Member since:
    Oct 2010

    Posted 03 Sep 2012 Link to this post

    I have a scheduler app that's been working well for over a year until I upgraded to 2012.1.411. I'm getting the error below when I try to load the page. The scheduler works in my development environment, but not on the production server. So I think this is environmental, but I can't figure out what is causing the error. I've tried the approach in the article "Using ResourcePopulationMode=ServerSide and authentication", but that hasn't solved the problem.

    A critical error has occurred. An error occurred while requesting resources from the web service. Server responded with: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>Not Found</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD> <BODY><h2>Not Found</h2> <hr><p>HTTP Error 404. The requested resource is not found.</p> </BODY></HTML>

    The scheduler I built is rather complex so I build a page with the the wcf demo applicaiton, http://demos.telerik.com/aspnet-ajax/scheduler/examples/wcf/defaultcs.aspx and I get the same error message.

    If I set ResourcePopulationMode to "Manual" or "ClientSide" the scheduler can make all the calls to the service except the "GetResources" call.

    I'm pretty sure this is environmental, but I can't figure out what it is. If someone can point me in the right direction I'd appreciate it.

    Thanks.

  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2033 posts

    Posted 06 Sep 2012 Link to this post

    Hello Tim,

    I tested the demo once again and it worked fine at my side. I believe it is rather environmental issue and there could be lots of reasons to cause this error.
    • Have you made any changes to the server, because it could be some administration issue.
    • Here you can find a forum discussion about same WCF demo and "404 resources not found" issue.

     
    Hope that this information will be helpful or at least lead you to the right direction. 

    All the best,
    Boyan Dimitrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Tim
    Tim avatar
    39 posts
    Member since:
    Oct 2010

    Posted 17 Sep 2012 Link to this post

    Hi Boyan, thanks for your responce. I had to set this aside for a little while and now I'm back to it. I'm also having a problem with the Telerik Reporting module. I'm getting a 404 errors on any images I try to display in the report viewer. The modules are deployed on a DotNetNuke site and the problems started when I upgraded to 6.2.2 . I don't think there is a compatibility problem with this version of DNN because both modules run fine on my development server which is running DNN 6.2.2.

    The problem seems to be related to accessing Telerik resoucses. I've Fiddler, but it's not trapping the errors.  

    Do you have any recommendations on how to debug this.  It's on a production site and I really need to get it fixed.

    I've created two simple test pages. http://webtechllc.com/Report  and http://webtechllc.com/test

    Thanks,

    Tim
  4. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2033 posts

    Posted 20 Sep 2012 Link to this post

    Hello Tim,

    Here you can find the first part of a series of blog posts (exactly 3) and all of them are related to Web Resources. Web Resources troubleshooting is discussed here and you can find a detailed explanation about debugging applications and dealing with 404 error code.  

    I hope that was helpful and it will lead you to the right direction.


    Regards,
    Boyan Dimitrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top