Ria Services not publications

12 posts, 0 answers
  1. Sergio
    Sergio avatar
    19 posts
    Member since:
    Jul 2012

    Posted 13 Mar 2014 Link to this post

    I have created a RIA Service for documentation to help with your site.
    (http://docs.telerik.com/data-access/developers-guide/using-web-services/ria-services/developer-guide-wcfservices-ria-expose-oacontext ,
    http://docs.telerik.com/data-access/quick-start-scenarios/silverlight/silverlight-4-and-5/wcf-ria-services/getting-started-root-quickstart-sl-wcfria-creating-ria-services-solution). 
    Everything works on the local server. But after the publication on any non-local servers. This project was created under the instruction fails to work.

    this project:
    https://drive.google.com/file/d/0Bx7QMCHddtwpdWRCZDVTU2E0cEE/edit?usp=sharing
  2. Sergio
    Sergio avatar
    19 posts
    Member since:
    Jul 2012

    Posted 13 Mar 2014 in reply to Sergio Link to this post

    I press the right button on the project and select publication. Then I click the FTP server and enter the data.
  3. DevCraft banner
  4. Kristian Nikolov
    Admin
    Kristian Nikolov avatar
    206 posts

    Posted 18 Mar 2014 Link to this post

    Hi Sergio,

    We attempted to deploy your project. The site is being published successfully but attempts to load the site result in a error 403.14 - Forbidden. This error is related to the configuration of your server. The host should be configured so that it allows access to the default page. Is this the error you are experiencing on your side? If you are experiencing another error please send us more information about it (error code, message, etc.).

    We are looking forward to your feedback.

    Please note that since we can conduct our communication in this thread, the additional thread regarding the same issue will be closed.

    Regards,
    Kristian Nikolov
    Telerik
     
    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
     
  5. Sergio
    Sergio avatar
    19 posts
    Member since:
    Jul 2012

    Posted 18 Mar 2014 in reply to Kristian Nikolov Link to this post

    This is not my host , a host company that provides services for hosting. I did not change it at all . Just like here, I enjoyed hosting and other several companies. Just default settings are used , as for all users. Everywhere one and the same problem, do not not run Silverlight page . I can not identify the error to work with your Open akkesss service. The problem lies in the fact that after the publication rabotaet.On service is not the same and does not work on the local host , meaning the local host that is deployed through the publishing feature . ( This is not the property of the local host of the project , it necessarily through publication on the local host) . After the publication of which he does not does not work, does not start page .
  6. Sergio
    Sergio avatar
    19 posts
    Member since:
    Jul 2012

    Posted 18 Mar 2014 Link to this post

    I just thought that the new branch is located in the right topic. And did not find how to remove this. You did it for me.
  7. Sergio
    Sergio avatar
    19 posts
    Member since:
    Jul 2012

    Posted 18 Mar 2014 Link to this post

    Of course I'm using the latest version of Telerik Access Service.
  8. Kristian Nikolov
    Admin
    Kristian Nikolov avatar
    206 posts

    Posted 21 Mar 2014 Link to this post

    Hello Sergio,

    We tested your application locally and it ran correctly. After deploying it on the provided host, we noticed that two required assemblies are not deployed on the server:
    • System.ServiceModel.DomainServices.Hosting
    • System.ServiceModel.DomainServices.Server

    These assemblies are needed in order for the RIA service to run on the server. To deploy them, set the Copy Local property of the references to these assemblies to true before publishing the site.

    Note that if any other references should be deployed on the server, their Copy Local property should also be set to True.

    When the site is deployed and loads you will see an error 403.14. This is because your default page is not configured on the server. However you will be able to manually access:
    • http://coines-001-site1.smarterasp.net/TestSilverlight.html
    • http://coines-001-site1.smarterasp.net/testAspx.aspx
    You should be able to configure your host to display one of these pages by default.

    I hope this helps. Should you have any more questions regarding Telerik Data Access, feel free to post at our forums again.

    Regards,
    Kristian Nikolov
    Telerik
     
    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
     
  9. Sergio
    Sergio avatar
    19 posts
    Member since:
    Jul 2012

    Posted 22 Mar 2014 in reply to Kristian Nikolov Link to this post

    I build as you speak me. And I find instruction http://www.smarterasp.net/support/KB/a251/how-do-i-setup-wcf-ria-4-5-on-my-hosting-account.aspx?KBSearchID=37453
    But, I see error message, when I run page test.html file.
    What, I create with error?
  10. Sergio
    Sergio avatar
    19 posts
    Member since:
    Jul 2012

    Posted 25 Mar 2014 in reply to Kristian Nikolov Link to this post

    I fix it like you said. added assembly which lacked. as well as added with them more assemblies. according to these instructions by Microsoft, and the host of this resource. But the problem of error of the site for documentation to help with your site, I can not eliminate. Help please. What's the matter? 
    Thank you.

    A Guide to Deploying RIA Services Solutions
    When you want to use WCF RIA with your VS2010 and publish to your server


    This my project changed: https://docs.google.com/uc?id=0Bx7QMCHddtwpaWtGRTE5QzZJSlE
  11. Sergio
    Sergio avatar
    19 posts
    Member since:
    Jul 2012

    Posted 25 Mar 2014 Link to this post

    Again error.
  12. Kristian Nikolov
    Admin
    Kristian Nikolov avatar
    206 posts

    Posted 26 Mar 2014 Link to this post

    Hi Sergio,

    It appears that the SilverlightApplication1.Web project does not have a reference to the Telerik.OpenAccess.Runtime assembly. This assembly is needed in order to run your application on the server. Please add a reference to Telerik.OpenAccess.Runtime and set its Copy Local property to True so that it would be deployed on the server.  In this documentation article you can see which are the assemblies that applications using Telerik Data Access need to run.

    Additionally, in the Web.config file you could set custom errors mode to off in order to see full exception information when you receive an error. You can do that by adding the following line in the <system.web> node in the Web.config file:
    <customErrors mode="Off"/>

    I hope this helps. Should you have additional questions, feel free to post in our forums again.

    Regards,
    Kristian Nikolov
    Telerik
     
    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
     
  13. Sergio
    Sergio avatar
    19 posts
    Member since:
    Jul 2012

    Posted 30 Mar 2014 in reply to Kristian Nikolov Link to this post

    Please view this post http://www.telerik.com/forums/after-the-publication-does-not-work
Back to Top
DevCraft banner