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

Sales Dashboard (Sample Application)

3 Answers 307 Views
Documentation and Tutorials
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 26 Nov 2014, 10:23 AM
Hi,

I'm new to the Telerik community, and have been trying to get the Sales Dashboard demo working in my environment.

I started by downloading the ZIP archive from <http://demos.telerik.com/aspnet-ajax/salesdashboard/SalesDashboardSource.zip>, then looked at the "README.txt" file, which lead to me installing the Telerik Data Access product (free product). I suspect the source of my problems may have begun here, as I was not able to find a download link for "Telerik Data Access Q3 2013". I could only find, and hence install, "Telerik Data Access Q3 2014".

Thereafter, did everything suggested in README file, but I cannot get solution to build in VS 2012. The build is failing because of following:

1>C:\Projects\DashBoard.Demo\ReferencesTRIAL\Telerik OpenAccess\OpenAccess.targets(104,3): error MSB4018: File name: 'Telerik.OpenAccess.SDK, Version=2013.3.1014.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342'
1>C:\Projects\DashBoard.Demo\ReferencesTRIAL\Telerik OpenAccess\OpenAccess.targets(104,3): error MSB4018:    at Telerik.OpenAccess.Tools.OpenAccessEnhancer.Execute()
1>C:\Projects\DashBoard.Demo\ReferencesTRIAL\Telerik OpenAccess\OpenAccess.targets(104,3): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
1>C:\Projects\DashBoard.Demo\ReferencesTRIAL\Telerik OpenAccess\OpenAccess.targets(104,3): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()

It looks like the enhancer included in the Sales Dashboard demo is expecting an older version of OpenAccess?

I would be grateful for any guidance on how I might be able to fix this problem?

One other thing I've noticed is the Telerik Control Panel reports Data Access is "PARTIALLY INSTALLED"? Although I have tried reinstallation and repair, cannot change this situation, which I guess might be affecting my ability to build a solution.

Many thanks in advance.

3 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 27 Nov 2014, 02:56 PM
Hi Andy,

The easiest way to upgrade the Sales Dashboard project is to use the Upgrade option from the Telerik Data Access menu: screenshot. Another option is to update manually all DataAccess DLLs and the references to them (including the binding redirects in the web.config).
The only thing you can do is to replace the old dlls the the new ones and update the OpenAccess references in all projects.

For your convenience I am attaching the updated version of the application, so it is using the latest Open Access version now. I am only removing the Telerik DLLs from the following folders in order to decrease the achieve size, so you will need to add them there on your side:
SalesDashBoard\ReferencesTRIAL\Telerik ASP.NET
SalesDashBoard\Telerik.SalesDashboard.Web\Bin



Regards,
Vessy
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Andy
Top achievements
Rank 1
answered on 28 Nov 2014, 05:37 PM


Hello Telerik,

Thank you for posting a reply.

FYI, I used the following procedure to resolve the problem building the Telerik Sales Dashboard sample application:

1. Install the Telerik Data Access Q3 2014 product.
2. Unzip the contents of < http://demos.telerik.com/aspnet-ajax/salesdashboard/SalesDashboardSource.zip> locally
into a convenient folder.
3. Navigate to the Telerik.SalesDashboard.DAL folder and delete the bin and obj folders.
4. Do the same in the Telerik.SalesDashboard.Services folder.
5. Open the solution file for Sales Dashboard sample in Visual Studio and:
                - In Solution Explorer, right-click on Telerik.SalesDashboard.DAL project and select Unload Project.
                - In Solution Explorer, right-click on Telerik.SalesDashboard.DAL project and select Edit Telerik.SalesDashboard.DAL.csproj.
                - Once the project file opens, locate the next line and comment it:

<Import Condition="Exists('..\ReferencesTRIAL\Telerik
OpenAccess\OpenAccess.targets')" Project="..\ReferencesTRIAL\Telerik
OpenAccess\OpenAccess.targets" />

                - Then locate the line and uncomment it:

<Import Condition="Exists('$(MSBuildExtensionsPath)\OpenAccess.targets')"
Project="$(MSBuildExtensionsPath)\OpenAccess.targets" />

                - Save the modified project file and load it back by right-clicking on the name of the project in
Solution Explorer and selecting Reload Project.
6. Upgrade the references to the Telerik Data Access assemblies as described at:
                <http://docs.telerik.com/data-access/upgrade-guide/getting-started-root-migration-tool-upgrade-references>.
7. Make sure to remove these two references from the web site and to add them again through the Add Reference... command:
                - Telerik.OpenAccess.Web.40.dll
                - Telerik.OpenAccess.Web.dll
8. Rebuild the solution.
9. Right-click on the Telerik.SalesDashboard.Web web-site project and select Set As StartUp Project.

At this point I was able to use View in Browser on the Telerik.SalesDashboard.Web web-site and run the application.

I appreciate your time and effort in looking into my problem. Thank you for providing an alternative to the above.

0
cynthia
Top achievements
Rank 1
answered on 29 Nov 2014, 02:18 PM
[quote]Andy said:Hi,

I'm new to the Telerik community, and have been trying to get the Sales Dashboard demo working in my environment.

I started by downloading the ZIP archive from <http://demos.telerik.com/aspnet-ajax/salesdashboard/SalesDashboardSource.zip>, then looked at the "README.txt" file, which lead to me installing the Telerik Data Access product (free product). I suspect the source of my problems may have begun here, as I was not able to find a download link for "Telerik Data Access Q3 2013". I could only find, and hence install, "Telerik Data Access Q3 2014".

Thereafter, did everything suggested in README file, but I cannot get solution to build in VS 2012. The build is failing because of following:

1>C:\Projects\DashBoard.Demo\ReferencesTRIAL\Telerik OpenAccess\OpenAccess.targets(104,3): error MSB4018: File name: 'Telerik.OpenAccess.SDK, Version=2013.3.1014.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342'
1>C:\Projects\DashBoard.Demo\ReferencesTRIAL\Telerik OpenAccess\OpenAccess.targets(104,3): error MSB4018:    at Telerik.OpenAccess.Tools.OpenAccessEnhancer.Execute()
1>C:\Projects\DashBoard.Demo\ReferencesTRIAL\Telerik OpenAccess\OpenAccess.targets(104,3): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
1>C:\Projects\DashBoard.Demo\ReferencesTRIAL\Telerik OpenAccess\OpenAccess.targets(104,3): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()

It looks like the enhancer included in the Sales Dashboard demo is expecting an older version of OpenAccess?

I would be grateful for any guidance on how I might be able to fix this problem?

One other thing I've noticed is the Telerik Control Panel reports Data Access is "PARTIALLY INSTALLED"? Although I have tried reinstallation and repair, cannot change this situation, which I guess might be affecting my ability to build a solution.

Many thanks in advance.
[/quote]
Tags
Documentation and Tutorials
Asked by
Andy
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Andy
Top achievements
Rank 1
cynthia
Top achievements
Rank 1
Share this question
or