Peter's Gekko

Sponsors

The Lounge

News

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)

After a failing installation of a VS.NET 2003 add-in, possibly because I  have Whidbey and 2003 running in parallel, I had quite a hard time to get everything working again. I found a lot of hits in support groups, a lot of solutions but nothing worked. The The Web server reported the following error when attempting to create or open the Web project located at the following .. (Internal Server error 500) message kept on hitting me whenever I tried to open or create a project.

What finally helped was taking a closer look at the aspnet_regiis utility. In many solutions you are advised to use this with the -s option to register asp.net with your webapps

 -s <path>  - Install scriptmaps for this version at the specified path,
              recursively. Existing scriptmaps of lower version are
              upgraded to this version.
              E.g. aspnet_regiis.exe -s W3SVC/1/ROOT/SampleApp1

What finally worked was using the -i option

 -i         - Install this version of ASP.NET and update scriptmaps
              at the IIS metabase root and for all scriptmaps below
              the root. Existing scriptmaps of lower version are
              upgraded to this version.

RTFcommand line !

<Update A summary and discussion of the many comments on this post can be found here. Read it !</Update>

blog on

Peter


Posted 11-20-2003 7:50 PM by pvanooijen
Filed under:

[Advertisement]

Comments

Fritz Schenk wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 02-09-2004 4:31 PM
I am still getting the 500 error after executing aspnet_regiis -i. The error occurs only when I create a new project (C# or VB). The error is ---------------------------
Microsoft Development Environment
---------------------------
The Web server reported the following error when attempting to create or open the Web project located at the following URL: 'http://colombia720/testWeb'. 'HTTP/1.1 500 Internal Server Error'.
---------------------------
OK Help
---------------------------


Hopefully you can shed som light into this problem. None of the forums have helped.

Please respond to fritz_schenk@countrywi.com and
intrader@attglobal.net
Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 02-11-2004 2:45 AM
There are still a lot of other settings which can be wrong. I don't think this will fix all 500 issues.
Gayatri wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 03-08-2004 12:45 AM
Even i am facing this issue:
The Web server reported the following error when attempting to create or open the Web project located at the following URL: 'http://localhost/WebApplication1'. 'HTTP/1.1 500 Internal Server Error'.

If i create another WebSite i am able to work.But i want to work on the default website.
Thanks
Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 03-08-2004 2:44 AM
When your problem is specific to one website I would check things like the web.config of that app.
Lois Consiglio wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 03-11-2004 9:56 PM
I had the same problem. I finally started with a clean slate which included uninstalling and reinstalling IIS on my Win 2000 box and reloading VS.NET. The last step was to run aspnet_regiis -i. We are up and running now.
Eric Schmucker wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 03-16-2004 11:44 PM
I tried running 'aspnet_regiis -i' also without success. Then I found an article that said to delete the ASPNET account first. Once I did that, running 'aspnet_regiis -i' recreated it and everything now works fine.
M Ruminer wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 03-18-2004 7:19 AM
That last comment worked for me as well. Deleted the acct and ran aspnet_regiis -i all is good now.
Chester wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 03-23-2004 11:24 AM
Where do you run aspnet_regiis -i from the command prompt?
Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 03-24-2004 12:31 AM
Use the visual studio command prompt and aspnet_regiis will be in the path
Steve M wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-01-2004 5:30 AM
I had this problem, but aspnet_regiis did not help. It was caused because I had changed the password in the machine.config processModel tag trying to synchronize it w/ another server.

Here's a test. Try to view you aspx page within the browser (not through VS). This will tell you if aspnet.exe is running. If you get the Server Application Unavailable message, aspnet is not running. This could be because of permission or a change in your machine.config.

My solution was to edit machine.config. Search for processModel tag. You can either resynchronize the passwords or set the password attribute back to autogenerate, UserName can be set to machine.

Save it and you must restart IIS after modifying machine.config.

The link here may help understand the asp.net process identity.
Chuck Bryan wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-02-2004 11:33 AM
Just solved my problem with this. I had killed my closing tag in my appSettings section of the web.config file. All of a sudden, I could not open the project anymore. Did not realize that I had deleted it. Tried everything, chased my tail and then saw it (I was chasing for a long time, however).

So, replace your current web.config with a clean, slick one, and see if you can reopen your project. Then, if it works, find the problem in your original.

HTH

Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-02-2004 12:37 PM
Oh yeah, messing up your web.config can be a nightmare : http://dotnetjunkies.com/WebLog/petergekko/archive/2004/03/23/9775.aspx
Adnan Khan wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-05-2004 3:08 PM
Running these commands solved the problem for me.

Echo Stop IIS

iisreset /stop
echo "----------------------"

echo "Deleting the ASPNET account."
net user ASPNET /delete
echo "----------------------"

echo "Reregistering ASP.NET and the ASPNET account."
aspnet_regiis -i

echo "Restarting IIS."
iisreset /start
echo "----------------------"

Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-06-2004 2:03 AM
That's a nice script. Is it the ultimate one ? I do hope so.
Bill Winder wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-07-2004 5:37 AM
I tried everything indicated on this web page to no avail. In the end I had to get the Windows XP cd and run a repair installation of the system and this worked.
Ronan Dom wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-10-2004 12:28 PM
I have been stuggeling with this problem for days as well and finally got it working:

1) Make sure the "Distributed Transaction Coordinator" service is running (!)
2) reinstall ISS
3) run "aspnet_regiis.exe -i"
4) run "regsvr32 aspnet_isapi.dll"

this fixed it for me,

hope it works for you guys as well
roy melzer wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-11-2004 6:05 AM
Adnan Khan,
The script worked like a swiss clock.
Thank you very much.
Daniel Gormley wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-12-2004 10:43 AM
Ok!!! I think i have an answer to the problem but no fix. If you have a server running several sites all on the same ip and use Host Headers, then when you try to create a new project at a site using host headers, it errors. If you create a new web project on the main site not using host headers, it works.. now for a fix... :(
Mark wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-13-2004 3:39 PM
I fixed this error today. I enabled "Automatically detect settings" in IE Options > Connections > LAN Settings. I've pulled most of my hair out. But I still have some!
Rafael wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-14-2004 10:22 PM
That's a sweet script, baby! Thanks for sharing.
Matt wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-20-2004 10:50 AM
Having spent half a day trying to sort out this 'issue', I was quite happy to try the script twice - worked second time. (I also shut every app down first)

Thank you very much... The script was a great help!!!
Technical Ali wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-21-2004 5:47 PM
Hmmm, script worked in that 500 error no longer occurs. Now getting 403, but that's permissions so I think I'll correct that soon enough...
Thanks guys.
Lex Qian wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-22-2004 2:30 PM
Thanks a lot to Ronan Dom. After I fllowed his instructions, my problem is sloved.

1) Make sure the "Distributed Transaction Coordinator" service is running (!)
2) reinstall ISS
3) run "aspnet_regiis.exe -i"
4) run "regsvr32 aspnet_isapi.dll"

If Dom doesn't mind, I want to ask you a question. How did you find the solution. Did you any professional articles? If so, please do name them.
Cedric wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-23-2004 5:48 AM
Hi,
I had the same problem, this fixed it:
In IE, Tools | Internet Options
Connections Tab and click the LAN Settings button.
Under the Proxy Section check Bypass proxy server for local addresses.
This allow you to create asp.net applications locally.

Prasanth wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-26-2004 4:25 AM
I am getting the following error.
The web server reported the following error when attempting to create or open the web project located at the following URL: 'http://localhost/myappl'. 'HTTP/1.0 403 Forbidden'.

I checked the permissions in IIS ... and everything seems to be normal. Do throw some light on this :(
Peter's Gekko wrote Wikis on the dotnetjunkies ?
on 04-26-2004 10:10 AM
Wikis on the dotnetjunkies ?
Stoney wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-26-2004 11:02 AM
I've done everything suggested here. No solution. When I try to create a new ASP.NET project (any language), I get the "Web server reported the following error when attempting to create or open the Web project located at the following URL: 'http://localhost/WebApplication1'. 'HTTP/1.1 500 Internal Server Error'" message. The fun part is clicking on the help button to get "Topic Not Found". Does anybody at Microsoft really know how this is supposed to work? Why isn't there a KB article on this? Obviously, it is a COMMON problem.
El Rápido wrote re: Fixing a broken asp.net installation. (Err: 500)
on 04-27-2004 3:13 AM
This is my umpteenth vs.net installation, and I've got it for the first time now. The batch script didn't work for me, trying the 'Start DTC and reinstall IIS' option now.

I seriously doubt any of those Internet Options solutions work though...but whatever floats your boat I suppose....
El Rápido wrote re: Fixing a broken asp.net installation. (Err: 500)
on 04-27-2004 3:28 AM
It worked! Looking at the differences, I think it was the line:

regsvr32 aspnet_isapi.dll

The rest looks the same, and I fail to see what the DTC could do in this situation. But I'm really glad it works now, so thanks to everyone!!
Mac wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-28-2004 4:43 AM
I had the problem on Win2003 server and had to play around with a couple of these options to get it working. Pitty MS has not made this information available on the MSDN or as a KB article.
Also, the .tmp MIME error took some doing to get resolved. One would have thought that VS.NET 2003 and Win 2003 would be an easy platform to configure?
Anyway, thanks for all the help guys.

- Mac
Joshua wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-28-2004 2:25 PM
Thank you guy. This solved the problem
Pablo wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-28-2004 2:35 PM
Steve M thanks 4 ur help, it worked! :D
Daria wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-28-2004 3:06 PM
The above (of 4/5/2004 7:08 PM Adnan Khan) script didn't work for me. Or I probably should say it didn't work alone.
After I ran the script and had no results
I added ASPNET user to INETPUB folder's users (Security tab in Properties) and granted it full control. It worked.

All the best
Ronan Dom wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-29-2004 4:10 AM
I went looking for IIS problems regarding ASP.NET and found "my" solution (Make sure the "Distributed Transaction Coordinator" service is running and reinstall ISS) at

http://www.experts-exchange.com/Web/Web_Servers/IIS/Q_20730661.html

greetz

Tiffany wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-05-2004 9:48 AM
I think the problem was with the fact that I had both versions of the Framework because I had a similar problem with my PC at home. I did everything that I saw on this page to no avail. I finally uninstalled everything (Framework 1.0, Framewrok 1.1, IIS, VisualStudio and anything else related) and reloaded it then ran "aspnet_regiis.exe -i" and it works fine now. Thank you all for the insight.
Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-06-2004 9:04 AM
For me my original solution worked for a machine with framework 1.0, 1.1 and 1.2 (PDC Whidbey build) installed....

ChesterC wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-10-2004 3:08 AM
So when you load the address http://localhost into IE you should not get a 500 server error if ISS is working properly, correct? I'm getting that. To my extreme sadness I've tried every suggestion here to no avail.

I'm running WinXP on fat32 but to my knowledge this only poses a security risk but should not keep me from developing on this machine.

I have no problem creating and editing asp.net projects on remote servers but trying to develop locally has proven to be impossible for me thus far.
Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-10-2004 6:43 AM
The way to check if ISS itself is running is try to open a plain htm file. Like //localhost/MyPage.htm.
ChesterC wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-10-2004 1:04 PM
I'm able to open a plain html file in a directory I made under wwwroot. So I suppose ISS is working ok. Might I be missing something else? Do you have to make a virtual directory priror to creating a new asp.net project locally... or should I just be able to create a new project using http://localhost/some-random-name as the location ?
ChesterC wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-11-2004 12:15 AM
Well I have resolution at last.

For myself, what worked was:


1. Uninstall .NET framework AND manually delete the directory and everything inside.

2. Uninstall ISS and manually delete the 'Inetpub' directory or it's eqiuvalent.

3. Reinstall ISS with default options.

4. Install VS.NET prerequisites from the VS.NET installation.

At this point I was able to create asp.net web applications locally using my localhost directory.
Mark wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-11-2004 6:04 AM
The fix below is for Asp.net new web apps not opening and receiving the 'HTTP/1.1 500 Internal Server Error'
Check the following:

“My_Computer_Zone code group” value on the Web server? To achieve that, you should do the following:
- Go to “Administrative Tools”
- Open “Microsoft .Net 1.1 Configuration”
- In the new window, expand the “Runtime Security Policy”
- Expand “Machine”, then “Code Groups”, then “All_Code”.
- Right-Click on “My_Computer_Zone” and select properties.
- On the “Permission Set” tab, the selected value should be “Full Trust”
- If it is not, you should change the value to “Full Trust”.
- You can test again creating a new ASP.NET Web application
Mark wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-11-2004 6:11 AM
Sorry, forgot to add on the above that you must restart IIS after changing this setting.
Mark wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-11-2004 6:20 AM
Another easier way to fix is, open .net dos box and type "caspol -s off" and restart iis and all should be fine.
Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-11-2004 6:21 AM
Thanks Mark, that makes a lot of sense.

The many full installation scripts popping up here (Chester you forgot : reinstall Windows :>) are typically something you would do in great despair. Missed many a night of sleep myself, finding out it didn't work after staring for hours at a "please wait" message. In the end the only sensible thing the script did will be something like updating one essential security setting.

Security is good but it can really backfire.
mythx wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-12-2004 11:24 PM
this works for me, hope it helps

go to IIS, select your website, right click to all task and then permission wizard. keep your current permission intact and then add the new
recommended permission. voila
Bret wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-17-2004 12:05 PM
I tried everything on this page. I have had this problem at home and have pulled out most of my hair. After installing VS.NET 2003 I now have the problem here at work !!!! nothing on this page worked. What I did to fix this problem was go into IIS select the website (Default Web Site) in my case and right click --> go to Home Directory and click the CREATE button. This fixed everything... who knew??? I now have time to start taping my hair back....

VK wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-27-2004 10:48 AM
Bret! pls?

ISS/DefaultWebSite/Property/HomeDirectory...
Where is CREATE button?
Scewdotnet! wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-27-2004 3:52 PM
OK guys I tried everthing on this page (except uninstall) even I remove and create a new application! still no luck! is there anyone out there to get the root of this problem so we all can understand what the hell is going on behind the scene?
Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-29-2004 1:50 PM
Behind the scenes 50% will be a security issue, 50% registration settings and 50% gremlins. I don't think there is just 1 core problem.
Vijay wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-01-2004 11:56 PM
The batch script worked fine for my problem.

Thanks.
Turing wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-07-2004 11:23 PM
I tried many things, including a complete reinstall of VS, only to discover that the culprit is my ZoneAlarm firewall. Apparently version 4.5 worked fine, but the *new* version 5.0 causes problems with IIS. Reinstalling the old version took care of it.
Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-08-2004 4:30 AM
Rich C wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-08-2004 8:39 AM
Had the same problem and reverted to version 4.5. ZoneLabs had some suggestions... most of which I had already done (stop/start IIS, add 127.0.0.1 to safe zone, etc.)

I'll be waiting a bit before trying ZA 5.x again. Find more at:

http://richhubbins.theclaussens.com/PermaLink.aspx?guid=cb5763b8-207a-4ef9-ac6c-caadfa8a51e6
JBot wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-12-2004 8:56 PM
Getting this error (or similar) ?...

The web server reported the following error when attempting to create or open the web project located at the following URL: 'http://localhost/WebApplication1'. 'HTTP/1.1 500 Server Error'.

Try turning your personal firewall completely off. Like totally unload the mofo.

Just a thought.
Peter's Gekko wrote ASP.NET not working ? Flame you firewall !
on 06-14-2004 1:55 AM
ASP.NET not working ? Flame you firewall !
James wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-15-2004 8:10 AM
hi,

I've tried everything that was suggested as well, out of all, Lex Qian's suggestion worked. Thank you.

1) Make sure the "Distributed Transaction Coordinator" service is running (!)
2) reinstall ISS
3) run "aspnet_regiis.exe -i"
4) run "regsvr32 aspnet_isapi.dll"


James
Daniela wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-15-2004 8:53 AM
I am getting crazy! I have tried all of this and am still getting the same error!

Now maybe it has something to do with the permission levels, does anyone know how that can be fixed?
anonymouse wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-15-2004 7:00 PM
Removing the framework through Add/Remove programs then reinstalling the framework didn't work for me.

Neither did stopping IIS, removing the aspnet worker process account, then reinstalling asp.net and reregistering the "isapi" filter.

However, when inspecting the properties of the default web site, I noticed (as mentioned above) that there was no default application defined. Creating one fixed the problem.

This is XP SP2 RC1 and RC2 by the way.

Frustrating. I kind of agree with Peter though: It's either a problem to do with the setup of the framework, a security issue (the firewall is an annoying one:-) or an issue with configuration settings on the web you are trying to create projects in.

HTH.
Alan Sweet wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-20-2004 12:21 PM
OK I have finally gotten the Problem fixed. I'll share this with everyone
so if it happens to you.

I was not able to access or run web pages I had developed under .NET 2002.

I kept getting a number of errors saying the server was not accessible or
Internal Server Error. Most of the time if you go to the event viewer you
will see an error message...

aspnet_wp.exe could not be started. The error code for the failure is
80004005. This error can be caused when the worker process account has
insufficient rights to read the .NET Framework files. Please ensure that the
.NET Framework is correctly installed and that the ACLs on the installation
directory allow access to the configured account.

It will happen if,...

Your development machine is an XP Pro (some have said that they have gotten
the problem on Windows 2000 and Windows server 2003)

You have installed .NET Framework 2003

You have installed IIS V5.1

You have installed ASP.NET V1.1 or V1.0

You have applied the patch MS03-32 Security Update for Internet Explorer
security patch

According to MS it can only happen with ASP.NET V1.0 and it can not happen
ASP.NET V1.1...bull pat-too-ie

According to MS..

The symptom of this issue is that after installing the patch, all requests
to ASP.NET result in an error message saying "Server Application
Unavailable".

This issue only impacts installations running ASP.NET V1.0 on Windows XP
Professional. It does not impact machines running Windows 2000 or Windows
Server 2003. It also does not impact machines running Windows XP with
ASP.NET v1.1 installed.

We are working hard on a permanent solution for this issue. In the meantime,
you can visit this page to learn about the problem as well as a safe
workaround you can apply immediately to fix the issue:

http://www.asp.net/faq/ms03-32-issue.aspx



If you run the patch on a machine with ASP.NET V1.0, it works fine. It
corrects the defect..



It, however, will not run on a machine with ASP.NET V1.1.



In the downloaded batch file "fixup" - make the following changes


REM if exist %SystemRoot%\microsoft.net\framework\v1.1.4322\mscorlib.dll
goto v11_installed

REM "Changing to the Framework install directory"
cd /d %SystemRoot%\microsoft.net\framework\v1.1.4322

and then run it again. This should fix the issue.



It works. I can now access and create ASP.NET projects without problems.



Hope this helps some one so they do not lose 3 days like I did.


If anyone wants me too I'll copy the whole modified batch file text here for
you to look at.


Alan
Derek Calder wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-22-2004 2:46 PM
I tried everything up to Daria's post, but Daria's method is what finally worked for me. It may have been a combination of things, but that's what made it click.

>I added ASPNET user to INETPUB folder's users (Security tab in Properties) and granted it full control. It worked.

Derek
Serge wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-23-2004 4:04 AM
After reading "5/17/2004 4:05 PM Bret"

this is exactly what did work.
so my guess will be next:

1)Make sure the "Distributed Transaction Coordinator" service is running (!)
2) stop ISS
3) run "aspnet_regiis.exe -i"
4) run "regsvr32 aspnet_isapi.dll"
5) start IIS
6) make sure ASP.NET user has rights on Inetpub
7) Go to HomeDirectory under Web-site properties in IIS Management console
8) If you see Remove button next to Application Name Edit box, click Remove. If button is Create go to next step
9)then after "Create" appear click it
10) Enjoy... Oh, if you installed XP SP2, make sure you do not block yourself. firewall by default is On and HTTP is not allowed
Avinash wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-24-2004 11:11 AM
Adnan Khan, Your script finally worked. I was about to reinstall everything after trying all solutions and then i tried ur script as a last try and it worked. Thanks a lot
Manan wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 07-01-2004 12:50 PM
aspnet_regiis -i and restarting IIS as mentioned above did the trick for me. Thanks all.
Goksel Misirli wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 07-15-2004 5:21 PM
This link helped me to solve my problem.
http://www.tek-tips.com/gviewthread.cfm/pid/787/qid/758414

After checking that ASP.NET is not working, I wanted to look if the ASP pages are working or not. But they didn't as well. they gave me the same internal server error message but more meaningfull error messages regarding IWAM user in the event logs. Then I realized something wrong with COM+. as it is stated in the link above
*I reregistered the ole32.dll and oleaut32.dll
*Then reinstalled COM+ (I also checked the COM+ System Application service from the services. I could not start it before the reinstall process.) I applied the steps looking http://www.jsiinc.com/SUBN/tip6900/rh6951.htm
*Then I reinstalled the IIS

It then started to work perfectly

After spending hours, at least it is solved :)
Goit wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 07-18-2004 12:24 AM
Hi all, though so many solutions have been proposed by such helpful professionals, I couldn't find much info regarding the cause of the problem.
The problem has occured suddenly in the middle of jumping from a page to another page when I was testing a c# asp.net project on XP os, and IIS 5.1 MS Visual studio 2003.
For the first time is says it couldn't display a page because it can't get a reference to an object of code behind class for some requested page. Then I thought it could be my code problem and tried to figure out the problem and I did find nothing, but the next time when I run the application
The Web server reported the following error when attempting to create or open the Web project located at the following URL: aaaaaaa. 'HTTP/1.1 500 Internal Server Error' I then waste some minutes to try with new apps, other existing apps and that problem still continues showing up. I restarted nothing... then googling I found this site but i read most of the solutions here but I tried nothing because I don't see a solution that works for evey one or may be the nature of the cause of the problem differs from one to another then I went to MS site and I found the follwing site http://support.microsoft.com/default.aspx?scid=kb;en-us;822319 eventhough the solution is targeted for Microsoft Windows Server 2003-based computer I tried only a couple of things suggested there

1 - Restart the IIS before you create a new ASP.NET 1.1 application. At the command prompt, type the following command:
iisreset

2 - start your application

works fine as it should be. But still remains what causes the problem unanswered? If any one interested for answer here are some info regarding my app, it creates threads inside other threads may be related to that? I don't know....you tell me
Carlito wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 07-25-2004 9:05 PM
Just another tip for anyone with this problem - I tried everything on the internet. I finally got it up and running after I:

1) uninstalled IIS
2) deleted (renamed) the inetpub directory <--important
3) reinstalled IIS
4) performed aspnet_regiis -i.

So try that if all else is failing.
zero303 wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 07-27-2004 6:31 AM
Just wanna say thanks to Adnan Khan for the script... worked a treat!
mOrrI wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 07-28-2004 9:39 AM
Heyas i'm getting this error...

and i've made the following steps:

iisreset
aspnet_regiis -i
reboot pc
and worked :D
this was on a windows 2000 server OS
oded wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 07-28-2004 3:58 PM
when i type the aspnet_regiis -i it says :
that the command isnt recognized
help
Jim wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 07-31-2004 7:29 AM
hello,

I was faced with this problem as well, after moving my development machine to winxp pro. It's frustrating to say the least.

I noticed this after I had installed the IIS 6.0 Admin pack.

To solve the problem, after going through many steps, was that I noticed I had changed the default password in the process model for machine.config. Changing it back to auto generate and restarting IIS did the trick for me.

Thanks guys for all your help!
Suzanne wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 08-06-2004 10:10 AM
I have a same problem here and I have tried all the solution that you guys provide. But it still can't solve my problem. After checking my event log I found out this error message:

The server failed to load application '/LM/W3SVC'. The error was 'The specified metadata was not found.
'.

I even try to repair my Com+ Application under the component service. But I got problem during the reinstallation of Com+ Application. Window give me this error message:

sub-component COM+ raised an exception while processing the OC_COMPLETE_INSTALLATION setup message.
d:\nt\com1x\src\complussetup\comsetup\ccompluscore.cpp (line565)
Error code: 0x80040155

interface not registered
the Com+ event classes could not be registered

Does any one here has any idea how to solve this?
Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 08-06-2004 11:20 AM
An oversimplified opinion from a distance :
- Your IIS metabase has gone (corrupt)
http://www.winnetmag.com/Article/ArticleID/16179/16179.html
- Your COM+ app uses another COM(+) app which is not registered/installed

Does that make any sense ?
goit wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 08-07-2004 9:07 AM
this is to oded for the problem
(when i type the aspnet_regiis -i it says :
that the command isnt recognized
help )
it seesms you are not in the right path, open the visual studio .net command prompt from the visual studio .net tools menu and type the aspnet_regiis ...
herman ballinger wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 08-21-2004 1:52 PM
whhen i try to read my email i get an internal error report
Eckey wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 08-21-2004 2:16 PM
ok guys I found a solution to this problem after trying all these tips and still nothing I found out that the proper way is to be on a network (router) so that your ip is something like 192.168.x.x I know this sounds stupid but it worked for me. i figured this out because everytime i brought my PC into work and put it on their network it would work but as soon as i got home and put in on my satice ip from my isp i would get the error.So try it out, let me know if this helped you. eckey@rogers.com
Peter van 0oijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 08-21-2004 3:26 PM
Eckey, that's "coincidence". This would mean that you could not run an ASP.NET server on the internet. Too many sites proves the contrary.

Herman, I miss the remark/question.
Otto wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 08-26-2004 11:39 PM
hi,

Got it working with Ronan Dom Solution (Below) ...Awesome.
Pretty wak having to do all this to get it up and running

1) Make sure the "Distributed Transaction Coordinator" service is running (!)
2) reinstall ISS
3) run "aspnet_regiis.exe -i"
4) run "regsvr32 aspnet_isapi.dll"

Cheers

-Otto
Drazen Soronda wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 09-03-2004 2:03 PM
BINGO...LOTTO
I make it works :)

Ok
Solution is just copy/paste from upper post:
1) uninstalled IIS
2) deleted (renamed) the inetpub directory <--important
3) reinstalled IIS
4) performed aspnet_regiis -i.
I tried everything else and no success.
It is not firewall !!(Turned ON on my machine)
It is not COM+... ( i disabled them in services:)
oh btw. I'm running WIN XP + SP2 (final) + DOT.NET 2003 (1.1 framework).

I belive the problem is in ASP.NET user permisions. so just "DELETE ALL FILES IN INETPUB dir" reinstall IIS. (fixes that HTTP 500 error). AND aspnet_regiis -i fixes error for ASP.NET 1.1 request.

Now i can go to slee, peacefully. :)
Peter's Gekko wrote Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....) revisited
on 09-07-2004 11:54 PM
Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....) revisited
RB wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 09-10-2004 9:31 PM
IE >> Internet Options >> Connections >> Lan Settings just uncheck the "Automatically detect settings".
It worked for me.

Cheers,
RB
Dave Jones wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 09-12-2004 3:17 PM
I fixed my problem with HTTP/1.1 500 error! After fooling with this for a couple of hours, it turned out to be that permissions had not properly been propigated to my physical folder where my site was. As soon as I put 'Everyone' in the security settings with re/L/R rights, it worked! Take a look at your settings before trying anything else invasive.

D-
Peter van 0oijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 09-13-2004 11:06 AM
kiran wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 09-15-2004 11:46 PM
how and where to check whether distributed co-ordinator service is running?

thanks
kiran
Nick wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 09-17-2004 6:04 PM
Guys...thanks for posting these...I was beating my head on the keyboard. The bypass proxy wasn't list anywhere in the documentation.
kenkthulhu wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 09-22-2004 6:57 PM

Well, I had tried everything that had been mentioned. I used the aspnet_regiis util, I went into machine.config and changed the user to "system", i stopped, started, everything.

In my haste, I had edited the machine.config in a way that didn't cause it an error, but was an error that IIS didn't like. When someone said edit the machine.config file and change the user to "system" I thought it meant go to line 29 and at the end of it change the word "machineonly" to "system". Well this was wrong, and you shouldn't do this. This was not the cause of my original problem but I think that when my problem was solved I didn't know it because IIS still had a problem with machine.config that it didn't report as such. Please note, my change to the file DID NOT cause a backup copy to be made, as it would have if the atributes had been changed. So I didn't really guess that mchn.cfg was broken.
No I didn't have to reinstall ANYTHING, and I didn't run any special scripts, or apply any IE LAN settings or connection properties. All I did was run the aspnet_regiis util, and change the mchn.cfg processmodel ATTRIBUTE to "system" and this fixed everything. Anyone got questions, please email me @ kenkthulhu@blob.yahoo.com.au -- remove the blob. :) Thanks everyone!

Chary wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 09-29-2004 1:25 AM
The web server reported the following error when attempting to create or open the web project loctaed at the following URL"'http"/localhost/webapplication1'.'HTTP/1.0 407 Proxy Authentication Required'. this is the error I got while opening/creating asp.net webproject.
For this I modified the proxy settings for local host, then it worked fine.
Leandro Ramalho wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 09-29-2004 12:44 PM
The only way I could get this to work was using ChesterC's solution: uninstall IIS, .NET Framework, clear all directories (inetpub and .net framework under winnt) and then reinstalling IIS and the prerequisites, including Frontpage extensions (using weccom.msi in VS.NET 2003 prereq cd). Now everything works... UFA !

Thanks and regards,

_Leandro
Vijay wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 10-02-2004 6:04 PM
Another reason for getting the error could be the 'server extensions'. I have a windows 2003 server with multiple websites (IIS websites) configured and I was able to create web projects on some of the websites, but not on the default website.
I deleted all the _vti folders and files . (In the wwwroot folder search for "_vt*" and delete them all). This might solve the problem. If it still doesn't work, right click on the default website in IIS manager and choose All tasks--> Configure server extensions.
Surya wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 10-16-2004 4:49 PM
Bret's Solution worked for me. Now can somebody, please somebody let me know why did this work, or more appropriately why deleting that stopped it from working.

The solution in my case was:
"Go into IIS select the website (Default Web Site) in my case and right click --> go to Home Directory and click the CREATE button. This fixed everything... "
Anyway thanks everybody. For all the right reasons I love the internet
Thanks,
Surya
Tom wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 10-27-2004 5:25 AM
I have the same problem guys and cannot resolve it no matter what I do..Im getting the The Web server reported the following error when attempting to create or open the Web project located at the following url etc.. 500 error etc... I have it running on win2003 server and cannot access any of my old projects. This was working fine untill a few days ago!HELP!!!
Alex wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 10-27-2004 3:13 PM
I can't remember which error number I was getting but make sure the following is set:

In IIS, Web Service Extensions, ensure that Active Server Pages and ASP.net vX.XXXX is set to allowed.

Apologies if this is repeated info

Cheers guys 0_o
Tom wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 10-28-2004 9:25 AM
Hey Alex,

Was set to custom and I changed it to allowed...when I move to the project to my local pc it and change the pointers it works but will not work off the server for me at all...ive tried everything and am just short of formatting the machine and starting over, which i really dont want to do!!!any more ideas?!?!?
Klim wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 10-28-2004 5:26 PM
Hello there! Guys, where is that "Distributed Transaction Coordinator" service? It's not listed under my servises. But i found "Distributed Link Tracking Client" service. Is it the same thing? I also found msdtc.exe (Distributed Transaction Coordinator) under WINNT/System32. I run msdtc /start, and the service did not appear in servise list
Rahul wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 10-31-2004 9:26 AM
Adnan,
Your script worked almost wonderfully. I think your solution is most harmless one.
Thanks for your help.
Rahul
kris wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 11-06-2004 8:26 PM
Adnan Khan, thanks for script, worked great.
WOOD wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 11-10-2004 2:39 PM
EVERYTHING IS WORKING FINE...EXCEPT I START A NEW WEB APP, CHANGE IIS AND PROJECT FOLDER AND IT GIVES ME 500 INTERNAL SERVER ERROR. I CHANGE BACK TO THE PREVIOUS WEB APP AND IT WORKS FINE.

AS FAR AS I KNOW, ALL YOU HAVE TO DO TO CREATE A NEW APP, IS CHANGE THE HOME DIRECTORY IN IIS AND CREATE A NEW VIRTUAL DIRECTORY IN IIS AND ASSOCIATE IT WITH A REAL DIRECTORY/FOLDER, RIGHT?

THE PROBLEM IS WITH VS 2002, CORRECT? THAT IS THE ONLY THING THAT CHANGED. NEW SOLUTION IS FINE. NEW PROJECT GIVES 500 INTERNAL SERVER ERROR!


HELP!!!!!!!!!!!!
Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 11-11-2004 2:13 AM
The problem can pop up in 2002 and 2003. VS itself should be able to create the new virtual folder on the webserver when you create the new app. Arn't you experiencing a security issue ? According to most replies that's the source of the 500-errors. Not the rights to create the virt-dir.
WOOD wrote CAPABLE PROGRAMMER BUT THIS IS WEIRD!!!
on 11-13-2004 10:47 AM
I HAVE ALREADY CONFIGURED A WEBAPP AND DEPLOYED.I AM ON A NEW WEB APP FOR TESTING ON MY LOCAL SERVER AND WHEN I CREATE A NEW APP, IT THROWS THE INTERNAL 500 ERROR, I GO BACK TO MY PREVIOUS PROJECT IN VS.NET IT IS FINE. SO, IS IT SECURITY?

WHAT ARE THE STEPS TO CREATE AN ENTIRE WEB APP(BESIDES THE CODE BEHIND)IN IIS AND VS.NET????????????????????????????? THAT WOULD SOLVE MOST PROBLEMS HERE.

ONE THING I HAVE LEARNED IS THAT : IF YOU MAKE A MISTAKE WITH ONE STEP IT WILL HAUNT YOU!!!

THANKS, GUYS!

WOOD
Zed Burton wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 11-20-2004 10:39 AM
I needed to delete usersISUR_MACHINENAME and IWAM_MACHINENAME as well as ASPNET user before doing a reinstallation of IIS, .net framework and VS.NET. The reason is that the users remained on the box after the network guys did a reinstallation.
-Thanks Again for the help.
Stuart Miller wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 12-05-2004 1:33 PM
I have been struggling with this issue. I tried everything listed here and was unable to resolve the problem. I uninstalled and reinstalled iis, renamed the inetpub directory etc. Finally, I did a 2nd repare on WindowsXP, and I could finally create a Web Application in VS. It was extremely frustrating, so I thought I would post this in case other experience the same issues.
Archer wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 12-13-2004 2:54 PM
Hi guys,
I tryed everithing in this ling list of scripts and I still got this nasty message!
However, I remembered that My C: is FAT32 and then I remembered that running "Check Server Extentions" Says that I should hav NTFS so I did it!
Run cmd
typed: convert c: /fs:ntfs
some info was needed and a restart after that!
The you just have to wait for XP to convert your file system! No loss of data was encuntered ! After the process ended everithing was just right!
:D
Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 12-14-2004 4:00 AM
See, it's all abaout security. NTFS has security options, FAT does not.
ZJ wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 12-15-2004 1:30 PM
1. Ran aspnet_regiis.exe then
2. check the IUSR_<computername> login. Explicitly type in a password through the control panel and through the IIS interface. Make sure they match then
3. check box to allow IIS to control password.

It works now.
Nil wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 12-29-2004 11:16 PM
When I type aspnet_regiis.exe -s , windows cannot find it. I not so understand the solution you had give us.. Please help
Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 12-30-2004 3:08 AM
Aspnet_regiis is found in the windows\Microsoft.net\framwork\v1xxxx\ folder. Should be in your path.
Nil wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 12-30-2004 8:00 AM
I can find it there, I use cmd and cd directory to there.

I have re-install IIS and try aspnet_regiis.exe -s W3SVC/1/ROOT/SampleApp1
nothing happen
and tried

aspnet_regiis.exe -s W3SVC/1/ROOT

it done something but vb still prompt error.

I also tried aspnet_regiis.exe -i also can't work.

Please tell me the right procedure becausae I am very newbie in command prompt thingy. Please help so that I can use asp webservice in my vb.net.

Thanks in advance..

Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 12-30-2004 8:47 AM
There is no "right'. procedure.
It's a nightmare, my suggestions and the many comments might help but nobody has found the silver bullet yet.
sorry
Nil wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 12-30-2004 9:20 PM
I think I should try new method, I get a new error, seems happy but still can't solve.

Error is

The Web server reported the following error when attempting to create or open the Web project located at the following) is now Http/1.1 403 Access Forbidden?

Some question to ask, how to set my ZA firewall to not to block it & what is Distributed Transaction Coordinator? how to make sure is running?
Nil wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 12-30-2004 10:04 PM
http://weblogs.asp.net/jblizzard/archive/2003/07/28/10623.aspx

This website seems great and help lots of people too. Check it out. But doesn't help me too, but help me get a new new error.

Web Acess Failed

The default Web access mode for this project is set to file share, but the project folder at 'http://localhost/TestWebApp">http://localhost/TestWebApp' cannot be opened with the path 'c:\temp\Test\WebApp'. The error returned was:

Unable to create Web project 'TestWebApp'. The file path 'c:\temp\TestWebApp' does not correspond to the URL 'http://localhost/TestWebApp">http://localhost/TestWebApp'. The two need to map to the same server location. HTTP Error 403: Access Forbidden

What would you like to do?

Retry using a different file share path
Location ...
Try to open the project with FrontPage Server Extensions

...

Thats all.. Please Help :)
Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 12-31-2004 5:04 AM
Nil, the 403 error points to a security problem. You don't have the necesary rights to create a new web app.
Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 12-31-2004 5:09 AM
Nil wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 01-03-2005 6:28 AM
I re-install my vb.net and framework and now its fine.. I think this is a good page for people who get errors because got solution and fast reply. I will recommened my friend to here if they got the same error before re-install. Thanks Peter van Ooijen :)
Jai Soni wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 01-03-2005 10:20 PM
Well I came back from holiday and got error:
The web server reported the following error when attempting to create or open the web project located at the following URL: 'http://localhost/myappl'. 'HTTP/1.0 403 Forbidden'.

I got the webserver running in myPC. I tried using aspnet_regiis.exe, but it did nothing.

I checked proxy setting and checked bypass proxy server for local connection, and it worked fine.


I selected
Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 01-04-2005 2:21 AM
Nil, you're welcome :)
Jai, looks like the sa has been covering holes while you were on holidays..
Fabricio wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 01-09-2005 4:01 PM
I need help, cant rename Innetpub..
Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 01-10-2005 1:14 AM
Has IIS been stopped ?
Have you stopped sharing the dir ?
Do you have the aprop rights for the dir ?
Sylpheed wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 01-15-2005 1:22 AM
this worked for me :) thx alot! i tried everything else above that post, scripts , LAN settings and such.. good thing haven't went to reinstalling.
Quote "
I tried everything on this page. I have had this problem at home and have pulled out most of my hair. After installing VS.NET 2003 I now have the problem here at work !!!! nothing on this page worked. What I did to fix this problem was go into IIS select the website (Default Web Site) in my case and right click --> go to Home Directory and click the CREATE button. This fixed everything... who knew??? I now have time to start taping my hair back...."
mr_digital wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 01-21-2005 9:16 PM


OK. HERE IT IS. Like everyone else that contributed to this forum, I too tried everybodys suggestions to no avail. UNTIL, happy, happy, I read the comment from kenkthulhu. Koodoes to him.

Do not try anything else until you change the machine.config file at C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG
If the file was never tampered with previously, find line 452 and change userName="machine" to userName="SYSTEM".
Then after you stop laughing with glee, mix another drink. You deserve it.

mr_digital
mr_digital wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 01-21-2005 9:32 PM


One thing I forgot. Here's the fix for a closely related error.

If you change userName in machine.config to SYSTEM, and you go to run you new web app in debug mode you may get a "Windows Authentication not Enabled" error. This feature is easily enabled in IIS.

In IIS, open Default Web Site in the tree list.
Right click and open properties on the virtual directory you created in Visual Studio.
Click on 'Directory Security', then click the top 'Edit' button. (In the Annonymous Access...section)
Then make sure Integrated Windows Authentication is checked at the bottom of the window. Click OK OK and voila, run your web app with debugger and you can begin debugging debugger.

mr_digital
mr_digital wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 01-21-2005 9:54 PM
Note: if you apply the above fix for the WINDOWS AUTHENTICATION ERROR to IIS's Default Web Site properties, then all future web projects created in VS 2003 will automatically enable windows authentication. Cool hey!

mr_digital
mr_digital wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 01-21-2005 10:37 PM


One more thing. Make sure you add 'Everyone' to the security list in your inetpub folder security settings. I am not sure exactly which user needs the full clearance because SYSTEM, aspnet and iusr are allready on the list and it doesn't work without 'Everyone'. So who knows, but 'Everyone' will at least get VS working without glitches.

Mr_digital
Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 01-22-2005 3:46 AM
Not to happy with that. It's asking for (security) problems at deployment time.
Shailendra wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 02-03-2005 4:45 AM
Hi, I got the same error when trying to open my web solution

The Web server reported the following error when attempting to create or open the Web project located at the following URL:<URL> . 'HTTP/1.0 500 Server Error'

I fought and then realised that I had a proxy running on my box and all I had to do was disable it, open the solution and then start the proxy again, since I had not asked my proxy to bypass any URLs.

Please make sure you have no proxy running on your box when u get this kind of error, as your webserver is not able to resolve the url of your web project due to the proxy setting.
MrPlow wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 02-05-2005 6:42 PM
I had a similar problem; I couldn't add new apps to my default web site.

I realized that when I had installed a beta of the 2.0 framework that it changed the default framework/ASP.net version of the default web site to the new one (2.0.40607.0).

In the IIS Administrator, right-click the default web site, select properties, click the ASP.NET tab, and see the ASP.NET version control.

In my case, changing it back to 1.1.4322.0 allowed me to once again create new apps with Visual Studio 2003.

Note that I also tried other suggestions prior to this, inclduing using aspnet_regiis -u and aspnet_regiis -i to un-install and re-install ASP.NET (both 1.1.4322.0 and 2.0.40607.0), as well as some of the machine.config edit suggestions (userName="SYSTEM").

On a somewhat related note, I noticed that a nice feature of ASP.NET 2.x is that it allows you to view and edit the machine.config and (I think) web.config files via the IIS Admin / Web site properties window.
vijayan wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 02-07-2005 5:18 AM
When i open my project, the following error will come.

"The Web server reported the following error when attempting to create or open the Web project located at the following URL: 'http://localhost'. 'HTTP/1.1 500 Internal Server Error'."

Can you please solute for this problem

Thanks,
vijayan
Dan wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 02-10-2005 1:29 AM
I have been forced to give up on using asp.net for my development platform.

After wasting at least 8 valuable working hours trying to find a solution, and none of the suggestions working, I have to revert to plain boring php. At least it works and I can get on with other projects.


My development platform is Windows XP.

I uninstalled both iis and asp.net framework multiple times with no luck at all.

I am very very disappointed with ASP.NET. It promised a lot but in the end delivered nothing for me.
Peter van Ooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 02-10-2005 1:40 AM
Don't worry, it will take only 16 hours of PHP to waste 8 more.
Sorry For the sarcasm :)
G.Attrill wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 07-04-2005 8:31 AM
There are many comments here, but I think I should list my problem because it is damned confusing trying to sort through the existing types of problem which are all very similar.

Problem: Creating a new project in VS.NET produces a "500 Internal Server Error" message. Trying to view a page in the ROOT of the server (eg. http://localhost/wibble.aspx" produces the red "Server Application Unavailable" message. All other ASP/ASP.NET pages work fine.

Solution: As mentioned above, view properties of the website root in Internet Services Manager and under "Home Directory" click "Create" to create an application.

I am not an expert in the complexities of IIS but I presume the handling of applications internally is different. Damned annouying though!

Gareth
prabhu wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create the Web project "HTTP/1.1 500 internal server error")
on 07-12-2005 8:38 AM
I was struggling with this error for more than 2 hours.But finally excuting these simple commands in VS.net 2003 command prompt the issue is resolved.

i just did the following

1)stopped the IIS
2)executed "aspnet_regiis -i" in VS .net command prompt
3)executed "regvr32 aspnet_isapi.dll" in VS .net command prompt
4)restarted the iis

this did the trick for me

Thanks to all
& a special thanks to Adnan Khan

Adrienne wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 07-14-2005 2:30 PM
I HAD THE SAME PROBLEM, AND NOTHING WORKED UNTIL I FOLLOWED INSTRUCTIONS POSTED BY A FEW PEOPLE ON THIS BLOG. I HAD TO MIX AND MATCH SUGGESTIONS TO COME UP WITH MY SOLUTION:

1. DELETE IUSER_MACHINENAME,IWAN_MACHINE NAME, AND ASPNET USER ACCOUNT BY RIGHT CLICKING ON MY COMPUTER --> MANAGE --> LOCAL USERS AND GROUPS --> USERS

2. UNINSTALL VS 2003, IIS, AND FRAMEWORK.

3. DELETE DIRECTORIES FOR FRAMEWORK AND VS 2003.

4. RENAME INETPUB DIRECTORY TO SOMETHING ELSE. IN MY CASE, INETPUB1. <-- VERY IMPORTANT!

5. REINSTALL IIS WITH ALL CHECK BOXES CHECKED. THE CHECKBOX FOR IIS SHOULD NOT BE GRAYED OUT, IT SHOULD BE WHITE.

5. FOR XP PRO, INSTALL .NET FRAMEWORK FROM XP CD. THE OPTION TO INSTALL THE FRAMEWORK IS UNDER THE "PERFORM ADDITIONAL TASKS" LINK. IT WILL INSTALL THE FRAMEWORK WITH SP1 FOR THE FRAMEWORK. I'VE GONE TO ASP.NET TO INSTALL THE FRAMEWORK SEVERAL TIMES AND I NOTICED THAT I HAD PROBLEMS.

6. INSTALL VS 2003.

7. OPEN VS 2003 AND TRY TO OPEN A PROJECT. IT WORKED FOR ME JUST LIKE THAT :). I REBOOTED JUST TO MAKE SURE I WASN'T TRICKED, AND IT WORKED JUST FINE AGAIN.

I BELIEVE THAT IT HAS SOMETHING TO DO WITH PERMISSIONS ON THE ORIGINAL INETPUB FOLDER.

GOOD LUCK TO ALL OF YOU STILL STRUGGLING WITH THIS!!!!
xina wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 08-04-2005 12:34 PM
I have the same problem, no of its solutions has worked to me. What could be? some configuration of the network?
Help me, please!
Mike wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 08-18-2005 12:18 PM
Thanks to mr_digital the solution of changing the machine.config file to username="SYSTEM" worked. The interesting thing was after creating the first one I changed it back to machine and am still able to create now without the error. I would also check that you have the EVERYONE group listed and you have admin rights to your machine if that is the group with full control.
Top wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 09-12-2005 9:53 PM
Try Adnan Khan script (http://codebetter.com/blogs/peter.van.ooijen/archive/2003/11/20/3796.aspx#10807)
..works perfectly for me!!! Thanks!!! :-)

jhoward wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 09-16-2005 11:46 AM
I didn't have a chance of fixing this until I stubled upon this site. Thank everyone for the information. I believe I see a light at the end...
di wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 10-06-2005 3:01 PM
Thank you so much Peter van Ooijen and Goksel Misirli!!!

This http://www.jsiinc.com/SUBN/tip6900/rh6951.htm was extremely helpful.

I spent 1 whole day pulling out my hair and reinstalled everything (IIS, framework & VS2003) 2x before finally realising that my COM+ was damaged.

FYI. Your COM+ is most likely damaged if...
1) You are unable to start up COM+ System Application service
2) You are unable to run c:\inetpub\adminscripts\synciwam.vbs
CaesarsSax wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 10-28-2005 1:00 PM
MYTHX - you ASP GOD! I tried the 'delete ASPNET USER and reinstall' script. Nice work Adnan Khan. It did get rid of the 500 error but then I got a different error through VS - a "most likely your problem is...' error message. No lie - that's how the error message started! I then found your comment about accepting the default permissions on May 12, 2004 above. It WORKED!!! - albeit all my services were running and IIS was working, etc, etc. So my problem was just permissions. Thank you Thank you Thank you!!!
Kinnell wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 10-31-2005 2:23 PM
After a few hours of hitting my head against the wall and reading through all of the posts here I found that I had this issue but had a totally different solution. Maybe some of your situations are like mine.

Around the time that this error occured did you ever change your password? If so then the problem is that ASP cannot talk to IIS due to this and here is what I did to fix the problem :)

I ran the following two lines in the command prompt to reset my new password in the registry.
aspnet_setreg -k:Software\CHR\Identity -u:CHR\<lanid> -p:<password>

aspnet_setreg -k:Software\ASPNetWP\Identity -u:CHR\<lanid> -p:<password>


CHR comes from my network (domain), for me this is found in the registry in the following path:
HKEY_LOCAL_MACHINE-->SOFTWARE-->CHR-->IDENTITY-->ASPNET_SETREG

So change your code appropriately

I hope this helps out.


Kinnell wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 10-31-2005 3:07 PM
Oh, and restart your computer.
Mitesh wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 12-13-2005 7:02 AM
Hi all,
i have read everything that is posted about this error on this page.

The Web server reported the following error when attempting to create or open the Web project located at the following .. (Internal Server error 500).

My situation is i want to create a new website on a remote webserver that supports asp.net.My little test to check for asp.net compatibility.

(I created a new web site on a remote server using IIS 6.0 and pointed to to a folder on that machine and also created a test aspx file. When i log on to that web server and do http://webserver:105/test.aspx i can see the test message.)

Now i want to create a web project from my developing machine and i am getting above error.


Any idead how i should go about solving this...

Mitesh

Joe wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 01-03-2006 12:28 PM
I too have read & tried many of these suggestions. Until recently my recipe to fix this was

stop IIS
cd \WINDOWS\Microsoft.NET\Framework\v1.1.4322
aspnet_regiis.exe -u
aspnet_regiis.exe -i
reboot (yes really!)
start IIS

However this stopped working recently and having wasted yet a few more hours the solution which finally got me working again was to change the processModel attribute in machine.config to use SYSTEM (in my case C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config)

Thanks for this blog & good luck to anyone still stuck on this.

Joe
Anand wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-01-2006 9:49 AM
Thank you guys..

i had similar kind of problem. i din't know what to do. your comments really helpled me lot. i solved this problem

regards
Anand
Ray H wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 04-04-2006 8:48 AM
Hey guys, after fighting with this problem for about 9 hours I stumbled upon this site.  Following the above advice my fix was this:

Uninstall IIS
Uninstall 1.1 .Net Framework
Delete Inetpub folder
Delete all folders in c:\windows\microsoft.net\framework (I had to boot to safe mode to do this)
Reboot
Reinstall IIS

Now it works.  You would think they would provide a disclaimer about installing .net framework before IIS or something also...

Thanks for the help!
Reinstall 1.1 Framework
smash wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-05-2006 9:33 PM
good solution.
i like.
DollyLamb wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-12-2006 7:07 AM
I got stucked on this error:

"The Web server reported the following error when attempting to create or open the Web project located at the following ..  HTTP/1.0 400 Bad Request".

I tried all suggestions here, but still no luck !!?? So, there's another way to fix this god damn error, everybody?

Help me plz.
CostasZ wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-18-2006 12:44 PM
Uninstalling IIS, deleting inetpub, reinstalling IIS and registering the ASPNET user worked for me. I was getting Error 500 when I tried to create Web Applications in VS2003 on XP SP1 with IIS 5.

Loungelizard wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-22-2006 5:35 AM
Ok so Ihave this same problem, driving me insane and with a deadline looming. I tried all of the things in this page varous scripts etc. It was finally Sylpheed's solution that fixed it.

There was mention above of finding the root problem so thet it can be fixed. Unfortunatly I don't belive there is a single problem. Unless it's the fact that a poor error message is leading us all to believe that it is the same root cause.

Let this be a lesson to us all, when writing applications (web or not) make the error messages mean something.
Name wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-22-2006 6:58 PM
Thank you very much!!! It WORKED!!!
Jason wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-23-2006 1:33 PM
Well after trying everything else on this page and having no luck, I got some help from my IT guy. He poked around for over 2 hours and eventually got my machine to work by reinstalling COM+ on my XP pro machine, reinstalling IIS, running aspnet_regiis.exe -i and setting the Application Protection to Low for my default web server (Home directory tab). Reinstalling the COM+ was quite the process so you will have to do a search on how to do that. In involved registry edits and changing a configuration setting so that COM+ would appear in the windows components install dialog.
Uday wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-30-2006 11:47 AM
I am getting the following error when trying to create a new web application
--------------------------------------------------------------
"web server reported the following error when attempting to create or open the web project located at the following URL" "HTTP/1.1 401 Access Denied"

HELP!!!!!!!!!
pvanooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-30-2006 2:48 PM
It has been said over and over again and I'll say it once more: that's a rights problem. As the error states. Make sure asp.net and you have sufficient right to create virtual dirs.
Uday wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-30-2006 3:39 PM
i have the admin rights on the machine where the application will sit. Also i am able to create virtual directories without any problem... tried creating virtual directory successfully.....
"HTTP/1.1 401 Access Denied" error is not given by any erson in this thread so far.....

would be grateful if any help is provided
thanks...
pvanooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 07-01-2006 3:08 PM
Didi you check the right of the asp.net account ?
uday wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 07-03-2006 10:21 AM
asp.net right means????? can you be a bit clear.

i have run aspnet_regiis.exe with -i option from command prompt to get the asp.net account set up

what else should be done.... i have my name into debugger users, vs developers, power users also... but no change in the error.

also i am not able to debug the application .... i added myself to debugger users as i have said

thanks
pvanooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 07-03-2006 10:52 AM
Code is IIS runs under the asp.net account. This account has specific permissions on the wwwroot directory.

You should find this account under the list of users of your machine.
uday wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 07-03-2006 12:54 PM
i found that ..... now what shouldbe done ???? i have tried all the possible scenarios and i think now only reinstalling IIS and .NET would solve the problem :(
pvanooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 07-04-2006 5:04 AM
These rights work on _my_ machine

wwwroot directory

asp.net account:
- Read&excecute
- List folder contents
- Read

VS developers :
all rights (check under special) except Full control, take ownership and change permissions

wwwroot$ share
VS developpers
- Full control
- Change
- Read

Reinstalling all will set these security options.
Shane Byrne wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 07-15-2006 12:11 PM
Hi Guys

like a lot of people on this post I tried everything and nothing worked. Eventually I found that it was a problem with my COM installation.

What finally fixed it was the procedures at the following link
http://www.brooksyounce.com/XpAspFix.htm

and then re installing .net framework
http://support.microsoft.com/kb/306005/en-us

Thanks to everybody on this post for your help and shame on Microsoft for not having more information available on the error. I spent about 6 hours trying to figure this one out!

My config was
win xp sp2
iis 5.1
Peter's Gekko wrote Fixing a broken asp.net installation. (The Web server
on 07-18-2006 5:54 AM
This is my third post with this title. What started as quick command line fix has grown into something...
rosekisser wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 07-21-2006 4:43 AM
Thank You !
It's Effect!
Prince-William wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 08-23-2006 4:03 AM
BRAVO! FINALLY, MY PROBLEMs SOLVED!!!
Just do the following step will fix the problem... ^_^

<Quoted Directly from above>----------
Drazen Soronda said:
BINGO...LOTTO
I make it works :)

Ok
Solution is just copy/paste from upper post:
1) uninstalled IIS
2) deleted (renamed) the inetpub directory <--important
3) reinstalled IIS
4) performed aspnet_regiis -i
----------<Quoted Directly from above>

Thanks a lot guyz. Have a good day!!!

Regards,
Prince-William
Bryan wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 09-29-2006 11:36 PM

Unfortunately, Microsoft only tells you how fun and easy their development products are, and only after the fact do you find out about all these permissions gliches. Why can't they tell you what to do under the "Visual Studio installation prerequisites"?

That said, I combed through all these comments and tried most of them at least once, but without results. On a late-night whim, I know not why (does anyone believe in inspiration when you're on the verge of a nervous breakdown?), I logged off and logged in as administrator; created a project and ran it without problems; then logged back in under my normal account and added a password (I used no password previously); and wonder of wonders, I was able to run the project forever after without problems. I don't know if it was the act of creating it under the administrator account or changing the regular account password. Hope this helps someone.

I have a friend who is an ex-Microsoft research employee (turned university professor) who says that Vista is supposed to address a lot of these issues of development security and permissions. Thanks a lot; it's about time. Just seems so weird that you don't have control over these things on your own machine.

pvanooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 10-02-2006 5:35 AM

Bryan, thanks for sharing your woes. IT life is hard.

Imho it again shows that most of these problems have to do with security, as I summarized in my third (this is the first) post with this title :

http://codebetter.com/blogs/peter.van.ooijen/archive/2006/07/18/147456.aspx

I'm not sure if Vista is going to fix all this, as in Vista security settings are even stricter.

Madhu wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 10-03-2006 4:58 PM

I got this error message when I changed the ASP.NET version from 1.4 to 2.0 in IIS Admin console. This happened since my app developed using ver 1.4. I switched back to 1.4 but I was still getting same error message. When I started my app without debugging, I noticed that the app was getting directives from the web.config file in inetpub\wwwroot. Aparently when I changed from ASP.NET 1.4 to 2.0 it put this file there and directed the IIS server to use ASP.NET 2.0. But it did not delete this file when I changed back to ASP.NET 1.4. When I deleted this file  everything started working (for safety backup this file to some other directory).

Note: I am using VS 2003 and Windows 2000 (IIS 5.0)

Onlyice wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 11-09-2006 12:07 PM

Thanks Adnan Khan.... That script was very very useful....

John wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 12-11-2006 1:34 PM

After you go through all of this and bang your head against the wall numerous times, go to the IIS manager and make sure that the default web site is running under .NET 1.4, not 2.0.  Using VS2003 and VS2005 on the same machine is a pain and I would not recommend it.  Unfortunately, I was at a client site and given a machine to work on that was hacked up with VS2005 and VS2003.  Gotta love it...

John wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 12-11-2006 1:35 PM

Correction...  I meant to say 1.1, not 1.4...

Ewan wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 12-13-2006 8:46 AM

I did Adnan Khan' post Ronan Dom' (Distributed Transaction Coordinator) post, Daria' post then Mark' (caspol -s off) post and it worked. Thank you guys! In summary ...

Open and CMD window, go to C:\WINNT\Microsoft.NET\Framework\v1.1*

then do

iisreset /stop

net user ASPNET /delete

aspnet_regiis –I

regsvr32 aspnet_isapi.dll

iisreset /start

Then do iis reset from “Computer Management” in Administrative tools.

Then back to your CMD window and do ...

caspol -s off

Microsoft can you please document your stuff and save us all the many hours spent on this :-)

Saurabh wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 01-20-2007 3:36 AM

I solve this problem by following line

first click start menu ,click run and write cmd and open it

then go to the

c://windows/microsoft.net/framework/v1.1.4332

choose above path and then first type (at that path)

iisreset/stop (after then)

net user ASPNET/delete (then)

aspnet_regiis -i and then

iisreset /start

by this i slove my problem of HTTP://1.1 500 Internal Server Error

Thanks Guy hope u also solve your prob by this. bye and keep in touch

Roy z. wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 01-23-2007 12:03 AM

Hi.

This post is great and saved me a lot of time.

The replay that solved my problem was that of "Adnan Khan".

search it on this page (from the top).

Thanks.

gaurav kanwar wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 01-25-2007 7:15 AM

You have to create the ASP.net machine account. and the again use aspnet_regiis -i and it will work .

ALGORE wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 01-29-2007 9:14 PM

Thankyou for leaving your comments. I tried everything else, deleting ASPNET user and recreating via ADNAN's script, reinstalling .NET etc and nothing worked.

The only solution that worked was the one below

1) uninstalled IIS

2) deleted (renamed) the inetpub directory <--important

3) reinstalled IIS

4) performed aspnet_regiis -i

----------<Quoted Directly from above>

the renaming of the inetpub directory was crucial.

Good luck, to anyone else with this problem

Paul wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 02-08-2007 7:30 PM

Hey! That fixed my problems! Thanks!

Xataraxx wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 02-19-2007 1:05 PM

<<

Ronan Dom said:

I have been stuggeling with this problem for days as well and finally got it working:

1) Make sure the "Distributed Transaction Coordinator" service is running (!)

2) reinstall ISS

3) run "aspnet_regiis.exe -i"

4) run "regsvr32 aspnet_isapi.dll"

>>

This one fixed it for me!  Thanks!

It may not matter at all, but I ran the cmd line stuff from the Visual Studio cmd prompt, rather than the std cmd prompt.

Though since it's pretty typical of Microsoft to have about 80 billion ways of generating the exact same error msg, I've made note of the other solutions for future reference.  :-)

murugangs wrote TTP/1.1 500 Internal Server Error or Server Application Unavailable issue with IIS
on 02-20-2007 1:33 AM

Some times we get this error when we create a new web application or open an existing application in

pvanooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 02-20-2007 4:00 AM

@xataraxx, aspnet_regiis.exe is located in the Windows\Microsoft.net\Framework\vx folder. This folder is in the path of the VS command prompt but not in the path of a regular command prompt. So it does matter :)

Scott wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 02-21-2007 9:57 PM

I renamed INETPUB wwwroot directory and also uninstalled .net framework 2.0, this worked after trying most of the other postings here.

Bradley wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 02-25-2007 9:33 PM

To Ronan Dom: you are a god among techies. Thanks to your now three-year old comment, I can finally START my homework for my online class.

I've been searching Google for two days (about 6 hours of so between them), getting my error to change all the time but never go away. Then yours actually works. Hats off to ya!

sait wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 02-27-2007 8:46 AM

I was wondering if you could help me with a little problem recently i installed VS 2005 from VS 2003, i get this error all the time, i have upgraded to asp.net 2.0... I dont get this problem with .net 1.4 with VS2005. Im not sure if i have to built the project again. any ideas on how to avoid this?

When i try and create a web app i cant..

Peter's Gekko wrote A blog is not a helpdesk
on 02-27-2007 9:46 AM

Please forgive me when this appears a little rude, but I just have to get this of my chest. I do answer

Sait wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 03-01-2007 12:21 PM

I have solved the problem with the solution from ADNAN, but came across something new now I get this error I have installed VS2005. And migrated my VS2003 application to VS2005. After resolving all the errors I get the following error when press F5 fordebugging. "unabletostartdebugger on thewebserver. the microsoft visual studio remotedebuggingmonitor ( MSVSMON.EXE)does not appear to be running on the remote computer . Please see help for assistance."

http://www.teknikdesign.co.uk/VS05/vs05error2.JPG

Please advice the workaround

Peter's Gekko wrote Fixing a broken asp.net installation. (The Web server
on 03-22-2007 8:48 AM

This is my third post with this title. What started as quick command line fix has grown into something

Peter's Gekko wrote Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....) revisited
on 03-22-2007 9:07 AM

November last year I posted a story with this title . It was a fix for the error messgae above. I wasn&#39;t

Venkat Mallasani wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 03-27-2007 7:49 AM

I had Http1.1/500 problem for couple days, the following solution fixed the problem, i guess the step # 4 is the critical.

Wondering why microsoft do not have a KB on this issue.

1) Make sure the "Distributed Transaction Coordinator" service is running (!)

2) reinstall ISS

3) run "aspnet_regiis.exe -i"

4) run "regsvr32 aspnet_isapi.dll"

thanks for the help!!

--Venkat

Manish wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-05-2007 11:13 AM

I couldn't create a new web service project or a web application on my local machine. XP, IIS 5.1.

My first error message was:

"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"

I fixed this with :

c:\windows\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe" -i

"The Web server reported the following error when attempting to create or open the Web project located at the following url ... Internal server error"

I tried to remove the aspnet user. Didn't work at all. Tried to set the ip-adress (instead of All Unassigned), didn't work.

The solution for me was to add my own username(with domain that is domain/username) and password in machine.config process model tag. It starts working

Hope this help you.

Thanks for all help!

Francisco Olano wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-08-2007 9:31 AM

After a day of uninstalling and installing iis and aspnet, with no results. I tried with ChesterC solution and it works!!!!!

Thanks

ChesterC said:

Well I have resolution at last.

For myself, what worked was:

1. Uninstall .NET framework AND manually delete the directory and everything inside.

2. Uninstall ISS and manually delete the 'Inetpub' directory or it's eqiuvalent.

3. Reinstall ISS with default options.

4. Install VS.NET prerequisites from the VS.NET installation.

At this point I was able to create asp.net web applications locally using my localhost directory.

Javier wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 05-16-2007 2:02 PM

Thankkssss!!! Solved my problem!!!

Randy B wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-04-2007 7:16 PM

This is a great summary.  What worked for me was merely changing the username in the machine.cfg file to "system" per the wonderful Mr_Digital.  I'd love to know what happened to suddenly cause the problem ( I went to an earlier restore point), or how this fix works... but I WILL enjoy that drink now!!

Mustafa Berkan BICER wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 07-15-2007 9:22 AM

Very very thanks to Ronan Dom. I solved my problem by executing;

echo "Stop IIS"

iisreset /stop

echo "----------------------"

echo "Deleting the ASPNET account."

net user ASPNET /delete

echo "----------------------"

echo "Reregistering ASP.NET and the ASPNET account."

aspnet_regiis -i

echo "----------------------"

echo "Registering ASPNET_ISAPI.DLL"

regsvr32 aspnet_isapi.dll

echo "----------------------"

echo "Restarting IIS."

iisreset /start

echo "----------------------"

codes. Now working fully.

NS wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 08-28-2007 11:16 AM

I got a similar error. I would like everyone to check something before trying any of the above fixes. I noticed that the ASP.NET state service was stopped and was marked as Manual. I restarted the service, marked it automatic, restarted IIS and I was good to go.

Mark wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 10-09-2007 12:23 PM

I had the http://1.1 403 forbidden.  I went into IIS, right clicked the website, clicked Create next to the Application name in the Directory tab.  This resolved the issue.  This was with Visual Studio 2003 running on Windows 2003.

Arun Jose wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 11-14-2007 11:30 AM

I was getting an error message like this:

"The Web server reported the following error when attempting to create or open the Web project located at the following URL: 'localhost/WebApplication1'. 'HTTP/1.0 400 Bad Request'. "

I found out the reason after spending the whole day on it..

- In the LAN settings, disable the proxy !!

Hope this post helps someone!!

Ravi wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 12-24-2007 2:21 PM

Echo Stop IIS

iisreset /stop

echo "----------------------"

echo "Deleting the ASPNET account."

net user ASPNET /delete

echo "----------------------"

echo "Reregistering ASP.NET and the ASPNET account."

aspnet_regiis -i

echo "Restarting IIS."

iisreset /start

echo "----------------------"

The script worked for me. Thank you very much.

RHR wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 02-05-2008 8:52 AM

NON IS WORKING... I JUST LOST MY WHOLE DAY TO REPAIR THIS PROBLEM.. I HATE FORUM

VS wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 02-27-2008 7:16 AM

None of the above comments are working.... I tried a lot for this problem..

The Web server reported the following error when attempting to create or open the Web project located at the following URL: 'localhost/WebApplication1'. 'HTTP/1.1 400 Bad Request'

Santhi wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-17-2008 11:21 AM

M y problem doesnt comes under any of these. Iam using asp.net 1.1  . I can create new project and also open an existing one. But i cant debug it. i can start without debugging, the it displays the page. But when i debug it, it shows the message that " Unable to start debugging on webserver. You do not have the permission to debug.The url of the project is in the internet zone"  How can i rectify this problem. Plz help me out

pvanooijen wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 06-19-2008 3:20 AM

Do yourself a favor and move to asp.net 2.0

You're working under Vista ? Run VS as administrator.

Ankur wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 08-26-2008 3:18 AM

I am facing a problem while creating and while viewing asp site in window server 2003 Can anyone help me with this. i am getting following error while creating Asp web application. "The web server reported the following error when attempting to create or open the web project located at the following URL: localhost/webapplication1.'HTTP/1.1 403 Forbidden'. "

whle opening a web application IE throws an error that Cannot view the webpage

Ankur wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 08-26-2008 6:22 AM

The Web server reported the following error when attempting to create or open the Web project located at the following URL: 'localhost/WebApplication1'. 'HTTP/1.1 400 Bad Request'

Can anyone help me in finding why this error is coming while creating a ASP web app in visual studio 2003 on window server 2003

also i am not able to open any aspx page on this machine

Ankur wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 08-26-2008 11:59 PM

hi guys ,here is the solution to your problem

if you are not able to create ASPWEBAPPLICATION  -:

when u create new webapplication project the Default url which come is localhost/webapplicationname where localhost points to port 80 just change it to localhost:portnumber  and then u should be able to create a webapplication.

if you are not able to open your existing site in server then there can be DNS mismatch  the ipaddress given in url will be of DNS IP just change it to localhost IP . Your web application should run fine

cheers

ankur

Pharmg166 wrote re: Fixing a broken asp.net installation. (The Web server reported the following error when attempting to create or open the Web project located at the following....)
on 07-03-2009 10:51 PM

Very nice site!

Add a Comment

(required)  
(optional)
(required)