Project Upgrade Utility 2010.3.10.1215

8 posts, 1 answers
  1. Dean
    Dean avatar
    43 posts
    Member since:
    Jun 2009

    Posted 17 Dec 2010 Link to this post

    Good Day,

    I've run into an error when using the Project Upgrade Utility, please see below error. I know why this error occured by I think you need to at least do some error handling. The reason why this happened is becuase all my project files are read-only. Thought I'd just let you know of the bug.

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
     
    ************** Exception Text **************
    System.UnauthorizedAccessException: Access to the path 'D:\Dev\CMS4\Executables\MyApp\MyApp.vbproj' is denied.
       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)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
       at System.Xml.XmlTextWriter..ctor(String filename, Encoding encoding)
       at System.Xml.XmlDocument.Save(String filename)
       at Tools.ProjectConverter.ConvertVS2005ProjectFile(String projectPath, String directoryName, String fileName, XmlNode rootNode)
       at Tools.ProjectConverter.Upgrade(String projectPath, String fileName)
       at Tools.ApplicationUpgradeForm.Upgrade(DirectoryInfo directory)
       at Tools.ApplicationUpgradeForm.radButton1_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at Telerik.WinControls.RadControl.OnClick(EventArgs e)
       at Telerik.WinControls.UI.RadButton.ButtonElement_Click(Object sender, EventArgs e)
       at Telerik.WinControls.RadItem.OnClick(EventArgs e)
       at Telerik.WinControls.UI.RadButtonItem.OnClick(EventArgs e)
       at Telerik.WinControls.RadItem.DoClick(EventArgs e)
       at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
       at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
       at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
       at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
       at Telerik.WinControls.RadElement.DoMouseUp(MouseEventArgs e)
       at Telerik.WinControls.ComponentInputBehavior.OnMouseUp(MouseEventArgs e)
       at Telerik.WinControls.RadControl.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at Telerik.WinControls.RadControl.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
     
     
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    Upgrade
        Assembly Version: 2010.3.10.1215
        Win32 Version: 2010.3.10.1215
        CodeBase: file:///C:/Program%20Files/Telerik/RadControls%20for%20WinForms%20Q3%202010/Bin/Upgrade.exe
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Telerik.WinControls.UI
        Assembly Version: 2010.3.10.1215
        Win32 Version: 2010.3.10.1215
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Telerik.WinControls.UI/2010.3.10.1215__5bb2a467cbec794e/Telerik.WinControls.UI.dll
    ----------------------------------------
    Telerik.WinControls
        Assembly Version: 2010.3.10.1215
        Win32 Version: 2010.3.10.1215
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Telerik.WinControls/2010.3.10.1215__5bb2a467cbec794e/Telerik.WinControls.dll
    ----------------------------------------
    TelerikCommon
        Assembly Version: 2010.3.10.1215
        Win32 Version: 2010.3.10.1215
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/TelerikCommon/2010.3.10.1215__5bb2a467cbec794e/TelerikCommon.dll
    ----------------------------------------
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    ihwgdr62
        Assembly Version: 2010.3.10.1215
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    Telerik.WinControls.Themes.Office2007Black
        Assembly Version: 2010.3.10.1215
        Win32 Version: 2010.3.10.1215
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Telerik.WinControls.Themes.Office2007Black/2010.3.10.1215__5bb2a467cbec794e/Telerik.WinControls.Themes.Office2007Black.dll
    ----------------------------------------
    xmlrd_oa
        Assembly Version: 2010.3.10.1215
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    Accessibility
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    Telerik.WinControls.RadChart
        Assembly Version: 2010.3.10.1215
        Win32 Version: 2010.3.10.1215
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Telerik.WinControls.RadChart/2010.3.10.1215__5bb2a467cbec794e/Telerik.WinControls.RadChart.dll
    ----------------------------------------
    Telerik.WinControls.RadMarkupEditor
        Assembly Version: 2010.3.10.1215
        Win32 Version: 2010.3.10.1215
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Telerik.WinControls.RadMarkupEditor/2010.3.10.1215__5bb2a467cbec794e/Telerik.WinControls.RadMarkupEditor.dll
    ----------------------------------------
    Telerik.WinControls.GridView
        Assembly Version: 2010.3.10.1215
        Win32 Version: 2010.3.10.1215
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Telerik.WinControls.GridView/2010.3.10.1215__5bb2a467cbec794e/Telerik.WinControls.GridView.dll
    ----------------------------------------
    Telerik.WinControls.Scheduler
        Assembly Version: 2010.3.10.1215
        Win32 Version: 2010.3.10.1215
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Telerik.WinControls.Scheduler/2010.3.10.1215__5bb2a467cbec794e/Telerik.WinControls.Scheduler.dll
    ----------------------------------------
    Telerik.WinControls.RadDock
        Assembly Version: 2010.3.10.1215
        Win32 Version: 2010.3.10.1215
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Telerik.WinControls.RadDock/2010.3.10.1215__5bb2a467cbec794e/Telerik.WinControls.RadDock.dll
    ----------------------------------------
     
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
     
    For example:
     
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
     
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.


  2. Answer
    Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 17 Dec 2010 Link to this post

    Hi Dean ,

    Hope you're well today.
    Strangely, I have just reported the same issue yesterday. If you are using VSS (or another source control system) then make sure all the files for the project are checked out.

    I think it is normal that the update utility should throw this exception, though it should be a handled exception.

    hope that helps
    Richard
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Dean
    Dean avatar
    43 posts
    Member since:
    Jun 2009

    Posted 17 Dec 2010 Link to this post

    Hi Richard,

    I'll mark it as answered so anyone else who has a problem will at least know how to overcome this error.

    Enjoy the rest of your day.
  5. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 17 Dec 2010 Link to this post

    Thanks Dean. You too.
  6. Ramius
    Ramius avatar
    127 posts
    Member since:
    Feb 2008

    Posted 17 Dec 2010 Link to this post

    I reported that issue for the Q1 2010 Release and got the answer that it will be fixed in one of the next releases. But until now that issue is not fixed and it is a real pain when your project contains many subprojects. 

    Regards,

    Ramius

  7. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 20 Dec 2010 Link to this post

    Hi Guys,

    Just to let you know that the issue is now in PITS at this link
    Hope that helps
    Richard
  8. Ramius
    Ramius avatar
    127 posts
    Member since:
    Feb 2008

    Posted 20 Dec 2010 Link to this post

    Hi Richard,

    Thank your for your hint.

    I have just voted for it.

    Regards,

    Ramius

  9. Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 22 Dec 2010 Link to this post

    Hi guys, 

    I am writing to inform you that we will handle this case in the next release. 
     
    All the best,
    Stefan
    the Telerik team
    Check out the Q1 2011 Roadmap for Telerik Controls for Windows Forms.
Back to Top
UI for WinForms is Visual Studio 2017 Ready