Can't run Sales Dashboard

4 posts, 0 answers
  1. Gary Blakely
    Gary Blakely avatar
    63 posts
    Member since:
    Jan 2010

    Posted 05 Mar 2010 Link to this post

    I have the silverlight radtools trial and the open access trial installed on my Windows 7 System.  I am able to build the Sales Dashboard project in vs2008.  I set the startup project to Telerik.SalesDashboard.web project and the startup page to Telerik.SalesDashboard.ShellTestPage.aspx.  the background of the dashboard appears and then I get a ConfigurationErrorsException on IObjectScope newScope = db.GetObjectScope() in SalesDashboardScopeProvider.cs.  The error text is pasted below. (BTW, loading this project in Blend 3 blows with memory errors)

    the exception box contains...
    System.Configuration.ConfigurationErrorsException was unhandled by user code
      Message="Telerik.OpenAccess: No enhanced assembly has been found for meta-data construction. This may be caused by a missing app.config file (use app.config as embedded resource then) or by an insufficient references section in the configuration file (add the referenced enhanced assemblies there too) or by a wrong enhancement setting; please check your configuration."
      Source="Telerik.OpenAccess.Runtime"
      BareMessage="Telerik.OpenAccess: No enhanced assembly has been found for meta-data construction. This may be caused by a missing app.config file (use app.config as embedded resource then) or by an insufficient references section in the configuration file (add the referenced enhanced assemblies there too) or by a wrong enhancement setting; please check your configuration."
      Line=0
      StackTrace:
           at Telerik.OpenAccess.RT.DatabaseAdapter.AssertAtLeastOneEnhancedAssembly(DataObjectsRoot[] r)
           at Telerik.OpenAccess.RT.DatabaseAdapter.AssertPersistenceManagerFactory(String usr, String password, Boolean open)
           at Telerik.OpenAccess.RT.DatabaseAdapter.GetObjectScope(TransactionProvider provider)
           at Telerik.OpenAccess.RT.DatabaseAdapter.Telerik.OpenAccess.SPI.IDatabaseAdapter.GetObjectScope()
           at Telerik.OpenAccess.Database.GetObjectScope()
           at Telerik.SalesDashboard.Web.SalesDashboardScopeProvider.GetNewObjectScope() in D:\TelerikWork\Telerik.SalesDashboard.Source_Silverlight\Telerik.SalesDashboard.Web\SalesDashboardScopeProvider.cs:line 118
           at Telerik.SalesDashboard.Web.SalesDashboardService.GetRegions() in D:\TelerikWork\Telerik.SalesDashboard.Source_Silverlight\Telerik.SalesDashboard.Web\SalesDashboardService.svc.cs:line 397
           at SyncInvokeGetRegions(Object , Object[] , Object[] )
           at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
           at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
      InnerException:
    Hope someone can help.
    Thanks,
    Gary
  2. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 09 Mar 2010 Link to this post

    Hello Gary,

    It seems you have the same issue that another user reported recently. The problem is caused by the version of OpenAccess you have installed on your machine. We plan to update the demo app next week, just after finishing our 2010 Q1 release.

    All the best,
    Tihomir Petkov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. John
    John avatar
    1 posts
    Member since:
    May 2008

    Posted 17 Jun 2010 Link to this post

    I have been struggling to get the Sales Dashboard to work for the past two days with the following error.  I have reviewed all of your posts and used the following methods in an attempt to resolve the matter.

    1. Cleaned the solution and updated the OpenAccess DLLs
    2. Ensured Enhacing is on for my projects.
    2. Ensured I have the correct settings in the web.config for the website.
    3. Ensured the correct DLLs have been referenced in the BIN directory for the website.

    I have been able to get your demo running without a problem although the issue arises when I move the XAP to the ClientBin of my website.  Are there any custom settings I need to use to run this on another local website or a production server?  Any help in this matter would be greatly appreciated.

    Line: 1
    Error: Unhandled Error in Silverlight 2 Application An exception occurred during the operation, making the result invalid.  Check InnerException for exception details.   at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
       at Telerik.SalesDashboard.Shell.SalesDashboardServiceReference.GetRegionsCompletedEventArgs.get_Result()
       at Telerik.SalesDashboard.Shell.SalesDashboardServiceProxy.<>c__DisplayClass13.<serviceClient_GetRegionsCompleted>b__12()
  4. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 23 Jun 2010 Link to this post

    Hello John,

    This appears to be an issue related to the SalesDashboardService. Are the settings of the webservice OK (the settings of the web service can be found in the Telerik.SalesDashboard.Shell project > Silverlight folder > ServiceReferences.ClientConfig).



    Also try updating the service reference to see whether it is working properly. If you don't get an error then everything is fine.



    Regards,
    Kiril Stanoev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top