4

Closed

Ignoring configuration

description

'Video' sample ( one with config file defined ) is not working for me. Just black panel.
 
When I delete >>ConfigurationProvider=XmlConfigurationProvider;Path=../Video/Configuration.xml,<< from initparams then sample works .
 
<param name="initParams" value="ConfigurationProvider=XmlConfigurationProvider;Path=../Video/Configuration.xml,DataProvider=XmlDataProvider;Path=../Video/Data.xml" />
to <param name="initParams" value="DataProvider=XmlDataProvider;Path=../Video/Data.xml" />
 
Also adding config to new initparam
<param name="initParams" value="ConfigurationProvider=XmlConfigurationProvider;Path=../Video/Configuration.xml" />
it works but config params are not being picked up .
 
Daniel
Closed Jul 14, 2009 at 5:33 AM by sbeeler
Included in Release 2.1

comments

rockinthesix wrote Jan 18, 2009 at 3:15 AM

I have to agree that using the XmlConfigurationProvider does not seem to be working. If I use the built in themes, everything is just fine but when I try and use an XML file for config, all I get is a blank screen.

Anyone have any thoughts?

robertoitapesp wrote Jan 25, 2009 at 6:50 PM

I try to do a slide built in theme LightTheme and the result was fine. Then, I try to use XmlConfigurationProvider and I get a blank screen.
When I use the sample (download with slideshow2) all others options work fine, but not the video which use XmlConfigurationProvider.
Configuration: Windows XP SP3, IIS 5.1 and also I try run with Visual Web Developer Express 2008 (asp.net development server).

Roberto

joeberni wrote Feb 28, 2009 at 4:15 AM

I am seeing this problem as well - when specifying a custom configuration file it seems to be ignored and a blank control is presented in the browser. Any update on this?

sbeeler wrote Jun 27, 2009 at 3:01 AM

sbeeler wrote Jul 6, 2009 at 4:39 AM

Fixed in change set 25804. Note that the change set includes additional enhancements and bug fixes as well.

http://slideshow2.codeplex.com/SourceControl/changeset/view/25804

sbeeler wrote Jul 7, 2009 at 7:16 PM

A new XML configuration sample has been added in change set 25845 that demonstrates how to use an xml configuration file to provide simple overrides of the default Light Theme:

http://slideshow2.codeplex.com/SourceControl/changeset/view/25845