Re: Problems with CS 2.0 and .NET Framework 2.0 Installation

  •  09-17-2006, 11:29 PM

    Re: Problems with CS 2.0 and .NET Framework 2.0 Installation

    Hi,
     
    I upgraded to CS 2.1 and .NET Framework 2.0 over the week end.  Everything with CS seems to be working fine and I don't have the problem with my logins timing out.  I log in and when I come back to the site I am still logged in.  I did the conversion Friday night and I haven't had to log in again since then.
     
    I installed the CuteChat 2.1 on Saturday night as well.  It worked but sometime Saturday it stopped working.  I get the following exception.
     
    [NullReferenceException: Object reference not set to an instance of an object.] CuteSoft.Chat.ChatDataManager.GetConfigs() +66 CuteSoft.Chat.ChatDataManager.GetConfig(String configname) +17 CuteSoft.Chat.ChatApiImpl.DoGetConfig(String name) +137 CuteSoft.Chat.ChatApiImpl.GetConfig(String name) +90 CuteSoft.Chat.ChatWebUtility.GetUserAdapter() +76 CuteSoft.Chat.ChatWebUtility.get_CurrentIdentity() +76 CuteSoft.Chat.Impl.ResourceContext.LoadResources(CultureInfo ci) +9 CuteSoft.Chat.UI.ChatPageBase.Render(HtmlTextWriter writer) +42 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

     
    Here is the roles section of my CS 2.1 webconfig.
     
    <roleManager defaultProvider="CommunityServerSqlProvider" enabled="true"
       cacheRolesInCookie="true" cookieName=".CSRoles" cookieTimeout="60000"
       cookiePath="/"  cookieRequireSSL="false" cookieSlidingExpiration="true"
       createPersistentCookie="true" cookieProtection="All" maxCachedResults="1000" >
       <providers>
        <clear />
        <add
         name="CommunityServerSqlProvider"
         type="CommunityServer.ASPNet20MemberRole.CSRoleProvider, CommunityServer.ASPNet20MemberRole"
         connectionStringName="SiteSqlServer"
         applicationName="dev"
         description="Stores and retrieves roles data from the local Microsoft SQL Server database"
        />
       </providers>
      </roleManager>
     
     
    If I touch the webconfig the CuteChat will start working again.
     
    Thanks for your replies and looking into this.  My site is the default CS 2.1 and IIS install.  I am not doing anything different or making any settings so I am curious why others may not be having his problem, or why cutesoft.net's install might not be having this problem.
     
View Complete Thread