Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #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: 71,804, Level: 100
Points: 71,804, Level: 100 Points: 71,804, Level: 100 Points: 71,804, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,050
Thanks: 80
Thanked 1,581 Times in 1,558 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.
======================================
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 05: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 02:22 PM



All times are GMT -4. The time now is 01:33 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.