Hi all,
I have 2 dev. machines, the 1st is Win 2000 with .NET 7.0 and the 2nd is XP
Pro with .NET 2003. My Web Server is Win 2000 Server with IIS 5.0.
I can create a new project on my test server from the 1st machine, but I
receive an 'HTTP/1.1 500 Internal Server error" from my Web Server.
My userid/password are the same on all 3 machines.
Any ideas?
Thanks,
Marc Miller
Commonwealth Telephone Enterprises
Wilkes Barre, PA 9 2157
Marc,
Do you have any .aspx pages already on that server that you can test
against? What I believe is likely happening is that you are receiving a
500 when browsing .aspx pages. The reason that shows up when you are
creating projects is due to the way that Visual Studio .NET 2003 handles
project creation.
When you create a new project with Visual Studio .NET 2003, we try to
browse to a non-existant file called get_aspx_ver.aspx. What we expect to
get back is a 404, but included in that 404 is the version of ASP.NET
that's running on the server. We can then determine whether or not you are
running ASP.NET 1.1.
In your case, I'll bet that there's something wrong with ASP.NET on your
machine and you're getting back a 500 at that point. A look at the IIS
logs should confirm what's going on.
Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET ja******@online.microsoft.com
This post is provided as-is with no warranties and confers no rights.
-------------------- Reply-To: "Marc Miller" <mm*****@epix.net> From: "Marc Miller" <mm*****@epix.net> Subject: Can't create New Proj. with XP/.NET 2003 Date: Wed, 10 Dec 2003 09:23:23 -0500 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <Om**************@TK2MSFTNGP09.phx.gbl> Newsgroups: microsoft.public.dotnet.framework.aspnet NNTP-Posting-Host: inet1.ct-enterprises.com 209.74.63.71 Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
..phx.gbl!TK2MSFTNGP09.phx.gblXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:195531 X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
Hi all,
I have 2 dev. machines, the 1st is Win 2000 with .NET 7.0 and the 2nd is XP Pro with .NET 2003. My Web Server is Win 2000 Server with IIS 5.0.
I can create a new project on my test server from the 1st machine, but I receive an 'HTTP/1.1 500 Internal Server error" from my Web Server.
My userid/password are the same on all 3 machines.
Any ideas?
Thanks, Marc Miller Commonwealth Telephone Enterprises Wilkes Barre, PA
I'm having the same problem. I have a 2000 server
with .NET Framework 1.1 and I have VS.NET 2003 on another
dev box running XP. From the dev box to the server, I'm
getting the "HTTP/1.1 500" and the IIS logs do show the
problem you noted - the call to get_aspx_ver.aspx
returned 500.
Any other ideas? I've reinstalled the .NET 1.1 framework
on the server. -----Original Message----- Marc,
Do you have any .aspx pages already on that server that
you can testagainst? What I believe is likely happening is that you
are receiving a500 when browsing .aspx pages. The reason that shows up
when you arecreating projects is due to the way that Visual
Studio .NET 2003 handlesproject creation.
When you create a new project with Visual Studio .NET
2003, we try tobrowse to a non-existant file called get_aspx_ver.aspx.
What we expect toget back is a 404, but included in that 404 is the
version of ASP.NETthat's running on the server. We can then determine
whether or not you arerunning ASP.NET 1.1.
In your case, I'll bet that there's something wrong with
ASP.NET on yourmachine and you're getting back a 500 at that point. A
look at the IISlogs should confirm what's going on.
Jim Cheshire, MCSE, MCSD [MSFT] Developer Support ASP.NET ja******@online.microsoft.com
This post is provided as-is with no warranties and
confers no rights. --------------------Reply-To: "Marc Miller" <mm*****@epix.net> From: "Marc Miller" <mm*****@epix.net> Subject: Can't create New Proj. with XP/.NET 2003 Date: Wed, 10 Dec 2003 09:23:23 -0500 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <Om**************@TK2MSFTNGP09.phx.gbl> Newsgroups: microsoft.public.dotnet.framework.aspnet NNTP-Posting-Host: inet1.ct-enterprises.com 209.74.63.71 Path:cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!
TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gblXref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.aspnet:195531X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
Hi all,
I have 2 dev. machines, the 1st is Win 2000 with .NET
7.0 and the 2nd is XPPro with .NET 2003. My Web Server is Win 2000 Server
with IIS 5.0. I can create a new project on my test server from the
1st machine, but Ireceive an 'HTTP/1.1 500 Internal Server error" from
my Web Server. My userid/password are the same on all 3 machines.
Any ideas?
Thanks, Marc Miller Commonwealth Telephone Enterprises Wilkes Barre, PA
.
Dale,
What you need to do is troubleshoot why ASP.NET is not working on the site.
I would try browsing to a simple inline .aspx page and see what the result
it. Turn off Friendly HTTP Error Messages in the browser first.
Here is a simple page you can use. Just copy and paste this code into
Notepad and save as who.aspx. Copy it to your Web server content area and
then browse to it.
<%@ Page Language="C#" %>
<script runat="server">
// Insert page code here
//
private void Page_Load(object sender, System.EventArgs e) {
lblWho.Text = "ASP.NET running as : " +
System.Security.Principal.WindowsIdentity.GetCurre nt().Name;
}
</script>
<html>
<head>
</head>
<body>
<form runat="server">
<asp:Label id="lblWho" runat="server">Label</asp:Label>
<!-- Insert content here -->
</form>
</body>
</html>
Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET ja******@online.microsoft.com
This post is provided as-is with no warranties and confers no rights.
-------------------- Content-Class: urn:content-classes:message From: "Dale Binder" <da*********@wpafb.af.mil> Sender: "Dale Binder" <da*********@wpafb.af.mil> References: <Om**************@TK2MSFTNGP09.phx.gbl>
<uJ**************@cpmsftngxa07.phx.gbl>Subject: RE: Can't create New Proj. with XP/.NET 2003 Date: Wed, 10 Dec 2003 10:59:56 -0800 Lines: 95 Message-ID: <03****************************@phx.gbl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft CDO for Windows 2000 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Thread-Index: AcO/T818h0r419sdRH2J+eHQLotQKA== Newsgroups: microsoft.public.dotnet.framework.aspnet Path: cpmsftngxa07.phx.gbl Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:195608 NNTP-Posting-Host: tk2msftngxa09.phx.gbl 10.40.1.161 X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
I'm having the same problem. I have a 2000 server with .NET Framework 1.1 and I have VS.NET 2003 on another dev box running XP. From the dev box to the server, I'm getting the "HTTP/1.1 500" and the IIS logs do show the problem you noted - the call to get_aspx_ver.aspx returned 500.
Any other ideas? I've reinstalled the .NET 1.1 framework on the server.
-----Original Message----- Marc,
Do you have any .aspx pages already on that server that you can testagainst? What I believe is likely happening is that you are receiving a500 when browsing .aspx pages. The reason that shows up when you arecreating projects is due to the way that Visual Studio .NET 2003 handlesproject creation.
When you create a new project with Visual Studio .NET 2003, we try tobrowse to a non-existant file called get_aspx_ver.aspx. What we expect toget back is a 404, but included in that 404 is the version of ASP.NETthat's running on the server. We can then determine whether or not you arerunning ASP.NET 1.1.
In your case, I'll bet that there's something wrong with ASP.NET on yourmachine and you're getting back a 500 at that point. A look at the IISlogs should confirm what's going on.
Jim Cheshire, MCSE, MCSD [MSFT] Developer Support ASP.NET ja******@online.microsoft.com
This post is provided as-is with no warranties and confers no rights. --------------------Reply-To: "Marc Miller" <mm*****@epix.net> From: "Marc Miller" <mm*****@epix.net> Subject: Can't create New Proj. with XP/.NET 2003 Date: Wed, 10 Dec 2003 09:23:23 -0500 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <Om**************@TK2MSFTNGP09.phx.gbl> Newsgroups: microsoft.public.dotnet.framework.aspnet NNTP-Posting-Host: inet1.ct-enterprises.com 209.74.63.71 Path: cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!
TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gblXref: cpmsftngxa07.phx.gblmicrosoft.public.dotnet.framework.aspnet:195531X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
Hi all,
I have 2 dev. machines, the 1st is Win 2000 with .NET7.0 and the 2nd is XPPro with .NET 2003. My Web Server is Win 2000 Serverwith IIS 5.0. I can create a new project on my test server from the1st machine, but Ireceive an 'HTTP/1.1 500 Internal Server error" frommy Web Server. My userid/password are the same on all 3 machines.
Any ideas?
Thanks, Marc Miller Commonwealth Telephone Enterprises Wilkes Barre, PA
.
Jim,
1. Nothing ever showed in my system32 logs that had today's date.
2. I've checked the server's ADD/Remove programs and it shows only Framework
1.1 installed.
3. Created the who.aspx page and placed it in the server's inetpub/wwwroot
and got Server Application Unavailable.
4. Placed the who.aspx in a folder under inetpub/wwwroot and got: ASP.NET
running as SERVERNAME/ASPNET.
As an added note, I can create a project from a 3rd machine (Win 2000 /
..NET 7.0)
then open it and convert it on the XP Machine with .NET 2003 and run and
debug it from there.
But I still cannot create a project from the XP machine.
Thanks,
Marc Miller
"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:Rc**************@cpmsftngxa07.phx.gbl... Dale,
What you need to do is troubleshoot why ASP.NET is not working on the
site. I would try browsing to a simple inline .aspx page and see what the
result it. Turn off Friendly HTTP Error Messages in the browser first.
Here is a simple page you can use. Just copy and paste this code into Notepad and save as who.aspx. Copy it to your Web server content area and then browse to it.
<%@ Page Language="C#" %> <script runat="server">
// Insert page code here // private void Page_Load(object sender, System.EventArgs e) { lblWho.Text = "ASP.NET running as : " + System.Security.Principal.WindowsIdentity.GetCurre nt().Name; }
</script> <html> <head> </head> <body> <form runat="server"> <asp:Label id="lblWho" runat="server">Label</asp:Label> <!-- Insert content here --> </form> </body> </html>
Jim Cheshire, MCSE, MCSD [MSFT] Developer Support ASP.NET ja******@online.microsoft.com
This post is provided as-is with no warranties and confers no rights.
--------------------Content-Class: urn:content-classes:message From: "Dale Binder" <da*********@wpafb.af.mil> Sender: "Dale Binder" <da*********@wpafb.af.mil> References: <Om**************@TK2MSFTNGP09.phx.gbl> <uJ**************@cpmsftngxa07.phx.gbl>Subject: RE: Can't create New Proj. with XP/.NET 2003 Date: Wed, 10 Dec 2003 10:59:56 -0800 Lines: 95 Message-ID: <03****************************@phx.gbl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft CDO for Windows 2000 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Thread-Index: AcO/T818h0r419sdRH2J+eHQLotQKA== Newsgroups: microsoft.public.dotnet.framework.aspnet Path: cpmsftngxa07.phx.gbl Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.aspnet:195608NNTP-Posting-Host: tk2msftngxa09.phx.gbl 10.40.1.161 X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
I'm having the same problem. I have a 2000 server with .NET Framework 1.1 and I have VS.NET 2003 on another dev box running XP. From the dev box to the server, I'm getting the "HTTP/1.1 500" and the IIS logs do show the problem you noted - the call to get_aspx_ver.aspx returned 500.
Any other ideas? I've reinstalled the .NET 1.1 framework on the server.
-----Original Message----- Marc,
Do you have any .aspx pages already on that server that you can testagainst? What I believe is likely happening is that you are receiving a500 when browsing .aspx pages. The reason that shows up when you arecreating projects is due to the way that Visual Studio .NET 2003 handlesproject creation.
When you create a new project with Visual Studio .NET 2003, we try tobrowse to a non-existant file called get_aspx_ver.aspx. What we expect toget back is a 404, but included in that 404 is the version of ASP.NETthat's running on the server. We can then determine whether or not you arerunning ASP.NET 1.1.
In your case, I'll bet that there's something wrong with ASP.NET on yourmachine and you're getting back a 500 at that point. A look at the IISlogs should confirm what's going on.
Jim Cheshire, MCSE, MCSD [MSFT] Developer Support ASP.NET ja******@online.microsoft.com
This post is provided as-is with no warranties and confers no rights. -------------------- Reply-To: "Marc Miller" <mm*****@epix.net> From: "Marc Miller" <mm*****@epix.net> Subject: Can't create New Proj. with XP/.NET 2003 Date: Wed, 10 Dec 2003 09:23:23 -0500 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <Om**************@TK2MSFTNGP09.phx.gbl> Newsgroups: microsoft.public.dotnet.framework.aspnet NNTP-Posting-Host: inet1.ct-enterprises.com 209.74.63.71 Path: cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!
TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:195531X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
Hi all,
I have 2 dev. machines, the 1st is Win 2000 with .NET 7.0 and the 2nd is XPPro with .NET 2003. My Web Server is Win 2000 Server with IIS 5.0. I can create a new project on my test server from the
1st machine, but Ireceive an 'HTTP/1.1 500 Internal Server error" from my Web Server. My userid/password are the same on all 3 machines.
Any ideas?
Thanks, Marc Miller Commonwealth Telephone Enterprises Wilkes Barre, PA
.
Marc,
Anything in the Application Event Viewer log?
Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET ja******@online.microsoft.com
This post is provided as-is with no warranties and confers no rights.
-------------------- Reply-To: "Marc Miller" <mm*****@epix.net> From: "Marc Miller" <mm*****@epix.net> References: <Om**************@TK2MSFTNGP09.phx.gbl>
<uJ**************@cpmsftngxa07.phx.gbl>
<03****************************@phx.gbl>
<Rc**************@cpmsftngxa07.phx.gbl>Subject: Re: Can't create New Proj. with XP/.NET 2003 Date: Wed, 10 Dec 2003 15:49:03 -0500 Lines: 190 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <OR**************@TK2MSFTNGP10.phx.gbl> Newsgroups: microsoft.public.dotnet.framework.aspnet NNTP-Posting-Host: inet1.ct-enterprises.com 209.74.63.71 Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!cpmsftng xa09.phx.gbl!TK2MSFTNGP08.
phx.gbl!TK2MSFTNGP10.phx.gblXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:195635 X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
Jim,
1. Nothing ever showed in my system32 logs that had today's date. 2. I've checked the server's ADD/Remove programs and it shows only
Framework1.1 installed. 3. Created the who.aspx page and placed it in the server's inetpub/wwwroot and got Server Application Unavailable. 4. Placed the who.aspx in a folder under inetpub/wwwroot and got: ASP.NET running as SERVERNAME/ASPNET.
As an added note, I can create a project from a 3rd machine (Win 2000 / .NET 7.0) then open it and convert it on the XP Machine with .NET 2003 and run and debug it from there. But I still cannot create a project from the XP machine.
Thanks, Marc Miller
"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message news:Rc**************@cpmsftngxa07.phx.gbl... Dale,
What you need to do is troubleshoot why ASP.NET is not working on the site. I would try browsing to a simple inline .aspx page and see what the result it. Turn off Friendly HTTP Error Messages in the browser first.
Here is a simple page you can use. Just copy and paste this code into Notepad and save as who.aspx. Copy it to your Web server content area
and then browse to it.
<%@ Page Language="C#" %> <script runat="server">
// Insert page code here // private void Page_Load(object sender, System.EventArgs e) { lblWho.Text = "ASP.NET running as : " + System.Security.Principal.WindowsIdentity.GetCurre nt().Name; }
</script> <html> <head> </head> <body> <form runat="server"> <asp:Label id="lblWho" runat="server">Label</asp:Label> <!-- Insert content here --> </form> </body> </html>
Jim Cheshire, MCSE, MCSD [MSFT] Developer Support ASP.NET ja******@online.microsoft.com
This post is provided as-is with no warranties and confers no rights.
-------------------- >Content-Class: urn:content-classes:message >From: "Dale Binder" <da*********@wpafb.af.mil> >Sender: "Dale Binder" <da*********@wpafb.af.mil> >References: <Om**************@TK2MSFTNGP09.phx.gbl> <uJ**************@cpmsftngxa07.phx.gbl> >Subject: RE: Can't create New Proj. with XP/.NET 2003 >Date: Wed, 10 Dec 2003 10:59:56 -0800 >Lines: 95 >Message-ID: <03****************************@phx.gbl> >MIME-Version: 1.0 >Content-Type: text/plain; > charset="iso-8859-1" >Content-Transfer-Encoding: 7bit >X-Newsreader: Microsoft CDO for Windows 2000 >X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 >Thread-Index: AcO/T818h0r419sdRH2J+eHQLotQKA== >Newsgroups: microsoft.public.dotnet.framework.aspnet >Path: cpmsftngxa07.phx.gbl >Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:195608 >NNTP-Posting-Host: tk2msftngxa09.phx.gbl 10.40.1.161 >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet > >I'm having the same problem. I have a 2000 server >with .NET Framework 1.1 and I have VS.NET 2003 on another >dev box running XP. From the dev box to the server, I'm >getting the "HTTP/1.1 500" and the IIS logs do show the >problem you noted - the call to get_aspx_ver.aspx >returned 500. > >Any other ideas? I've reinstalled the .NET 1.1 framework >on the server. > > >>-----Original Message----- >>Marc, >> >>Do you have any .aspx pages already on that server that >you can test >>against? What I believe is likely happening is that you >are receiving a >>500 when browsing .aspx pages. The reason that shows up >when you are >>creating projects is due to the way that Visual >Studio .NET 2003 handles >>project creation. >> >>When you create a new project with Visual Studio .NET >2003, we try to >>browse to a non-existant file called get_aspx_ver.aspx. >What we expect to >>get back is a 404, but included in that 404 is the >version of ASP.NET >>that's running on the server. We can then determine >whether or not you are >>running ASP.NET 1.1. >> >>In your case, I'll bet that there's something wrong with >ASP.NET on your >>machine and you're getting back a 500 at that point. A >look at the IIS >>logs should confirm what's going on. >> >>Jim Cheshire, MCSE, MCSD [MSFT] >>Developer Support >>ASP.NET >>ja******@online.microsoft.com >> >>This post is provided as-is with no warranties and >confers no rights. >> >>-------------------- >>>Reply-To: "Marc Miller" <mm*****@epix.net> >>>From: "Marc Miller" <mm*****@epix.net> >>>Subject: Can't create New Proj. with XP/.NET 2003 >>>Date: Wed, 10 Dec 2003 09:23:23 -0500 >>>Lines: 18 >>>X-Priority: 3 >>>X-MSMail-Priority: Normal >>>X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 >>>X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 >>>Message-ID: <Om**************@TK2MSFTNGP09.phx.gbl> >>>Newsgroups: microsoft.public.dotnet.framework.aspnet >>>NNTP-Posting-Host: inet1.ct-enterprises.com 209.74.63.71 >>>Path: >>cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl! >TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08 >>.phx.gbl!TK2MSFTNGP09.phx.gbl >>>Xref: cpmsftngxa07.phx.gbl >microsoft.public.dotnet.framework.aspnet:195531 >>>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet >>> >>>Hi all, >>> >>>I have 2 dev. machines, the 1st is Win 2000 with .NET >7.0 and the 2nd is XP >>>Pro with .NET 2003. My Web Server is Win 2000 Server >with IIS 5.0. >>> >>>I can create a new project on my test server from the >1st machine, but I >>>receive an 'HTTP/1.1 500 Internal Server error" from >my Web Server. >>> >>>My userid/password are the same on all 3 machines. >>> >>>Any ideas? >>> >>>Thanks, >>>Marc Miller >>>Commonwealth Telephone Enterprises >>>Wilkes Barre, PA >>> >>> >>> >> >>. >> >
Jim,
Nothing that I see which would pertain to dotnet or IIS. I think I am going
to re-build
the Win 2000 server tho, I'm having troubles with SQL Server too and maybe a
re-build
will clear things up.
Marc
PS
"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:vt**************@cpmsftngxa07.phx.gbl... Marc,
Anything in the Application Event Viewer log?
Jim Cheshire, MCSE, MCSD [MSFT] Developer Support ASP.NET ja******@online.microsoft.com
This post is provided as-is with no warranties and confers no rights.
--------------------Reply-To: "Marc Miller" <mm*****@epix.net> From: "Marc Miller" <mm*****@epix.net> References: <Om**************@TK2MSFTNGP09.phx.gbl> <uJ**************@cpmsftngxa07.phx.gbl> <03****************************@phx.gbl> <Rc**************@cpmsftngxa07.phx.gbl>Subject: Re: Can't create New Proj. with XP/.NET 2003 Date: Wed, 10 Dec 2003 15:49:03 -0500 Lines: 190 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <OR**************@TK2MSFTNGP10.phx.gbl> Newsgroups: microsoft.public.dotnet.framework.aspnet NNTP-Posting-Host: inet1.ct-enterprises.com 209.74.63.71 Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!cpmsftng xa09.phx.gbl!TK2MSFTNGP08. phx.gbl!TK2MSFTNGP10.phx.gblXref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.aspnet:195635X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
Jim,
1. Nothing ever showed in my system32 logs that had today's date. 2. I've checked the server's ADD/Remove programs and it shows only Framework1.1 installed. 3. Created the who.aspx page and placed it in the server's
inetpub/wwwrootand got Server Application Unavailable. 4. Placed the who.aspx in a folder under inetpub/wwwroot and got: ASP.NET running as SERVERNAME/ASPNET.
As an added note, I can create a project from a 3rd machine (Win 2000 / .NET 7.0) then open it and convert it on the XP Machine with .NET 2003 and run and debug it from there. But I still cannot create a project from the XP machine.
Thanks, Marc Miller
"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message news:Rc**************@cpmsftngxa07.phx.gbl... Dale,
What you need to do is troubleshoot why ASP.NET is not working on the site. I would try browsing to a simple inline .aspx page and see what the result it. Turn off Friendly HTTP Error Messages in the browser first.
Here is a simple page you can use. Just copy and paste this code into Notepad and save as who.aspx. Copy it to your Web server content area and then browse to it.
<%@ Page Language="C#" %> <script runat="server">
// Insert page code here // private void Page_Load(object sender, System.EventArgs e) { lblWho.Text = "ASP.NET running as : " + System.Security.Principal.WindowsIdentity.GetCurre nt().Name; }
</script> <html> <head> </head> <body> <form runat="server"> <asp:Label id="lblWho" runat="server">Label</asp:Label> <!-- Insert content here --> </form> </body> </html>
Jim Cheshire, MCSE, MCSD [MSFT] Developer Support ASP.NET ja******@online.microsoft.com
This post is provided as-is with no warranties and confers no rights.
-------------------- >Content-Class: urn:content-classes:message >From: "Dale Binder" <da*********@wpafb.af.mil> >Sender: "Dale Binder" <da*********@wpafb.af.mil> >References: <Om**************@TK2MSFTNGP09.phx.gbl> <uJ**************@cpmsftngxa07.phx.gbl> >Subject: RE: Can't create New Proj. with XP/.NET 2003 >Date: Wed, 10 Dec 2003 10:59:56 -0800 >Lines: 95 >Message-ID: <03****************************@phx.gbl> >MIME-Version: 1.0 >Content-Type: text/plain; > charset="iso-8859-1" >Content-Transfer-Encoding: 7bit >X-Newsreader: Microsoft CDO for Windows 2000 >X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 >Thread-Index: AcO/T818h0r419sdRH2J+eHQLotQKA== >Newsgroups: microsoft.public.dotnet.framework.aspnet >Path: cpmsftngxa07.phx.gbl >Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.aspnet:195608 >NNTP-Posting-Host: tk2msftngxa09.phx.gbl 10.40.1.161 >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet > >I'm having the same problem. I have a 2000 server >with .NET Framework 1.1 and I have VS.NET 2003 on another >dev box running XP. From the dev box to the server, I'm >getting the "HTTP/1.1 500" and the IIS logs do show the >problem you noted - the call to get_aspx_ver.aspx >returned 500. > >Any other ideas? I've reinstalled the .NET 1.1 framework >on the server. > > >>-----Original Message----- >>Marc, >> >>Do you have any .aspx pages already on that server that >you can test >>against? What I believe is likely happening is that you >are receiving a >>500 when browsing .aspx pages. The reason that shows up >when you are >>creating projects is due to the way that Visual >Studio .NET 2003 handles >>project creation. >> >>When you create a new project with Visual Studio .NET >2003, we try to >>browse to a non-existant file called get_aspx_ver.aspx. >What we expect to >>get back is a 404, but included in that 404 is the >version of ASP.NET >>that's running on the server. We can then determine >whether or not you are >>running ASP.NET 1.1. >> >>In your case, I'll bet that there's something wrong with >ASP.NET on your >>machine and you're getting back a 500 at that point. A >look at the IIS >>logs should confirm what's going on. >> >>Jim Cheshire, MCSE, MCSD [MSFT] >>Developer Support >>ASP.NET >>ja******@online.microsoft.com >> >>This post is provided as-is with no warranties and >confers no rights. >> >>-------------------- >>>Reply-To: "Marc Miller" <mm*****@epix.net> >>>From: "Marc Miller" <mm*****@epix.net> >>>Subject: Can't create New Proj. with XP/.NET 2003 >>>Date: Wed, 10 Dec 2003 09:23:23 -0500 >>>Lines: 18 >>>X-Priority: 3 >>>X-MSMail-Priority: Normal >>>X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 >>>X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 >>>Message-ID: <Om**************@TK2MSFTNGP09.phx.gbl> >>>Newsgroups: microsoft.public.dotnet.framework.aspnet >>>NNTP-Posting-Host: inet1.ct-enterprises.com 209.74.63.71 >>>Path: >>cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl! >TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08 >>.phx.gbl!TK2MSFTNGP09.phx.gbl >>>Xref: cpmsftngxa07.phx.gbl >microsoft.public.dotnet.framework.aspnet:195531 >>>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet >>> >>>Hi all, >>> >>>I have 2 dev. machines, the 1st is Win 2000 with .NET >7.0 and the 2nd is XP >>>Pro with .NET 2003. My Web Server is Win 2000 Server >with IIS 5.0. >>> >>>I can create a new project on my test server from the >1st machine, but I >>>receive an 'HTTP/1.1 500 Internal Server error" from >my Web Server. >>> >>>My userid/password are the same on all 3 machines. >>> >>>Any ideas? >>> >>>Thanks, >>>Marc Miller >>>Commonwealth Telephone Enterprises >>>Wilkes Barre, PA >>> >>> >>> >> >>. >> >
Jim:
Thanks for the info. I created who.aspx and on the
server I tried to access it from the browser with
friendly messages off. Here is the output below:
Dale
Server Error in '/' Application.
----------------------------------------------------------
----------------------
Access denied to 'D:\Inetpub\wwwroot\'. Failed to start
monitoring file changes.
Description: An unhandled exception occurred during the
execution of the current web request. Please review the
stack trace for more information about the error and
where it originated in the code.
Exception Details: System.Web.HttpException: Access
denied to 'D:\Inetpub\wwwroot\'. Failed to start
monitoring file changes.
Source Error:
An unhandled exception was generated during the execution
of the current web request. Information regarding the
origin and location of the exception can be identified
using the exception stack trace below.
Stack Trace:
[HttpException (0x80070005): Access denied
to 'D:\Inetpub\wwwroot\'. Failed to start monitoring file
changes.]
System.Web.DirMonCompletion..ctor(DirectoryMonitor
dirMon, String dir, Boolean watchSubtree, UInt32
notifyFilter) +140
System.Web.DirectoryMonitor.StartMonitoring() +42
System.Web.DirectoryMonitor.StartMonitoringFile(St ring
file, FileChangeEventHandler callback, String alias) +154
System.Web.FileChangesMonitor.StartMonitoringDirec toryRena
mesAndBinDirectory(String dir, FileChangeEventHandler
callback) +278
System.Web.HttpRuntime.FirstRequestInit(HttpContex t
context) +331
[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContex t
context) +965
System.Web.HttpRuntime.ProcessRequestInternal
(HttpWorkerRequest wr) +128
----------------------------------------------------------
----------------------
Version Information: Microsoft .NET Framework
Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 >"Jim Cheshire [MSFT]" <ja******@online.microsoft.com>
wrote in message >news:Rc**************@cpmsftngxa07.phx.gbl... >> Dale, >> >> What you need to do is troubleshoot why ASP.NET is
not working on the >site. >> I would try browsing to a simple inline .aspx page
and see what the >result >> it. Turn off Friendly HTTP Error Messages in the
browser first. >> >> Here is a simple page you can use. Just copy and
paste this code into >> Notepad and save as who.aspx. Copy it to your Web
server content area and >> then browse to it. >> >> <%@ Page Language="C#" %> >> <script runat="server"> >> >> // Insert page code here >> // >> private void Page_Load(object sender,
System.EventArgs e) { >> lblWho.Text = "ASP.NET running as : " + >> System.Security.Principal.WindowsIdentity.GetCurre nt
().Name; >> } >> >> </script> >> <html> >> <head> >> </head> >> <body> >> <form runat="server"> >> <asp:Label id="lblWho"
runat="server">Label</asp:Label> >> <!-- Insert content here --> >> </form> >> </body> >> </html> >> >> Jim Cheshire, MCSE, MCSD [MSFT] >> Developer Support >> ASP.NET >> ja******@online.microsoft.com >> >> This post is provided as-is with no warranties and
confers no rights. >> >> >> -------------------- >> >Content-Class: urn:content-classes:message >> >From: "Dale Binder" <da*********@wpafb.af.mil> >> >Sender: "Dale Binder" <da*********@wpafb.af.mil> >> >References: <Om**************@TK2MSFTNGP09.phx.gbl> >> <uJ**************@cpmsftngxa07.phx.gbl> >> >Subject: RE: Can't create New Proj. with XP/.NET
2003 >> >Date: Wed, 10 Dec 2003 10:59:56 -0800 >> >Lines: 95 >> >Message-ID: <032b01c3bf4f$cd7c41a0
$a*******@phx.gbl> >> >MIME-Version: 1.0 >> >Content-Type: text/plain; >> > charset="iso-8859-1" >> >Content-Transfer-Encoding: 7bit >> >X-Newsreader: Microsoft CDO for Windows 2000 >> >X-MimeOLE: Produced By Microsoft MimeOLE
V5.50.4910.0300 >> >Thread-Index: AcO/T818h0r419sdRH2J+eHQLotQKA== >> >Newsgroups:
microsoft.public.dotnet.framework.aspnet >> >Path: cpmsftngxa07.phx.gbl >> >Xref: cpmsftngxa07.phx.gbl >microsoft.public.dotnet.framework.aspnet:195608 >> >NNTP-Posting-Host: tk2msftngxa09.phx.gbl
10.40.1.161 >> >X-Tomcat-NG:
microsoft.public.dotnet.framework.aspnet >> > >> >I'm having the same problem. I have a 2000 server >> >with .NET Framework 1.1 and I have VS.NET 2003 on
another >> >dev box running XP. From the dev box to the
server, I'm >> >getting the "HTTP/1.1 500" and the IIS logs do
show the >> >problem you noted - the call to get_aspx_ver.aspx >> >returned 500. >> > >> >Any other ideas? I've reinstalled the .NET 1.1
framework >> >on the server. >> > >> > >> >>-----Original Message----- >> >>Marc, >> >> >> >>Do you have any .aspx pages already on that
server that >> >you can test >> >>against? What I believe is likely happening is
that you >> >are receiving a >> >>500 when browsing .aspx pages. The reason that
shows up >> >when you are >> >>creating projects is due to the way that Visual >> >Studio .NET 2003 handles >> >>project creation. >> >> >> >>When you create a new project with Visual
Studio .NET >> >2003, we try to >> >>browse to a non-existant file called
get_aspx_ver.aspx. >> >What we expect to >> >>get back is a 404, but included in that 404 is the >> >version of ASP.NET >> >>that's running on the server. We can then
determine >> >whether or not you are >> >>running ASP.NET 1.1. >> >> >> >>In your case, I'll bet that there's something
wrong with >> >ASP.NET on your >> >>machine and you're getting back a 500 at that
point. A >> >look at the IIS >> >>logs should confirm what's going on. >> >> >> >>Jim Cheshire, MCSE, MCSD [MSFT] >> >>Developer Support >> >>ASP.NET >> >>ja******@online.microsoft.com >> >> >> >>This post is provided as-is with no warranties and >> >confers no rights. >> >> >> >>-------------------- >> >>>Reply-To: "Marc Miller" <mm*****@epix.net> >> >>>From: "Marc Miller" <mm*****@epix.net> >> >>>Subject: Can't create New Proj. with XP/.NET 2003 >> >>>Date: Wed, 10 Dec 2003 09:23:23 -0500 >> >>>Lines: 18 >> >>>X-Priority: 3 >> >>>X-MSMail-Priority: Normal >> >>>X-Newsreader: Microsoft Outlook Express
6.00.2800.1106 >> >>>X-MIMEOLE: Produced By Microsoft MimeOLE
V6.00.2800.1106 >> >>>Message-ID:
<Om**************@TK2MSFTNGP09.phx.gbl> >> >>>Newsgroups:
microsoft.public.dotnet.framework.aspnet >> >>>NNTP-Posting-Host: inet1.ct-enterprises.com
209.74.63.71 >> >>>Path: >> >>cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl! >> >TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08 >> >>.phx.gbl!TK2MSFTNGP09.phx.gbl >> >>>Xref: cpmsftngxa07.phx.gbl >> >microsoft.public.dotnet.framework.aspnet:195531 >> >>>X-Tomcat-NG:
microsoft.public.dotnet.framework.aspnet >> >>> >> >>>Hi all, >> >>> >> >>>I have 2 dev. machines, the 1st is Win 2000
with .NET >> >7.0 and the 2nd is XP >> >>>Pro with .NET 2003. My Web Server is Win 2000
Server >> >with IIS 5.0. >> >>> >> >>>I can create a new project on my test server
from the >> >1st machine, but I >> >>>receive an 'HTTP/1.1 500 Internal Server error"
from >> >my Web Server. >> >>> >> >>>My userid/password are the same on all 3
machines. >> >>> >> >>>Any ideas? >> >>> >> >>>Thanks, >> >>>Marc Miller >> >>>Commonwealth Telephone Enterprises >> >>>Wilkes Barre, PA >> >>> >> >>> >> >>> >> >> >> >>. >> >> >> > >> > > >
.
As it turns out, in Visual Studio .NET, I went under
Tools/Options and the Projects folder and under Web
Settings, I changed the preferred access method to use
FrontPage server extensions instead of UNC/file share.
Apparently, after some troubleshooting, and your
suggestion, I found that the local ASPNET account on the
server (Windows 2000/IIS 5.0/FrontPage Server Ext),
didn't have permissions to use the UNC/file share method
to create the project and generated the HTTP/1.1 500
Internal Server Error.
Now that I switched to use FrontPage server extensions as
the access method for web projects in VS .NET, it appears
to work. I'll have to do a server reboot and make sure
any of the NTFS perm changes I made to WWWRoot folders to
add ASPNET account in are removed. After that, if all
works, I'll post again.
Thanks - Dale -----Original Message----- Jim:
Thanks for the info. I created who.aspx and on the server I tried to access it from the browser with friendly messages off. Here is the output below:
Dale
Server Error in '/' Application. ---------------------------------------------------------
-----------------------
Access denied to 'D:\Inetpub\wwwroot\'. Failed to start monitoring file changes. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Access denied to 'D:\Inetpub\wwwroot\'. Failed to start monitoring file changes.
Source Error:
An unhandled exception was generated during the
executionof the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80070005): Access denied to 'D:\Inetpub\wwwroot\'. Failed to start monitoring
filechanges.] System.Web.DirMonCompletion..ctor(DirectoryMonitor dirMon, String dir, Boolean watchSubtree, UInt32 notifyFilter) +140 System.Web.DirectoryMonitor.StartMonitoring() +42 System.Web.DirectoryMonitor.StartMonitoringFile
(Stringfile, FileChangeEventHandler callback, String alias) +154
System.Web.FileChangesMonitor.StartMonitoringDire ctoryRen
amesAndBinDirectory(String dir, FileChangeEventHandler callback) +278 System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +331
[HttpException (0x80004005): ASP.NET Initialization
Error] System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +965 System.Web.HttpRuntime.ProcessRequestInternal (HttpWorkerRequest wr) +128
---------------------------------------------------------
----------------------- Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
>"Jim Cheshire [MSFT]"
<ja******@online.microsoft.com>wrote in message >news:Rc**************@cpmsftngxa07.phx.gbl... >> Dale, >> >> What you need to do is troubleshoot why ASP.NET isnot working on the >site. >> I would try browsing to a simple inline .aspx
pageand see what the >result >> it. Turn off Friendly HTTP Error Messages in thebrowser first. >> >> Here is a simple page you can use. Just copy andpaste this code into >> Notepad and save as who.aspx. Copy it to your Webserver content area and >> then browse to it. >> >> <%@ Page Language="C#" %> >> <script runat="server"> >> >> // Insert page code here >> // >> private void Page_Load(object sender,System.EventArgs e) { >> lblWho.Text = "ASP.NET running as : " + >>
System.Security.Principal.WindowsIdentity.GetCurre nt().Name; >> } >> >> </script> >> <html> >> <head> >> </head> >> <body> >> <form runat="server"> >> <asp:Label id="lblWho"runat="server">Label</asp:Label> >> <!-- Insert content here --> >> </form> >> </body> >> </html> >> >> Jim Cheshire, MCSE, MCSD [MSFT] >> Developer Support >> ASP.NET >> ja******@online.microsoft.com >> >> This post is provided as-is with no warranties andconfers no rights. >> >> >> -------------------- >> >Content-Class: urn:content-classes:message >> >From: "Dale Binder" <da*********@wpafb.af.mil> >> >Sender: "Dale Binder" <da*********@wpafb.af.mil> >> >References:
<Om**************@TK2MSFTNGP09.phx.gbl> >> <uJ**************@cpmsftngxa07.phx.gbl> >> >Subject: RE: Can't create New Proj. with XP/.NET 2003 >> >Date: Wed, 10 Dec 2003 10:59:56 -0800 >> >Lines: 95 >> >Message-ID: <032b01c3bf4f$cd7c41a0$a*******@phx.gbl> >> >MIME-Version: 1.0 >> >Content-Type: text/plain; >> > charset="iso-8859-1" >> >Content-Transfer-Encoding: 7bit >> >X-Newsreader: Microsoft CDO for Windows 2000 >> >X-MimeOLE: Produced By Microsoft MimeOLEV5.50.4910.0300 >> >Thread-Index: AcO/T818h0r419sdRH2J+eHQLotQKA== >> >Newsgroups:microsoft.public.dotnet.framework.aspnet >> >Path: cpmsftngxa07.phx.gbl >> >Xref: cpmsftngxa07.phx.gbl >microsoft.public.dotnet.framework.aspnet:195608 >> >NNTP-Posting-Host: tk2msftngxa09.phx.gbl10.40.1.161 >> >X-Tomcat-NG:microsoft.public.dotnet.framework.aspnet >> > >> >I'm having the same problem. I have a 2000 server >> >with .NET Framework 1.1 and I have VS.NET 2003 onanother >> >dev box running XP. From the dev box to theserver, I'm >> >getting the "HTTP/1.1 500" and the IIS logs doshow the >> >problem you noted - the call to get_aspx_ver.aspx >> >returned 500. >> > >> >Any other ideas? I've reinstalled the .NET 1.1framework >> >on the server. >> > >> > >> >>-----Original Message----- >> >>Marc, >> >> >> >>Do you have any .aspx pages already on thatserver that >> >you can test >> >>against? What I believe is likely happening isthat you >> >are receiving a >> >>500 when browsing .aspx pages. The reason thatshows up >> >when you are >> >>creating projects is due to the way that Visual >> >Studio .NET 2003 handles >> >>project creation. >> >> >> >>When you create a new project with VisualStudio .NET >> >2003, we try to >> >>browse to a non-existant file calledget_aspx_ver.aspx. >> >What we expect to >> >>get back is a 404, but included in that 404 is
the >> >version of ASP.NET >> >>that's running on the server. We can thendetermine >> >whether or not you are >> >>running ASP.NET 1.1. >> >> >> >>In your case, I'll bet that there's somethingwrong with >> >ASP.NET on your >> >>machine and you're getting back a 500 at thatpoint. A >> >look at the IIS >> >>logs should confirm what's going on. >> >> >> >>Jim Cheshire, MCSE, MCSD [MSFT] >> >>Developer Support >> >>ASP.NET >> >>ja******@online.microsoft.com >> >> >> >>This post is provided as-is with no warranties
and >> >confers no rights. >> >> >> >>-------------------- >> >>>Reply-To: "Marc Miller" <mm*****@epix.net> >> >>>From: "Marc Miller" <mm*****@epix.net> >> >>>Subject: Can't create New Proj. with XP/.NET
2003 >> >>>Date: Wed, 10 Dec 2003 09:23:23 -0500 >> >>>Lines: 18 >> >>>X-Priority: 3 >> >>>X-MSMail-Priority: Normal >> >>>X-Newsreader: Microsoft Outlook Express6.00.2800.1106 >> >>>X-MIMEOLE: Produced By Microsoft MimeOLEV6.00.2800.1106 >> >>>Message-ID:<Om**************@TK2MSFTNGP09.phx.gbl> >> >>>Newsgroups:microsoft.public.dotnet.framework.aspnet >> >>>NNTP-Posting-Host: inet1.ct-enterprises.com209.74.63.71 >> >>>Path: >> >>cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl! >> >TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08 >> >>.phx.gbl!TK2MSFTNGP09.phx.gbl >> >>>Xref: cpmsftngxa07.phx.gbl >> >microsoft.public.dotnet.framework.aspnet:195531 >> >>>X-Tomcat-NG:microsoft.public.dotnet.framework.aspnet >> >>> >> >>>Hi all, >> >>> >> >>>I have 2 dev. machines, the 1st is Win 2000with .NET >> >7.0 and the 2nd is XP >> >>>Pro with .NET 2003. My Web Server is Win 2000Server >> >with IIS 5.0. >> >>> >> >>>I can create a new project on my test serverfrom the >> >1st machine, but I >> >>>receive an 'HTTP/1.1 500 Internal Server
error"from >> >my Web Server. >> >>> >> >>>My userid/password are the same on all 3machines. >> >>> >> >>>Any ideas? >> >>> >> >>>Thanks, >> >>>Marc Miller >> >>>Commonwealth Telephone Enterprises >> >>>Wilkes Barre, PA >> >>> >> >>> >> >>> >> >> >> >>. >> >> >> > >> > > >
.
.
Dale,
Yes, the error you were seeing indicates that the ASP.NET process account
doesn't have permissions to the Web site content. Changing those
permissions and giving the account the default permissions should resolve
it.
Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET ja******@online.microsoft.com
This post is provided as-is with no warranties and confers no rights.
-------------------- Content-Class: urn:content-classes:message From: <an*******@discussions.microsoft.com> Sender: <an*******@discussions.microsoft.com> References: <Om**************@TK2MSFTNGP09.phx.gbl>
<uJ**************@cpmsftngxa07.phx.gbl>
<03****************************@phx.gbl>
<Rc**************@cpmsftngxa07.phx.gbl>
<OR**************@TK2MSFTNGP10.phx.gbl>
<vt**************@cpmsftngxa07.phx.gbl>
<uN**************@TK2MSFTNGP12.phx.gbl>
<0d****************************@phx.gbl>Subject: Re: Can't create New Proj. with XP/.NET 2003 Date: Fri, 12 Dec 2003 10:48:17 -0800 Lines: 312 Message-ID: <0d****************************@phx.gbl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft CDO for Windows 2000 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Thread-Index: AcPA4IGOH07AwJx9RYGVj6TY+kqsKw== Newsgroups: microsoft.public.dotnet.framework.aspnet Path: cpmsftngxa07.phx.gbl Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:196068 NNTP-Posting-Host: tk2msftngxa05.phx.gbl 10.40.1.49 X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
As it turns out, in Visual Studio .NET, I went under Tools/Options and the Projects folder and under Web Settings, I changed the preferred access method to use FrontPage server extensions instead of UNC/file share. Apparently, after some troubleshooting, and your suggestion, I found that the local ASPNET account on the server (Windows 2000/IIS 5.0/FrontPage Server Ext), didn't have permissions to use the UNC/file share method to create the project and generated the HTTP/1.1 500 Internal Server Error.
Now that I switched to use FrontPage server extensions as the access method for web projects in VS .NET, it appears to work. I'll have to do a server reboot and make sure any of the NTFS perm changes I made to WWWRoot folders to add ASPNET account in are removed. After that, if all works, I'll post again.
Thanks - Dale
-----Original Message----- Jim:
Thanks for the info. I created who.aspx and on the server I tried to access it from the browser with friendly messages off. Here is the output below:
Dale
Server Error in '/' Application. --------------------------------------------------------- -----------------------
Access denied to 'D:\Inetpub\wwwroot\'. Failed to start monitoring file changes. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Access denied to 'D:\Inetpub\wwwroot\'. Failed to start monitoring file changes.
Source Error:
An unhandled exception was generated during the executionof the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80070005): Access denied to 'D:\Inetpub\wwwroot\'. Failed to start monitoring filechanges.] System.Web.DirMonCompletion..ctor(DirectoryMonitor dirMon, String dir, Boolean watchSubtree, UInt32 notifyFilter) +140 System.Web.DirectoryMonitor.StartMonitoring() +42 System.Web.DirectoryMonitor.StartMonitoringFile (Stringfile, FileChangeEventHandler callback, String alias) +154
System.Web.FileChangesMonitor.StartMonitoringDir ectoryRen amesAndBinDirectory(String dir, FileChangeEventHandler callback) +278 System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +331
[HttpException (0x80004005): ASP.NET Initialization Error] System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +965 System.Web.HttpRuntime.ProcessRequestInternal (HttpWorkerRequest wr) +128
--------------------------------------------------------- ----------------------- Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
>"Jim Cheshire [MSFT]"<ja******@online.microsoft.com>wrote in message >news:Rc**************@cpmsftngxa07.phx.gbl... >> Dale, >> >> What you need to do is troubleshoot why ASP.NET is not working on the >site. >> I would try browsing to a simple inline .aspx pageand see what the >result >> it. Turn off Friendly HTTP Error Messages in the browser first. >> >> Here is a simple page you can use. Just copy and paste this code into >> Notepad and save as who.aspx. Copy it to your Web server content area and >> then browse to it. >> >> <%@ Page Language="C#" %> >> <script runat="server"> >> >> // Insert page code here >> // >> private void Page_Load(object sender, System.EventArgs e) { >> lblWho.Text = "ASP.NET running as : " + >> System.Security.Principal.WindowsIdentity.GetCurr ent().Name; >> } >> >> </script> >> <html> >> <head> >> </head> >> <body> >> <form runat="server"> >> <asp:Label id="lblWho" runat="server">Label</asp:Label> >> <!-- Insert content here --> >> </form> >> </body> >> </html> >> >> Jim Cheshire, MCSE, MCSD [MSFT] >> Developer Support >> ASP.NET >> ja******@online.microsoft.com >> >> This post is provided as-is with no warranties and confers no rights. >> >> >> -------------------- >> >Content-Class: urn:content-classes:message >> >From: "Dale Binder" <da*********@wpafb.af.mil> >> >Sender: "Dale Binder" <da*********@wpafb.af.mil> >> >References: <Om**************@TK2MSFTNGP09.phx.gbl> >> <uJ**************@cpmsftngxa07.phx.gbl> >> >Subject: RE: Can't create New Proj. with XP/.NET 2003 >> >Date: Wed, 10 Dec 2003 10:59:56 -0800 >> >Lines: 95 >> >Message-ID: <032b01c3bf4f$cd7c41a0 $a*******@phx.gbl> >> >MIME-Version: 1.0 >> >Content-Type: text/plain; >> > charset="iso-8859-1" >> >Content-Transfer-Encoding: 7bit >> >X-Newsreader: Microsoft CDO for Windows 2000 >> >X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 >> >Thread-Index: AcO/T818h0r419sdRH2J+eHQLotQKA== >> >Newsgroups: microsoft.public.dotnet.framework.aspnet >> >Path: cpmsftngxa07.phx.gbl >> >Xref: cpmsftngxa07.phx.gbl >microsoft.public.dotnet.framework.aspnet:195608 >> >NNTP-Posting-Host: tk2msftngxa09.phx.gbl 10.40.1.161 >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet >> > >> >I'm having the same problem. I have a 2000 server >> >with .NET Framework 1.1 and I have VS.NET 2003 on another >> >dev box running XP. From the dev box to the server, I'm >> >getting the "HTTP/1.1 500" and the IIS logs do show the >> >problem you noted - the call to get_aspx_ver.aspx >> >returned 500. >> > >> >Any other ideas? I've reinstalled the .NET 1.1 framework >> >on the server. >> > >> > >> >>-----Original Message----- >> >>Marc, >> >> >> >>Do you have any .aspx pages already on that server that >> >you can test >> >>against? What I believe is likely happening is that you >> >are receiving a >> >>500 when browsing .aspx pages. The reason that shows up >> >when you are >> >>creating projects is due to the way that Visual >> >Studio .NET 2003 handles >> >>project creation. >> >> >> >>When you create a new project with Visual Studio .NET >> >2003, we try to >> >>browse to a non-existant file called get_aspx_ver.aspx. >> >What we expect to >> >>get back is a 404, but included in that 404 isthe >> >version of ASP.NET >> >>that's running on the server. We can then determine >> >whether or not you are >> >>running ASP.NET 1.1. >> >> >> >>In your case, I'll bet that there's something wrong with >> >ASP.NET on your >> >>machine and you're getting back a 500 at that point. A >> >look at the IIS >> >>logs should confirm what's going on. >> >> >> >>Jim Cheshire, MCSE, MCSD [MSFT] >> >>Developer Support >> >>ASP.NET >> >>ja******@online.microsoft.com >> >> >> >>This post is provided as-is with no warrantiesand >> >confers no rights. >> >> >> >>-------------------- >> >>>Reply-To: "Marc Miller" <mm*****@epix.net> >> >>>From: "Marc Miller" <mm*****@epix.net> >> >>>Subject: Can't create New Proj. with XP/.NET2003 >> >>>Date: Wed, 10 Dec 2003 09:23:23 -0500 >> >>>Lines: 18 >> >>>X-Priority: 3 >> >>>X-MSMail-Priority: Normal >> >>>X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 >> >>>X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 >> >>>Message-ID: <Om**************@TK2MSFTNGP09.phx.gbl> >> >>>Newsgroups: microsoft.public.dotnet.framework.aspnet >> >>>NNTP-Posting-Host: inet1.ct-enterprises.com 209.74.63.71 >> >>>Path: >> >>cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl! >> >TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08 >> >>.phx.gbl!TK2MSFTNGP09.phx.gbl >> >>>Xref: cpmsftngxa07.phx.gbl >> >microsoft.public.dotnet.framework.aspnet:195531 >> >>>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet >> >>> >> >>>Hi all, >> >>> >> >>>I have 2 dev. machines, the 1st is Win 2000 with .NET >> >7.0 and the 2nd is XP >> >>>Pro with .NET 2003. My Web Server is Win 2000 Server >> >with IIS 5.0. >> >>> >> >>>I can create a new project on my test server from the >> >1st machine, but I >> >>>receive an 'HTTP/1.1 500 Internal Server error"from >> >my Web Server. >> >>> >> >>>My userid/password are the same on all 3 machines. >> >>> >> >>>Any ideas? >> >>> >> >>>Thanks, >> >>>Marc Miller >> >>>Commonwealth Telephone Enterprises >> >>>Wilkes Barre, PA >> >>> >> >>> >> >>> >> >> >> >>. >> >> >> > >> > > > . . This discussion thread is closed Replies have been disabled for this discussion. Similar topics
7 posts
views
Thread by ken |
last post: by
|
1 post
views
Thread by A.Neves |
last post: by
|
reply
views
Thread by Greg Cyrus |
last post: by
|
5 posts
views
Thread by Sammy |
last post: by
|
23 posts
views
Thread by Amka |
last post: by
|
1 post
views
Thread by Ron |
last post: by
| | | | | | | | | | | | | |