Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 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 Search this Thread Display Modes
  #1 (permalink)  
Old May 13th, 2008, 04:23 PM
Friend of Wrox
Points: 2,101, Level: 18
Points: 2,101, Level: 18 Points: 2,101, Level: 18 Points: 2,101, Level: 18
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2003
Location: , , .
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts
Default VS .NET has detected...not running ASP.NET version

Hi All,

We are running .NET 1.1 and 2.0 with the upgrades to 3.5. I still have applications that haven't been upgraded to 2.0. The problem I'm having is that I can't open a .NET 1.1 application either on the production server, running Server 2003 or my own box running XP SP2. I keep getting this error:

"Visual Studio .NET has detected that the specified Web server is not running ASP.NET versin 1.1. You will be unable to run ASP.NET Web applications or services."

I can open a .NET 2.0 project on my box.

I found this article:

http://support.microsoft.com/kb/817267

which says basically to set ASP.NET 1.1 to Allowed in the Web Service Extension list. I did that on the server but I don't see the extension list in the XP IIS 5.1. It didn't help. Keep getting same error.

I found another article, http://support.microsoft.com/kb/555132 that suggested running "aspnet_regiis -i" to register ASP.NET mapping information.

When I run that on either the server or my computer I get this error message:

"Windows cannot find 'aspnet_regiis'. Make sure you typed the name correctly, and then try again..."

I can go to the folder where the aspnet_iis.exe file is and run it but I did that on the server to no avail.

The application will run on the server but I can't get it opened in Visual Studio to work on it on the server or on my computer.

We created a 1.1 application pool but I don't see any way of creating separate application pools in XP.

I even tried what it said to do in this article:

http://support.microsoft.com/default...b;en-us;825792

which is to create a file called Get_aspx_ver.aspx in the Default Web Site

Anybody got any ideas? Pretty please with a frozen daquiri on top.

Any help with this issue would be greatly appreciated.

Thank you,
Richard















  #2 (permalink)  
Old May 13th, 2008, 05:41 PM
Friend of Wrox
Points: 2,101, Level: 18
Points: 2,101, Level: 18 Points: 2,101, Level: 18 Points: 2,101, Level: 18
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2003
Location: , , .
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts
Default

I forgot to mention that we installed VS 2008 on the server and on to my computer and that's when these problems started.

I also found out that there is no such thing anymore as a web application and there was a conversion tool in VS 2005 and not in VS 2008 to convert a web application to a web site.

Thanks,
Richard

  #3 (permalink)  
Old May 15th, 2008, 10:28 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Richard,

The first version of VS2005 did away with a project type for web applications. There was lots of backlash from the developer community so MS created a patch for the "Web Application Project" (WAP) type. This is included in the latest service pack for VS2005. WAP projects are natively supported in VS 2008.

I think the problem you are having is that the default website in IIS is configured for a non 1.1 version of ASP.NET. VS 2003 needs to communicate with IIS for web projects and it is likely failing because of the ASP.NET setting. Go to the default website's ASP.NET configuration tab and check that. Change it if necessary.

-Peter
compiledthoughts.com
  #4 (permalink)  
Old May 19th, 2008, 01:40 PM
Friend of Wrox
Points: 2,101, Level: 18
Points: 2,101, Level: 18 Points: 2,101, Level: 18 Points: 2,101, Level: 18
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2003
Location: , , .
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts
Default

Hi Peter,

Thanks for your reply.

I checked the ASP.NET configuration tab. It was set to 1.1 for the .NET 1.1 application. I'm getting over it. I'm just going to convert the app to 2.0. I really just needed to make some minor changes.

We have opened a case for another Web Application with Microsoft because we cannot remote debug the application in VS 2008. The tech told us that going forward Microsoft is going to get rid of WAP altogether and that going forward WAP projects will become Web Sites. I'm just thinking. That's what we always had before anyway.

Thanks. Very much appreciated.

Richard



  #5 (permalink)  
Old May 19th, 2008, 02:38 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Quote:
quote:The tech told us that going forward Microsoft is going to get rid of WAP altogether and that going forward WAP projects will become Web Sites
I doubt that's the case. Microsoft got a lot of criticism when they removed WAP from VS 2005. Therefore, they released a Web Update for it, and added WAP back in in VS 2005 SP1 as Peter pointed out. Now, with VS 2008, WAP is supported out of the box. If I am not mistaken with VS 2008 SP1 WAP will even be available in the Express Edition of VWD.

With all these efforts to bring it back, I doubt they'll drop it again, especially because it has so many uses that many people need.

Cheers,
Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
  #6 (permalink)  
Old May 19th, 2008, 06:15 PM
Friend of Wrox
Points: 2,101, Level: 18
Points: 2,101, Level: 18 Points: 2,101, Level: 18 Points: 2,101, Level: 18
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2003
Location: , , .
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts
Default

Thanks Imar,

I've been having so much configuration trouble with VS 2008 that it feels risky to even try the service pack right now.

Richard

  #7 (permalink)  
Old May 20th, 2008, 01:25 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Yeah, you probably want to wait until it's final then, although it seems to work fine on my machine...

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
  #8 (permalink)  
Old May 20th, 2008, 02:01 PM
Friend of Wrox
Points: 2,101, Level: 18
Points: 2,101, Level: 18 Points: 2,101, Level: 18 Points: 2,101, Level: 18
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2003
Location: , , .
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts
Default

Hi Imar,

Did you have any problem opening up and debugging remote Web Apps with VS 2008 that were created in a previous version? We did not go to VS 2005 so all of our apps were created with 2003 and now we're having so many issues working on those apps with VS 2008. I cannot remotely connect to a project that was created with VS 2003. I get an error, "The local IIS URL http://webdev specified for Web project extranet has not been configured. In order to open this project the virtual directory needs to be configured. Would you like to create the vritual directory now?"... I click Yes.... Then the error, "Creation of the virtual directory http://webdev faled with the error: Cound not find the server 'http://webdev' on the local machine. Creating a virtual directory is only supported on the local IIS server.

However, if I run the app on Cassini rather than IIS, I can connect to it remotely. The debugger starts and connects but I cannot debug using Development Server since I'm getting the error that 'Sybmols are unavailable'.

Microsoft says that those projects we have created with VS 2003 will have to be converted to Web Sites using VS 2005, which we don't own and then opened in VS 2008 as Web Sites, that we won't be able to run them as Web Apps. And Peter L is saying that Web Application Projects are now native in VS 2008.

We can create WAPs in VS 2008 and debug them when logged in locally but cannot connect to nor debug an app created in VS 2008 on either of our desktops remotely.

Richard

  #9 (permalink)  
Old May 21st, 2008, 12:39 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Quote:
quote:Microsoft says that those projects we have created with VS 2003 will have to be converted to Web Sites using VS 2005, which we don't own and then opened in VS 2008 as Web Sites
I don't think this is right. First of all, you should be able to open and convert a 2003 in 2008 directly.

Secondly, it's not true you need to convert them to web sites? Why would you? They are already in WAP format which is something VS 2008 can handle just fine.

So, you may want to ask the support guy why he is giving this advice, why he thinks you need Web Site Projects and why he things you need 2005 as an intermediate steps. If I am not mistaken, none of this is true / necessary.

And yes, you should be able to debug remotely. However, with the built-in development web server, I hardly have the need to do so. My team has pretty much standardized on developing locally, with shared source control repositories and an integration server to merge the work of developers in a larger site.

My advice if you want to keep working remotely: get the project on your local machine under IIS, convert it and then deploy it back to the IIS server.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
  #10 (permalink)  
Old May 21st, 2008, 01:54 PM
Friend of Wrox
Points: 2,101, Level: 18
Points: 2,101, Level: 18 Points: 2,101, Level: 18 Points: 2,101, Level: 18
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2003
Location: , , .
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts
Default

Hi Imar,

Thanks for taking the time to reply.

The ideas of having to convert an app with VS 2005 sounded way off the mark to me too. I just couldn't see the logic in that or the business sense. I can't get anywhere with this tech and I've escalated the case. She and her supervisor are standing their ground that remote debugging is not possible in VS 2008 for a WAP. I just don't believe that they could have done that.


Anyway, I think I've gotten over it anyway. I'm going to work on the project locally where I can debug.

Thanks,
Richard

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
How is ASP.net version 1 or 2 defined? cJeffreywang ASP.NET 1.0 and 1.1 Professional 3 March 19th, 2007 03:03 AM
server is not running ASP.NET version 1.1 akthar General .NET 1 August 23rd, 2004 06:23 AM
ASP.NET Version rajivthakur BOOK: Beginning ASP.NET 1.0 2 August 18th, 2004 07:27 AM
Whether ASP.NET 2.0 version released aravwind General .NET 1 July 22nd, 2004 07:47 AM
ASP.NET Website Programming VB.NET version lean4huskytop Wrox Book Feedback 1 July 7th, 2003 10:35 AM



All times are GMT -4. The time now is 06:07 PM.


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