This is a migrated thread and some comments may be shown as answers.

Ria Services not publications

10 Answers 105 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sergio
Top achievements
Rank 1
Sergio asked on 13 Mar 2014, 01:56 PM
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

10 Answers, 1 is accepted

Sort by
0
Sergio
Top achievements
Rank 1
answered on 13 Mar 2014, 02:04 PM
I press the right button on the project and select publication. Then I click the FTP server and enter the data.
0
Kristian Nikolov
Telerik team
answered on 18 Mar 2014, 12:21 PM
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.
 
0
Sergio
Top achievements
Rank 1
answered on 18 Mar 2014, 04:35 PM
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 .
0
Sergio
Top achievements
Rank 1
answered on 18 Mar 2014, 04:38 PM
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.
0
Sergio
Top achievements
Rank 1
answered on 18 Mar 2014, 04:45 PM
Of course I'm using the latest version of Telerik Access Service.
0
Kristian Nikolov
Telerik team
answered on 21 Mar 2014, 02:29 PM
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.
 
0
Sergio
Top achievements
Rank 1
answered on 22 Mar 2014, 05:00 AM
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?
0
Sergio
Top achievements
Rank 1
answered on 25 Mar 2014, 05:46 AM
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
0
Sergio
Top achievements
Rank 1
answered on 25 Mar 2014, 08:02 PM
Again error.
0
Kristian Nikolov
Telerik team
answered on 26 Mar 2014, 04:16 PM
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.
 
Tags
General Discussions
Asked by
Sergio
Top achievements
Rank 1
Answers by
Sergio
Top achievements
Rank 1
Kristian Nikolov
Telerik team
Share this question
or