locked
Production on an IIS 6.0 Server RRS feed

  • Question

  • User-311410215 posted

    Hi,

    I've developped a web site with "Visual Web Developper 2008 Express Edition", with a "Dynamic Data" UI for the Admin part (with LinQ To SQL).

    I've copied this Web Site to the production IIS 6.0 Web server.

    This Server has also "SQL Server 2008" and the 3.5 SP1 DotNET Framework.

    When I access the web site, evreything is Ok, the database access on the ASP pages... fine

    When i access the "Dynamic Data" main page of the web site, I've got the dynamic data "Go Back" link, but the listview of the database tables is empty (no listview at all, the <DIV> </DIV> is empty in the source code)

    Any idea ?

    Thanks,

    Nioubi

    Tuesday, November 4, 2008 6:51 AM

Answers

  • User-311410215 posted

     Ok, I've found something which works fine.

    In the Web.config I modify the
    <pages> tag attributes with these values (default values found on MSDN...) :

            <pages
                buffer="true"
                enableSessionState="true"
                enableViewState="true"
                enableViewStateMac="true"
                smartNavigation="false"
                autoEventWireup="true"
                pageBaseType="System.Web.UI.Page"
                userControlBaseType="System.Web.UI.UserControl"
                validateRequest="true"
                masterPageFile=""
                theme=""
                styleSheetTheme=""
                maxPageStateFieldLength="-1"
                compilationMode="Always"
                pageParserFilterType=""
                viewStateEncryptionMode="Auto"
                maintainScrollPositionOnPostBack="false"
                asyncTimeout="45">

    and since these modifications, that's Ok... But now, I don't know exactly which one makes the difference... (enableSessionState="true" and le enableViewState="true" were already with these values)

    JC

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, November 4, 2008 8:22 AM