Completed
Last Updated: 31 Aug 2021 16:03 by ADMIN
Created by: Paul
Comments: 3
Category: Installer and VS Extensions
Type: Bug Report
0

After upgrading my Telerik Ajax version from 2020.3.915.45 to the latest 2021.2.511.45 version, I am now receiving this error, in my solution. The error occurred right after I tried to upgrade Telerik from inside Visual Studio. BTW, I do not have this file: web.config.transform I am also getting a similar error when I go to this:
Configure Telerik section in Visual Studio (see screenshot).

Failed to execute command.

System.IO.FileNotFoundException: Could not find file 'C:\Git\nedwneappdev\Web-Online_Offline_Modems\web.config.transform'.
File name: 'C:\Git\nedwneappdev\Web-Online_Offline_Modems\web.config.transform'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
   at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
   at System.Threading.CompressedStack.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
   at System.Xml.XmlTextReaderImpl.OpenUrl()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at Telerik.VSX.Web.Helpers.ExistingWebConfig.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(String filename)
   at Telerik.VSX.Web.Helpers.ExistingWebConfig.Load(String filename)
   at Telerik.VSX.Web.Helpers.TelerikConfiguredWebConfig.Retrieve(IProjectWrap project, Boolean create, String relativeProjectPath)
   at Telerik.VSX.Web.Helpers.TelerikConfiguredWebConfig.Retrieve(IProjectWrap project, Boolean create)
   at Telerik.Web.UI.VSX.Helpers.ProjectSettingsReader..ctor(IProjectWrapUIComponents project)
   at Telerik.Web.UI.VSX.ProjectConfigurators.ProjectConfigurationTypeSelector.GetProjectSettingsReader()
   at Telerik.Web.UI.VSX.ProjectConfigurators.ProjectConfigurationTypeSelector.GetProjectConfigurationPreWizardData(IScenarioDef template)
   at Telerik.Web.UI.VSX.ProjectConfigurators.ProjectConfigurationTypeSelector.ProjectConfiguration()
   at Telerik.Web.UI.VSX.ProjectConfigurators.StreamlinedProjectConfiguration.StartConfigureWizard()
   at Telerik.Web.UI.VSPackage.CommandExecutor.Execute(UInt32 commandId)
   at Telerik.VSX.VSPackage.PackageBase.CommandCallback(Object sender, EventArgs e)
Declined
Last Updated: 17 May 2021 12:47 by ADMIN
Created by: Doug
Comments: 2
Category: Installer and VS Extensions
Type: Bug Report
0

Hi

I got this dialog pop up when it was trying to upgrade my solution which had a few web sites in it.
It seemed to get lost. I dont know what the VS dialog with 'Description'  is all about.
Not sure what triggers it to say it needed an update and yet there is nothing to update.

Its possible that there is a backup folder that it created from a previous upgrade and it is looking at an old DLL in that project.

Anyway, sure you will sort it out :)

 

Thanks

Doug

Completed
Last Updated: 16 Feb 2021 08:20 by ADMIN
Release R1 2021 SP1
Created by: Kees
Comments: 2
Category: Installer and VS Extensions
Type: Bug Report
5

In the web.config you can put parts of the config in separate files. This is useful when updating a web.config without overwriting installation specific settings.

In web.config:

<appSettings configSource="appSettings.config">

In appSettings.config:

<?xml version="1.0"?>

<appSettings>
  <add key="PageInspector:ServerCodeMappingSupport" value="Disabled" />
  <add key="Telerik.Web.UI.StyleSheetFolders" value="~/Skins" />
  <add key="Telerik.EnableEmbeddedSkins" value="false" />
  <add key="Telerik.Skin" value="Kis3" />
  <add key="Telerik.ScriptManager.TelerikCdn" value="Enabled" />
  <add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled" />
 </appSettings>

But the upgrade wizard cannot handle this and modifies the web.config like this:

<appSettings configSource="appSettings.config">
  <add key="Telerik.ScriptManager.TelerikCdn" value="Disabled" />
  <add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled" /></appSettings>

Resulting in different errors.

It's easy te correct this, but it's a little annoying.. :-)