Wednesday, May 20, 2009

"Error creating control" in VS and VWD

There's a nasty bug in VisualStudio 2008 SP1 and Visual Web Developer 2008 SP1 that makes the usage of custom controls virtually impossible. Everytime you try to set a property (via Properties or directly in code) you'll get a gray error message saying that the value of your property cannot be set.

This is a known issue and there's a simple remedy to that. Close VS/VWD, install this hotfix, start VS/VWD again and you're good to go.

http://code.msdn.microsoft.com/KB961847/Release/ProjectReleases.aspx?ReleaseId=2646

Happy coding!

No comments: