I'm trying to run SilverDox samples
I'm using Visual Studio 2012 when I try to run almost any of their samples like FlipBook I get following error (at runtime):
Unhandled exception at line 56, column 13 in http://localhost:51791/FlipBookSample.aspx 0x800a139e - JavaScript runtime error: Unhandled Error in Silverlight Application Code: 2104 Category: InitializeError Message: Could not download the Silverlight application. Check web server settings
What I did:
1- I downloaded the source bundle from: https://www.pdftron.com/downloads/SilverDoxSdk.zip
2- Installed SilverLight toolkit from: http://silverlight.codeplex.com/downloads/get/311823
Anything is missing? Has anybody experienced similar issue?
I reproduced the error, and indeed it seems to be a problem with the webserver setup. A quick workaround is to use the 'normal' project as the startup project, i.e. FlipBookSample-SL5, not FlipBookSample.Web. The .xap file should be fine that you would deploy in a production system.