Problem in browing web part aspx page(asp.net2.0) from IIS

Discussion in 'ASP.NET 2.0' started by sheela_rao, Oct 18, 2005.

  1. hi,

    We have developed an aspx page containing web parts in whidbey. We can browse the page successfully within IDE of VS 2005(No IIS is required)

    when deployed this page into another machine having IIS and .net frameword 2.0 and browsed using IIS, it give the following error

    Procedure or Function 'aspnet_PersonalizationPerUser_GetPageSettings' expects parameter '@TimeZoneAdjustment', which was not supplied.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Data.SqlClient.SqlException: Procedure or Function 'aspnet_PersonalizationPerUser_GetPageSettings' expects parameter '@TimeZoneAdjustment', which was not supplied.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:

    [SqlException (0x80131904): Procedure or Function 'aspnet_PersonalizationPerUser_GetPageSettings' expects parameter '@TimeZoneAdjustment', which was not supplied.]
    System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +856282
    System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +733926
    System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188
    System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1838
    System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +31
    System.Data.SqlClient.SqlDataReader.get_MetaData() +62
    System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +297
    System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +886
    System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +132
    System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
    System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +122
    System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) +62
    System.Web.UI.WebControls.WebParts.SqlPersonalizationProvider.LoadPersonalizationBlob(SqlConnection connection, String path, String userName) +463
    System.Web.UI.WebControls.WebParts.SqlPersonalizationProvider.LoadPersonalizationBlobs(WebPartManager webPartManager, String path, String userName, Byte[]& sharedDataBlob, Byte[]& userDataBlob) +195
    System.Web.UI.WebControls.WebParts.PersonalizationProvider.LoadPersonalizationState(WebPartManager webPartManager, Boolean ignoreCurrentUser) +95
    System.Web.UI.WebControls.WebParts.WebPartPersonalization.Load() +105
    System.Web.UI.WebControls.WebParts.WebPartManager.OnInit(EventArgs e) +497
    System.Web.UI.Control.InitRecursive(Control namingContainer) +321
    System.Web.UI.Control.InitRecursive(Control namingContainer) +198
    System.Web.UI.Control.InitRecursive(Control namingContainer) +198
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +692


    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.26; ASP.NET Version:2.0.50727.26

    Please let me know how to rectify this

    Thanks in advance

    Sheela
     
  2.  
  3. Bruce

    Bruce DiscountASP.NET Staff

    are you using the beta version of VS.NET 2005?

    We have seen some problems w/ application built using beta VS.NET running on the released version of the framework.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page