您的位置:首页 > 编程语言 > ASP

ASP.NET Starter Kit的问题

2004-09-11 07:56 531 查看
有事要请教各位了,最近在玩Starter Kit, 安装了其中的Portal示例,发现编译后就出现如下情况,google了半天也没发现有效解答,请各位帮忙,谢谢。平台是Win2k3 Std英文, IIS6, SQL Server Ent 2000 sp3. 安装了.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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: