Application error: Attention Cutesoft support

Last post 07-12-2005, 6:21 PM by Adam. 8 replies.
Sort Posts: Previous Next
  •  07-12-2005, 11:54 AM 8619

    Application error: Attention Cutesoft support

    I am getting this error when trying to access www.domain.com/login.aspx
     
     

    Server Error in '/' Application.

    SamplePortal.CuteChatIntegration.DataProvider,Sampleportal Not Inherits ConnectionStringProvider

    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.Exception: SamplePortal.CuteChatIntegration.DataProvider,Sampleportal Not Inherits ConnectionStringProvider

    Source Error:

    The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

    1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

      <%@ Page Language="C#" Debug="true" %>

    or:

    2) Add the following section to the configuration file of your application:

    <configuration>
       <system.web>
           <compilation debug="true"/>
       </system.web>
    </configuration>

    Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

    Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

    Stack Trace:

    [Exception: SamplePortal.CuteChatIntegration.DataProvider,Sampleportal Not Inherits ConnectionStringProvider] CuteSoft.Chat.ConnectionStringProvider.a(UserIdentity A_0) +261 CuteSoft.Chat.Impl.ServiceLayerChatApiDecorator.BeforeInvoke() +315 CuteSoft.Chat.DynamicAssembly.ServiceLayerChatApiDecoratorProxy.GetConfig_InterceptedCall(String configname) +78 CuteSoft.Chat.DynamicAssembly.WebLayerChatApiDecoratorProxy.GetConfig_InterceptedCall(String configname) +78 CuteSoft.Chat.ChatWebUtility.GetUserAdapter() +72 CuteSoft.Chat.ChatWebUtility.get_CurrentIdentity() +62 _ASP.TopBanner_ascx.Page_Load(Object sender, EventArgs e) +330 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Page.ProcessRequestMain() +731
     
    Can somebody tell me if I can find step by step configuration of a web messenger into my sql2000 database as i tried the sample portal method but it does not work.
  •  07-12-2005, 12:00 PM 8620 in reply to 8619

    Re: Application error: Attention Cutesoft support


    After adding <compilation debug="true"/> this is the error that I am getting






    SamplePortal.CuteChatIntegration.DataProvider,Sampleportal Not Inherits ConnectionStringProvider
    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.Exception: SamplePortal.CuteChatIntegration.DataProvider,Sampleportal Not Inherits ConnectionStringProvider

    Source Error:

    Line 56: 			
    Line 57: 		}
    Line 58: 		if( ChatWebUtility.CurrentIdentity.IsRegistered && ChatWebUtility.Api.IsAdministrator(ChatWebUtility.CurrentIdentity.UniqueName))
    Line 59: 			temp += "<a Class=\"menuTextLink\" href='CuteSoft_Client/CuteChat/Admin'>Chat Admin</a>";			
    Line 60: 		WelcomeMessage.Text = temp;

    Source File: C:\Program Files\Ensim\Sitedata\webppliance\conf\domains\pal\Inetpub\wwwroot\TopBanner.ascx    Line: 58

    Stack Trace:

    [Exception: SamplePortal.CuteChatIntegration.DataProvider,Sampleportal Not Inherits ConnectionStringProvider]
       CuteSoft.Chat.ConnectionStringProvider.a(UserIdentity A_0) +261
       CuteSoft.Chat.Impl.ServiceLayerChatApiDecorator.BeforeInvoke() +315
       CuteSoft.Chat.DynamicAssembly.ServiceLayerChatApiDecoratorProxy.GetConfig_InterceptedCall(String configname) +78
       CuteSoft.Chat.DynamicAssembly.WebLayerChatApiDecoratorProxy.GetConfig_InterceptedCall(String configname) +78
       CuteSoft.Chat.ChatWebUtility.GetUserAdapter() +72
       CuteSoft.Chat.ChatWebUtility.get_CurrentIdentity() +62
       ASP.TopBanner_ascx.Page_Load(Object sender, EventArgs e) in C:\Program Files\Ensim\Sitedata\webppliance\conf\domains\pal\Inetpub\wwwroot\TopBanner.ascx:58
       System.Web.UI.Control.OnLoad(EventArgs e) +67
       System.Web.UI.Control.LoadRecursive() +35
       System.Web.UI.Control.LoadRecursive() +98
       System.Web.UI.Control.LoadRecursive() +98
       System.Web.UI.Page.ProcessRequestMain() +731
    

  •  07-12-2005, 1:48 PM 8625 in reply to 8620

    Re: Application error: Attention Cutesoft support

    It looks like you forgot specify the ConnectionStringProvider in your web.config file.

    Please check the step 4:
     
     
    Modify web.config file and specify the Cute Chat Connection String and Connection String Provider

      <appSettings>
      ...
       <add key="ConnectionString" value="server=(local)\portal;database=SamplePortal;uid=test;pwd=test"/>
      <add key="CuteChat.ConnectionStringProvider" value="SamplePortal.ConnectionStringProvider,SamplePortal"/>
      </appSettings>

    Keep me posted.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  07-12-2005, 2:03 PM 8629 in reply to 8625

    Re: Application error: Attention Cutesoft support

    Hi,
     
    I modified the web.config and added the above values. Now I used my database name, uid and pwd that i used in CuteChatConfig.exe And I left the second line unmodified. i.e.
     
    <add key="CuteChat.ConnectionStringProvider" value="SamplePortal.ConnectionStringProvider,SamplePortal"/>
     
    Do i need to substitute the values of above command with something else as it does not say anywhere in the instructions.
     
    Thanks
  •  07-12-2005, 2:11 PM 8631 in reply to 8629

    Re: Application error: Attention Cutesoft support

    You should left this line unmodified.
     
    <add key="CuteChat.ConnectionStringProvider" value="SamplePortal.ConnectionStringProvider,SamplePortal"/>
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  07-12-2005, 4:56 PM 8635 in reply to 8631

    Re: Application error: Attention Cutesoft support

    Hello,
     
    I can get the login screen now. When I try to login using username "admin" and password "admin", It says wrong username and/or password.
     
    If I try to create a new account, I get the following error
     
     
     
     

    Server Error in '/cutechatstandalone/Web' Application.

    Invalid object name 'Users'.

    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: Invalid object name 'Users'.

    Source Error:

    The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

    1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

      <%@ Page Language="C#" Debug="true" %>

    or:

    2) Add the following section to the configuration file of your application:

    <configuration>
       <system.web>
           <compilation debug="true"/>
       </system.web>
    </configuration>

    Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

    Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

    Stack Trace:

    [SqlException: Invalid object name 'Users'.]
       System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) +723
       System.Data.SqlClient.SqlCommand.ExecuteScalar() +177
       _ASP.register_aspx.IsUsernameExists(String username) +142
       _ASP.register_aspx.DoRegNewUser(String username, String password, String location, String occupation, String interests, Boolean gender, Int32 age) +35
       _ASP.register_aspx.btnReg_Click(Object sender, EventArgs e) +210
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
       System.Web.UI.Page.ProcessRequestMain() +1277
    

    Now I ran the sql script in an already existing database. As ultimately  I want to implement it with my existing login username and column.
     
    Thank you
  •  07-12-2005, 5:04 PM 8637 in reply to 8635

    Re: Application error: Attention Cutesoft support

    Have you finished  this step?
     

    Execute SQLScripts\cutechat2.sql against your existing database (or Create a new database called 'SamplePortal')

     

    • Grant your login access to the new database.
    • Open your SQL Server Query Analyzer from within Enterprise Manager.
    • Once you have successfully connected to your SQL Server within query analyzer, open and execute the Chat SQL file(SQLScripts\cutechat2.sql, SQLScripts\1_CreateTables.sql and SQLScripts\2_CreateDefaultData.sql) against your database.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  07-12-2005, 5:58 PM 8639 in reply to 8637

    Re: Application error: Attention Cutesoft support

    Hi,
     
    Yes I ran the script using query manager against my existing database. It says the query batch completed successfully. I did it even again twice couple of minutes ago but still gives the same error. Also can you tell me how I can use my default username and password column from the databse so that all the old username and passwords are implemented to messenger The old username column is "Username" and Password column is "Password". I tried a couple of different ways but to no avail.
     
    Thank you,
    Palwinder
  •  07-12-2005, 6:21 PM 8640 in reply to 8639

    Re: Application error: Attention Cutesoft support

    Palwinder,
     
    Is your site online so you can provide a URL?
     
    I think it will be much easier if you can send us your site URL, FTP access and SQL Server login information to us.

     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML