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 'AddonHttpHandlerFactory' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 14: /// Summary description for GalleryHttpHandler
Line 15: /// </summary>
Line 16: public class BlogSystemHttpHandlerFactory : AddonHttpHandlerFactory
Line 17: {
Line 18: public BlogSystemHttpHandlerFactory( NoxForum.Framework.Providers.IAddonProvider OwnerAddon )
Source File: d:\zhaix\websites\cndev.org#www\App_Code\BlogSystemHttpHandlerFactory.cs Line: 16
Show Detailed Compiler Output:
c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\assembly\dl3\bcf1bb39\00ab347a_bb69c501\ActiproSoftware.CodeHighlighter.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\assembly\dl3\24a7ad1b\00e9ee0b_b969c501\ActiproSoftware.Shared.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\assembly\dl3\e74a5bce\0008f4f1_8d79c701\NoxForum.Framework.GallerySystem.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\assembly\dl3\f573ecf4\800cda0e_8979c701\NoxForum.Framework.GMapSystem.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\assembly\dl3\ccfbb370\0046675c_bb69c501\CodeHighlighterTest.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\assembly\dl3\957e1299\00c137ee_067bc701\Nox.Common.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\assembly\dl3\ace434b1\00f26844_c478c701\NoxAvatar.Framework.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\assembly\dl3\4d6a66dd\80d18054_c478c701\NoxForum.Framework.Addons.AvatarAddonProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\assembly\dl3\d8e69735\0040aff8_7158c401\Lucene.Net.Analysis.Cn.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\assembly\dl3\ea9d6df2\80e520e5_8879c701\NoxForum.Framework.ForumSystem.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\assembly\dl3\081c8c80\002a0613_8979c701\NoxForum.Framework.SearchSystem.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\assembly\dl3\94333e5f\807425ee_be42c701\Nox.Web.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\assembly\dl3\24f01d03\0000887f_3a43c401\Lucene.Net.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\assembly\dl3\7e36211a\002ff956_8979c701\NoxForum.Framework.BlogSystem.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\assembly\dl3\fe9ba671\00f98758_4f43c401\Highlighter.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\assembly\dl3\e27ae2ff\00b6ca85_d843c701\Nox.Web.NoxSession.DLL" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\App_Code.oxgy9bdg.dll" /D:DEBUG /debug+ /optimize- /w:4 /nowarn:1659;1699 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\App_Code.oxgy9bdg.0.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\App_Code.oxgy9bdg.1.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\App_Code.oxgy9bdg.2.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\App_Code.oxgy9bdg.3.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\App_Code.oxgy9bdg.4.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\App_Code.oxgy9bdg.5.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4e7eea0b\83260ce7\App_Code.oxgy9bdg.6.cs"
Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.
d:\zhaix\websites\cndev.org#www\App_Code\BlogSystemHttpHandlerFactory.cs(16,49): error CS0246: The type or namespace name 'AddonHttpHandlerFactory' could not be found (are you missing a using directive or an assembly reference?)
d:\zhaix\websites\cndev.org#www\App_Code\ForumPageBase.cs(17,49): error CS0234: The type or namespace name 'Pages' does not exist in the namespace 'NoxForum.Framework' (are you missing an assembly reference?)
d:\zhaix\websites\cndev.org#www\App_Code\GallerySystemHttpHandlerFactory.cs(16,52): error CS0246: The type or namespace name 'AddonHttpHandlerFactory' could not be found (are you missing a using directive or an assembly reference?)
d:\zhaix\websites\cndev.org#www\App_Code\global.asax.cs(11,26): error CS0234: The type or namespace name 'Logger' does not exist in the namespace 'NoxForum.Framework' (are you missing an assembly reference?)
d:\zhaix\websites\cndev.org#www\App_Code\global.asax.cs(12,26): error CS0234: The type or namespace name 'Configurations' does not exist in the namespace 'NoxForum.Framework' (are you missing an assembly reference?)
d:\zhaix\websites\cndev.org#www\App_Code\NoxHttpModule.cs(16,26): error CS0234: The type or namespace name 'Logger' does not exist in the namespace 'NoxForum.Framework' (are you missing an assembly reference?)
d:\zhaix\websites\cndev.org#www\App_Code\NoxHttpModule.cs(17,26): error CS0234: The type or namespace name 'Configurations' does not exist in the namespace 'NoxForum.Framework' (are you missing an assembly reference?)
d:\zhaix\websites\cndev.org#www\App_Code\BlogSystemHttpHandlerFactory.cs(18,75): error CS0234: The type or namespace name 'IAddonProvider' does not exist in the namespace 'NoxForum.Framework.Providers' (are you missing an assembly reference?)
d:\zhaix\websites\cndev.org#www\App_Code\GallerySystemHttpHandlerFactory.cs(18,78): error CS0234: The type or namespace name 'IAddonProvider' does not exist in the namespace 'NoxForum.Framework.Providers' (are you missing an assembly reference?)
Show Complete Compilation Source:
Line 1: using System;
Line 2: using System.Data;
Line 3: using System.Configuration;
Line 4: using System.Web;
Line 5: using System.Web.Security;
Line 6: using System.Web.UI;
Line 7: using System.Web.UI.WebControls;
Line 8: using System.Web.UI.WebControls.WebParts;
Line 9: using System.Web.UI.HtmlControls;
Line 10:
Line 11: namespace NoxForum.Framework.Handlers
Line 12: {
Line 13: /// <summary>
Line 14: /// Summary description for GalleryHttpHandler
Line 15: /// </summary>
Line 16: public class BlogSystemHttpHandlerFactory : AddonHttpHandlerFactory
Line 17: {
Line 18: public BlogSystemHttpHandlerFactory( NoxForum.Framework.Providers.IAddonProvider OwnerAddon )
Line 19: : base( OwnerAddon )
Line 20: {
Line 21: }
Line 22:
Line 23: public override IHttpHandler GetHandler( HttpContext context, string requestType, string url, string pathTranslated )
Line 24: {
Line 25: // add ---
Line 26: // browser-user UID, page u-UID/
Line 27: // browser-cate cateid, page s-CATEID/
Line 28:
Line 29: string mypath = context.Request.AppRelativeCurrentExecutionFilePath;
Line 30:
Line 31: string mappath;
Line 32:
Line 33: string[] p = mypath.Split( '/' );
Line 34:
Line 35: if ( p.Length < 2 )
Line 36: {
Line 37:
Line 38: }
Line 39: else if ( p.Length > 2 )
Line 40: {
Line 41: /*
Line 42: if ( p[2].StartsWith( "u-" ) )
Line 43: {
Line 44: Guid uid = Nox.Common.Encoder.GuidFromHtmlGuid( p[2].Substring( 2 ) );
Line 45:
Line 46: // mappath = context.Server.MapPath( "~/_addon/BlogSystem/pics_list.aspx" );
Line 47: // context.RewritePath( url, "", "uid=" + Nox.Common.Encoder.HtmlGuid( uid ) );
Line 48: // url += ".aspx";
Line 49: //map
Line 50: }*/
Line 51: mappath = context.Server.MapPath( "~/_addon/BlogSystem/UserPage/index.aspx" );
Line 52: pathTranslated = mappath;
Line 53: }
Line 54:
Line 55: //context.RewritePath( mappath );
Line 56: //context.RewritePath( mappath, url, "" );
Line 57: //path = mappath;
Line 58:
Line 59: return PageParser.GetCompiledPageInstance( url, pathTranslated, context );
Line 60: }
Line 61: }
Line 62: }
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210