{"id":23,"date":"2006-10-03T16:46:46","date_gmt":"2006-10-03T14:46:46","guid":{"rendered":"http:\/\/www.arjarapu.com\/wordpress\/?p=23"},"modified":"2010-02-27T20:46:41","modified_gmt":"2010-02-28T02:16:41","slug":"class-is-ambiguous-in-the-namespace-fixed","status":"publish","type":"post","link":"http:\/\/www.arjarapu.com\/wordpress\/2006\/10\/class-is-ambiguous-in-the-namespace-fixed\/","title":{"rendered":"Class is ambiguous in the namespace &#8211; Fixed"},"content":{"rendered":"<p>Last night, I slept early 10.45 PM, however wokeup @ 5.45 AM after having my regular # of sleep hours. I have tried my best to sleep for next couple of hours, as there is yet another long work day is awaiting me.<\/p>\n<p>I stopped by work 8 AM this morning and started to work on my issues with code getting work on Visual Studio 2005 IDE. The following errors from yesterday&#8217;s port <a href=\"http:\/\/www.arjarapu.com\/wordpress\/?p=22\">pissed me off<\/a>.<\/p>\n<ul>\n<li>Compiler Error Message: BC30456: &#8216;InitializeCulture&#8217; is not a member of &#8216;ASP.login_aspx&#8217;.<\/li>\n<li>ASPNET: Make sure that the class defined in this code file matches the &#8216;inherits&#8217; attribute, and that it extends the correct base class (e.g. Page or UserControl).<\/li>\n<li>Login is ambiguous in the namespace MyNameSpace.MyApplication<\/li>\n<\/ul>\n<p>I had a source code with .aspx file containing <\/p>\n<pre class=\"brush:vb\">\r\n\r\n&lt;%@ Page Language=&quot;VB&quot; AutoEventWireup=&quot;false&quot; \r\n          CodeFile=&quot;Login.aspx.vb&quot; \r\n          Inherits=&quot;MyNamespace.MyApplication.Login&quot; %&gt;\r\n\r\n<\/pre>\n<p>So, for some reason I changed CodeFile to CodeBehind and voila all the above problems fixed. Now, I need to figure out how in the hell I had CodeFile instead of CodeBehind and whatz the difference between them.<\/p>\n<p>Shyam K. Arjarapu<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last night, I slept early 10.45 PM, however wokeup @ 5.45 AM after having my regular # of sleep hours. I have tried my best to sleep for next couple of hours, as there is yet another long work day &hellip; <a href=\"http:\/\/www.arjarapu.com\/wordpress\/2006\/10\/class-is-ambiguous-in-the-namespace-fixed\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,6,5],"tags":[18,16,17],"_links":{"self":[{"href":"http:\/\/www.arjarapu.com\/wordpress\/wp-json\/wp\/v2\/posts\/23"}],"collection":[{"href":"http:\/\/www.arjarapu.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.arjarapu.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.arjarapu.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.arjarapu.com\/wordpress\/wp-json\/wp\/v2\/comments?post=23"}],"version-history":[{"count":8,"href":"http:\/\/www.arjarapu.com\/wordpress\/wp-json\/wp\/v2\/posts\/23\/revisions"}],"predecessor-version":[{"id":27,"href":"http:\/\/www.arjarapu.com\/wordpress\/wp-json\/wp\/v2\/posts\/23\/revisions\/27"}],"wp:attachment":[{"href":"http:\/\/www.arjarapu.com\/wordpress\/wp-json\/wp\/v2\/media?parent=23"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.arjarapu.com\/wordpress\/wp-json\/wp\/v2\/categories?post=23"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.arjarapu.com\/wordpress\/wp-json\/wp\/v2\/tags?post=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}