PDA

View Full Version : SKINS not working on homepage drop-down box


asp.net.ricky
09-03-2008, 06:05 AM
Hi,

I'm using the Personal Starter Kit with ASP.Net 2.0.
I am unable to change the Skin colour from the drop-down box on my homepage:
http://www.birchdalegardens.com/

as you can see its not generating any error, but at the same time it's not changing the Skin.

I have the APP_Themes folder with all the required files in it, and have the MASTER Pages folder as well, but still no joy...

Do I need to add something to my web.config (see below)

can anyone suggest how I can fix it?





<configuration xmlns='http://schemas.microsoft.com/.NetConfiguration/v2.0'>
<connectionStrings>
<!-- Connection for SQL 2005 Express -->
<remove name='Personal'/>
<add name='Personal' connectionString='Data Source=.....;uid=...;password='....';Initial catalog=.....' providerName='System.Data.SqlClient'/>
<!-- Connection for SQL Server 2005 -->
<!--<add name='Personal' connectionString='Server=(Local);Integrated Security=True;database=Personal' providerName='System.Data.SqlClient'/>-->
<remove name='LocalSqlServer'/>
<!-- Connection for SQL 2005 Express -->
<add name='LocalSqlServer' connectionString='Data Source=......;uid=.....;password='.....';Initial catalog=.......' providerName='System.Data.SqlClient'/>
<!-- Connection for SQL Server 2005 -->
<!--<add name='LocalSqlServer' connectionString='Server=(Local);Integrated Security=True;database=Personal' providerName='System.Data.SqlClient'/>-->
</connectionStrings>
<system.web>
<pages>
<namespaces>
<clear/>
<add namespace='System'/>
<add namespace='System.Collections'/>
<add namespace='System.Collections.Specialized'/>
<add namespace='System.Configuration'/>
<add namespace='System.Text'/>
<add namespace='System.Text.RegularExpressions'/>
<add namespace='System.Web'/>
<add namespace='System.Web.Caching'/>
<add namespace='System.Web.SessionState'/>
<add namespace='System.Web.Security'/>
<add namespace='System.Web.Profile'/>
<add namespace='System.Web.UI'/>
<add namespace='System.Web.UI.WebControls'/>
<add namespace='System.Web.UI.WebControls.WebParts'/>
<add namespace='System.Web.UI.HtmlControls'/>
<add namespace='System.Data'/>
<add namespace='System.Data.Sql'/>
<add namespace='System.Data.SqlClient'/>
</namespaces>
</pages>
<httpHandlers>
<add type='PeterKellner.Utils.CaptchaTypeHandler' verb='GET' path='CaptchaType.ashx'/>
</httpHandlers>

<customErrors mode='Off'/>
<compilation debug='true'>
<assemblies>
<add assembly='System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A'/></assemblies></compilation>
<authentication mode='Forms'>
<forms loginUrl='Login.aspx' protection='Validation' timeout='50000' />
</authentication>
<authorization>
<allow users='*'/>
</authorization>
<globalization requestEncoding='utf-8' responseEncoding='utf-8'/>
<membership>
<providers>
<add connectionStringName='LocalSqlServer' enablePasswordRetrieval='false'
enablePasswordReset='true' requiresQuestionAndAnswer='true' applicationName='/'
requiresUniqueEmail='true' minRequiredPasswordLength='6' minRequiredNonalphanumericCharacters='0'
passwordStrengthRegularExpression='' passwordFormat='Hashed'
passwordAttemptWindow='10' name='DefaultMembershipProvider' type='System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' />
<add connectionStringName='LocalSqlServer' enablePasswordRetrieval='false'
enablePasswordReset='true' requiresQuestionAndAnswer='false'
applicationName='/' requiresUniqueEmail='true' minRequiredPasswordLength='6'
minRequiredNonalphanumericCharacters='0' passwordStrengthRegularExpression=''
passwordFormat='Hashed' passwordAttemptWindow='10' name='AdminMembershipProvider'
type='System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' />
</providers>
</membership>
<profile>
<properties>
<add name='FirstName'/>
<add name='LastName'/>
<add name='Website'/>
<add name='PasswordAnswer'/>
</properties>
</profile>
<roleManager enabled='true' />
<siteMap defaultProvider='XmlSiteMapProvider' enabled='true'>
<providers>
<add name='XmlSiteMapProvider' description='SiteMap provider which reads in .sitemap XML files.' type='System.Web.XmlSiteMapProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' siteMapFile='web.sitemap' securityTrimmingEnabled='true'/>
</providers>
</siteMap>
</system.web>
<system.net>
<mailSettings>
<smtp from='youname@yourdomain.net'>
<network host='smtp.yourdomain.net' userName='yourusername' password='yourpassword' />
</smtp>
</mailSettings>
</system.net>
<location path='~/Albums/4/61.jpg'>
<system.web>
<authorization>
<allow roles='Family'/>
<deny users='*'/>
</authorization>
</system.web>
</location>
<!--<location path='Downloads'>
<system.web>
<authorization>
<allow roles='Administrators,Registered Users'/>
<deny users='*'/>
</authorization>
</system.web>
</location>-->
<location path='App_Themes'>
<system.web>
<authorization>
<allow users='*'/>
</authorization>
</system.web>
</location>

<location path='Admin'>
<system.web>
<authorization>
<allow roles='Administrators'/>
<deny users='*'/>
</authorization>
</system.web>
</location>
<appSettings>
<!-- The Album Path needs to be in the form of '~/FolderName'
When the application creates an album to store photos in, it will create the album inside the folder
specified here. -->
<add key='AlbumsFolder' value='~/Albums' />

<!-- This key specifies the folder to use for Uploads. At this time there is at least one stored procedure that
still references the upload folder statically. Once that is changed you would be able to specify any folder
here that the application should use for working with Uploaded photos that have not been imported to an album.-->
<add key='UploadFolder' value='~/Upload' />

<!-- This key defines what role a new user will be assigned to by default. If set to blank, the user will be
created but not assigned to any roles. The user would then need to be assigned to a role by the administrator
before they would have an special access to the website.-->
<add key='DefaultRoleForNewUser' value='Registered Users'/>

<!-- This key defines the theme that will be used on the admin pages. I created this setting because it will
reduce the time it takes to create a new theme if you don't have to create all new buttons and css to go with
administration pages. I found it easier just to have the admin sections use the White theme. If left blank the
admin pages will use whatever theme is selected for the site. -->
<add key='AdminTheme' value='White'/>

<!-- This key defines the user account to be notified for all site notification. Guestbook entry, blog comments, new user, etc. -->
<add key='NotifyAccount' value='Admin'/>

<!-- This key defines the email address to send errors to. It is defined here in case the error is generated
as a result of a database connection in which we would not be able to retrieve the admin email -->
<add key='AdminEmail' value='youremail@yourdomain.net'/>

</appSettings>
</configuration>











thanks,

Ricky[b]