473,372 Members | 1,014 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,372 software developers and data experts.

Can't create New Proj. with XP/.NET 2003

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
Nov 18 '05 #1
9 2279
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


Nov 18 '05 #2
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


.

Nov 18 '05 #3
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.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


.


Nov 18 '05 #4
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 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


.

Nov 18 '05 #5
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
>>>
>>>
>>>
>>
>>.
>>
>



Nov 18 '05 #6
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.gbl
Xref: 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

Framework
1.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
>>>
>>>
>>>
>>
>>.
>>
>


Nov 18 '05 #7
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
>> >>>
>> >>>
>> >>>
>> >>
>> >>.
>> >>
>> >
>>
>
>
>

.

Nov 18 '05 #8
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
page
and 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
>> >>>
>> >>>
>> >>>
>> >>
>> >>.
>> >>
>> >
>>
>
>
>

.

.

Nov 18 '05 #9
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

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

(String
file, FileChangeEventHandler callback, String alias) +154

System.Web.FileChangesMonitor.StartMonitoringDir ectoryRen

a
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.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
>> >>>
>> >>>
>> >>>
>> >>
>> >>.
>> >>
>> >
>>
>
>
>

.

.


Nov 18 '05 #10

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

Similar topics

7
by: ken | last post by:
Hello All, I am hoping that this is a simple question with a simple answer. How do you convert a VB.Net project into a C#.net project? Thank You in Advance for Your Help, Ken
1
by: A.Neves | last post by:
Hi, I need to build an application using classic ASP (3.0 or previous). I opened some files, *.asp, and it seem that VS2003 recognises VBScript for ASP. So I tryed to create a project to...
0
by: Greg Cyrus | last post by:
Hi, I have installed Windows Server 2003 and run the IIS6.0 on it. When i try to create a new ASP.NET-Projekt on my client-computer and try to use the Webserver-location (http:...
5
by: Sammy | last post by:
On a Windows 2003 Server machine that has multiple IIS web sites, how does one control which web site the new web application gets created under? Thank you, Sammy
23
by: Amka | last post by:
Hi I have a project which I converted from Vb to Vb.NEt But the system is running extremely slow. I have Intel PIII Processor , 256 MB RAM. Plz let me know if tehre is anything I can do to...
1
by: Ron | last post by:
Hello, I need 2 projects/apps to communicate with each other. I figured out how to create a Class Library project with a form and how to add a new exe project to the solution. I set the...
2
by: vaishnavi | last post by:
hi, i want to do a proj for 2nd sem of mcs. could anyone tell me some project topics in java ? some proj topics in servlet or rmi..... or related with db.... pls send me list of the topics....
0
by: svgeorge | last post by:
I want to update several tables using one stored procedure. How can i do this I mean the syntax.etc. declaration etc. I know the basic syntax as below CREATE PROCEDURE <Procedure_Name, sysname,...
2
by: kkshansid | last post by:
$projid=$_GET; $q="INSERT INTO proj select * from projtemp where projid ='".$projid."'"; $qins=mysql_query($q); is resulting false is there any error? there are 2 tables in a database with name...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.