Hi Adam & Lijian,
Thank you so much for the point out. It was the Norton AV script block that caused the problem. I tested on three computers and the results are follow:
1. Norton AV installed, script block on = can't work
2. Norton AV installed, script block off = can't work
3. Norton AV not installed = works normally. However, sometime the chat windows will hang if three connecting retries were attempted
I just installed the ASP.Net Forum v.2 and worked properly. Then I tried to use the CuteChat config wizard to integrate it with the ASPNF2. It all worked fine until I click "Next" on the "Setup the web.config" page. The errors as follow:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at CuteChatConfig.Pages.CtrlWebConfig.DoNext()
at CuteChatConfig.PagesContext.DoNext()
at CuteChatConfig.SetupForm.btnNext_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
CuteChatConfig
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/CuteSoft/CuteChat/CuteChatConfig.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.enterpriseservices/1.0.5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
I couldn't proceed from here onwards. So I skipped the Web.Config setup and proceed on.
The next thing I did was to open the "web.config" file in the ASPNF2 root directory and changed the following in red:
1. Configuration\CuteChat\Providers@defaultProvider="AspNetForums"
2. Configuration\CuteChat\Providers\Provider : name="AspNetForums" sqlDataProviderType="CuteChat.AspNetForums2Lib.AspNetForumsSqlDataProvider,CuteChat.AspNetForums2Lib" userIdentityAdapterType="CuteChat.AspNetForums2Lib.SqlServerUserIdentityAdapter,CuteChat.AspNetForums2Lib"
At first it displayed just like the one in your demo. but ever since I clicked the CHAT button on the forum, it becomes like:
Server Error in '/Forums' 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: CS0006: Metadata file 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\forums\d15f8608\8cfd220d\assembly\dl2\27af836e\00b450cd_6872c401\cutechat.dll' could not be found
Source Error:
|
[No relevant source lines]
|
Source File: Line: 0
Show Detailed Compiler Output:
c:\windows\system32\inetsrv> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library /utf8output /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\forums\d15f8608\8cfd220d\assembly\dl2\333aa715\006653a5_e572c401\aspnetforums.components.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\forums\d15f8608\8cfd220d\assembly\dl2\3980a8fd\006ce1ce_445bc401\metabuilders.webcontrols.masterpages.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\forums\d15f8608\8cfd220d\assembly\dl2\78b5a2fa\009384a6_e572c401\aspnetforums.sqldataprovider.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\forums\d15f8608\8cfd220d\assembly\dl2\f39caa71\006653a5_e572c401\aspnetforums.controls.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\forums\d15f8608\8cfd220d\assembly\dl2\d2660006\006ce1ce_445bc401\freetextbox.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\forums\d15f8608\8cfd220d\assembly\dl2\bdef0ced\009384a6_e572c401\aspnetforums.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\forums\d15f8608\8cfd220d\assembly\dl2\27af836e\00b450cd_6872c401\cutechat.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\forums\d15f8608\8cfd220d\assembly\dl2\16a3f7b9\006ce1ce_445bc401\microsoft.web.ui.webcontrols.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\forums\d15f8608\8cfd220d\assembly\dl2\6ee48ca1\000f0b32_6772c401\cutechat.aspnetforum2lib.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\forums\d15f8608\8cfd220d\uaxlubax.dll" /debug- /optimize+ /warnaserror /w:1 "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\forums\d15f8608\8cfd220d\uaxlubax.0.cs"
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
error CS0006: Metadata file 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\forums\d15f8608\8cfd220d\assembly\dl2\27af836e\00b450cd_6872c401\cutechat.dll' could not be found
|
Show Complete Compilation Source:
Line 1: //------------------------------------------------------------------------------
Line 2: // <autogenerated>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.573
Line 5: //
Line 6: // Changes to this file may cause incorrect behavior and will be lost if
Line 7: // the code is regenerated.
Line 8: // </autogenerated>
Line 9: //------------------------------------------------------------------------------
Line 10:
Line 11: namespace ASP {
Line 12: using System;
Line 13: using System.Collections;
Line 14: using System.Collections.Specialized;
Line 15: using System.Configuration;
Line 16: using System.Text;
Line 17: using System.Text.RegularExpressions;
Line 18: using System.Web;
Line 19: using System.Web.Caching;
Line 20: using System.Web.SessionState;
Line 21: using System.Web.Security;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.WebControls;
Line 24: using System.Web.UI.HtmlControls;
Line 25:
Line 26: #line 2 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 27: using AspNetForums.Components;
Line 28:
Line 29: #line default
Line 30: #line hidden
Line 31:
Line 32: #line 3 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 33: using AspNetForums.Controls;
Line 34:
Line 35: #line default
Line 36: #line hidden
Line 37:
Line 38: #line 4 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 39: using MetaBuilders.WebControls.MasterPages;
Line 40:
Line 41: #line default
Line 42: #line hidden
Line 43:
Line 44:
Line 45: public class default_aspx : System.Web.UI.Page, System.Web.SessionState.IRequiresSessionState {
Line 46:
Line 47:
Line 48: #line 7 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 49: protected MetaBuilders.WebControls.MasterPages.Content HeadTag;
Line 50:
Line 51: #line default
Line 52: #line hidden
Line 53:
Line 54:
Line 55: #line 12 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 56: private AspNetForums.Controls.ForumGroupView __control2;
Line 57:
Line 58: #line default
Line 59: #line hidden
Line 60:
Line 61:
Line 62: #line 11 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 63: protected MetaBuilders.WebControls.MasterPages.Content MainContent;
Line 64:
Line 65: #line default
Line 66: #line hidden
Line 67:
Line 68:
Line 69: #line 6 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 70: protected MetaBuilders.WebControls.MasterPages.ContentContainer MPContainer;
Line 71:
Line 72: #line default
Line 73: #line hidden
Line 74:
Line 75: private static bool __initialized = false;
Line 76:
Line 77: private static System.Collections.ArrayList __fileDependencies;
Line 78:
Line 79: public default_aspx() {
Line 80: System.Collections.ArrayList dependencies;
Line 81: if ((ASP.default_aspx.__initialized == false)) {
Line 82: dependencies = new System.Collections.ArrayList();
Line 83: dependencies.Add("C:\\CommunityServerForums\\2.0\\web\\default.aspx");
Line 84: ASP.default_aspx.__fileDependencies = dependencies;
Line 85: ASP.default_aspx.__initialized = true;
Line 86: }
Line 87: }
Line 88:
Line 89: protected override bool SupportAutoEvents {
Line 90: get {
Line 91: return false;
Line 92: }
Line 93: }
Line 94:
Line 95: protected System.Web.HttpApplication ApplicationInstance {
Line 96: get {
Line 97: return ((System.Web.HttpApplication)(this.Context.ApplicationInstance));
Line 98: }
Line 99: }
Line 100:
Line 101: public override string TemplateSourceDirectory {
Line 102: get {
Line 103: return "/Forums";
Line 104: }
Line 105: }
Line 106:
Line 107: private System.Web.UI.Control __BuildControlHeadTag() {
Line 108: MetaBuilders.WebControls.MasterPages.Content __ctrl;
Line 109:
Line 110: #line 7 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 111: __ctrl = new MetaBuilders.WebControls.MasterPages.Content();
Line 112:
Line 113: #line default
Line 114: #line hidden
Line 115: this.HeadTag = __ctrl;
Line 116:
Line 117: #line 7 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 118: __ctrl.ID = "HeadTag";
Line 119:
Line 120: #line default
Line 121: #line hidden
Line 122: System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 123:
Line 124: #line 7 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 125: __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\t<meta http-equiv=\"Refresh\" content=\"300\" />\r\n"));
Line 126:
Line 127: #line default
Line 128: #line hidden
Line 129: return __ctrl;
Line 130: }
Line 131:
Line 132: private System.Web.UI.Control __BuildControl__control2() {
Line 133: AspNetForums.Controls.ForumGroupView __ctrl;
Line 134:
Line 135: #line 12 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 136: __ctrl = new AspNetForums.Controls.ForumGroupView();
Line 137:
Line 138: #line default
Line 139: #line hidden
Line 140: this.__control2 = __ctrl;
Line 141: return __ctrl;
Line 142: }
Line 143:
Line 144: private System.Web.UI.Control __BuildControlMainContent() {
Line 145: MetaBuilders.WebControls.MasterPages.Content __ctrl;
Line 146:
Line 147: #line 11 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 148: __ctrl = new MetaBuilders.WebControls.MasterPages.Content();
Line 149:
Line 150: #line default
Line 151: #line hidden
Line 152: this.MainContent = __ctrl;
Line 153:
Line 154: #line 11 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 155: __ctrl.ID = "MainContent";
Line 156:
Line 157: #line default
Line 158: #line hidden
Line 159:
Line 160: #line 11 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 161: this.__BuildControl__control2();
Line 162:
Line 163: #line default
Line 164: #line hidden
Line 165: System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 166:
Line 167: #line 11 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 168: __parser.AddParsedSubObject(this.__control2);
Line 169:
Line 170: #line default
Line 171: #line hidden
Line 172: return __ctrl;
Line 173: }
Line 174:
Line 175: private System.Web.UI.Control __BuildControlMPContainer() {
Line 176: MetaBuilders.WebControls.MasterPages.ContentContainer __ctrl;
Line 177:
Line 178: #line 6 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 179: __ctrl = new MetaBuilders.WebControls.MasterPages.ContentContainer();
Line 180:
Line 181: #line default
Line 182: #line hidden
Line 183: this.MPContainer = __ctrl;
Line 184:
Line 185: #line 6 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 186: __ctrl.ID = "MPContainer";
Line 187:
Line 188: #line default
Line 189: #line hidden
Line 190:
Line 191: #line 6 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 192: __ctrl.MasterPageFile = "~/Themes/MasterPage.ascx";
Line 193:
Line 194: #line default
Line 195: #line hidden
Line 196:
Line 197: #line 6 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 198: this.__BuildControlHeadTag();
Line 199:
Line 200: #line default
Line 201: #line hidden
Line 202: System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 203:
Line 204: #line 6 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 205: __parser.AddParsedSubObject(this.HeadTag);
Line 206:
Line 207: #line default
Line 208: #line hidden
Line 209:
Line 210: #line 6 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 211: this.__BuildControlMainContent();
Line 212:
Line 213: #line default
Line 214: #line hidden
Line 215:
Line 216: #line 6 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 217: __parser.AddParsedSubObject(this.MainContent);
Line 218:
Line 219: #line default
Line 220: #line hidden
Line 221: return __ctrl;
Line 222: }
Line 223:
Line 224: private void __BuildControlTree(System.Web.UI.Control __ctrl) {
Line 225:
Line 226: #line 1 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 227: this.__BuildControlMPContainer();
Line 228:
Line 229: #line default
Line 230: #line hidden
Line 231: System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 232:
Line 233: #line 1 "C:\CommunityServerForums\2.0\web\default.aspx"
Line 234: __parser.AddParsedSubObject(this.MPContainer);
Line 235:
Line 236: #line default
Line 237: #line hidden
Line 238: }
Line 239:
Line 240: protected override void FrameworkInitialize() {
Line 241: this.__BuildControlTree(this);
Line 242: this.FileDependencies = ASP.default_aspx.__fileDependencies;
Line 243: this.EnableViewStateMac = true;
Line 244: }
Line 245:
Line 246: public override int GetTypeHashCode() {
Line 247: return 1100199180;
Line 248: }
Line 249: }
Line 250: }
Line 251:
|
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
Now that everytime I access the forum page, it goes straight to this error. Can you advise me on this one?
Thank you in advance. Wish to hear from you soon.
Best regards,
Rgain