22 Answers, 1 is accepted
That's really strange. Does that happen with a blank WebSite/Web Application, or does it only happen with a new RadControls WebSite/WebApplication?
Can you try excluding the web.config from the project and including it back?
Kind regards,
Erjan Gavalji
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
here is the web.config
<?xml version="1.0"?> |
<!-- |
Note: As an alternative to hand editing this file you can use the |
web admin tool to configure settings for your application. Use |
the Website->Asp.Net Configuration option in Visual Studio. |
A full list of settings and comments can be found in |
machine.config.comments usually located in |
\Windows\Microsoft.Net\Framework\v2.x\Config |
--> |
<configuration> |
<configSections> |
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> |
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> |
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> |
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> |
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" /> |
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> |
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> |
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> |
</sectionGroup> |
</sectionGroup> |
</sectionGroup> |
</configSections> |
<appSettings> |
<add key="Telerik.ScriptManager.TelerikCdn" value="Disabled" /> |
<add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled" /> |
</appSettings> |
<connectionStrings/> |
<system.web> |
<!-- |
Set compilation debug="true" to insert debugging |
symbols into the compiled page. Because this |
affects performance, set this value to true only |
during development. |
--> |
<compilation debug="false" strict="false" explicit="true"> |
<assemblies> |
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> |
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> |
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> |
</assemblies> |
</compilation> |
<pages> |
<namespaces> |
<clear /> |
<add namespace="System" /> |
<add namespace="System.Collections" /> |
<add namespace="System.Collections.Generic" /> |
<add namespace="System.Collections.Specialized" /> |
<add namespace="System.Configuration" /> |
<add namespace="System.Text" /> |
<add namespace="System.Text.RegularExpressions" /> |
<add namespace="System.Linq" /> |
<add namespace="System.Xml.Linq" /> |
<add namespace="System.Web" /> |
<add namespace="System.Web.Caching" /> |
<add namespace="System.Web.SessionState" /> |
<add namespace="System.Web.Security" /> |
<add namespace="System.Web.Profile" /> |
<add namespace="System.Web.UI" /> |
<add namespace="System.Web.UI.WebControls" /> |
<add namespace="System.Web.UI.WebControls.WebParts" /> |
<add namespace="System.Web.UI.HtmlControls" /> |
</namespaces> |
<controls> |
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
<add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/> |
</controls> |
</pages> |
<!-- |
The <authentication> section enables configuration |
of the security authentication mode used by |
ASP.NET to identify an incoming user. |
--> |
<authentication mode="Windows" /> |
<!-- |
The <customErrors> section enables configuration |
of what to do if/when an unhandled error occurs |
during the execution of a request. Specifically, |
it enables developers to configure html error pages |
to be displayed in place of a error stack trace. |
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"> |
<error statusCode="403" redirect="NoAccess.htm" /> |
<error statusCode="404" redirect="FileNotFound.htm" /> |
</customErrors> |
--> |
<httpHandlers> |
<remove verb="*" path="*.asmx"/> |
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/> |
<add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" /> |
<add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" /> |
<add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" /> |
<add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" /> |
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> |
</httpHandlers> |
<httpModules> |
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
<add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/> |
<add name="RadCompression" type="Telerik.Web.UI.RadCompression"/> |
</httpModules> |
</system.web> |
<system.codedom> |
<compilers> |
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
<providerOption name="CompilerVersion" value="v3.5"/> |
<providerOption name="WarnAsError" value="false"/> |
</compiler> |
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
<providerOption name="CompilerVersion" value="v3.5"/> |
<providerOption name="OptionInfer" value="true"/> |
<providerOption name="WarnAsError" value="false"/> |
</compiler> |
</compilers> |
</system.codedom> |
<!-- |
The system.webServer section is required for running ASP.NET AJAX under Internet |
Information Services 7.0. It is not necessary for previous version of IIS. |
--> |
<system.webServer> |
<validation validateIntegratedModeConfiguration="false"/> |
<modules> |
<remove name="ScriptModule" /> |
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
<add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode,runtimeVersionv2.0"/> |
<add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode,runtimeVersionv2.0"/> |
</modules> |
<handlers> |
<remove name="WebServiceHandlerFactory-Integrated"/> |
<remove name="ScriptHandlerFactory" /> |
<remove name="ScriptHandlerFactoryAppServices" /> |
<remove name="ScriptResource" /> |
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> |
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> |
<add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> |
<add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> |
<add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> |
<add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> |
<add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> |
</handlers> |
</system.webServer> |
<runtime> |
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> |
<dependentAssembly> |
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/> |
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> |
</dependentAssembly> |
<dependentAssembly> |
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/> |
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> |
</dependentAssembly> |
</assemblyBinding> |
</runtime> |
</configuration> |
You can download the whole solution here
It seems that for some reason the web.config file created by the RadControls for ASP.NET AJAX project template does not get recognized as a valid web.config file. To my regret we haven't reproduced it locally (I just double-checked again), hence I cannot help with a direct suggestion or a fix. Can you please, send me the entire project? (I believe you've forgotten to paste the link).
Kind regards,Erjan Gavalji
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
http://www.onteorasoftware.net/downloads/RadControlsWebApplicationTest.zip
I just ran the application and when I clicked on F5 I did not get the dialog, asking me to add a new web.config file (with debugging enabled).
I noticed something strange though - the web.config file did not contain any of the entries that the VSExtensions add (global skin registration, RadControls handlers registrations, etc). It seems like a pure ASP.NET web.config file.
Can you elaborate a bit to help us identify the problem quicker? Please, reply the following:
- Did you get any errors during the project creation?
- Having the project loaded in the IDE, can you run the Telerik > RadControls for ASP.NET AJAX > Configure Web Application menu and check if the web.config will be changed after you click the Finish button of the wizard?
- Can you create a new RadControls project and check if you'll get the same result?
- Can you try resetting the IDE ([VisualStudioInstallationDir]\Common7\IDE\devenv.com /setup) and try creating a new RadControls project? Does the IDE show the web.config-related dialog?
Kind regards,
Erjan Gavalji
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I do not have the configure web application in my menu options
Yes it happens every time
No change after try devenv.exe /setup
Well, this is strange. It seems that for some reason the original web application has not been recognized as a RadControls-enabled Web Application Project by the Visual Studio Extensions. That's when they don't suggest the Configure item. FYI, the RadControls VSExtensions would suggest to "Convert" the project if it is recognized as a Web Application and they would suggest only to "Create" a new project if the project is recognized as some other project kind (e.g. Silverlight or WPF or WindowsForms project).
Can you try creating a new RadControls Web Application now and check if you'll get the web.config dialog again?
Kind regards,Erjan Gavalji
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I must admit I'm out of clues of why could the RadControls WebApplication project template behave this way on your side. I just retried that on the local test machines (XP, Vista and Win7, having VS2005, VS2008 or both, each combination) and I was unable to reproduce that behavior with RadControls for ASP.NET AJAX Q3 2009 SP1. I only got the message, asking I would like my web.config to be modified for running in debug mode (this is, because the web.config of a RadControls WebApplication follows the default VS2008 WebApplication web.config model).
Can you install the RadControls distribution to another machine and check if you'll get the same problem?
Kind regards,
Erjan Gavalji
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Can you provide me with a list of the third party software you got on the machine, performing the error? It could be that some interop problem causes the Telerik VSPackage not to load correctly. By the way, did you get any errors, noting that the Telerik.Web.UI.VSPackage has failed loading?
Kind regards,
Erjan Gavalji
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Thanks for the list, we'll check if any of these causes the problem. I hope I'll have the results some time tomorrow.
Kind regards,
Erjan Gavalji
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Happy New Year!
Sorry for the delay in my reply, we were busy implementing some core functionality for the VSExtensions and I was not able to test the current official release with the tools you mentioned. Anyways, I just finished the check now. Unfortunately I was again unable to replicate the problem - I created a new web application and I ran it. Instead of getting the message to add a new web.config file, I got the message if I wanted to modify the web.config to enable debugging or run without debugging. Both options worked fine.
I'm afraid I am out of clues now. If convenient, I would suggest that you repair the Visual Studio installation. If not, my suggestion is to create a new web application and convert it to a Telerik one as a workaround. The logic behind the conversion is the same as the creation of a new Telerik Web Application.
Kind regards,
Erjan Gavalji
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Hopefully by now you have figured out why?
I did have DevExpress Refactor and Coderush, but uninstalled to see if this would help. It didn't.
Thanks
We did find out one interesting point. When creating the new project via the Telerik menu option and selecting a template, the VB RadControls Web Site template does not present any problems, whereas the VB RadControls Web Application does (which is the one we would typically select).
Thanks
and another update...
Apparently if I create a VB RadControls Web Application, save the project and close Visual Studio, then reopen VS, it's OK from there on out. Strange, but I guess it's a workaround.
To my regret we were not able to identify the problem locally so far. Can you give us some more information about your setup so that we try reproducing the same locally? What we need is:
- Operating system, service packs applied
- installed Visual Studio IDE versions, service packs applied
- .NET Frameworks installed
- The exact RadControls version you use
Thanks in advance,
Erjan Gavalji
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
I just contacted the guys at Sitefinity and they told me they haven't observed this problem either. Can you help us trying to reproduce it? Which SiteFinity version do you use?
Kind regards,
Erjan Gavalji
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
We were just able to reproduce the problem locally. It was related to a setting in the Visual Studio Options dialog. Once the Tools -> Options -> Projects and Solutions -> General -> Save new projects when created checkbox is checked the problem stops appearing. We are working on providing a fix for that in our next release (Q3 2010).
P.S. Thanks to Wim De Vriendt for all the patience and cooperation finding this problem!
Kind regards,
Erjan Gavalji
the Telerik team