Conrad Agramont's WebLog

Moved to: http://agramont.net/

WSS and Visual Studio.NET 2003

So I have this development box at home that I use from time to time to try out new concepts.  Several weeks ago I installed Windows Sharepoint Services (WSS) on it to play with the latest in Webpart technologies (blog entry for another day).  Well tonight I wanted to tryout this idea that I've been having around distribution groups that are stored in AD/AM and managed by individual users via a website.  So in order to make this work, I needed to develop a new ASP.NET website.  Of course I planned to use Visual Studio.NET 2003 to make this happen, but I ran into something very weird.

As normal, I opened up VS to create a new project.  When I tried to do so, I got the following error:

Unable to create Web project 'TestOne'.  The file path 'c:\Inetpub\wwwroot\TestOne' does not correspond to the URL 'http://magno/TestOne'.  The two need to map to the same server location.  HTTP Error 404:

 

This post moved to: http://agramont.net/blogs/conrad/archive/2004/01/14/14.aspx 

Posted: Jan 18 2004, 01:23 AM by Conrad | with 28 comment(s)
Filed under: ,

Comments

Kelly Jones said:

I've run into this quite a bit. I don't think I've gotten VS 2003 to work via the FrontPage server extensions with any website running WSS's version of FPSE.

I'm surprised that VS 2003 doesn't work more smoothly with WSS sites.
--kdjones74@hotmail.com
# January 18, 2004 8:09 AM

TrackBack said:

# January 19, 2004 12:48 AM

TrackBack said:

# January 19, 2004 12:51 AM

Renaud COMTE said:

Hi
I have some trouble in the pas t when i try to connect to WSS with VS.net

You have to exclude the managed path because of the httphandler who use to control every access to WSS ...

but follow this link about make an asp.net site in a WSS root like me (i just want to make a rss export of content lilke devhawk to practice a little bit)

This link was very helpful
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/html/tsovVSNETIntro.asp

And don't forget one thing : your subfolder must be an virtual folder with his self application (see in the directory zone of IIS)

Voila

# January 19, 2004 3:38 PM

Sonal said:

Hey thnx for the help in creating the web application in windows server 2003 and share point. Your solution works.
# February 24, 2004 2:06 AM

Jason said:

Thank you so much for posting this. I was going crazy trying to figure out how to get this to work.
# March 22, 2004 6:37 AM

Ravi babu said:

hi ,
i am not able to do ASP.net Applications .when i am opening the web application it is giving the following message

"Visual Studio .net has detected that the specified web server is not running AsP.NET Version1.1 . You will be unable to run ASP.NET web applications or services."

can any one give solution for this.

ravi.
# April 21, 2004 6:22 AM

subhani said:

hi

I'm also getting the same error what Mr. Ravi babu got. ie

Visual Studio .net has detected that the specified web server is not running AsP.NET Version1.1 . You will be unable to run ASP.NET web applications or services."

Can any body please give the solution to this.

Regards,
Subhani.
# April 26, 2004 10:06 PM

john said:

I tried ALL the solutions given by everyone. None of them worked. Finally I tried this:

1. shut down ALL applications
2. Uninstall IIS 5.1
3. Reboot
4. Install IIS 5.1
5. Reboot
6. Find Microsft Knowledge Base Article - 306005
- follow the instructions as given.
7. Reboot
8. VS .net 2003 works for ASP and Web Services application.

hope this helps.
# May 6, 2004 2:00 PM

tired said:

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

xp pro, iis 5.1, latest framework, vs.net 2003, latest patches etc...

aspnet_regiis /i
aspnet_regiis /c
aspnet_regiis /r

reinstalling iis, framework, vs.net in anyorder...

nothing works for me...
# May 9, 2004 1:38 AM

Mark Bata-Kindermann said:

try the following
>aspnet_regiis /i (wait...)
>regsvr32 aspnet_isapi.dll (wait...)
then using the internet information services control panel, restart IIS (located in the context menu of your computer name). (wait...)

Then when one loads up an asp.net page, asp_net starts up.

(note: from my experience, one would have to follow these steps after each restart -- don't know why...)
# May 16, 2004 10:23 PM

Mark Bata-Kindermann said:

try the following
>aspnet_regiis /i (wait...)
>regsvr32 aspnet_isapi.dll (wait...)
then using the internet information services control panel, restart IIS (located in the context menu of your computer name). (wait...)

Then when one loads up an asp.net page, asp_net starts up.

(note: from my experience, one would have to follow these steps after each restart -- don't know why...)
# May 16, 2004 10:24 PM

Mark Bata-Kindermann said:

try the following
>aspnet_regiis /i (wait...)
>regsvr32 aspnet_isapi.dll (wait...)
then using the internet information services control panel, restart IIS (located in the context menu of your computer name). (wait...)

Then when one loads up an asp.net page, asp_net starts up.

(note: from my experience, one would have to follow these steps after each restart -- don't know why...)
# May 16, 2004 10:24 PM

Douwe de Vries said:

Thank you, i was looking for an answer for this problem all morning.
Your solution did the trick.
i'm still wondering why this isn't documented on msdn. I think a lot of developers are having this problem and a solution is very hard to find.
I'm very thankful that at least one person on the internet has posted a solution to this problem. :)
# June 7, 2004 5:32 AM

joe said:

Regarding the "server is not running 1.1" problem -- I worked on this a long time before stumbling onto my solution. Somewhere between installing and reinstalling stuff, the files "frontpg.lck" and "service.lck" in the inetpub\wwwroot\_vti_pvt directory lost their permissions -- on my machine originally, the SYSTEM account and the Administrators group had full access. Once I restored those permissions, I was able to run the "check server extensions" option through IIS for the ASP.NET websites that were no longer working (it looked like it ran before, but really was doing nothing).

Allowing IIS to "tighten Frontpage security" or whatever it is exactly that IIS asks during that process and then making sure that each website was correctly re-configured as an application fixed this error.
# June 11, 2004 2:07 PM

Enrique Rascon said:

When I installed WSS i couldn't run any of my ASP proyects, then i did some research and found out they were both trying to access my localhost which WSS had rights, so all i did was reinstall .NET and made my default for running asps my port 81 (if i didnt uninstall it wouldnt let me change the configuration)... That fixed the problem... Its and ugly solution but it worked :-D
# July 5, 2004 2:22 PM

TrackBack said:

# July 6, 2004 3:59 PM

Phu Tran said:

Mark Bata-Kindermann, thank you, I tried your method and it works. Man, you saved me tons of work. I was about to go nuts. If you need me to do anything for you, let me know at tranlongphu@yahoo.com. Thanks.
# July 7, 2004 7:24 PM

Juan said:

Thanks John for the help. I followed the instruction given in Microsft Knowledge Base Article - 306005 and it solved the problem. In my case, I didn't need to reboot.

http://support.microsoft.com/default.aspx?scid=kb;en-us;306005

# July 23, 2004 4:49 PM

Kev and Rich said:

Excellent...sorted out our problem! Much appreciated :-)

Cheers...
# July 25, 2004 12:53 PM

mpekcan said:

Hi,

I tried this steps:

1)I create a new site in IIS
2) I create new asp web service project.

normally path is:
http://localhost/WebService1

i modified it :
http://localhost:3333/WebService1
that is my new site port.if you do not add port,it is try to connect your share point default web site,and you get error.

click ok.

it works for me.

ref: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/html/soapptCreateCustomWebService.asp


# July 27, 2004 7:47 AM

Ender said:

Thanks for posting this. I've spent the last week fiddling with it and trying everything I could find online. Finally got it fixed.
# July 27, 2004 2:08 PM

SAKTHIVEL K. said:

Hi;

 i have problem in .net application begin that is " visual studio.net has detected that the specified web server is not running ASP.Net version1.1. You will be unable to run ASP.Net web applications or services".

please help me.

# December 21, 2006 6:57 AM

sakthivel said:

Hi;

i have problem in .net application begin that is " visual studio.net has detected that the specified web server is not running ASP.Net version1.1. You will be unable to run ASP.Net web applications or services".

please help me.

# February 15, 2007 5:39 AM

vasudha said:

Go to :-

c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322

and execute

"aspnet_regiis -i"

# March 5, 2007 2:23 AM

... said:

i'am really impressed!!

# March 16, 2007 8:52 PM

... said:

luogo grande:) nessun osservazioni!

# March 18, 2007 12:18 PM

suresh said:

Hi friends

i am using windows2003 sever Enterprices

and i am installed .Net1.1 version

when creation ASP.Net application it gives an error

error:visual studio.Net detected that the specified webserver is not runing asp.net version1.1 you will be unable to run asp.net web applications or services

please give solution its urgent for me

# October 5, 2007 3:51 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)