Note that there are some explanatory texts on larger screens.

plurals
  1. POBC30560: 'default_aspx' is ambiguous in the namespace 'ASP'
    primarykey
    data
    text
    <p>When I compiled my latest asp.net program and trying to run on the test server, I am getting this error</p> <pre><code>Line 46: Dim dependencies() As String Line 47: CType(Me,Global.System.Web.UI.Page).AppRelativeVirtualPath = "~/default.aspx" Line 48: If (Global.ASP.default_aspx.__initialized = false) Then Line 49: dependencies = New String(0) {} Line 50: dependencies(0) = "~/default.aspx" Source File: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ocbuild\c0c442ff\f0292c99\App_Web_default.aspx.cdcab7d2.4ubu1wgu.0.vb Line: 48 </code></pre> <p>Detailed errors when I expand the compiler output...</p> <pre><code>Microsoft (R) Visual Basic Compiler version 8.0.50727.3053 for Microsoft (R) .NET Framework version 2.0.50727.3053 Copyright (c) Microsoft Corporation. All rights reserved. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ocbuild\c0c442ff\f0292c99\App_Web_default.aspx.cdcab7d2.4ubu1wgu.0.vb(48) : error BC30560: 'default_aspx' is ambiguous in the namespace 'ASP'. If (Global.ASP.default_aspx.__initialized = false) Then ~~~~~~~~~~~~~~~~~~~~~~~ C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ocbuild\c0c442ff\f0292c99\App_Web_default.aspx.cdcab7d2.4ubu1wgu.0.vb(51) : error BC30560: 'default_aspx' is ambiguous in the namespace 'ASP'. Global.ASP.default_aspx.__fileDependencies = Me.GetWrappedFileDependencies(dependencies) ~~~~~~~~~~~~~~~~~~~~~~~ C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ocbuild\c0c442ff\f0292c99\App_Web_default.aspx.cdcab7d2.4ubu1wgu.0.vb(52) : error BC30560: 'default_aspx' is ambiguous in the namespace 'ASP'. Global.ASP.default_aspx.__initialized = true ~~~~~~~~~~~~~~~~~~~~~~~ C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ocbuild\c0c442ff\f0292c99\App_Web_default.aspx.cdcab7d2.4ubu1wgu.0.vb(76) : error BC30560: 'default_aspx' is ambiguous in the namespace 'ASP'. Private Sub __BuildControlTree(ByVal __ctrl As default_aspx) ~~~~~~~~~~~~ C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ocbuild\c0c442ff\f0292c99\App_Web_default.aspx.cdcab7d2.4ubu1wgu.0.vb(100) : error BC30560: 'default_aspx' is ambiguous in the namespace 'ASP'. Me.AddWrappedFileDependencies(Global.ASP.default_aspx.__fileDependencies) ~~~~~~~~~~~~~~~~~~~~~~~ C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ocbuild\c0c442ff\f0292c99\App_Web_default.aspx.cdcab7d2.4ubu1wgu.1.vb(31) : error BC30560: 'default_aspx' is ambiguous in the namespace 'ASP'. Return New ASP.default_aspx ~~~~~~~~~~~~~~~~ </code></pre> <p>I checked a few things and all of them turned out to be okay:</p> <p>[*] Default is not defined twice anywhere</p> <p>[*] Everything was working on the last release 1 week back </p> <p>[*] There are no old files that are still staying with the compiled files. Also I cleared the temporary files many times. </p> <p>[*] I have tried with other aspx files and all of them is giving ambiguous error (error in different source files...)</p> <p>[*] The original source works just fine! only the error shows up on the compiled code.</p> <p>Any ideas or any clues on how to resolve this ambiguity.</p> <p>Thanks SK</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload