Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old January 9th, 2006, 03:50 AM
Friend of Wrox
Points: 2,376, Level: 20
Points: 2,376, Level: 20 Points: 2,376, Level: 20 Points: 2,376, Level: 20
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , Australia.
Posts: 596
Thanks: 1
Thanked 3 Times in 3 Posts
Default Using different ASP.NET versions

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.
======================================
__________________
======================================
"They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad."
--Shakespeare
======================================
  #2 (permalink)  
Old January 9th, 2006, 01:20 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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.
  #3 (permalink)  
Old January 9th, 2006, 10:12 PM
Friend of Wrox
Points: 2,376, Level: 20
Points: 2,376, Level: 20 Points: 2,376, Level: 20 Points: 2,376, Level: 20
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , Australia.
Posts: 596
Thanks: 1
Thanked 3 Times in 3 Posts
Default

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
VS versions??? SKhna Javascript 1 February 4th, 2008 03:27 PM
COM for 2 versions of Visio wirerider ASP.NET 2.0 Professional 0 November 30th, 2007 07:48 PM
.NET versions dipanjan22 ASP.NET 1.x and 2.0 Application Design 3 July 9th, 2007 04:53 PM
javaScirpt versions ericfields6483 Javascript 0 March 24th, 2006 12:42 PM
question on ASP.NET versions joef ASP.NET 1.0 and 1.1 Basics 0 October 24th, 2005 01:22 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.