Compilation Error: Server Error in '/' Application.
Hi There,
suddenly (last thing I did was to copy an assembly to the /bin) my site is not running anymore. I receive the same error whether I start up the backend or the site.
It seems to be a missing reference in the FAQ module, that produces the error. I didnt touch that and actually not even use it (yet) on my site. I am using umbraco 4.02.1.
Here is the Compilation Error output:
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: CS0012: Der Typ
"umbraco.BusinessLogic.console.IconI" ist in einer nicht referenzierten
Assembly definiert. Fügen Sie einen Verweis auf die Assembly
"businesslogic, Version=1.0.3441.17654, Culture=neutral,
PublicKeyToken=null" hinzu.
Source Error:
Line 91: Line 92: // Get the faqQuestion documenttype Line 93: DocumentType dt = DocumentType.GetByAlias("faqQuestion"); Line 94: Line 95: // Use the "Umbraco" system administrator user as creator (with id:0)
Line 111: Line 112: // Reflect the publish to the runtime Line 113: umbraco.library.PublishSingleNode(question.Id); Line 114: Line 115: // thanks
Show
Detailed Compiler Output:
C:\WINDOWS\system32> "C:\WINDOWS\Microsoft.NET\Framework\v3.5\csc.exe" /t:library /utf8output /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\1e9aabfd\0039a0ad_e5e5c901\ICSharpCode.SharpZipLib.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\589589b1\980b1a13\assembly\dl3\ce30f52d\009302b0_e5e5c901\umbraco.DataLayer.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\589589b1\980b1a13\assembly\dl3\7513354d\009302b0_e5e5c901\umbraco.editorControls.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\d2fc6ca4\009302b0_e5e5c901\VistaDB For Umbraco.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml.Linq\3.5.0.0__b77a5c561934e089\System.Xml.Linq.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\589589b1\980b1a13\assembly\dl3\52e1eb19\009302b0_e5e5c901\umbraco.macroRenderings.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\c28de154\7c735ff6_63b2ca01\checkerplay_vb.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\fcb797a1\009302b0_e5e5c901\VistaDB.NET20.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\f322e6be\0066d1ae_e5e5c901\TidyNet.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\d7ad2b8a\0039a0ad_e5e5c901\cms.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\17ceef88\0066d1ae_e5e5c901\MySql.Data.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\App_GlobalResources.mf4ehi5t.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\d961a324\0039a0ad_e5e5c901\DotNetOpenMail.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\c430b79e\0039a0ad_e5e5c901\interfaces.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.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\589589b1\980b1a13\assembly\dl3\0312c1e1\0066d1ae_e5e5c901\Lucene.Net.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\4af87c2f\009302b0_e5e5c901\umbraco.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\44c7a0f6\56fbb3bc_26a0ca01\HelloWorld.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\74b23585\0039a0ad_e5e5c901\ImageManipulation.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.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\589589b1\980b1a13\assembly\dl3\414013de\0039a0ad_e5e5c901\AjaxControlToolkit.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\b166ebbd\84d53606_9224ca01\CSSFriendly.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\d6e41574\0039a0ad_e5e5c901\controls.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\90bbc74e\0066d1ae_e5e5c901\Microsoft.ApplicationBlocks.Data.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\17b29ce0\009302b0_e5e5c901\umbraco.XmlSerializers.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\0c522c4c\009302b0_e5e5c901\umbraco.providers.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\06a7345e\0039a0ad_e5e5c901\CookComputing.XmlRpcV2.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Data.DataSetExtensions\3.5.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\84abb166\0066d1ae_e5e5c901\IronPython.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\3c1c1c48\009302b0_e5e5c901\UrlRewritingNet.UrlRewriter.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\e1ed5140\ccb7a644_1fa0ca01\HelloWorld_CS.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\root\589589b1\980b1a13\assembly\dl3\773f731f\009302b0_e5e5c901\umbraco.webservices.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\b4fc5afe\0039a0ad_e5e5c901\IronMath.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\72cb13b9\009302b0_e5e5c901\umbraco.standardFormhandlers.DLL" /out:"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\App_Code.nwxjkvns.dll" /D:DEBUG /debug+ /optimize- /w:4 /nowarn:1659;1699;1701 /warnaserror- "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\App_Code.nwxjkvns.0.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\App_Code.nwxjkvns.1.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\App_Code.nwxjkvns.2.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\App_Code.nwxjkvns.3.cs" "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\App_Code.nwxjkvns.4.cs"
Microsoft (R) Visual C# 2008 Compiler Version 3.5.30729.1 , für Microsoft (R) .NET Framework Version 3.5 Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
h:\Projekte\umbraco\www2\app_code\Umbraco.NitroFAQ\AddFaqQuestion.ascx.cs(93,17): error CS0012: Der Typ "umbraco.BusinessLogic.console.IconI" ist in einer nicht referenzierten Assembly definiert. Fügen Sie einen Verweis auf die Assembly "businesslogic, Version=1.0.3441.17654, Culture=neutral, PublicKeyToken=null" hinzu. c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\589589b1\980b1a13\assembly\dl3\d7ad2b8a\0039a0ad_e5e5c901\cms.DLL: (Position des Symbols für den vorherigen Fehler) h:\Projekte\umbraco\www2\app_code\Umbraco.NitroFAQ\AddFaqQuestion.ascx.cs(96,17): error CS0246: Der Typ- oder Namespacename "User" konnte nicht gefunden werden. (Fehlt eine Using-Direktive oder ein Assemblyverweis?) h:\Projekte\umbraco\www2\app_code\Umbraco.NitroFAQ\AddFaqQuestion.ascx.cs(96,26): error CS0103: Der Name "User" ist im aktuellen Kontext nicht vorhanden. h
The file businesslogic.dll in my /bin folder had a size of 0 byte. Don't know what happend, anyway I restored this file from a backup and everything works.
Compilation Error: Server Error in '/' Application.
Hi There,
suddenly (last thing I did was to copy an assembly to the /bin) my site is not running anymore. I receive the same error whether I start up the backend or the site.
It seems to be a missing reference in the FAQ module, that produces the error. I didnt touch that and actually not even use it (yet) on my site. I am using umbraco 4.02.1.
Here is the Compilation Error output:
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: CS0012: Der Typ "umbraco.BusinessLogic.console.IconI" ist in einer nicht referenzierten Assembly definiert. Fügen Sie einen Verweis auf die Assembly "businesslogic, Version=1.0.3441.17654, Culture=neutral, PublicKeyToken=null" hinzu.
Source Error:
Source File: h:\Projekte\umbraco\www2\app_code\Umbraco.NitroFAQ\AddFaqQuestion.ascx.cs Line: 93
Source Error:
Any help is appreciated.
Christian
Well I found the problem.
The file businesslogic.dll in my /bin folder had a size of 0 byte. Don't know what happend, anyway I restored this file from a backup and everything works.
// Christian
is working on a reply...