The Operation could not be completed

8 posts, 0 answers
  1. Lucian
    Lucian avatar
    4 posts
    Member since:
    Feb 2011

    Posted 08 Mar 2011 Link to this post

    Hello,
    I am testing Telerik Ajax controls in Visual Studio 2008 .net framework 3.5.
    In separate test project all went well.
    Then I try to add controls to an old project that we are tring to improve and nothing happends.
    If I try to add controls in source view i receive the message "The Operation could not be completed".
    I have done reloading references, closed solution, closed VS, reset toolbox, readding controls to toolbox.
    Before starting digging up how to make it work, I want to know if you have a  known solution for this problem.

  2. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 08 Mar 2011 Link to this post

    Hi Lucian,

    Here are some stuff to verify that could help:

    Can you verify the project is on a local drive and not on a file share?
    Can you try removing the references to the Telerik.Web.UI assembly from your project first and then try dragging the controls again?

    Kind regards,
    Erjan Gavalji
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Lucian
    Lucian avatar
    4 posts
    Member since:
    Feb 2011

    Posted 08 Mar 2011 Link to this post

    The project is local on  my hard drive.
    I removed referenced still does'nt work.
    Funny thing is now I have rad controls in toolbox - don't know how, perhaps because of toolbox reset.
  5. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 08 Mar 2011 Link to this post

    Hi Lucian,

    Just to avoid confusion, what action to you refer to with "If I try to add controls in source view i receive the message "The Operation could not be completed"." in your original post?

    Kind regards,
    Erjan Gavalji
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  6. Lucian
    Lucian avatar
    4 posts
    Member since:
    Feb 2011

    Posted 08 Mar 2011 Link to this post

    I created a new webform in my old project, then from toolbox I try to drag and drop controls (script manager) in design view. Nothing happends.
    I switch to source view where I can see the tags. I drag and drop the script manager into the form tag and I receive the message.
    It doesn't insert anything, not even  page directives especially the registration line that I see in green field project.

     

     

    <%

     

    @ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik"

    %>

    In new project things works fine, no problem after adding references.

    Web.config file is not changed at all in old project.
    I am comparing now web.config files from a new working project with my old project.

     The controls I am using are trial controls. Is that an issue?

     

  7. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 08 Mar 2011 Link to this post

    Hi Lucian,

    No, the trial versions of the controls are fully functional, they only display a trial message on a random basis. That should not be the problem.

    Let me know your findings with regards to the web.config comparison.

    Best,
    Erjan Gavalji
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  8. Lucian
    Lucian avatar
    4 posts
    Member since:
    Feb 2011

    Posted 10 Mar 2011 Link to this post

    I've solved the problem.
    After comparing and rewiting web.config file, controls finaly worked in my old project.
    In a new project the configuration file it is modified immediately after inserting the first control.
    In the old project that was not happening, I don't know the reason. I am admin on my computer and I am the owner of the files.


  9. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 10 Mar 2011 Link to this post

    Hi Lucian,

    Glad to know it's working now, thanks for sharing that!

    The problem might be related to the type of the reference added in the "old" project's csproj/vbproj file, e.g. if the project has a HintPath associated with the reference, but this assembly was added to the GAC later...

    Though not sure of all the circumstances, the above mentioned scenario might have something related to the error.

    Best,
    Erjan Gavalji
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017