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

Can't run Sales Dashboard

3 Answers 186 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Gary Blakely
Top achievements
Rank 1
Gary Blakely asked on 05 Mar 2010, 04:32 PM
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

3 Answers, 1 is accepted

Sort by
0
Tihomir Petkov
Telerik team
answered on 09 Mar 2010, 03:52 PM
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.
0
John
Top achievements
Rank 1
answered on 17 Jun 2010, 04:36 PM
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()
0
Kiril Stanoev
Telerik team
answered on 23 Jun 2010, 12:26 PM
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
Tags
General Discussions
Asked by
Gary Blakely
Top achievements
Rank 1
Answers by
Tihomir Petkov
Telerik team
John
Top achievements
Rank 1
Kiril Stanoev
Telerik team
Share this question
or