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_reg iis -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 8 1604
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>\mic rosoft.net\fram ework\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%\Micro soft.NET\Framew ork\version\asp net_regiis.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**********@h otmail.com> wrote in message
news:ae******** *************** ***@posting.goo gle.com... 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_reg iis -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
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******* *******@TK2MSFT NGP12.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>\mic rosoft.net\fram ework\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%\Micro soft.NET\Framew ork\version\asp net_regiis.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.
WHAT exactly is the error!
"Shane O'Keeffe" <sh**********@h otmail.com> wrote in message
news:ae******** *************** ***@posting.goo gle.com... 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******* *******@TK2MSFT NGP12.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>\mic rosoft.net\fram ework\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%\Micro soft.NET\Framew ork\version\asp net_regiis.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.
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******* *******@TK2MSFT NGP12.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>\mic rosoft.net\fram ework\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%\Micro soft.NET\Framew ork\version\asp net_regiis.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.
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**********@h otmail.com> wrote in message
news:ae******** *************** ***@posting.goo gle.com... 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.
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**********@h otmail.com> wrote in message news:ae******** *************** ***@posting.goo gle.com... 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.
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>\mic rosoft.net\fram ework\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%\Micro soft.NET\Framew ork\version\asp net_regiis.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**********@h otmail.com> wrote in message news:ae******** *************** ***@posting.goo gle.com... 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_reg iis -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
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>\mic rosoft.net\fram ework\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%\Micro soft.NET\Framew ork\version\asp net_regiis.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**********@h otmail.com> wrote in message news:ae******** *************** ***@posting.goo gle.com... 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_reg iis -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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 Server might not be running or the path
exists and is redirected to another machine. Please check the status
of this virtual directory in the Internet Services Manager."
|
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." exception.
The problem is that this exception isn't raised somewhere in a method, so it
just shows up, and it causes the application to shut down.
Is there anyway how to catch this kinds of exceptions? Can I put somewhere a
|
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, although it varies over time.
The daemon that gets the error exits and restarts a few seconds later.
Usually it's fine then, but sometimes the error happens three or more
times in a row.
Occasionally, instead, we get "ERROR: Cannot insert a...
|
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 useful utils that more pages on that server can
use.
As an example, I have created a Page Counter class that opens an Access .mdb
file, counts the current entries for that page, and adds a new entry with
some information regarding the current...
|
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. I created the websetup and
built the MSI, have the bundled version. Copied to webserver and ran
Websetup.msi. Said I had to remove old version, which I did, then reran
WebSetup.msi and keeps giving me this error. "The installer was interrupted...
| |
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 clues?
-Brett-
Server Error in '/' Application.
----------------------------------------------------------------------------
----
|
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 directory "MySiteName" and a subdirectory "Site".
2. Share the "Site" subdirectory is "MySiteNameSite$", and give the
local administrators group full access to the share. (The login I run
under is a member of that group.)
|
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 StreamWriter = File.AppendText(strInputE)
srE.WriteLine(vbCr)
srE.WriteLine(vbCr)
srE.WriteLine(DateTime.Now)
|
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 New System.Diagnostics.Process
'p.Start(MDEPDirStr & "macrun.exe", sPPTOut)
p.Start("C:\WINDOWS\SYSTEM32\CALC.EXE")
'p.Start("C:\WINDOWS\SYSTEM32\macrun.exe", sPPTOut)
|
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 every the of C++ project I try to build. Not just Class
Libraries, but a plain Windows Form Application as well.
I've tried creating new projects with nothing but shell built by the Wizard,
but I still get the error.
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |