I have a fresh new install of UDDI with MSDE on W2k3. When I browse http://myserver/uddi, I get a lovely page with 4 links. Clicking on any one, I get the following error in the right hand side frame : Server Error in '/uddi' 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: 'TreeNode' is an ambiguous reference between 'UDDI.Web.TreeNode' and 'System.Web.UI.WebControls.TreeNode' Source Error: Line 22: // Root Node Line 23: // Line 24: TreeNode nodeCoordinate = tree.Nodes.Add( Line 25: Localization.GetString( "HEADING_COORDINATE" ), Line 26: "_root", Source File: c:\Inetpub\uddi\webroot\admin\explorer.aspx Line: 24 Show Detailed Compiler Output: c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\uddi\0fbab423\865721d1\App_global.asax.5outs8eu.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.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.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\uddi\0fbab423\865721d1\assembly\dl3\dad79a77\0018cd27_8c52c701\uddi.web.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\uddi\0fbab423\865721d1\assembly\dl3\9d038b3e\0018cd27_8c52c701\uddi.addwebreference.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\uddi\0fbab423\865721d1\assembly\dl3\9b0cc337\0018cd27_8c52c701\uddi.api.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\uddi\0fbab423\865721d1\assembly\dl3\8dad9464\0018cd27_8c52c701\uddi.core.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\uddi\0fbab423\865721d1\App_Web_explorer.aspx.fdf7a39c.ajyk6t0k.dll" /debug- /optimize+ /win32res:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\uddi\0fbab423\865721d1\ynka0e7x.res" /w:4 /nowarn:1659;1699 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\uddi\0fbab423\865721d1\App_Web_explorer.aspx.fdf7a39c.ajyk6t0k.0.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\uddi\0fbab423\865721d1\App_Web_explorer.aspx.fdf7a39c.ajyk6t0k.1.cs" Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42 for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727 Copyright (C) Microsoft Corporation 2001-2005. All rights reserved. c:\Inetpub\uddi\webroot\admin\explorer.aspx(24,3): error CS0104: 'TreeNode' is an ambiguous reference between 'UDDI.Web.TreeNode' and 'System.Web.UI.WebControls.TreeNode' c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\uddi\0fbab423\865721d1\assembly\dl3\dad79a77\0018cd27_8c52c701\uddi.web.DLL: (Location of symbol related to previous error) c:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll: (Location of symbol related to previous error) c:\Inetpub\uddi\webroot\admin\explorer.aspx(42,3): error CS0104: 'TreeNode' is an ambiguous reference between 'UDDI.Web.TreeNode' and 'System.Web.UI.WebControls.TreeNode' c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\uddi\0fbab423\865721d1\assembly\dl3\dad79a77\0018cd27_8c52c701\uddi.web.DLL: (Location of symbol related to previous error) c:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll: (Location of symbol related to previous error) c:\Inetpub\uddi\webroot\admin\explorer.aspx(59,3): error CS0104: 'TreeNode' is an ambiguous reference between 'UDDI.Web.TreeNode' and 'System.Web.UI.WebControls.TreeNode' c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\uddi\0fbab423\865721d1\assembly\dl3\dad79a77\0018cd27_8c52c701\uddi.web.DLL: (Location of symbol related to previous error) c:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll: (Location of symbol related to previous error) c:\Inetpub\uddi\webroot\admin\explorer.aspx(79,4): error CS0104: 'TreeNode' is an ambiguous reference between 'UDDI.Web.TreeNode' and 'System.Web.UI.WebControls.TreeNode' c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\uddi\0fbab423\865721d1\assembly\dl3\dad79a77\0018cd27_8c52c701\uddi.web.DLL: (Location of symbol related to previous error) c:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll: (Location of symbol related to previous error) -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832 Thanks for your help
I have the same error. Did you figure out a workaround? url:http://www.ureader.com/msg/1630121.aspx
Yes, If you try to run the UDDI administrative interface under .NET Framework 2.0, you will discover a class ambiguity error because the TreeNode class also exists as part of the UDDI system, as within the .NET Framework 2.0. You must edit the Explorer.aspx page in both the UDDI\webroot\edit and UDDI\webroot\admin folders to change the TreeNode class references to UDDI.Web.TreeNode "Paul" wrote: > I have the same error. Did you figure out a workaround? > > url:http://www.ureader.com/msg/1630121.aspx >
or just change to ASP.NET 1.x instead of 2.x for both the uddi web-sites in IIS -- http://kjellsj.blogspot.com "SalamElias" wrote: > Yes, If you try to run the UDDI administrative interface under .NET Framework > 2.0, you will discover a class ambiguity error because the TreeNode class > also exists as part of the UDDI system, as within the .NET Framework 2.0. You > must edit the Explorer.aspx page in both the UDDI\webroot\edit and > UDDI\webroot\admin folders to change the TreeNode class references to > UDDI.Web.TreeNode > "Paul" wrote: > > > I have the same error. Did you figure out a workaround? > > > > url:http://www.ureader.com/msg/1630121.aspx > >