+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Sitefinity 3.1 Bugs & Issues

Sitefinity 3.1 Bugs & Issues

78 posts, 0 answered
  1. Yasen
    Yasen avatar
    121 posts
    Registered:
    18 May 2013
    10 Dec 2007
    Link to this post
    Hi Jason,

    That is the expected behavior as methods for managing the domain users are not yet implemented. Using our AD role provider you can read from Active Directory but are unable to modify it. You can, however, override the needed methods or use a completely different role provider if you please.

    Hi Sean,

    Thank you for providing a solution for Julia, such help is always appreciated.
    Your Telerik points have been updated.

    Regards,
    Yasen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  2. Marlon Walcott
    Marlon Walcott avatar
    13 posts
    Registered:
    31 Oct 2006
    04 Jan 2008
    Link to this post
    Hello Sitefinity Team:

    There seems to be an issue with the Site Localization and External Pages.Firstly I turned on Site Localization in the web.config by using persistenceMode="PathPrefix". Secondly I created an External Page (test.aspx) that links to http://www.msn.com for test purposes. when i navigate to test.aspx I get the following error: "Page Not found" and the url changes from http://localhost/mysite/test.aspx to  http://localhost/mysite/en/en/http://www.msn.com; however when i change per persistenceMode="None", then it redirects without a problem.

    Now with persistenceMode="PathPrefix", I then changed the test.aspx page to a page group and added a sub page "default.aspx". Default.aspx was created as an External page and linked to http://www.msn.com. Now the when i enter http://localhost/mysite/test/default.aspx it changes to http://localhost/mysite/en/test/en/http://www.msn.com resulting in a "Page not found" error.

    Can you please assist?

    Regards,

    Niel
  3. Pepi
    Pepi avatar
    981 posts
    Registered:
    08 Dec 2016
    07 Jan 2008
    Link to this post
    Hi Marlon,

    It is a known issue in Sitefinity v3.1. It is already logged in our bug tracking system and it will be fixed for the next release. For now, the workaround is to create in the root of your project a page named test.aspx that will redirect to http://www.msn.com (use Visual Studio for this):

    protected void Page_Load(object sender, EventArgs e) 
        { 
            Response.Redirect("http://www.msn.com/"); 
        } 

    After that you need to create an external page through the Sitefinity interface (its name should not be test) that will lead to ~/test.aspx i.e External page location property should be set to ~/test.aspx. That will solve the problem and typing http://localhost/mysite/test.aspx will redirect you to http://www.msn.com.

    Hope this helps.

    All the best,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  4. Marlon Walcott
    Marlon Walcott avatar
    13 posts
    Registered:
    31 Oct 2006
    09 Jan 2008
    Link to this post

    Hello Pepi / Sitefinity Team:

    Thanks for the workaround, it was useful. However I am having another issue where Localization and persistenceMode="PathPrefix" is concerned. I have a webpage http://localhost/mysite/mywork/project1/software/default.aspx (this page was created in visual studio 2005 and not sitefinity) for which I have a rewrite rule url "~/software/default.aspx".

    <urlrewrites>
    <!-- Add your rule elements here -->
    <rule>
    <url>~/mywork/project1/software/(.*).aspx</url>
    <rewrite>~/software/default.aspx</rewrite>
    </rule>
    </urlrewrites>

    When I navigate to http://localhost/mysite/software/default.aspx the url in the address bar changes to http://localhost/en/mysite/software/default.aspx and a http 404 screen appears saying resource not found (Requested url being "/software/default.aspx").  However when I changed persistenceMode="None",  the rewrite / redirect works as intended.

    Is there a work around or fix for this issue?

    Thanks in advance,

    Niel

  5. Vlad
    Vlad avatar
    498 posts
    Registered:
    15 Jul 2016
    11 Jan 2008
    Link to this post
    Hello Niel,

    The specified URL Rewriting rule is not correct, and probably it will never change anything in the requested URL. Please see how the .NET Regular Expression works. Our AdvancedUrlRewriter actually calls the RegEx.Replace() method and the return value is the rewritten URL:

    public static string Replace( 
        string input, 
        string pattern, 
        string replacement 

    where:
    input is the requested URL in the address bar in the browser;
    pattern - is the specified url element for the rule in the web.config;
    replacement - is the specified rewrite element for the rule in the web.config.

    Currently, there should be no difference with or without this rule. Please let me know if I am wrong. You can check this out by removing the rewriting rule from the web.config.

    If the Localization PersistanceMode is set to PathPrefix, the system adds a prefix of the selected language to the URL, which is the reason for the changed URL. However, this should not cause any problems, since the exactly requested link is without the prefix, i.e if you request http://localhost/en/mysite/software/default.aspx the real requested URL is http://localhost/mysite/software/default.aspx

    We tested with the latest version of Sitefinity and didn't experience any problems. What is your Sitefinity version? How is the link http://localhost/mysite/software/default.aspx specified?
    If you send us your project, we could investigate the problem for you. Please open a support thread if you decide to send us your project and database.

    All the best,
    Vlad
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Marlon Walcott
    Marlon Walcott avatar
    13 posts
    Registered:
    31 Oct 2006
    11 Jan 2008
    Link to this post
    Hello Vlad / Sitefinity Team:

    Thanks for the response, however you seem to have missed what I was saying, so let me try clarify.

    Before I begun to use the sitefinity localization, I had my pages written in Visual Studio 2005 and I was using urlwriting.net to rewrite the long urls.

    Since i begun using the Sitefinity Localization by setting PersitenceMode = "PathPrefix", my rewrite code no longer works. When I remove the localization everything works as before.

    ** Please note that the pages for which there is a rewrite rule was not created in Sitefinity; they were created in Visual Studio 2005.

    So it was no longer working with the localization enabled and as such I tried to use your url rewrite rules  for which there is limited documentation is the user manual 3.1 and website. You said that my rewrite rule was incorrect if so, what would be the correct rewrite rule for the scenario i gave you?

    To recreate the scenario do the following:

    1. Open the website that was created in sitefinity in Visual Studio 2005.
    2. Create the following at the specified location: "root/mywork/project1/software/default.aspx" where "root" is the root folder of your project.
    3. Turn on "Site Localization" in the web.config by setting PersistenceMode = "PathPrefix"
    4.Add the rewrite rule to the web.config:

    <urlrewrites>
          <!-- Add your rule elements here -->
          <rule>
            <url>~/mywork/project1/software/(.*)\.aspx</url>
            <rewrite>~/software/$1\.aspx</rewrite>
          </rule>
        </urlrewrites>

    ** If the above url rewrite rule is not correct, then make the necessary changes.

    5. Or you can use UrlrewritingNet (http://www.urlrewriting.net/en/Default.aspx) to do the rewrites. (This has a feature to redirect also, which is does not seem to be present in your version of the Urlrewrite.)

    6. Test the link http://localhos/rootfoldername/softtware/default.aspx. It should be requesting the page at http://localhost/rootfoldername/mywork/project1/software/default.aspx. However, it shows the pages "The resource cannot be found":

     

    Server Error in '/mysite' Application.

    The resource cannot be found.

    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

    Requested URL: /mysite/software/default.aspx


    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832


    Please check this and let me know of the outcome and if you have a working copy please send me a demo project of it.

    Thanks in advance,

    Niel

  7. Vlad
    Vlad avatar
    498 posts
    Registered:
    15 Jul 2016
    14 Jan 2008
    Link to this post
    Hi Niel,

    Thank you for the additional details. We did a few tests according to your scenario and here are the results:

    Actually, our additional URL Rewriter module (Telerik.Cms.Web.CmsHttpModuleUrlRewrite) does not support rewriting to external non-cms pages. It seems there is an issue and we'll that soon.
    Here is the work around:
         - set back the default CmsHttpModule (Telerik.Cms.Web.CmsHttpModule) in the web.config;
         - create your custom http module and add it in the web.config before our cms module:      
        public class HttpModuleUrlRewrite : IHttpModule 
        { 
            public void Init(HttpApplication context) 
            { 
                context.BeginRequest += new EventHandler(context_BeginRequest); 
            } 
     
            void context_BeginRequest(object sender, EventArgs e) 
            { 
                HttpContext context = HttpContext.Current; 
                string newPath = AdvancedUrlRewriter.GetRewritedURL(base.GetUrl(context)); 
                context.RewritePath(newPath); 
            } 
     
            void IHttpModule.Dispose() 
            { 
            } 
        } 
     

        - set the following rule, regarding rewriting http://localhos/rootfoldername/software/default.aspx to http://localhost/rootfoldername/mywork/project1/software/default.aspx:
        <urlrewrites> 
          <rule> 
              <url>/software/(.*)\.aspx</url> 
              <rewrite>/mywork/project1/software/$1.aspx</rewrite> 
          </rule> 
        </urlrewrites> 
     

        - set autoSetClientLanguage attribute to false for the localization element in the web.config:
    <localization defaultProvider="Sitefinity" autoSetClientLanguage="false" persistenceMode="PathPrefix" ... 

    However, probably you should be able to use UrlrewritingNet instead of the above solution.

    Please let us know if you experience any other problems.

    We have updated your Telerik account for pointing this issue out.

    All the best,
    Vlad
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. OfficialCommunity
    OfficialCommunity avatar
    8 posts
    Registered:
    11 May 2006
    15 Jan 2008
    Link to this post
    On a fresh site, I uploded my template (pretty clean, has a few intrinsic  ASP.NET controls, a few content place holders) and added a generic content section.  After pasting in some content into the generic content editor I clicked save and received:

    14/01/2008 8:37:10 PM [UNKNOWN]
    ************************************************************************************
    ID: b6c5bbf9-67c6-4713-bd72-21ab5e77765a; Code: 3005; Occurrence: 6; Sequence: 390
    ------------------------------------------------------------------------------------

    Application information:
     Machine name: MYPC
     OS Version: Microsoft Windows NT 6.0.6000.0
     Product Version: 3.1.1473.3
     Application Path: D:\Projects\Foo\
     Debug: False

    Process information:
     Process ID: 7904
     Process Name: WebDev.WebServer

    Request information:
     Request URL: /Default.aspx?cmspagemode=edit
     Rewrite URL: http://localhost:8080/Default.aspx?cmspagemode=edit
     Url Referrer: http://localhost:8080/Default.aspx?cmspagemode=edit
     Is Authenticated: True
     Authentication Type: Forms
     User: admin
     User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2; .NET CLR 3.5.21022)
     User Address: 127.0.0.1

    Variables:
     AspSessionIDManagerInitializeRequestCalled: True
     cmspagemode: edit
     Sitefinity.UrlChanged:
     cmspageid: 9914d012-5d23-4196-ab72-89cc54e589cd
     RadControlRandomNumber: 0
     cmshost: Telerik.Cms.Hosting.DesignerHost
     cmsurlcontext: Telerik.Cms.Web.CmsUrlContext

    - L0 -------------------------------------------------------------------------------

    Exception Type: System.Web.HttpException

    Message: An error has occurred because a control with id 'ctl00$ctl07$ctl02$ctl03' could not be located or a different control is assigned to the same ID after postback. If the ID is not assigned, explicitly set the ID property of controls that raise postback events to avoid this error.

    Source: System.Web

    Stack Trace:
       at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    ------------------------------------------------------------------------------------

     

    Any thoughts on cause?
  9. Rebecca
    Rebecca avatar
    536 posts
    Registered:
    24 Sep 2012
    15 Jan 2008
    Link to this post
    Hi Colin Bowern,

    We have recently had a similar bug report. Currently, we have no idea what could be causing it, so we added it to our bug tracking system for further investigation.
    Hopefully, version 3.2 will include this fix.
    We are sorry for the inconvenience caused.

    Kind regards,
    Rebecca
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  10. Erik
    Erik avatar
    34 posts
    Registered:
    06 Dec 2007
    22 Jan 2008
    Link to this post
    I've noticed a bug when using Firefox 2.0.0.11 while editing pages and working with modules.  I notice that when I'm dragging controls to the pages, for instance the Generic Content control, rather than 1 instance displaying in the edit mode for the recently dragged control, I see 2 other instances.  This isn't happening in IE7 when I do the same exact thing.

    I also notice this happening when I add new lists in the Lists module.  When I save a new list, a bunch more with the identical name show up.   Seems like something specific to Firefox is duplicating the command more than once, resulting in a bunch of duplicate records being created.

    I have since switched to using IE7 for editing pages, and browsing them in Firefox to check for visual compliance, but it would be nice to just use Firefox for viewing and editing the pages in SiteFinity.
  11. Pepi
    Pepi avatar
    981 posts
    Registered:
    08 Dec 2016
    24 Jan 2008
    Link to this post
    Hi Erik,

    Do you refresh the page after dragging the control? Only in this case two instances of the corresponding control will be added. It will be very helpful if you give us more detailed information to localize the problem.

    Thanks for your cooperation in advance.

    All the best,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  12. Erik
    Erik avatar
    34 posts
    Registered:
    06 Dec 2007
    28 Jan 2008
    Link to this post
    No, I don't do any manual refresh of the page after I drag and drop the control to the container.  The duplicates simply appear after I drop the controls.  I know that it is not a page refresh issue because even when I log out of Sitefinity and come back in, the same duplicate records are shown and I have to go in and delete them manually.

    As I said before, this is a non-issue in IE7, and I'm fine for now working in IE7 to administer the site, but this is something that may pose an annoyance for many people as I'm sure a lot of designers are accustomed to using Firefox for their development.

    Thanks for your response,

    regards,
    erik
  13. Pepi
    Pepi avatar
    981 posts
    Registered:
    08 Dec 2016
    29 Jan 2008
    Link to this post
    Hi Erik,

    Please, open a new support ticket, zip your project together with the database and then attach the archive to the support thread. You can leave out the RadControls folder to shorten the file.We need to investigate and debug your project locally as we cannot reproduce the described behavior.

    All the best,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  14. Richard Baugh
    Richard Baugh avatar
    201 posts
    Registered:
    22 Aug 2012
    05 Feb 2008
    Link to this post
    We came across a problem with having brackets in a file name. Someone uploaded an image with brackets in the image name and this is causing an error when trying to render the generic control item. The error stems from the LinkParser in the DefaultProvider. I am not sure if this was intentional or if it just got overlooked. I know about setting the diableLinkParser in the web.config to bypass this.
  15. Vassil Daskalov
    Vassil Daskalov avatar
    261 posts
    Registered:
    18 May 2013
    06 Feb 2008
    Link to this post
    Hi Richard Baugh,

    Unfortunately, we were not able to reproduce this issue. We tried with an image whose name contained brackets and no error was thrown.
    Please provide sample content so we can test again as this issue looks like something we've overlooked.

    Thanks for your cooperation in advance.

    Kind regards,
    Vassil Daskalov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  16. Richard Baugh
    Richard Baugh avatar
    201 posts
    Registered:
    22 Aug 2012
    06 Feb 2008
    Link to this post

    The src for the image was set to, "/Images/HospitalLogos_Mugs/NCBH_logo_PP[1].gif".

    The control this was added to is an extended Generic Content control which we created. But to test the error, I simply created a new Generic Content item and added an image with the source set to the above image name. Now when viewing the page with "cmspagemode=preview", I don't get an error. I do get the error however once the page has been published. The error is below.

    System.ApplicationException: There was an error while parsing some of the generic content. We recommend to switch off the dynamic parser from the web.config. Set the disableLinkParser attribute of the corresponding generic provider to true. The return string was: http://localhost/BHS31/Images/HospitalLogos_Mugs/NCBH_logo_PP[1].gif.

    [ApplicationException: There was an error while parsing some of the generic content. We recommend to switch off the dynamic parser from the web.config. Set the disableLinkParser attribute of the corresponding generic provider to true. The return string was: http://localhost/BHS31/Images/HospitalLogos_Mugs/NCBH_logo_PP[1].gif.]
       Telerik.Cms.Engine.Data.LinkParser.ModifyLink(String value, String applicationRoot) +747
       Telerik.Cms.Engine.Data.LinkParser.ParseString(String textToModify, String applicationRoot) +375
       Telerik.Cms.Engine.Data.TextContent.get_Content() +146
       Telerik.Cms.Engine.Data.ContentVersion.get_Content() +38
       Telerik.Cms.Engine.Data.CmsContentBase.get_Content() +15
       Telerik.Cms.Engine.WebControls.GenericContent.Render(HtmlTextWriter writer) +516
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
       System.Web.UI.Control.Render(HtmlTextWriter writer) +7
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
       System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +59
       System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +68
       System.Web.UI.Adapters.ControlAdapter.Render(HtmlTextWriter writer) +18
       Telerik.Cms.Web.FormAdapter.Render(HtmlTextWriter writer) +125
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +2113233
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
       System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +37
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +29
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +29
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
       System.Web.UI.Control.Render(HtmlTextWriter writer) +7
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
       System.Web.UI.Page.Render(HtmlTextWriter writer) +26
       Telerik.Cms.Web.InternalPage.Render(HtmlTextWriter writer) +285
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1896

    We are using Sitefinity 3.1 SP2.

  17. Vassil Daskalov
    Vassil Daskalov avatar
    261 posts
    Registered:
    18 May 2013
    07 Feb 2008
    Link to this post
    Hi Richard Baugh,

    Thanks a lot. Now, I got the error here as well. Seems that I have only tried with these brackets before: ')', '('. Anyway, the problem will be fixed for the next release but, unfortunately, you can not overcome it now. You should either change the url or turn off the dynamic link parser.

    You get the error in the public part because the link parser is applied only there. 

    The dynamic link parser role is to convert url paths to full absolute one. For example, it would convert path from /AppName/myLink.aspx to http://www.mySite.com/AppName/myLink.aspx. It also fixes problems with broken links when moving site from development to production server as the application name in the first server might be different from the other. This conversion is also needed for the RSS feeds due to the fact that there you can not have relative links as the readers don't know how to open them. Hope this explains why the use of the link parser is recommended.


    Sincerely yours,
    Vassil Daskalov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  18. Richard Baugh
    Richard Baugh avatar
    201 posts
    Registered:
    22 Aug 2012
    07 Feb 2008
    Link to this post
    Vassil,

    I am glad you were able to find replicate the issue. We will just fix the name of the image so that the LinkParser can function like it is suppose to. Thanks for your time. 
Register for webinar
78 posts, 0 answered
1 2 3