Re: Now this is strange...!



Any reason to compile to 2.0 and to run using 1.1 ? I would update the IIS
site (you should have a new ASP.NET tab in the IIS admin applet) and would
select the 2.0 version...

Basically I believe that running a 1.1 application under 2.0 is supported
(but should be tested) while running a 2.0 application under 1.1 is not...

--

"tobias_e" <tobias_ebsen@xxxxxxxxxxx> a écrit dans le message de news:
1144243939.379178.46190@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi!

I just upgraded my .NET Framework from v1.1 to v2.0 (and uninstalled
v1.1).

I have compilled my assembly with the v2.0 compiler and uploaded it to
my web-server - which runs on v1.1. Now I get the following error:

------------------------------------------------------------------------------------------------------
Compiler Error Message: CS0234: The type or namespace name 'BandSite'
does not exist in the class or namespace 'TobySoft' (are you missing an
assembly reference?)

Source Error:

Line 1: <%@ Page Language="C#" %>
Line 2: <%@ Import Namespace="TobySoft.BandSite.Users" %>
Line 3: <script runat="server">
Line 4:

------------------------------------------------------------------------------------------------------

Is this a compatibility problem between v2.0 and v1.1?
How do I solve it?

Thanks!!

Tobias



.



Relevant Pages

  • Re: AfxGetApp() returns NULL
    ... the compiler gives us the opportunity to do it our way ... ... someone else who wants 4 spaces per tab can set their own value as well. ... A decent editor handles the continuation-of-parameters so easily that it doesn't even ... The same holds true with Vista vs. XP. ...
    (microsoft.public.vc.mfc)
  • Very strange problem with namespace
    ... reference that is returned by an iterator. ... No matter what, the compiler ... contains item_proxy as an inner class) is not defined in namespace N, ... // without putting ContainerFront into namespace N ...
    (microsoft.public.vc.language)
  • Re: How to fix awkward ATL namespace clash?
    ... Renaming my own namespace doesn't work because I'm not getting a namespace ... I'm getting an Interface collision. ... By the time the compiler parses my typelib the OLEDB IAccessor ...
    (microsoft.public.vc.atl)
  • Re: Python doesnt know class of function ? : class C:def f():pass;l=[f]; print C.l[0].im_class
    ... So, when iterating the list in my test compiler, i need to know if the ... I think when python compiles the TG class, ... testA thing is in class TG namespace ... or so to the class namespace locals(). ...
    (comp.lang.python)
  • Re: Delphi - What needs looking at in .NET, and ok the namespaces again
    ... The namespace issues could be solved very easy and in an elegant way, ... that there should be no need to reference the RTL lib without using anything from it on purpose. ... Also there should be a compiler switch which enables or disables things like the creation of meta classes for every class, and it should be switched off by default. ... a new Delphi.Net package w/o any Delphi specific RTL stuff will have no reference on a specific RTL lib. ...
    (borland.public.delphi.non-technical)