Subject: Using different ASP.NET versions
Posted By: rodmcleay Post Date: 1/9/2006 2:50:56 AM
Hi all,
I have developed an ASP.NEt web service that works fine on my development machine, however when I copy to the server it does not work.
I get the error "Unrecognized attribute 'xmlns'." from the web.config file.
I beleive that this is due to the ASP.NET version that IIS is running the site under based on the article http://blog.opsan.com/archive/2005/08/21/1276.aspx

However the web service is only one part of the web site, the rest still has areas running in 1.1

I can not seem to change the default ASP.NET to 2.0.x for the folder only.

How can I run web services under ASP.NET 2 whilst the rest of the web site is in 1.1?

Many thanks for your time to read this.



======================================
They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad.
======================================
Reply By: Imar Reply Date: 1/9/2006 12:20:12 PM
Hi Rod,

You need to change the folder that contains the web services into a Virtual Directory. VDs do have the ASP.NET tab so you can switch the Framework. Make sure that you configure a separate application pool for the VD, because an ASP.NET 1.x and 2.0 site can't share the same application pool.

HtH,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply By: rodmcleay Reply Date: 1/9/2006 9:12:09 PM
Thanks heaps Imar.

======================================
They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad.
======================================

Go to topic 38189

Return to index page 399
Return to index page 398
Return to index page 397
Return to index page 396
Return to index page 395
Return to index page 394
Return to index page 393
Return to index page 392
Return to index page 391
Return to index page 390