Copying file bin\Telerik.Web.UI.xml

8 posts, 0 answers
  1. Tom
    Tom avatar
    34 posts
    Member since:
    Jun 2009

    Posted 20 Jul 2010 Link to this post

    I'm getting the error below when I try to publish my project to my development server.  I've checked all of the permissions but I can't find anything that would restrict the copying of this file.

    Error   56   Copying file bin\Telerik.Web.UI.xml to obj\Debug\Package\PackageTmp\bin\Telerik.Web.UI.xml failed. Access to the path 'bin\Telerik.Web.UI.xml' is denied.
  2. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 26 Jul 2010 Link to this post

    Hello Christian,

    We are not sure what may causing the described issue. Does it appear with every project/website you create or is it a problem for a specific application only? Can you try to clean and rebuild the problematic project?

    Kind regards,
    Radoslav
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. andy
    andy avatar
    5 posts
    Member since:
    Sep 2010

    Posted 28 Oct 2010 Link to this post

    I am getting the exact same error. Any word on what might cause this?
  5. Mike
    Mike avatar
    26 posts
    Member since:
    Jun 2008

    Posted 30 Oct 2010 Link to this post

    I have a quick question: When I redistribute my application, do I have to include Telerik.Web.UI.xml or is this file only needed for development in Visual Studio?
  6. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 02 Nov 2010 Link to this post

    Regarding the Andy's question:
    Could you please try following this steps and let me know if the issue still persists:
    1) Close the Visual Studio.
    2) Stop the IIS if the site is deployed on it.
    3) Close all other programs that eventually use “bin\Telerik.Web.UI.xml”
    These 3 steps are to ensure no one is locking the file for writing.
    4) Check the security of “bin\Telerik.Web.UI.xml”, to make sure you have write permissions.
    5) Now copy “...\Telerik.Web.UI.xml” to the “\bin” folder of your project.

    Regarding the Mike's question:
    The Telerik.Web.UI.xml keeps the documentation of the assembly. It could be used in tools which generates documentation files.

    Greetings,
    Radoslav
    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
  7. Tom
    Tom avatar
    34 posts
    Member since:
    Jun 2009

    Posted 13 Dec 2010 Link to this post

    I'm having the same error, I have to keep copying a new copy of C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q3 2010\Bin40\Telerik.Web.UI.xml into the bin folder of my project so that I can publish it.
  8. shane
    shane avatar
    1 posts
    Member since:
    Aug 2011

    Posted 12 Mar 2012 Link to this post

    Hi

    You mentioned in regards to Andys question

    "Regarding the Mike's question:
    The Telerik.Web.UI.xml keeps the documentation of the assembly. It could be used in tools which generates documentation files. "

    I have added some font names to the radeditor that we use in our application, and i added the fonts in Telerik.Web.UI.xml as such:

     in the Private Sub Page_Load  : RadEditor1.Fontnames.Add("AR BLANCA Medium")
    in the  private void Page_Load : RadEditor1.Fontnames.Add("AR BLANCA Medium");

    The problem is that when i rebuild my application, I have to migrate the file for Telerik.Web.UI.xml to my server.  However in the BIn folder of my running application I cannot find where the application is actually using the Telerik.Web.UI.xml file.  This is the only file that i saw I could add Font Names to the list of fonts pulled by the radeditor during runtime.  Am I missing something?


    Thanks
  9. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 15 Mar 2012 Link to this post

    Hello,

    You should not use the Telerik.Web.UI.xml do add custom fonts to the FontName dropdown of RadEditor, because this file is only for the intellisense of the controls.

    You can add new fonts to the FontName dropdown in the Page_Load event of the page, e.g.

    protected void Page_Load(Object sender, EventArgs args)
    {
        if (!IsPostBack)
        {
            RadEditor1.FontNames.Add("Arial");
            RadEditor1.FontNames.Add("Arial Narrow");
            RadEditor1.FontNames.Add("Arial Black");
        }
    }


    as shown in the following article: Fonts.

    Note that if the specified fonts are not available on the client's machine (C:\Windows\Fonts), the browser will render its default font.

    All the best,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017