I'm running Dot Net Nuke 5.6, VS 2010 and Telerik 2010.3 and have a catch 22. It seems that I have multiple web.config files and maybe some conflicts.
I have the Telerik tag defined in my web.config located in the virtual directory of my site.
To use a Telerik control on my page in the VS 2010 designer I need to have a web.config file local to the project that defines the Telerik tag:
Without it I get the error:
Error Creating Control - radGridCustomerPoolThis control cannot be displayed because its TagPrefix is not registered in this Web Form.
However, with a local web.config in the project folder I get the following error on my page in a browser outside the VS environment.
DotNetNuke.Services.Exceptions.ModuleLoadException: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Why isn't VS picking up the tag definition in the virtual directory?
Any ideas?
I have the Telerik tag defined in my web.config located in the virtual directory of my site.
To use a Telerik control on my page in the VS 2010 designer I need to have a web.config file local to the project that defines the Telerik tag:
<configuration>
<system.web>
<pages>
<controls>
<add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
Without it I get the error:
Error Creating Control - radGridCustomerPoolThis control cannot be displayed because its TagPrefix is not registered in this Web Form.
However, with a local web.config in the project folder I get the following error on my page in a browser outside the VS environment.
DotNetNuke.Services.Exceptions.ModuleLoadException: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Why isn't VS picking up the tag definition in the virtual directory?
Any ideas?