Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Alexandra Weber 1 post 71 karma points
    Feb 23, 2019 @ 01:43
    Alexandra Weber
    0

    Exception thrown when using magic strings with curly brackets

    If I attempt to use any magic strings with curly brackets ({member.id}, {ghiaoghiaogh}) I get the following Exception on my page instead of the form:

    System.Web.HttpException (0x80004005): Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'. ---> System.Exception: Exception while creating a value. ---> System.ArgumentException: An item with the same key has already been added.

    The contents of the curly brackets don't seem to matter. It can be a form field alias, it can be nonsense. I get the same error every time.

    Magic strings such as [#pageName] seem to work just fine.

Please Sign in or register to post replies

Write your reply to:

Draft