Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 969791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:42:02+00:00 2026-05-16T02:42:02+00:00

Whenever I try to edit the shared properties of my custom web part in

  • 0

Whenever I try to edit the shared properties of my custom web part in sharepoint 2007, I get the following error:

Exception has been thrown by the target of an invocation.
  at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
  at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
  at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  at Microsoft.SharePoint.WebPartPages.ExtendedPropertyInfo.GetValue(Object target, Object[] indexValues)
  at Microsoft.SharePoint.WebPartPages.PropertySheetProperty.get_Value()
  at Microsoft.SharePoint.WebPartPages.PropertySheetProperty.get_IsNull()
  at Microsoft.SharePoint.WebPartPages.PropertySheetProperty..ctor(WebPart targetWebPart, SPWebPartManager webPartManager, PropertyInfo pi)
  at Microsoft.SharePoint.WebPartPages.PropertySheetProperties.GetProperties(WebPart targetWebPart, SPWebPartManager manager, Boolean inPersonalizationMode, IPropertySheetPropertiesFilter filter)
  at Microsoft.SharePoint.WebPartPages.CustomPropertyToolPart.CreatePropertyGrid()
  at Microsoft.SharePoint.WebPartPages.CustomPropertyToolPart.CreateChildControls()
  at System.Web.UI.Control.EnsureChildControls()
  at System.Web.UI.Control.PreRenderRecursiveInternal()
  at System.Web.UI.Control.PreRenderRecursiveInternal()
  at System.Web.UI.Control.PreRenderRecursiveInternal()
  at System.Web.UI.Control.PreRenderRecursiveInternal()
  at System.Web.UI.Control.PreRenderRecursiveInternal()
  at System.Web.UI.Control.PreRenderRecursiveInternal()
  at System.Web.UI.Control.PreRenderRecursiveInternal()
  at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

I do have some custom properties in my web part, which set the email addresses for notification emails that are generated by the form. An example of this is:

    [WebBrowsable(true),
    Personalizable(true),
    DefaultValue("myemail@company.com"),
    Category("Email Properties"),
    Microsoft.SharePoint.WebPartPages.WebPartStorage(Microsoft.SharePoint.WebPartPages.Storage.Shared),
    Microsoft.SharePoint.WebPartPages.FriendlyName("Email Addresses (separate multiple emails with a comma):"),
    Description("Please enter the email addresses for those that should be notified when an incident takes place at a Corporate location.")]
    public string CorpMessageEmailAddresses { get; set; }

However, even with these properties commented out, I still get an error when trying to modify the web part.

Has anyone else ever dealt with an issue like this? I can provide more information or code snippits, if needed.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T02:42:02+00:00Added an answer on May 16, 2026 at 2:42 am

    Ok, I figured this out late last night…it was a typical MS exception hidden within an exception. The exception shown was not the cause, but rather the last exception to occur. The real exception was an issue having to do with my ViewState variables. I put a try/catch around the get & set and now everything works well!

    I didn’t see your comments until this morning kbrimington…thanx for trying to help out!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Whenever I try installing anything using gem, I get this error - murtaza@murtaza-dev:~$ sudo
Whenever I try to extend the Object prototype, I get an error: Error #1056:
whenever I try to call my ejb from a client, I get this error
I'm following this railscast and got stuck immediately: http://asciicasts.com/episodes/244-gravatar Whenever I try to edit
Whenever I try to edit existing or create new distribution provisioning profile on iOS
Whenever I try to use apt-get/dpkg, it tries a to install a broken source.
Whenever i try to run sqlmetal, i get this: 'sqlmetal' is not recognized as
Whenever I try the following in my python interpreter. I am able to copy
I'm constantly getting this error whenever I try to pass a array of Strucs
I'm following Scott Davis' tutorials on developing grails apps, but whenever i try to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.