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 7700543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:44:00+00:00 2026-05-31T22:44:00+00:00

I am getting error of System.MissingMethodException after I have an optional parameter in one

  • 0

I am getting error of System.MissingMethodException after I have an optional parameter in one component and the other component which call it was not build as it call it with old number of parameters.

Only component in which parameter is added was build an deployed as patch. The calling component is old as there is no change in it.

When the calling component run it gives error :

Exception Information

Exception Type: System.MissingMethodException Message: Method not
found: ‘LabelURLs
IPSD.BnB.Transaction.Postage.GetLabelURLs(System.String)’. Data:
System.Collections.ListDictionaryInternal TargetSite: Void
GenerateScanForm(Int32, Int32) HelpLink: NULL Source:
BnBDispenseQueueProcess

As far as i know it should not raise an error as new parameter is optional.
One more thing calling component(EXE) run as windows service.

we found an very wired workaround to make it run. By Removing the changed component once and run calling component which will say DLL not found. The place the same DLL again and calling component works fine:).

I think i am missing some internals of .net.

Let me know if more info 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-31T22:44:01+00:00Added an answer on May 31, 2026 at 10:44 pm

    Only component in which parameter is added was build an deployed as patch. The calling component is old as there is no change in it.

    There should be a change in it, because the old code calls a method which no longer exists!

    As far as i know it should not raise an error as new parameter is optional.

    That’s not an execution-time decision – it’s a compile-time decision. If you have a method like this:

    void Foo(int x, int y = 5)
    

    and you call it like this:

    Foo(10);
    

    then the compiler effectively converts that into a call of:

    Foo(10, 5);
    

    The call has the full argument list in the binary. If you want to go from the single-parameter version to the multi-parameter version in a way which doesn’t affect binary compatibility, you’d have to add an overload instead, e.g.

    void Foo(int x)
    {
        Foo(x, 5);
    }
    
    void Foo(int x, int y)
    {
        ...
    }
    

    Alternatively, you could rebuild the calling code and redeploy that as well.

    I’m deeply suspicious of your workaround. Are you sure you when you put the DLL back in place you replaced it with the new version (with the optional parameter) rather than the old version?

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

Sidebar

Related Questions

My unit test keeps getting the following error: System.InvalidOperationException: The Connection is not open.
I am currently getting this error: System.Data.SqlClient.SqlException: New transaction is not allowed because there
at the moment im loading xml and i am getting error: System.Xml.XmlException: ' ',
I keep getting this error System.Web.HttpException was unhandled by user code Message=Validation of viewstate
We are getting this error: System.ServiceModel.ServerTooBusyException: The request to create a reliable session has
I'm trying to update a hashtable in a loop but getting an error: System.InvalidOperationException:
I’m getting system error when I try to compile the code below on Visual
I am getting the folloinwg error from NHibernate: System.ObjectDisposedException: Session is closed! Object name:
I'm getting the following error when I try to Serialize an HttpWebRequest Type 'System.Net.KnownHttpVerb'
I'm getting a timeout error when trying to execute a LINQ (-to-SQL) query System.Data.SqlClient.SqlException:

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.