1.1 code on framework v2.0

C

chandy

Hi all,

I am trying to run some asp.net 1.1 code under v2.0 of the framework.
I changed the IIS config to use v2.0 of the framework for my web site
and I cannot get the site to run. I thought there was supposed to be
no problem running 1.1 compiled code on the 2.0 framework?

The error I get is as follows:

error BC32206: Indirect reference is being made to assembly
my.custom.assembly version 1.0.2090.17635, which contains
'My.Custom.Class'. This Project references a prior version of
my.custom.assembly version 1.0.2089.26219. To use 'My.Custom.Class',
you must replace the reference to my.custom.assembly with version
1.0.2090.17635 or higher.

Any ideas? As I said, this works fine with 1.1.

Chandy
 
E

Eliyahu Goldin

Chandy,

What do you think the IIS switch 1.1/2.0 for? I thought it was for telling
the IIS that you have an 1.1 application and it needs to run it under 1.1.

Eliyahu
 
C

chandy

Hi Eliyahu,

I think you are mistaken. For instance, I have another application
which does not contain any other project references. It runs fine
under Framework 2.0 yet was built for Framework 1.1. The switch in IIS
is simply 'associate aspx/ascs etc with this version of the framework
for this application'. It *should* work fine.

Anyone else agree or disagree with me?

Chandy
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top