Monday, 18 June 2012

Sys.ParameterCountException: Parameter count mismatch.


I used AutocompleteExtender within update panel and used contextKey to pass additional parameter.
That time i received this error

I have set ScriptMode="Release" in ScriptManager. Default Value is Auto. 
It solved the my problem. You can also used auto for the same but you have to set When retail is set to true, ASP.NET disables certain configuration settings such as trace output, custom errors, and debug capabilities.I have just set retail = true.So you can use ScriptMode= Auto.

3 comments:

  1. You just hidding the error. It's not a solution. It's only like a catch.

    ReplyDelete