On a web site I published (pre-compiled) last night, I get the following error. Before pre-compiling it, I was getting a compiler error that a User Control was not found. After compiling on another machine, and running, I get the following Parser error:
'Cannot create an object of type 'System.Type' from its srting representation 'System.Int32' for the 'DataType' property'
was the, now runtime, parser error I got. The offending tag is telerik:RadNumericTextBox …. DataType=’System.Int32’…
I emphasise again that this error only occurs on XP SP2, not on Vista and Win7. I’m off to do some Googling and issue logging at Telerik.
The base of this problem isn’t just Telerik, but ASP.NET not being able to interpret the string representation. I just tried this on a small test project, with no Telerik, and I get the same error.
This is not to say the haven’t fixed it, but I would be impressed to see how they did. It is easily done with two properties, one that takes a string and gets a type from it, and sets the actual type property, but that gets messy.