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.
Compiler Error Message: CS0104: 'Configuration' is an ambiguous reference between 'ASPNET.StarterKit.Portal.Configuration' and 'System.Configuration.Configuration'
Source Error:
Source File: g:\Liki.net\Portal\PortalCSSDK\Global.asax Line: 46
Show Detailed Compiler Output:
Version Information: Microsoft .NET Framework Version:2.0.40607.42; ASP.NET Version:2.0.40607.42
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 |
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) |
相关文章推荐
- ASP.NET Portal Starter Kit 安装问题
- asp.net的3个经典范例(ASP.NET Starter Kit ,Duwamish,NET Pet Shop )学习资料
- ASP.NET Portal starter Kit ----之页面配置文件
- [收藏]ASP.NET Starter Kit 挖宝记专栏:Portal Starter Kit 可抄的寶在那裡?
- ASP.NET 2.0 Club Web Site Starter Kit 补丁
- 解读ASP.NET Portal Starter Kit(3)——代码文件篇
- asp.net的3个经典范例(ASP.NET Starter Kit ,Duwamish,NET Pet Shop )- 博客园(转载)
- 利用 ASP.NET Starter Kit 即刻开始 Web 站点开发
- asp.net的3个经典范例(ASP.NET Starter Kit ,Duwamish,NET Pet Shop)学习资料
- [收藏]ASP.NET Starter Kit 挖宝记专栏:Portal Starter Kit 可用的宝在那里?
- [收藏]ASP.NET Starter Kit 是啥咪碗糕?
- 解读ASP.NET Portal Starter Kit(3)——代码文件篇
- [收藏]ASP.NET Starter Kit 挖宝记专栏:Portal Starter Kit 可用的宝在那里?
- [收藏]ASP.NET Starter Kit 挖宝记专栏:Portal Starter Kit 可用的宝在那里?
- 初步整理了一下ASP.NET Portal Starter Kit代码,供大家参考
- 解读ASP.NET Portal Starter Kit(3)——代码文件篇
- ASP.NET Portal starter Kit ----页面配置文件之我见
- [收藏]ASP.NET Starter Kit 挖宝记专栏:Portal Starter Kit 可用的宝在那里?
- ASP.NET BLOGS Starter Kit(C#)准备发布
- 初步整理了一下ASP.NET Portal Starter Kit代码,供大家参考