Sharepoint Parse error

5 posts, 0 answers
  1. IanH
    IanH avatar
    3 posts
    Member since:
    Apr 2008

    Posted 25 Apr 2008 Link to this post

    I am trying to add RadControls for ASP.NET Ajax into MOSS07

    I have added the Telerik.Web.UI.dll to the GAC

    but when I add
    <SafeControl Assembly="Telerik.Web.UI, Version=2008.1.415.20 Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" /> 

    to web config I receive a parse error on any page I visit as shown below.

    Server Error in '/' Application. 
    -------------------------------------------------------------------------------- 
     
    Parser Error  
    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.  
     
    Parser Error Message: This page has encountered a critical error. Contact your system administrator if this problem persists. 
     
    Source Error:  
     
     
    Line 1:  <%@ Page Inherits="Microsoft.SharePoint.Publishing.TemplateRedirectionPage,Microsoft.SharePoint.Publishing,Version=12.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %> <%@ Reference VirtualPath="~TemplatePageUrl" %> <%@ Reference VirtualPath="~masterurl/custom.master" %> 
    Line 2:  <html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"><head> 
    Line 3:  <!--[if gte mso 9]><xml
      
     
    Source File: /Pages/default.aspx    Line: 1  
     
     
    -------------------------------------------------------------------------------- 
    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 

    I'd be grateful for any help you can provide.. I am have .net3 and 3.5 installed on the server.

    Ian

  2. Todd Anglin
    Todd Anglin avatar
    2040 posts
    Member since:
    Aug 2005

    Posted 25 Apr 2008 Link to this post

    IanH-

    Which controls are you trying to use in MOSS07? Right now the RadEditor and RadMenu are the easiest to use in MOSS, but in a few short weeks we will release wrappers for all of the RadControls for ASP.NET AJAX so you can easily use them all in SharePoint.

    If you are trying to use RadEditor, let me know and I'll be happy to point you to the wrapper we've already created for that control.

    -Todd
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. IanH
    IanH avatar
    3 posts
    Member since:
    Apr 2008

    Posted 26 Apr 2008 Link to this post

    Hi Todd,

    I was planning just to use menu and editior at the moment but I wasn't even getting that far even just adding the SafeControl was busting it

    Though I have just spotted in my post the problem (I think)

    The is no comma in the safecontrol between version and culture... I shall fix this Monday...

    Version=2008.1.415.20 Culture=neutral 

    Friday afternoons always in a rush to leave early.
     
    cheers for repling so quickly

    Ian
  5. Todd Anglin
    Todd Anglin avatar
    2040 posts
    Member since:
    Aug 2005

    Posted 26 Apr 2008 Link to this post

    Ian-

    I'm happy to see you've found your solution. If you're only after those two controls, you have some extra help. Telerik has previously published a whitepaper showing you how to integrate RadMenu in to SharePoint and our RadEditor already has a pre-built MOSS wrapper. If you get stuck next week, let me know so I can point you to those resources.

    Otherwise, check back in a few weeks and we should have MOSS wrappers for all of the ASP.NET AJAX controls.

    -Todd
  6. IanH
    IanH avatar
    3 posts
    Member since:
    Apr 2008

    Posted 28 Apr 2008 Link to this post

    Hi Todd,

    The parse error is still there :(

    I followed the procedure in the white paper for adding the controls to MOSS (manual version) as well some updates on threads posted here.

    Here is what I did.

    1. Copied the Telerik.Web.UI.dll to the GAC
    2. Added the safecontrol tag adding in the public Key etc

    I gather from another thread on the forum  that there for the version 2008.1.415 there is no need for a radcontrols folder.

    I used Telerik.Web.UI as the name space and assembly name.  I notice in
     white paper there are 2name spaces defined. I am using version 2008.1.415.20

    I haven't as yet added anything to my master pages or page layouts..but get the parse error mentioned after an IIS reset/app pool recycle.

    Regarding the editor wrapper where can I find a version of that for 2008.1.415?
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017