Quand on va sur le forum :
Server Error in '/yaffr' 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 'var' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 81: {
Line 82: // compute page title..
Line 83: var title = new StringBuilder();
Line 84:
Line 85: string pageStr = string.Empty;
Source File: c:\websites\robostrike.com\yaffr\App_Code\YAF\Modules\PageTitleModule.cs Line: 83
Compiler Warning Messages:
Warning: CS0168: The variable 'x' is declared but never used
Source Error:
c:\websites\robostrike.com\yaffr\App_Code\YAF\Editors\YafRichClassEditor.cs
Line 75: this._typEditor = Type.GetType(classBinStr, true);
Line 76: }
Line 77: catch (Exception x)
Line 78: {
Line 79: /*
Show Detailed Compiler Output:
c:\windows\system32\inetsrv> "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /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\yaffr\75acc716\8bd9d68b\assembly\dl3\e7dbedda\00009191_1853ca01\DNA.UI.JQuery.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\assembly\dl3\16e09df3\00096093_ea01ca01\nStuff.UpdateControls.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\assembly\dl3\1c6e5157\0079bc30_2d78ca01\YAF.Classes.Core.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\assembly\dl3\71b94fa6\0030782b_c324ca01\Intelligencia.UrlRewriter.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\assembly\dl3\37ec19dd\0079bc30_2d78ca01\YAF.Classes.Config.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\yaffr\75acc716\8bd9d68b\assembly\dl3\b80b54c7\0079bc30_2d78ca01\YAF.Providers.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.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\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\assembly\dl3\82864928\0079bc30_2d78ca01\YAF.Controls.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\assembly\dl3\9e1aa759\0079bc30_2d78ca01\YAF.Classes.Utils.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\assembly\dl3\0dc5c514\0079bc30_2d78ca01\YAF.Classes.UI.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\yaffr\75acc716\8bd9d68b\assembly\dl3\90f0e6d7\00009191_1853ca01\jQueryNet.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.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\yaffr\75acc716\8bd9d68b\assembly\dl3\42325f01\0079bc30_2d78ca01\YAF.Classes.Data.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\assembly\dl3\ee598836\00d40554_8760ca01\AjaxPro.2.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\assembly\dl3\49934e71\00009191_1853ca01\DNA.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\assembly\dl3\8a6698e2\0081937d_a925ca01\CookComputing.XmlRpcV2.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /out:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.dll" /D:DEBUG /debug+ /optimize- /w:4 /nowarn:1659;1699;1701 "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.12.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.26.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.24.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.18.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.17.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.21.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.25.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.10.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.22.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.19.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.15.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.27.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.16.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.20.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.13.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.7.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.0.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.1.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.2.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.3.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.4.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.5.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.6.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.14.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.8.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.9.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.11.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yaffr\75acc716\8bd9d68b\App_Code.fjjat_ok.23.cs"
Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.3053
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.
c:\websites\robostrike.com\yaffr\App_Code\YAF\Modules\PageTitleModule.cs(83,7): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
c:\websites\robostrike.com\yaffr\App_Code\YAF\Modules\PageTitleModule.cs(90,9): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
c:\websites\robostrike.com\yaffr\App_Code\YAF\Modules\PageTitleModule.cs(152,9): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
c:\websites\robostrike.com\yaffr\App_Code\YAF\Modules\PageLogoHandlerModule.cs(59,7): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
c:\websites\robostrike.com\yaffr\App_Code\YAF\Modules\PageLogoHandlerModule.cs(60,7): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
c:\websites\robostrike.com\yaffr\App_Code\YAF\Editors\YafRichClassEditor.cs(77,7): warning CS0168: The variable 'x' is declared but never used
c:\websites\robostrike.com\yaffr\App_Code\YAF\Editors\TinyMce.cs(83,7): error CS0103: The name 'scriptManager' does not exist in the current context
c:\websites\robostrike.com\yaffr\App_Code\YAF\Editors\TinyMce.cs(217,7): error CS0103: The name 'scriptManager' does not exist in the current context
c:\websites\robostrike.com\yaffr\App_Code\YAF\Editors\TinyMce.cs(225,7): error CS0103: The name 'scriptManager' does not exist in the current context
c:\websites\robostrike.com\yaffr\App_Code\YAF\Modules\SpoilerBBCodeModule.cs(45,7): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
c:\websites\robostrike.com\yaffr\App_Code\YAF\Forum.cs(295,11): error CS0103: The name 'scriptManager' does not exist in the current context
c:\websites\robostrike.com\yaffr\App_Code\YAF\Forum.cs(298,9): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
c:\websites\robostrike.com\yaffr\App_Code\YAF\Forum.cs(298,36): error CS0246: The type or namespace name 'scriptManager' could not be found (are you missing a using directive or an assembly reference?)
c:\websites\robostrike.com\yaffr\App_Code\YAF\Forum.cs(301,9): error CS1502: The best overloaded method match for 'System.Web.UI.ControlCollection.Add(System.Web.UI.Control)' has some invalid arguments
c:\websites\robostrike.com\yaffr\App_Code\YAF\Forum.cs(301,22): error CS1503: Argument '1': cannot convert from 'var' to 'System.Web.UI.Control'
c:\websites\robostrike.com\yaffr\App_Code\YAF\Modules\PagePopupModule.cs(121,13): error CS0103: The name 'scriptManager' does not exist in the current context
c:\websites\robostrike.com\yaffr\App_Code\YAF\Web References\RegisterForum\Reference.cs(277,9): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
c:\websites\robostrike.com\yaffr\App_Code\YAF\Web References\RegisterForum\Reference.cs(369,9): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
c:\websites\robostrike.com\yaffr\App_Code\YAF\Web References\RegisterForum\Reference.cs(455,9): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
c:\websites\robostrike.com\yaffr\App_Code\YAF\Web References\RegisterForum\Reference.cs(490,7): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
c:\websites\robostrike.com\yaffr\App_Code\YAF\Utilities\MetaWeblog.cs(99,7): error CS0246: The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?)
c:\websites\robostrike.com\yaffr\App_Code\YAF\Utilities\MetaWeblog.cs(103,14): error CS1502: The best overloaded method match for 'YAF.Utilities.MetaWeblog.newPost(string, string, string, YAF.Utilities.MetaWeblog.Post, bool)' has some invalid arguments
c:\websites\robostrike.com\yaffr\App_Code\YAF\Utilities\MetaWeblog.cs(103,50): error CS1503: Argument '4': cannot convert from 'var' to 'YAF.Utilities.MetaWeblog.Post'
Show Complete Compilation Source:
Line 1: /* YetAnotherForum.NET
Line 2: * Copyright (C) 2006-2009 Jaben Cargman
Line 3: * http://www.yetanotherforum.net/
Line 4: *
Line 5: * This program is free software; you can redistribute it and/or
Line 6: * modify it under the terms of the GNU General Public License
Line 7: * as published by the Free Software Foundation; either version 2
Line 8: * of the License, or (at your option) any later version.
Line 9: *
Line 10: * This program is distributed in the hope that it will be useful,
Line 11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
Line 12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Line 13: * GNU General Public License for more details.
Line 14: *
Line 15: * You should have received a copy of the GNU General Public License
Line 16: * along with this program; if not, write to the Free Software
Line 17: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Line 18: */
Line 19: namespace YAF.Modules
Line 20: {
Line 21: using System;
Line 22: using System.Text;
Line 23: using System.Web.UI.HtmlControls;
Line 24: using YAF.Classes;
Line 25: using YAF.Classes.Core;
Line 26: using YAF.Classes.Utils;
Line 27: using YAF.Controls;
Line 28:
Line 29: ///
Line 30: /// Summary description for PageTitleModule
Line 31: /// Line 32: [YafModule("Page Title Module", "Tiny Gecko", 1)]
Line 33: public class PageTitleModule : SimpleBaseModule
Line 34: {
Line 35: ///
Line 36: /// The _forum page title.
Line 37: /// Line 38: protected string _forumPageTitle = null;
Line 39:
Line 40: ///
Line 41: /// Initializes a new instance of the class.
Line 42: /// Line 43: public PageTitleModule()
Line 44: {
Line 45: }
Line 46:
Line 47: ///
Line 48: /// The init after page.
Line 49: /// Line 50: public override void InitAfterPage()
Line 51: {
Line 52: CurrentForumPage.PreRender += new EventHandler(ForumPage_PreRender);
Line 53: CurrentForumPage.Load += new EventHandler(ForumPage_Load);
Line 54: }
Line 55:
Line 56: ///
Line 57: /// The init before page.
Line 58: /// Line 59: public override void InitBeforePage()
Line 60: {
Line 61: }
Line 62:
Line 63: ///
Line 64: /// The forum page_ load.
Line 65: /// Line 66: ///
Line 67: /// The sender.
Line 68: ///
Line 69: ///
Line 70: /// The e.
Line 71: ///
Line 72: private void ForumPage_Load(object sender, EventArgs e)
Line 73: {
Line 74: GeneratePageTitle();
Line 75: }
Line 76:
Line 77: ///
Line 78: /// Creates this pages title and fires a PageTitleSet event if one is set
Line 79: /// Line 80: private void GeneratePageTitle()
Line 81: {
Line 82: // compute page title..
Line 83: var title = new StringBuilder();
Line 84:
Line 85: string pageStr = string.Empty;
Line 86:
Line 87: if (ForumPageType == ForumPages.posts || ForumPageType == ForumPages.topics)
Line 88: {
Line 89: // get current page...
Line 90: var currentPager = (Pager) CurrentForumPage.FindControl("Pager");
Line 91:
Line 92: if (currentPager != null && currentPager.CurrentPageIndex != 0)
Line 93: {
Line 94: pageStr = String.Format("Page {0} - ", currentPager.CurrentPageIndex + 1);
Line 95: }
Line 96: }
Line 97:
Line 98: if (PageContext.PageTopicID != 0)
Line 99: {
Line 100: title.AppendFormat("{0} - ", YafServices.BadWordReplace.Replace(PageContext.PageTopicName)); // Tack on the topic we're viewing
Line 101: }
Line 102:
Line 103: if (ForumPageType == ForumPages.posts)
Line 104: {
Line 105: title.Append(pageStr);
Line 106: }
Line 107:
Line 108: if (PageContext.PageForumName != string.Empty)
Line 109: {
Line 110: title.AppendFormat("{0} - ", CurrentForumPage.HtmlEncode(PageContext.PageForumName)); // Tack on the forum we're viewing
Line 111: }
Line 112:
Line 113: if (ForumPageType == ForumPages.topics)
Line 114: {
Line 115: title.Append(pageStr);
Line 116: }
Line 117:
Line 118: title.Append(CurrentForumPage.HtmlEncode(PageContext.BoardSettings.Name)); // and lastly, tack on the board's name
Line 119: this._forumPageTitle = title.ToString();
Line 120:
Line 121: ForumControl.FirePageTitleSet(this, new ForumPageTitleArgs(this._forumPageTitle));
Line 122: }
Line 123:
Line 124: ///
Line 125: /// The forum page_ pre render.
Line 126: /// Line 127: ///
Line 128: /// The sender.
Line 129: ///
Line 130: ///
Line 131: /// The e.
Line 132: ///
Line 133: private void ForumPage_PreRender(object sender, EventArgs e)
Line 134: {
Line 135: HtmlHead head = ForumControl.Page.Header ?? ControlHelper.FindControlRecursiveBothAs
(CurrentForumPage, "YafHead");
Line 136:
Line 137: if (head != null)
Line 138: {
Line 139: // setup the title...
Line 140: string addition = string.Empty;
Line 141:
Line 142: if (head.Title.Trim().Length > 0)
Line 143: {
Line 144: addition = " - " + head.Title;
Line 145: }
Line 146:
Line 147: head.Title = this._forumPageTitle + addition;
Line 148: }
Line 149: else
Line 150: {
Line 151: // old style
Line 152: var title = ControlHelper.FindControlRecursiveBothAs(CurrentForumPage, "ForumTitle");
Line 153:
Line 154: if (title != null)
Line 155: {
Line 156: title.Text = this._forumPageTitle;
Line 157: }
Line 158: }
Line 159: }
Line 160: }
Line 161: }
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
Perso je comprends rien xD
Rien de nouveau quoi