Problem with deploy cute chat sandalone

Last post 02-27-2008, 12:42 PM by Adam. 9 replies.
Sort Posts: Previous Next
  •  03-23-2007, 8:17 AM 27656

    Problem with deploy cute chat sandalone

    OK my question is where I have to put the we.config?? On the root of my site or inside of chat folder? When I put inside on chat folder I have error on Line 10  outside on the root folder I have this error:



    Server Error in '/' Application.

    Compilation Error

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS0246: The type or namespace name 'CuteSoft' could not be found (are you missing a using directive or an assembly reference?)

    Source Error:


    Line 1:  <%@ Control Language="c#" %>
    Line 2: <%@ Import Namespace="CuteSoft.Chat" %>
    Line 3:
    Line 4: <table cellSpacing="0" cellPadding="0" class="Container" align="center" border="0">

    Source File: e:\0\1\93\108\1093760\user\1142008\htdocs\chat\banner.ascx    Line: 2







  •  03-23-2007, 11:17 AM 27660 in reply to 27656

    Re: Problem with deploy cute chat sandalone

    NumLock,
     
    Please check your file structure. The .net framework can't find the DLL.
     

    Unzip the zip file and create a virtual directory or website pointing it to the 'CutechatStandalone\Framework 1.x Web' folder (located in the archive).


    If you are using .Net Framework 2.0, please point it to the 'CutechatStandalone\Framework 2.0 Web' folder.


    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

  •  03-23-2007, 12:32 PM 27669 in reply to 27660

    Re: Problem with deploy cute chat sandalone

    Yes the directoty point to Framework 2.0 ...  here is my Web Config file:

    the web.config is on the root not under chat folder that is correct?


    <?xml version="1.0"?>
    <configuration>
        <appSettings>
            <add key="ConnectionString" value="server=192.168.1.2;database=cute;uid=sa;pwd=*****/"/>
            <add key="OnlineTimeout" value="300"/>
        </appSettings>
        <system.web>
            <compilation defaultLanguage="c#" debug="true"/>
            <customErrors mode="Off"/>
            <authentication mode="Forms">
                <forms name=".UserManagementASPXAUTH" loginUrl="~/Login.aspx"/>
            </authentication>
            <authorization>
                <allow users="*"/>
            </authorization>
            <trace enabled="true"></trace>
            <sessionState mode="InProc" timeout="20"/>
            <globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
            <xhtmlConformance mode="Legacy"/></system.web>
    </configuration>

  •  03-23-2007, 6:39 PM 27685 in reply to 27656

    Re: Problem with deploy cute chat sandalone

    now I have this error:

    Server Error in '/' Application.

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

    Source Error:

    Line 13: 		<compilation defaultLanguage="c#" debug="true"/>
    Line 14: <customErrors mode="Off"/>
    Line 15: <authentication mode="Forms">
    Line 16: <forms name=".UserManagementASPXAUTH" loginUrl="~/Login.aspx"/>
    Line 17: </authentication>

    Source File: c:\inetpub\wwwroot\chat\web.config    Line: 15


  •  03-23-2007, 6:48 PM 27686 in reply to 27685

    Re: Problem with deploy cute chat sandalone

    Error message: This error can be caused by a virtual directory not being configured as an application in IIS.
    Same problem, you didn't set chat directory as an application in IIS. It's just a regular folder under your root. So the .net framework can't recognize it.

    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

  •  03-23-2007, 7:00 PM 27687 in reply to 27656

    Re: Problem with deploy cute chat sandalone

    Now I have this error:

    Server Error in '/chat' Application.

    Object reference not set to an instance of an object.

    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.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    Line 67: 		}
    Line 68:
    Line 69: if(CuteSoft.Chat.ChatWebUtility.CurrentIdentityIsAdministrator)
    Line 70: temp += "<a Class=\"Big\" href='CuteSoft_Client/CuteChat/Admin'>Chat Admin</a>";
    Line 71: TopMenu.Text = temp;

    Source File: c:\Inetpub\wwwroot\chat\banner.ascx    Line: 69

    Stack Trace:

    [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) +149
    CuteSoft.Chat.ChatApiImpl.GetConfig(String name) +66
    CuteSoft.Chat.ChatWebUtility.GetUserAdapter() +77
    CuteSoft.Chat.ChatWebUtility.get_CurrentIdentity() +76
    CuteSoft.Chat.ChatWebUtility.get_CurrentIdentityIsAdministrator() +5
    ASP.banner_ascx.Page_Load(Object sender, EventArgs e) in c:\Inetpub\wwwroot\chat\banner.ascx:69
    System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
    System.Web.UI.Control.OnLoad(EventArgs e) +99
    System.Web.UI.Control.LoadRecursive() +47
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Control.LoadRecursive() +131
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061


    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210


  •  03-23-2007, 7:10 PM 27688 in reply to 27687

    Re: Problem with deploy cute chat sandalone

    OK. Now you moved forward one step.
     
    For this error, you need to check your web.config file and make sure the connection string is correct.
     
     

    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

  •  03-23-2007, 7:20 PM 27689 in reply to 27688

    Re: Problem with deploy cute chat sandalone

    Ok now I have this error when I try to enter on Chat Admin

    Server Error in '/chat/CuteSoft_Client/CuteChat/Admin' Application.

    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Could not load type 'CuteSoft.Chat.UI.ChatAdminPage'.

    Source Error:

    Line 1:  <%@ Import Namespace="CuteSoft.Chat" %>
    Line 2: <%@ Page Language="C#" Inherits="CuteSoft.Chat.UI.ChatAdminPage" %>
    Line 3: <%@ Register TagPrefix="uc1" TagName="Banner" Src="Banner.ascx" %>
    Line 4: <%@ Register TagPrefix="uc1" TagName="Menu" Src="Menu.ascx" %>

    Source File: /chat/CuteSoft_Client/CuteChat/Admin/default.aspx    Line: 2


    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210




  •  02-27-2008, 6:41 AM 37390 in reply to 27685

    Re: Problem with deploy cute chat sandalone

    Same Problem i am also getting :( demo is not working but when i run this application in visual studio it run well :(

     

    anyhow if anyone know how to get rid frm this error please let me know

  •  02-27-2008, 12:42 PM 37399 in reply to 37390

    Re: Problem with deploy cute chat sandalone

    may29adil,
     
    Can you post the detailed error message or post a screenshot?
     

    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