Now this is strange...!

T

tobias_e

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
 
P

Patrice

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...
 
M

Mark Rae

I just upgraded my .NET Framework from v1.1 to v2.0
OK.

(and uninstalled v1.1).

There was no need to do that - it wouldn't have made any difference for you
to leave it...
I have compilled my assembly with the v2.0 compiler and uploaded it to
my web-server - which runs on v1.1.

1) Did you see any errors when you you installed v2 of the Framework on your
web server?

2) Have you edited the ASP tab of the virtual directory settings of your
site and set it to v2?
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?)

How have you deployed your v2 site to the web server?
 
T

tobias_e

Thanks, but it's a commercial web-server - hosted by another compagny.
So I can't just install .NET 2.0 on it - sadly...

Is there any way that I can compile my application to be compatible
with framework 1.1. ???
 
M

Mark Rae

Thanks, but it's a commercial web-server - hosted by another compagny.
So I can't just install .NET 2.0 on it - sadly...

You should have said so in your original post...
Is there any way that I can compile my application to be compatible
with framework 1.1. ???

No.
 
P

Patrice

The problem is that 2.0 adds a fair amount of new features so obviously you
wouldn't be able to use them on 1.1. So AFAIK this scenario is not supported
any more...
 
T

tobias_e

Ok. And since the 1.1 SDK is no longer available, there really is
nothing I can do?????
.... only hope that my hosting compagny will install 2.0 some time....(?)
 
J

Juan T. Llibre

re:
Ok. And since the 1.1 SDK is no longer available

Who told you that ?

Get it here :

http://www.microsoft.com/downloads/...a6-3647-4070-9f41-a333c6b9181d&displaylang=en

But, you really don't need the SDK ( unless you want the samples )

You can make do with the 1.1 redistributable :
http://www.microsoft.com/downloads/...E3-F589-4842-8157-034D1E7CF3A3&displaylang=en

Make sure you install the .Net Framework 1.1 SP1 afterwards
....no matter whether you install the SD or the redistributable.

Get it at :

http://www.microsoft.com/downloads/...4F-088E-40B2-BBDB-A83353618B38&displaylang=en

Then, after you've installed both,
recompile your app under 1.1 and upload it to your hosting server.

You should be golden.




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
 
M

Mark Rae

Ok. And since the 1.1 SDK is no longer available,

???? For one thing, it is still available - but why do you need it...?
there really is nothing I can do?????

Er, recompile your site using Visual Studio.NET 2003 and redeploy it on the
webserver.
... only hope that my hosting compagny will install 2.0 some time....(?)

Why don't you find a new hosting company which does...?

www.hostinguk.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top