OpenAccess Service on Azure

3 posts, 0 answers
  1. Terry
    Terry avatar
    39 posts
    Member since:
    Sep 2007

    Posted 28 May 2013 Link to this post

    Hello Telerik,

    I have successfully created a project ( web forms) following some of the sample videos. Essentially create a new Web forms application. Add Telerik OpenAccessDomain model which connects to DB (Successfully both an SQL Server hosted in VM on azure or an Azure SQL DB).

    When I run in debug mode on local browser ie. 
    http://localhost:52915/api/languages - I do indeed get a list of Languages

    But I successfully publish the application to Azure - and
    I just get
    No HTTP resource was found that matches the request URI ''.

    Are there any configurations I need to do to get this to run on Azure?



  2. Terry
    Terry avatar
    39 posts
    Member since:
    Sep 2007

    Posted 29 May 2013 Link to this post

    Actually I finally got it sorted.

    FYI - As per the documentation, you need to add references to the following in your project, they are not all included by default, and set localcopy=true
  3. Telerik.OpenAccess.dll
  4. Telerik.OpenAccess.35.Extensions.dll
  5. Telerik.OpenAccess.Config.dll
  6. Telerik.OpenAccess.Web.40.dll
  7. Telerik.OpenAccess.Runtime.dll
  8. This now allows Web API apps to be published to Azure or indeed any other IIS.

    Hope it helps


  • DevCraft banner
  • Viktor Zhivkov
    Viktor Zhivkov avatar
    290 posts

    Posted 31 May 2013 Link to this post

    Hello Terry,

    Generally some of the OpenAccess assemblies are loaded from GAC when OpenAccess is installed on the target machine and therefore they are not direcly referenced in your projects.
    In case you want to just deploy your application on clean server or as you have experienced with Azure, you should use the methods of deployment described in this article.
    In general a clean Web API hosting application should require only three OpenAccess assemblies:
    • Telerik.OpenAccess.dll
    • Telerik.OpenAccess.35.Extensions.dll
    • Telerik.OpenAccess.Runtime.dll
    The two additional ones that you have included are used if you are configuring OpenAccess runtime through the web.config and using OpenAccessLinqDataSource (or OpenAccessDataSource) in your web application.

    We are eager to hear more about your experience deploying OpenAccess in Azure so we can make your and everyone else experience better in future.

    Viktor Zhivkov
    OpenAccess Samples Kit boasts 50+ sample applications providing diverse real-life business solutions. Click to read more and see OpenAccess ORM in action.
  • Back to Top