Parser Error Message: Ambiguous match found.
VS 2005 Only.
This can be an annoying error, but it is usually caused by one thing.
If you add an object to your html source such as
<igtxt:WebDateTimeEdit id="dteStartdate" runat="server" ToolTip="The end Date to use for the report." EditModeFormat="dd/MM/yy" Width="60px"></igtxt:WebDateTimeEdit>
By default this will be instatiated in the partial class that is created by Visual Studio 2005. However, there is nothing to stop you specifing the object in the codebehind as well such as
protected Infragistics.WebUI.WebDataInput.WebDateTimeEdit dteStartdate;
And while you are running in Dev this will continue to work, but as soon as you do a release build you will get the Parser Error Message when trying access the page.
A pain but when you know where to start looking it does make it easier to solve the problem.
| Author |
: Greg Duffield |
| Published |
: Thursday, 13 July, 2006 |
Greg has too many years experience in developement from VB for DOS all the way through to Windows Workflow and LINQ while covering pretty much every technology in between. A complete MS evangelist he is now Director of the only MS Gold Partner IT services company in Norfolk. Wehere they are producing Web 2 Applications for various sectors, and are currently entering the Haulage industry with their latest product.