Knowledge Base
smartDBforms.NET for ASP.NET 2
 
 
Knowledge Base Forum
Testimonials
It’s really refreshing to use. Looking at codegen products that are way overkill and generate source code that’s not maintainable - your product rocks.


I have demoed several other products also, and none came close to yours. The simplicity, ease of use and user friendliness were impeccable.
William Joshua
Madison County Schools


Thanks to smartDBforms.NET I am able to save lots of time and make even better websites. I am looking forward to use this tool to help me build websites based on databases.
Anton Beerens
www.blauwwit81.nl


We are really impressed with smartDBforms.NET and there is nothing else on the market as good.
Andy Jones
Make I.T. Simple
www.makeitsimple.info
Search knowledge base:

PRB: Visual Studio fails to render smartDBforms.NET controls with the error: Error creating control - '[text]' could not be set on property '[propertyname]'
Sunday, 05 July 2009
When working in Visual Studio Html Designer with web forms which contain smartDBforms.NET controls, the smartDBforms.NET controls could stop rendering in design mode. The following error text appears on the place of the controls: Error creating control - '[text]' could not be set on property '[propertyname]'

SYMPTOMS

When working in Visual Studio Html Designer with web forms which contain smartDBforms.NET controls, the smartDBforms.NET controls could stop rendering in design mode. The following error text appears on the place of the controls: Error creating control - '[text]' could not be set on property '[propertyname]' The following screenshot illustrates the problem: Error creating control - '[text]' could not be set on property '[propertyname]' This error can appear in the following cases:
  1. If you have previously opened some of the smartDBforms.NET forms in Visual Studio design time and if you later update with copy/paste the Adillis.SmartDBForms.dll library while Visual Studio is running , then when you open a new smartDBforms.NET in design time it will fail to render with the above error
  2. If you have a solution with several projects and web sites, which contain smartDBforms.NET forms. In this case only the first smartDBforms.NET form which you open and the forms in its own project/website will work. The other smartDBforms.NET which are located in the other projects/websites will fail to render with the above error.

CAUSE

This problem is caused by a dll caching problem in Visual Studio. The first time a dll is loaded Visual Studio caches it and later tries to use it erroneously, even though this dll was updated with another version,  or a .dll from another project/website should be used.

RESOLUTION

The problem is resolved by applying a hotfix for Visual Studio 2008 SP1. In order to download the hotfix see the following Microsoft Knowledge Base article:

KB 961847 - FIX: Error message when you view a page in design mode after you recompile a .NET Framework 3.5 Service Pack 1-based project: "Error creating control – 'ControlInstanceName [text]' could not be set on property 'PropertyName'"

For more detailed explanation of the problem see "Error creating control - [text] could not be set on property" with custom ASP.NET server controls in VS 2008 SP1

APPLIES TO

  • Visual Studio 2005/2008


Page Options: format for printing  Format for Printer

Copyright 2006-2010 Adillis Terms Of Use Feedback Contact Us