Getting a weird error message with scriptmanager

N

nateastle

I have a website that is throwing an exception: The default value for
the property 'readAccessProperties' has different type than the one of
the property itself. (stack trace below)

I have a script manager on a master page and a script proxy on the
content page. If I disable the script manager then everything works.
When I enable the script manager is when the error happens. The error
does not happen right off but it propagetes over time. I can get
around this in my other environments when I take out the line in the
web.config: <section name="profileService"
type="System.Web.Configuration.ScriptingProfileServiceSection,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" requirePermission="false"
allowDefinition="MachineToApplication"/>

this works in other areas. I tried to take it out of our production
machine but this did not work. We are not using the profile service.

The stack trace for this message is:
[ConfigurationErrorsException: The default value for the property
'readAccessProperties' has different type than the one of the property
itself.]
System.Configuration.ConfigurationProperty.SetDefaultValue(Object
value) +223
System.Configuration.ConfigurationProperty..ctor(String name, Type
type, Object defaultValue, TypeConverter typeConverter,
ConfigurationValidatorBase validator, ConfigurationPropertyOptions
options) +34
System.Web.Configuration.ScriptingProfileServiceSection..cctor()
+183

[TypeInitializationException: The type initializer for
'System.Web.Configuration.ScriptingProfileServiceSection' threw an
exception.]

System.Web.Configuration.ScriptingProfileServiceSection.GetConfigurationSection
() +0

System.Web.ApplicationServices.ApplicationServiceHelper.EnsureProfileConfigLoaded
() +29
System.Web.UI.ProfileServiceManager.GenerateInitializationScript
(StringBuilder& sb, HttpContext context, ScriptManager scriptManager,
String serviceUrl, ArrayList loadedProperties) +80
System.Web.UI.ProfileServiceManager.ConfigureProfileService
(StringBuilder& sb, HttpContext context, ScriptManager scriptManager,
List`1 proxies) +504
System.Web.UI.ScriptManager.ConfigureApplicationServices() +39
System.Web.UI.ScriptManager.RegisterUniqueScripts(List`1
uniqueScripts) +298
System.Web.UI.ScriptManager.RegisterScripts() +397
System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender,
EventArgs e) +116
System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +78
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+4130
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top