473,480 Members | 2,487 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Internal Server Error

I have used Visual Studio for about 8 months. I have developed some ASP solutions. I had to get on with some other things and have not worked with ASP.NET for a couple months. In the meantime, I have upgraded to .NET Framework 200
V1.1. Over the week end I had to go back to work on a project that needed some changes. I get the following error when I try to open an existing project or create a new one. I have XP Professional

An error occured while trying to create or open an existing project when trying to access the following URL
'http://localhost/SoftCost'.'HTTP:1.1 500 Internal Server Error'

I am not sure what caused the problem or what I need to do to fix it. Any ideas

Alan
Nov 18 '05 #1
6 3476
Not sure how many reponses you're going to get with this one since there are
a large number of things that could be wrong. Looks like you're about to
experience your initiation.

They say that what doesn't kill you only makes you stronger.

Start by turning off "friendly" error messages in IE to see if the error
message has more information. Then check the configuration of IIS and make
sure you installed ASP.NET. Also, make sure you are sending detailed error
messages to the client.

From there, you could have any number of problems, from permissions (you
need to give ASPNET read privilege to any file or resource it touches on the
disk. If you are using Windows server 2003, you also need to give the same
acess to NETWORK SERVICE) all the way to virtual directory mappings and
application settings.

Good luck

"AlanS" <an*******@discussions.microsoft.com> wrote in message
news:A5**********************************@microsof t.com...
I have used Visual Studio for about 8 months. I have developed some ASP solutions. I had to get on with some other things and have not worked with
ASP.NET for a couple months. In the meantime, I have upgraded to .NET
Framework 2003 V1.1. Over the week end I had to go back to work on a project that needed some changes. I get the following error when I try to open an existing
project or create a new one. I have XP Professional.
An error occured while trying to create or open an existing project when trying to access the following URL, 'http://localhost/SoftCost'.'HTTP:1.1 500 Internal Server Error'.

I am not sure what caused the problem or what I need to do to fix it. Any ideas.
Alan

Nov 18 '05 #2
Michael ... Here is where I am at the preset time

I am using an XP Professional and VS Net 2003

I went to my IE Options (Tools>Interner Options>Advanced tab) Deselected "Show friendly HTTP error messages".

When starting an existing application, I still get the following message

(1
The web server reported the following error when attempting to create o
open the Web project at the following URL
'http://localhost/Softcost'.'HTTP/1.1 500 Internal Server Error.

If I click ok, the project will open up and everything appears to be ok

If I then try to run the following error is issued

(2
Error while trying to run project: Unable to start debugging on the Web server. Server side-error occurred on sending debug HTTP request.

Make sure the server is operating correctly. Verify there are no sybtax errors in web.config by doing a Debug. Start without Debugging. You may also want to refer to the ASP.NET and ATL server debugging topic in the online documentation

If I try to create a new project I get error message (1). If I click on OK I get an empty solution explorer

I was told it was a IIS setting. Affects VS NET 2003, but not VS NET 2002 and to do the following to correct

In the IIS console right-click the default web site, select Properties, then go to the Home Directory Tab. On that tab go to the Application Settings panel

There is an application name box that is blanked out and a button that says 'create'
Click on the create button and it will convert to saying 'remove' and the application name box fills in with 'default application'

Leave IIS and everything should work ..... It does not

I also have VS NET 2002 and when I try to create an ASP.NET application using 2002. I have the follwoing problem when I try to create and execute. Creating seems like no problem. When I try to execute I get message (2) above. By turing off debug I get the following message

(3
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.

I went to the event viewer and here was what it said

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

I think I need to reinstall one or all of the following

1) ASP.NE
2) II
3) VS NET

I had no problems with ASP.NET till I install the 2003 Upgrade. I may go back to 200

Any thoughts???????
Nov 18 '05 #3
I see. I have had this issue in the past and reinstalling .NET was my fix.

If you can, uninstall .NET 1.0 (not required, but it would clean things up a
bit).

Reinstall the .NET 1.1 framework (make sure you are logged in as
administrator when you do) and make sure you install ASP.NET.

You should not have to resintall VS.NET 2003.

Michael Earls
"Alan" <an*******@discussions.microsoft.com> wrote in message
news:92**********************************@microsof t.com...
Michael ... Here is where I am at the preset time.

I am using an XP Professional and VS Net 2003.

I went to my IE Options (Tools>Interner Options>Advanced tab) Deselected "Show friendly HTTP error messages".
When starting an existing application, I still get the following message.
(1)
The web server reported the following error when attempting to create or
open the Web project at the following URL.
'http://localhost/Softcost'.'HTTP/1.1 500 Internal Server Error.'
If I click ok, the project will open up and everything appears to be ok.

If I then try to run the following error is issued.

(2)
Error while trying to run project: Unable to start debugging on the Web server. Server side-error occurred on sending debug HTTP request.
Make sure the server is operating correctly. Verify there are no sybtax errors in web.config by doing a Debug. Start without Debugging. You may
also want to refer to the ASP.NET and ATL server debugging topic in the
online documentation.
If I try to create a new project I get error message (1). If I click on OK I get an empty solution explorer.

I was told it was a IIS setting. Affects VS NET 2003, but not VS NET 2002 and to do the following to correct.
In the IIS console right-click the default web site, select Properties, then go to the Home Directory Tab. On that tab go to the Application
Settings panel.
There is an application name box that is blanked out and a button that says 'create'. Click on the create button and it will convert to saying 'remove' and the application name box fills in with 'default application'.
Leave IIS and everything should work ..... It does not.

I also have VS NET 2002 and when I try to create an ASP.NET application using 2002. I have the follwoing problem when I try to create and execute.
Creating seems like no problem. When I try to execute I get message (2)
above. By turing off debug I get the following message.
(3)
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur.
I went to the event viewer and here was what it said.

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.
I think I need to reinstall one or all of the following.

1) ASP.NET
2) IIS
3) VS NET

I had no problems with ASP.NET till I install the 2003 Upgrade. I may go back to 2000
Any thoughts????????

Nov 18 '05 #4
Michael thanks for the help.
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.
You have applied the patch MS03-32 Security Update for Internet Explorer security patc
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.asp

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\msc orlib.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.

Ala

Nov 18 '05 #5
"AlanS" <an*******@discussions.microsoft.com> wrote in message news:<5B**********************************@microso ft.com>...
Michael thanks for the help.. [snip] In the downloaded batch file "fixup" - make the following changes
REM if exist %SystemRoot%\microsoft.net\framework\v1.1.4322\msc orlib.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.


I've lost a week so far and guess what? This doesn't work for me
either - i still can't create Web Projects of either type. Oh well,
back to trawling for fixes....

--
RB
Nov 18 '05 #6
I get this problem when I go from running undocked to docked.

The only repeatable solution seems to be to:

1. uninstall .NET Framework (aspnet_regiis -u)
2. reboot
3. install .NET framework (aspnet_regiis -i)

It's a real pain!

-Chris
Nov 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
10780
by: | last post by:
I am accessing the same error-containing ASP page on an ISP server using w2k IE6 but with different effect. On the first computer I get several line of HTML outputed by ASP, shown correctly by...
5
8439
by: Ben | last post by:
hi when I try to excecute an ASP (either JS or VB) script to say, access a database record, I get an Internal Server Error HTTP 500.100 Why? and HOW CAN I FIX THIS? Thanks
4
3713
by: Patrick Masson | last post by:
Hello, Our configuration : Apache 2.0.53 PHP 5.0.4 PC Windows 2000 MATLAB 6.1 We work on a consulting project in France which involves MATLAB Web server,
8
9986
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
4
6167
by: jf li | last post by:
I have a Asp.net web application and a Asp.net Web service application. The Web application is using HtmlInputFile to get a 50M size of file selected by end user, read the data of this file and...
11
12293
by: Lieven | last post by:
Hey, I had a hard disc problem last week on my server. I replaced the disc and copied al the files to the new hard disc, everything works fine again except some php scripts that are using the...
23
24472
by: ticfranca | last post by:
Hi, I'm getting this error in the code below: sub Pega_recorde { $database = 'bundinha'; $host = 'localhost'; $usuario = 'myhumoradm'; $senha = 'my8xr2d2'; ...
0
1199
by: ticfranca | last post by:
i'm getting an error at the line : $sth->execute() or die $dbh->errstr; the error is : The server encountered an internal error or misconfiguration and was unable to complete your request. Please...
3
2828
by: rooznamechi.h | last post by:
Hi, I use Url rewriting on my website and my website works normally , but I don't know why Google crawlers can not read my pages . For example look at address below :...
3
5890
by: guillaume.braux | last post by:
Hello, I am running WS2008 + IIS7 + FASTCGI + ZendCore. I have not modified the default ZendCore php.ini configuration file. Actualy, any kind of PHP error, warning or notice gives me...
0
6905
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7041
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7080
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6736
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6908
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4772
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4478
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2994
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
561
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.