More in this section
Forums / Bugs & Issues / No parameterless constructor defined for this object.

No parameterless constructor defined for this object.

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Joey
    Joey avatar
    2 posts
    19 Aug 2012
    19 Nov 2010
    Link to this post
    I've been developing in Sitefinity for about 6 months now and suddenly I have encountered this error which I can not get around.  "No parameterless constructor defined for this object."

    I've turned on tracing by placing this in the web.config:
    <trace enabled="true" pageOutput="true" requestLimit="40" localOnly="false"/>

    But it will not trace.

    I've attempted to place breakpoints in the global.asax, masterpage, and numerous other locations but I still only get this error on any page I attempt to access and I cannot get any more information about this.

    I've included the following from the error log:

    11/19/2010 6:20:10 AM [UNKNOWN]
    ID: 2e8b90cd-6314-4450-950e-a483248747e3; Code: 3005; Occurrence: 1; Sequence: 2

    Application information:
     Machine name: JOEY-XPS
     OS Version: Microsoft Windows NT 6.1.7600.0
     Product Version: 3.7.2136.240
     Application Path: C:\Program Files (x86)\telerik\Sitefinity3.7\WebSites\template3\
     Debug: True

    Process information:
     Process ID: 4304
     Process Name: WebDev.WebServer40

    Request information:
     Request URL: /template3/Default.aspx
     Rewrite URL: http://localhost:49675/template3/Default.aspx
     Url Referrer:  Is Authenticated: False
     Authentication Type:  User:  User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; MS-RTC LM 8; Creative AutoUpdate v1.40.01)
     User Address:

     System.Object: System.Object
     System.Object: System.Object

    - L0 -------------------------------------------------------------------------------

    Exception Type: System.MissingMethodException

    Message: No parameterless constructor defined for this object.

    Source: mscorlib

    Stack Trace:
       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache)
       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at System.Activator.CreateInstance(Type type)
       at Telerik.ModuleManager.LoadModules(Boolean reload)
       at Telerik.ModuleManager.LoadModules()
       at Telerik.ModuleManager..cctor()

    Thanks for your help.
    Joey Brenn

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    19 Nov 2010
    Link to this post
    Hello Joey,

    Form the error you are getting it looks like you have a custom module or provider where you do not have a parameterless constructor defined.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered