Personalization Problem for web application developed on HTTP

Last post 07-23-2007 9:52 PM by Nai-Dong Jin - MSFT. 1 replies.

Sort Posts:

  • Personalization Problem for web application developed on HTTP

    07-19-2007, 6:02 AM
    • Loading...
    • nanda.eee
    • Joined on 03-30-2007, 5:15 AM
    • Posts 21

    ASP.NET-2.0,C#,WEBPARTS,OS:WinServer2003.

    I developed an ASP.NET application using "FILESYSTEM " option at the time of creation of the web site.i used Webparts in it.Eevery thing is working fine including personalization. But when i created the same Application using "HTTP" option ,Personalization is not functioning.When ever i am selecting design mode i am getting the Error :"The specified display mode is currently disabled on this page. Make sure personalization is enabled for the current user.".

    i have placed all controls like CatalogZone,EditZone..etc.Filesystem asp.net  Application is working fine but HTTP asp.net application is no tworking

    Even in Code i am not getting few properties of webpartmanager in intelisence like

    "EnableCatalogDisplayMode,EnableDesignDisplayMode,EnableEditDisplayMode,......" when i am typing "WebPartManager1."

     

    Filed under: , ,
  • Re: Personalization Problem for web application developed on HTTP

    07-23-2007, 9:52 PM
    Answer

    Hi,

    Webparts requires windows authentication for the site or even just the page. By default your IIS server will be set by the project creation wizard to have anonymous access and a blank web.config file.

    You can adjust your web.config file with combinations of settings based on your method to prompt for a windows login when design time is requested. Your site design may have security implemented in several ways. However you have implemented security ie via web.config, machine.config or IIs settings you must be logged in as a windows user or make the page ask the user to login in using windows authentication.

    Once authenticated you Will then be able to see the design time screen, where the web parts features come into play.

    Thanks.

    Sincerely,
    Michael Jin.
    Microsoft Online Community Support

Page 1 of 1 (2 items)
Microsoft Communities
Page view counter