Help: Compile error in VS2005

Last post 08-08-2006, 2:47 PM by cutechat. 5 replies.
Sort Posts: Previous Next
  •  07-27-2006, 9:55 PM 21323

    Help: Compile error in VS2005

    Hi I just downloaded the trail version of cute editor

    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
    <CE:Editor id="Editor1" runat="server" />

    Editor display and working properly on my browser no problems.
    but it just can't pass the VS compile, keep saying
    Error    1    Element 'Editor' is not a known element. This can occur if there is a compilation error in the Web site.    W:\dev\cs\Default2.aspx    15    9    W:\dev\

    as well as ,
    Error    3    Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.    W:\dev\cs\Default2.aspx    15   

    Wondering if anyone had the same problem

    Thanks in advance.




  •  07-28-2006, 2:07 PM 21349 in reply to 21323

    Re: Help: Compile error in VS2005

    luc,
     
    Your application is running with partial trust somehow. Is it being run from a network share?
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  07-29-2006, 7:35 AM 21370 in reply to 21349

    Re: Help: Compile error in VS2005

    Hi,
     
    the editor is installed on our internal dev server. and i work on my local PC.
     
    I actually also tried at home, installed this editor on my localhost IIS runs perfectly. but in my work when connect to our dev server compile got error, also the editor's methods not picking up by VS2005
     
    any suggestion would be highly appreciated, we'll go ahead purchase if this problem can be solved.
     
    Thanks,
    luc
     
  •  07-30-2006, 11:02 PM 21388 in reply to 21323

    Re: Help: Compile error in VS2005

    Ok I've located the problem.

    I'm working on server/client environment, cute editor is installed on the server. and my visual studio is on my local,
    and I open the cute editor website through my local, and Visual Studio won't recognize the cute editor control and won't even pass the compile.

    it's working perfectly when I work on the server directly.

    Wondering is there any solutions for the server/client environment, to let my visual studio picking up the cute editor controls and pass the compilation.

    Thanks,
    Luc


  •  08-08-2006, 2:23 PM 21657 in reply to 21388

    Re: Help: Compile error in VS2005

    You ever figure out how to use the control in a client server setting ....?
  •  08-08-2006, 2:47 PM 21665 in reply to 21323

    Re: Help: Compile error in VS2005

    luc :
     
    You must map the server shared folder to your driver W: .
     
    Error    3    Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.    W:\dev\cs\Default2.aspx    15  
     
    I got such error when I test a project that is store in another PC (or Server) .
     
    Maybe you can copy all code to your disk , and use vs2005 to open it and try again .
     
    But when I test the network driver , I didn't get error as Element 'Editor' is not a known element. .
     
    Regards , Terry .
     
View as RSS news feed in XML