Click here to Skip to main content
15,922,574 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
sir
i try to make a chat box in asp.net but i have there is a error in globle .asax page.asseble is not found i am sending u code of golobe.asax page please help me
<%@ Application Language="C#" %>
<%@ Import Namespace="ASPNETChat" %>
<%@ Import Namespace="System.Threading " %>
<script  runat="server">
    void Application_Start(object sender, EventArgs e) 
    {
        System.Threading.Timer ChatRoomsCleanerTimer = new System.Threading.Timer(new TimerCallback(ChatEngine.CleanChatRooms), null, 1200000, 1200000);
    }
    
    void Application_End(object sender, EventArgs e) 
    {
        //  Code that runs on application shutdown
    }
        
    void Application_Error(object sender, EventArgs e) 
    { 
        // Code that runs when an unhandled error occurs
    }
    void Session_Start(object sender, EventArgs e) 
    {
        // Code that runs when a new session is started
    }
    void Session_End(object sender, EventArgs e) 
    {
        // Code that runs when a session ends. 
        // Note: The Session_End event is raised only when the sessionstate mode
        // is set to InProc in the Web.config file. If session mode is set to StateServer 
        // or SQLServer, the event is not raised.
    }       
</script>
Posted
Updated 2-Jun-11 21:33pm
v2
Comments
Richard MacCutchan 3-Jun-11 4:11am    
Where does the error occur? I don't know much about ASP.NET but there does not appear to be any code in the above functions.
DaveAuld 3-Jun-11 4:37am    
Does the extra space at the end of the import namepspace System.Threading make a difference before the closing quote?
thatraja 3-Jun-11 6:16am    
Make sure that you referred the dll for ASPNETChat
Sergey Alexandrovich Kryukov 3-Jun-11 11:53am    
This is not a proper issue report.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900