Community server 2007 add photo error

  •  08-14-2007, 3:51 PM

    Community server 2007 add photo error

    Hi,
     
    I'm testing cute editor with CS 2007, however I receive an unhandled exception error when attempting to add a photo to the gallery. The error goes away when I change back to the default or plain text editors, so I am assuming its to do with Cute Editor.
     
    The exception I get is :
     
    Exception Details: System.TypeLoadException: Could not load type 'CommunityServer.Controls.EditorAttribute' from assembly 'CommunityServer.Controls, Version=3.0.20611.960, Culture=neutral, PublicKeyToken=null'.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [TypeLoadException: Could not load type 'CommunityServer.Controls.EditorAttribute' from assembly 'CommunityServer.Controls, Version=3.0.20611.960, Culture=neutral, PublicKeyToken=null'.]
                System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeInstArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInstCount) +0
                System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) +216
                System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) +211
                System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, Module decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, RuntimeMethodHandle& ctor, Boolean& ctorHasParameters, Boolean& isVarArg) +122
                System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes) +413
                System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit) +258
                System.RuntimeType.GetCustomAttributes(Type attributeType, Boolean inherit) +63
                System.ComponentModel.ReflectTypeDescriptionProvider.ReflectGetAttributes(Type type) +262
                System.ComponentModel.ReflectedTypeData.GetAttributes() +36
                System.ComponentModel.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetAttributes() +50
                System.ComponentModel.TypeDescriptor.GetAttributes(Type componentType) +26
                System.Web.UI.ViewStateModeByIdAttribute.IsEnabled(Type type) +46
                System.Web.UI.Control.SaveViewStateRecursive() +121
                System.Web.UI.Control.SaveViewStateRecursive() +160
                System.Web.UI.Control.SaveViewStateRecursive() +160
                System.Web.UI.Control.SaveViewStateRecursive() +160
                System.Web.UI.Control.SaveViewStateRecursive() +160
                System.Web.UI.Control.SaveViewStateRecursive() +160
                System.Web.UI.Control.SaveViewStateRecursive() +160
                System.Web.UI.Control.SaveViewStateRecursive() +160
                System.Web.UI.Control.SaveViewStateRecursive() +160
                System.Web.UI.Control.SaveViewStateRecursive() +160
                System.Web.UI.Control.SaveViewStateRecursive() +160
                System.Web.UI.Control.SaveViewStateRecursive() +160
                System.Web.UI.Control.SaveViewStateRecursive() +160
                System.Web.UI.Control.SaveViewStateRecursive() +160
                System.Web.UI.Control.SaveViewStateRecursive() +160
                System.Web.UI.Control.SaveViewStateRecursive() +160
                System.Web.UI.Control.SaveViewStateRecursive() +160
                System.Web.UI.Page.SaveAllState() +466
                System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1676
                
     
    I found a similar post on the forum, but couldnt find a fix in it.


    http://cutesoft.net/forums/thread/25315.aspx
View Complete Thread