473,406 Members | 2,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Error creating new ASP.NET application

Hi,

I am getting the following error message when I attempt to create a
new ASP.NET (C#) web application:

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

I can open existing ASP.NET projects and launch/debug them without any
problem. I can also browse them directly i.e. without going through
VS.NET.

So far I have tried changing the permissions of IIS, modifying the VS
Developers group permissions, adding the ASPNET login to the VS
Developers group and I have also tried running "aspnet_regiis -i".

Can anyone please help me to resolve this problem without having to
re-build
the machine?

My configuration is as follows:

Windows 2000 SP4
Visual Studio 2003 v7.1.3088
..NET Framework 1.1.4322.573

Thanks in advance,

Shane O'Keeffe
Nov 18 '05 #1
8 1597
Hi Shane,

Here's a solution that someone posted previously. Could you let us know if
you try it and if it works for you?

Ken
Microsoft MVP [ASP.NET]

Resolution:

1) Delete the ASPNET account using Computer Management.

2) Recreate the ASPNET account by running: aspnet_regiis -I, from

C:\<winDir>\microsoft.net\framework\v1.1.4322 directory :

Click Start, and then click Run.

In the Open text box, type cmd, and then press ENTER.

At the command prompt, type the following, and then press ENTER:

"%windir%\Microsoft.NET\Framework\version\aspnet_r egiis.exe" -i

In this path, version represents the version number of the .NET Framework
that you installed on your server.

You must replace this placeholder with the actual version number when you
type the command. If you use Visual Studio 2003 and framework 1.1 it it
v1.1.4322

3) Restart IIS.

4) Now the ASPX pages should work fine and you also should be able to create
new ASP.NET web projects.

"Shane O'Keeffe" <sh**********@hotmail.com> wrote in message
news:ae**************************@posting.google.c om...
Hi,

I am getting the following error message when I attempt to create a
new ASP.NET (C#) web application:

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

I can open existing ASP.NET projects and launch/debug them without any
problem. I can also browse them directly i.e. without going through
VS.NET.

So far I have tried changing the permissions of IIS, modifying the VS
Developers group permissions, adding the ASPNET login to the VS
Developers group and I have also tried running "aspnet_regiis -i".

Can anyone please help me to resolve this problem without having to
re-build
the machine?

My configuration is as follows:

Windows 2000 SP4
Visual Studio 2003 v7.1.3088
.NET Framework 1.1.4322.573

Thanks in advance,

Shane O'Keeffe


Nov 18 '05 #2
Hi Ken,

Thanks for your reply. I followed the steps below but I am still
getting the same error message.

Any other suggestions?

Thanks,

Shane.

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message news:<Oh**************@TK2MSFTNGP12.phx.gbl>...
Hi Shane,

Here's a solution that someone posted previously. Could you let us know if
you try it and if it works for you?

Ken
Microsoft MVP [ASP.NET]

Resolution:

1) Delete the ASPNET account using Computer Management.

2) Recreate the ASPNET account by running: aspnet_regiis -I, from

C:\<winDir>\microsoft.net\framework\v1.1.4322 directory :

Click Start, and then click Run.

In the Open text box, type cmd, and then press ENTER.

At the command prompt, type the following, and then press ENTER:

"%windir%\Microsoft.NET\Framework\version\aspnet_r egiis.exe" -i

In this path, version represents the version number of the .NET Framework
that you installed on your server.

You must replace this placeholder with the actual version number when you
type the command. If you use Visual Studio 2003 and framework 1.1 it it
v1.1.4322

3) Restart IIS.

4) Now the ASPX pages should work fine and you also should be able to create
new ASP.NET web projects.

Nov 18 '05 #3
WHAT exactly is the error!

"Shane O'Keeffe" <sh**********@hotmail.com> wrote in message
news:ae**************************@posting.google.c om...
Hi Ken,

Thanks for your reply. I followed the steps below but I am still
getting the same error message.

Any other suggestions?

Thanks,

Shane.

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message

news:<Oh**************@TK2MSFTNGP12.phx.gbl>...
Hi Shane,

Here's a solution that someone posted previously. Could you let us know if you try it and if it works for you?

Ken
Microsoft MVP [ASP.NET]

Resolution:

1) Delete the ASPNET account using Computer Management.

2) Recreate the ASPNET account by running: aspnet_regiis -I, from

C:\<winDir>\microsoft.net\framework\v1.1.4322 directory :

Click Start, and then click Run.

In the Open text box, type cmd, and then press ENTER.

At the command prompt, type the following, and then press ENTER:

"%windir%\Microsoft.NET\Framework\version\aspnet_r egiis.exe" -i

In this path, version represents the version number of the .NET Framework that you installed on your server.

You must replace this placeholder with the actual version number when you type the command. If you use Visual Studio 2003 and framework 1.1 it it
v1.1.4322

3) Restart IIS.

4) Now the ASPX pages should work fine and you also should be able to create new ASP.NET web projects.

Nov 18 '05 #4
Ken,

I've identified the issue by comparing the IIS configuration of my
machine with another developer's workstation.

In the Properties secion of the 'Default Web Site' in the 'Home
Directory' tab the 'Application Name' settings was blanked out. All I
had to do was to click the 'Create' button and things returned to
normal.

I've no idea how this happened as I had not chaned my IIS config in
some months. However, I'm just glad to have it working.

Thanks for your help.

Regards,

Shane.
"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message news:<Oh**************@TK2MSFTNGP12.phx.gbl>...
Hi Shane,

Here's a solution that someone posted previously. Could you let us know if
you try it and if it works for you?

Ken
Microsoft MVP [ASP.NET]

Resolution:

1) Delete the ASPNET account using Computer Management.

2) Recreate the ASPNET account by running: aspnet_regiis -I, from

C:\<winDir>\microsoft.net\framework\v1.1.4322 directory :

Click Start, and then click Run.

In the Open text box, type cmd, and then press ENTER.

At the command prompt, type the following, and then press ENTER:

"%windir%\Microsoft.NET\Framework\version\aspnet_r egiis.exe" -i

In this path, version represents the version number of the .NET Framework
that you installed on your server.

You must replace this placeholder with the actual version number when you
type the command. If you use Visual Studio 2003 and framework 1.1 it it
v1.1.4322

3) Restart IIS.

4) Now the ASPX pages should work fine and you also should be able to create
new ASP.NET web projects.

Nov 18 '05 #5
Hi Shane,

Thanks for reporting back!

I'm sure your solution will help someone else.

I'll add it to my "weird stuff that can happen" file.

Ken

"Shane O'Keeffe" <sh**********@hotmail.com> wrote in message
news:ae**************************@posting.google.c om...
Ken,

I've identified the issue by comparing the IIS configuration of my
machine with another developer's workstation.

In the Properties secion of the 'Default Web Site' in the 'Home
Directory' tab the 'Application Name' settings was blanked out. All I
had to do was to click the 'Create' button and things returned to
normal.

I've no idea how this happened as I had not chaned my IIS config in
some months. However, I'm just glad to have it working.

Thanks for your help.

Regards,

Shane.


Nov 18 '05 #6
HI Shane,

Your solution solves my problem. I spend almost four hours on this internal
server error, after reading your solution(Click on create) i am able to solve
my problem. Thanks!!!

mahesh

"Ken Cox [Microsoft MVP]" wrote:
Hi Shane,

Thanks for reporting back!

I'm sure your solution will help someone else.

I'll add it to my "weird stuff that can happen" file.

Ken

"Shane O'Keeffe" <sh**********@hotmail.com> wrote in message
news:ae**************************@posting.google.c om...
Ken,

I've identified the issue by comparing the IIS configuration of my
machine with another developer's workstation.

In the Properties secion of the 'Default Web Site' in the 'Home
Directory' tab the 'Application Name' settings was blanked out. All I
had to do was to click the 'Create' button and things returned to
normal.

I've no idea how this happened as I had not chaned my IIS config in
some months. However, I'm just glad to have it working.

Thanks for your help.

Regards,

Shane.


Nov 19 '05 #7
Eli
Thanks for the info. I was having the same problem, and the steps listed
below did the trick.

"Ken Cox [Microsoft MVP]" wrote:
Hi Shane,

Here's a solution that someone posted previously. Could you let us know if
you try it and if it works for you?

Ken
Microsoft MVP [ASP.NET]

Resolution:

1) Delete the ASPNET account using Computer Management.

2) Recreate the ASPNET account by running: aspnet_regiis -I, from

C:\<winDir>\microsoft.net\framework\v1.1.4322 directory :

Click Start, and then click Run.

In the Open text box, type cmd, and then press ENTER.

At the command prompt, type the following, and then press ENTER:

"%windir%\Microsoft.NET\Framework\version\aspnet_r egiis.exe" -i

In this path, version represents the version number of the .NET Framework
that you installed on your server.

You must replace this placeholder with the actual version number when you
type the command. If you use Visual Studio 2003 and framework 1.1 it it
v1.1.4322

3) Restart IIS.

4) Now the ASPX pages should work fine and you also should be able to create
new ASP.NET web projects.

"Shane O'Keeffe" <sh**********@hotmail.com> wrote in message
news:ae**************************@posting.google.c om...
Hi,

I am getting the following error message when I attempt to create a
new ASP.NET (C#) web application:

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

I can open existing ASP.NET projects and launch/debug them without any
problem. I can also browse them directly i.e. without going through
VS.NET.

So far I have tried changing the permissions of IIS, modifying the VS
Developers group permissions, adding the ASPNET login to the VS
Developers group and I have also tried running "aspnet_regiis -i".

Can anyone please help me to resolve this problem without having to
re-build
the machine?

My configuration is as follows:

Windows 2000 SP4
Visual Studio 2003 v7.1.3088
.NET Framework 1.1.4322.573

Thanks in advance,

Shane O'Keeffe


Nov 19 '05 #8
Hello,
I tried this solution. Whereas before i was able to create new projects,
and not able to load exisitng ones, now i cannot do either. I am getting an
Internal Server error 500.

Any sugegstions?
Thanks,
Sonali

"Eli" wrote:
Thanks for the info. I was having the same problem, and the steps listed
below did the trick.

"Ken Cox [Microsoft MVP]" wrote:
Hi Shane,

Here's a solution that someone posted previously. Could you let us know if
you try it and if it works for you?

Ken
Microsoft MVP [ASP.NET]

Resolution:

1) Delete the ASPNET account using Computer Management.

2) Recreate the ASPNET account by running: aspnet_regiis -I, from

C:\<winDir>\microsoft.net\framework\v1.1.4322 directory :

Click Start, and then click Run.

In the Open text box, type cmd, and then press ENTER.

At the command prompt, type the following, and then press ENTER:

"%windir%\Microsoft.NET\Framework\version\aspnet_r egiis.exe" -i

In this path, version represents the version number of the .NET Framework
that you installed on your server.

You must replace this placeholder with the actual version number when you
type the command. If you use Visual Studio 2003 and framework 1.1 it it
v1.1.4322

3) Restart IIS.

4) Now the ASPX pages should work fine and you also should be able to create
new ASP.NET web projects.

"Shane O'Keeffe" <sh**********@hotmail.com> wrote in message
news:ae**************************@posting.google.c om...
Hi,

I am getting the following error message when I attempt to create a
new ASP.NET (C#) web application:

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

I can open existing ASP.NET projects and launch/debug them without any
problem. I can also browse them directly i.e. without going through
VS.NET.

So far I have tried changing the permissions of IIS, modifying the VS
Developers group permissions, adding the ASPNET login to the VS
Developers group and I have also tried running "aspnet_regiis -i".

Can anyone please help me to resolve this problem without having to
re-build
the machine?

My configuration is as follows:

Windows 2000 SP4
Visual Studio 2003 v7.1.3088
.NET Framework 1.1.4322.573

Thanks in advance,

Shane O'Keeffe


Nov 19 '05 #9

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

Similar topics

5
by: Tony Wright | last post by:
Hi, I am having a problem installing an msi for a web site. The error message I am getting is: "The specified path 'http://mipdev05/features/Fas2' is unavailable. The Internet Information...
6
by: DraguVaso | last post by:
Hi, In my application, on some given actions while debugging in Visual Studio, I suddenly get a "System.ComponentModel.Win32Exception was unhandled" Message="Error creating window handle."...
8
by: Kragen Sitaker | last post by:
ERROR: Cannot insert a duplicate key into unique index pg_class_relname_nsp_index We've been getting this error in our application every once in a while --- typically once an hour to once a day,...
11
by: Wolfgang Kaml | last post by:
I am not sure if this is more of an expert question, but I am sure that they are out there. I'd like to setup a general application or bin directory on my Win2003.Net Server that will hold some...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
12
by: Brett Robichaud | last post by:
Is anyone familiar with this error? I have this running just fine on my local machine but when I pushed it out to our development server I get this error. I have no idea what it is saying. Any...
0
by: Peter D. Dunlap | last post by:
I have a number of web sites on my 2003 server, each of the independent sites (i.e., not subdirectories of the localhost site). The way I have always set these up in the past is: 1. Create a...
8
by: jcrouse | last post by:
I am using the following code to trap errors in a sub routine: Try Executable code Catch ex As Exception Dim strInputE As String = Application.StartupPath & "\Error.txt" Dim srE As...
5
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As...
0
by: Herman Jones | last post by:
I'm getting the following error when I build a Class Library project: Embedding manifest... Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. It happens with...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.