ASP.NET Starter Kitの質問

3704 ワード

皆さんに教えていただきたいことがあります.最近スターキットを游んでいます.その中のPortalの例をインストールしました.コンパイルが见つかったら、次のような状况になりました.googleは半日も有効な解答を见つけませんでした.助けてください.ありがとうございます.プラットフォームはWin 2 k 3 Std英語、IIS 6、SQL Server Ent 2000 sp 3.インストールしました.net framework 2.0 beta

Server Error in '/PortalCSSDK' 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: CS0104: 'Configuration' is an ambiguous reference between 'ASPNET.StarterKit.Portal.Configuration' and 'System.Configuration.Configuration'
Source Error:
Line 44: 
Line 45: 		// Retrieve and add the SiteConfiguration DataSet to the current Context
Line 46: 		HttpContext.Current.Items.Add("SiteSettings", Configuration.GetSiteSettings());
Line 47: 
Line 48: 		try

Source File: g:\Liki.net\Portal\PortalCSSDK\Global.asax   
Line: 46
Show Detailed Compiler Output:
c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.40607\csc.exe" /t:library /utf8output /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web\2.0.3600.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.3600.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.3600.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"c:\windows\microsoft.net\framework\v2.0.40607\Temporary ASP.NET Files\portalcssdk\771a67b2\168d520d\assembly\dl2\v2_ee3190bf\0084e77f_b724c301\PortalCSSDK.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.40607\mscorlib.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.3600.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.3600.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.3600.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.3600.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.3600.0__b77a5c561934e089\System.Xml.dll" /out:"c:\windows\microsoft.net\framework\v2.0.40607\Temporary ASP.NET Files\portalcssdk\771a67b2\168d520d\global.asax4tua2n_c.dll" /D:DEBUG /debug+ /optimize- /warnaserror /w:1 /nowarn:1659  "c:\windows\microsoft.net\framework\v2.0.40607\Temporary ASP.NET Files\portalcssdk\771a67b2\168d520d\tuakfh6q.0.cs" "c:\windows\microsoft.net\framework\v2.0.40607\Temporary ASP.NET Files\portalcssdk\771a67b2\168d520d\tuakfh6q.1.cs"


Microsoft (R) Visual C# .NET Compiler version 8.00.40607.42
for Microsoft (R) Windows (R) .NET Framework version 2.0.40607
Copyright (C) Microsoft Corporation 2001-2003. All rights reserved.

g:\Liki.net\Portal\PortalCSSDK\Global.asax(46,49): error CS0104: 'Configuration' is an ambiguous reference between 'ASPNET.StarterKit.Portal.Configuration' and 'System.Configuration.Configuration'
c:\WINDOWS\Microsoft.NET\Framework\v2.0.40607\Temporary ASP.NET Files\portalcssdk\771a67b2\168d520d\assembly\dl2\v2_ee3190bf\0084e77f_b724c301\PortalCSSDK.dll: (Location of symbol related to previous error)
c:\WINDOWS\assembly\GAC_MSIL\System\2.0.3600.0__b77a5c561934e089\System.dll: (Location of symbol related to previous error)

Version Information: Microsoft .NET Framework Version:2.0.40607.42; ASP.NET Version:2.0.40607.42