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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:16:37+00:00 2026-05-26T21:16:37+00:00

This really seems like a framework bug. The parameter is in the request’s params

  • 0

This really seems like a framework bug. The parameter is in the request’s params with correct name but it doesnt always bind to the action parameter. It worked for 6 months, but now this is happening in several action methods across the application.

I was able to either close VS or restart computer and that would usually fix it. Lately when i’ve run into this i couldnt get by it without turning the paramter into a string and then converting to a GUID.

Any advice on what to do with this since we have many action methods accepting nullable Guids and its a pain to have to manually convert the parameter.

I dont want a workaround for this, i want to know if anyone knows how i could debug this or what they think might be going on. It is random and inconsistent.

thanks!

  • 1 1 Answer
  • 1 View
  • 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-26T21:16:37+00:00Added an answer on May 26, 2026 at 9:16 pm

    Without actually having had this problem myself my initial thoughts would be that this is a problem with the actual values being passed in from the browser.

    I’ve debugged a similar issue like this with nullable DateTimes and was able to get around it by writing a custom model binder and setting it up to only bind DateTime? types.

    By doing this, you can inspect the values getting passed in and check them for any anomalies.

    It’s pretty straight forward to do. In you global.asax:

    ModelBinders.Binders.Add(typeof(guid?), new GuidModelBinder());
    

    And then create a class

    public class GuidModelBinder : IModelBinder
        {
    
            public object BindModel(ControllerContext controllerContext, ModelBindingContext bindingContext)
            {
                var valueResult = bindingContext.ValueProvider.GetValue(bindingContext.ModelName);
                var modelState = new ModelState { Value = valueResult };
            }
            //Do whatever you need to inspect the valueResult in here
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This really seems like a bug to me, but perhaps some databinding gurus can
I couldn't really find this in Rails documentation but it seems like 'mattr_accessor' is
This seems like it should be really simple, but I'm unable to figure this
This seems like a silly question but I would really like your comments and
Ok, so this seems like a really silly problem but I can't get my
Ok, this may seem like a stupid question (for Flash Developers) but I really
I am stuck! this seems really daft but I can not see where I
I'm really suprised I haven't run into this problem before, but it seems that
Really simple question: Am I missing something? Seems like this should be all that
It seems that when a WPF application starts, nothing has focus. This is really

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.