无法创建新项目。使用XP / .NET 2003 [英] Can't create New Proj. with XP/.NET 2003

查看:68
本文介绍了无法创建新项目。使用XP / .NET 2003的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我有2个开发。机器,第一个是Win 2000 with .NET 7.0,第二个是XP ​​

Pro with .NET 2003.我的Web服务器是带有IIS 5.0的Win 2000 Server。


我可以从第一台机器在我的测试服务器上创建一个新项目,但是我会收到HTTP / 1.1 500内部服务器错误。来自我的Web服务器。


我的用户名/密码在所有3台机器上都是一样的。


有什么想法吗?


谢谢,

Marc Miller

英联邦电话企业

Wilkes Barre,PA

解决方案

Marc,


您是否已经在该服务器上有任何.aspx页面可以测试

反对?我认为可能发生的事情是,在浏览.aspx页面时,您收到的是
500。当您创建项目时出现的原因是由于Visual Studio .NET 2003处理项目创建的方式。


使用Visual Studio .NET 2003创建新项目时,我们尝试使用
浏览到名为get_aspx_ver.aspx的不存在的文件。我们期望

取回的是404,但包含在404中的是在服务器上运行的ASP.NET

的版本。然后我们可以确定你是否运行ASP.NET 1.1




在你的情况下,我敢打赌有一些东西你的

机器上的ASP.NET出错了,那时候你回来了500。看看IIS

日志应该确认发生了什么。


开发人员支持

ASP.NET
ja ****** @ online .microsoft.com


此帖子按原样提供,不提供任何保证,也不授予任何权利。


--- -----------------

回复:Marc Miller < mm ***** @ epix.net>
来自:&#; Marc Miller" < mm ***** @ epix.net>
主题:无法创建新项目。使用XP / .NET 2003
日期:2003年12月10日星期三09:23:23 -0500
行数:18
X-Priority:3
X-MSMail-Priority:正常
X-Newsreader:Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE:由Microsoft MimeOLE制作V6.00.2800.1106
消息ID:< Om ******* *******@TK2MSFTNGP09.phx.gbl>
新闻组:microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host:inet1.ct-enterprises.com 209.74.63.71 <路径:
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

大家好,
<我有2个开发者。第一个是Win 2000 with .NET 7.0,第二个是XP ​​
Pro with .NET 2003.我的Web服务器是带有IIS 5.0的Win 2000 Server。

我可以创建一个新的我从第一台机器上测试我的测试服务器,但是我收到了''HTTP / 1.1 500内部服务器错误'来自我的Web服务器。

我的用户名/密码在所有3台机器上都是相同的。

任何想法?

谢谢,
Marc Miller
英联邦电话企业
Wilkes Barre,PA




我有同样的问题。我有一台带有.NET Framework 1.1的2000服务器

,而我在另一台运行XP的
开发盒上安装了VS.NET 2003。从开发框到服务器,我是

得到HTTP / 1.1 500并且IIS日志确实显示了你注意到的

问题 - 调用get_aspx_ver.aspx

返回500.


任何其他想法?我在服务器上重新安装了.NET 1.1框架



-----原始消息-----
Marc,

你是否已经在该服务器上有任何.aspx页面,你可以测试
?我认为可能发生的事情是,当浏览.aspx页面时,你的
正在收到500。在创建项目时显示
的原因是由于Visual
Studio .NET 2003处理项目创建的方式。

使用Visual Studio .NET创建新项目时
2003,我们尝试浏览一个名为get_aspx_ver.aspx的不存在的文件。
我们期望得到的是404,但包含在404中的是在服务器上运行的ASP.NET的
版本。然后我们可以确定
你是否在运行ASP.NET 1.1。

在你的情况下,我敢打赌
ASP.NET有问题在你的机器上,那时候你回来了500。查看IISlogs
应该确认发生了什么。

Jim Cheshire,MCSE,MCSD [MSFT]
开发人员支持
ASP.NET
ja******@online.microsoft.com

此帖子按原样提供,不提供任何保证,
不授予任何权利。
---- ----------------

回复:Marc Miller < mm ***** @ epix.net>
来自:&#; Marc Miller" < mm ***** @ epix.net>
主题:无法创建新项目。使用XP / .NET 2003
日期:2003年12月10日星期三09:23:23 -0500
行数:18
X-Priority:3
X-MSMail-Priority:正常
X-Newsreader:Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE:由Microsoft MimeOLE制作V6.00.2800.1106
消息ID:< Om ******* *******@TK2MSFTNGP09.phx.gbl>
新闻组: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

外部参照:cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.aspnet:195531X-Tomcat-NG:microsoft.public.dotnet.framework.aspnet

大家好,

我有2个开发。机器,第一个是Win 2000,.NET
7.0,第二个是XPPro和.NET 2003.我的Web服务器是Win 2000 Server
,带有IIS 5.0。
我可以创建一个新项目在我的测试服务器上从
第一台机器,但我接收到''HTTP / 1.1 500内部服务器错误'来自
我的Web服务器。
我的用户名/密码在所有3台机器上都是相同的。

任何想法?

谢谢,
Marc Miller
英联邦电话企业
Wilkes Barre,PA





Dale,


您需要做的是解决ASP.NET不在网站上工作的原因。
我会尝试浏览一个简单的内联.aspx页面,看看结果是什么结果

吧。首先关闭浏览器中的友好HTTP错误消息。


这是一个可以使用的简单页面。只需将此代码复制并粘贴到

记事本中,另存为who.aspx。将其复制到您的Web服务器内容区域并

然后浏览它。


<%@ Page Language =" C#" %>

< script runat =" server">


//在此处插入页面代码

//

private void Page_Load(object sender,System.EventArgs e){

lblWho.Text =" ASP.NET running as:" +

System.Security.Principal.WindowsIdentity.GetCurre nt()。姓名;

}


< / script>

< html>

< head>

< / head>

< body>

< form runat =" server">

< asp:Label id =" lblWho" runat =" server"> Label< / asp:Label>

<! - 在此处插入内容 - >

< / form>

< / body>

< / html>


Jim Cheshire,MCSE,MCSD [MSFT]

开发人员支持

ASP.NET
ja ****** @ online.microsoft.com


此帖子按原样提供,不提供任何保证,也不授予任何权利。

------ --------------

Content-Class:urn:content-classes:message
From:" Dale Binder" < da ********* @ wpafb.af.mil>
发件人:Dale Binder < da ********* @ wpafb.af.mil>
参考文献:< Om ************** @ TK2MSFTNGP09.phx.gbl>
< uJ ************** @ cpmsftngxa07.phx.gbl>主题:RE:无法创建新项目。使用XP / .NET 2003
日期:2003年12月10日星期三10:59:56 -0800
行:95
消息ID:< 03 ******** ********************@phx.gbl>
MIME-Version:1.0
内容类型:text / plain;
charset =" iso-8859-1"
Content-Transfer-Encoding:7bit
X-Newsreader:适用于Windows 2000的Microsoft CDO
X-MimeOLE:由Microsoft MimeOLE V5.50.4910制作。 0300
线程索引:AcO / T818h0r419sdRH2J + eHQLotQKA ==
新闻组:microsoft.public.dotnet.framework.aspnet
路径:cpmsftngxa07.phx.gbl
外部参照: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

我遇到了同样的问题。我有一台带有.NET Framework 1.1的2000服务器,我在另一台运行XP的开发盒上安装了VS.NET 2003。从开发框到服务器,我得到了HTTP / 1.1 500。并且IIS日志确实显示了您注意到的问题 - 对get_aspx_ver.aspx
的调用返回了500.

还有其他想法吗?我在服务器上重新安装了.NET 1.1框架。

-----原始消息-----
Marc,

你是否已经在该服务器上有任何.aspx页


你可以测试

吗?我认为可能发生的是,


在浏览.aspx页面时收到

500。当你

创建项目时出现


的原因是由于Visual


Studio .NET 2003处理的方式

项目创建。

使用Visual Studio .NET创建新项目


2003时,我们尝试

浏览到不存在的文件名为get_aspx_ver.aspx。


我们期望

返回的是404,但包含在404中的是


在服务器上运行的ASP.NET

的版本。然后我们可以确定


你是否

运行ASP.NET 1.1。

在你的情况下,我敢打赌那里你的

机器上的


ASP.NET出了点问题,那时你就得到500了。


查看IIS

日志应该确认发生了什么。

Jim Cheshire,MCSE,MCSD [MSFT]
开发人员支持
ASP.NET
ja******@online.microsoft.com

这篇文章是按原样提供的,没有任何保证和

不授予任何权利。


--------------------

回复-To:Marc Miller < mm ***** @ epix.net>
来自:&#; Marc Miller" < mm ***** @ epix.net>
主题:无法创建新项目。使用XP / .NET 2003
日期:2003年12月10日星期三09:23:23 -0500
行数:18
X-Priority:3
X-MSMail-Priority:正常
X-Newsreader:Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE:由Microsoft MimeOLE制作V6.00.2800.1106
消息ID:< Om ******* *******@TK2MSFTNGP09.phx.gbl>
新闻组:microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host:inet1.ct-enterprises.com 209.74.63.71 <路径:


cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!


TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08

.phx .gbl!TK2MSFTNGP09.phx.gbl

外部参照:cpmsftngxa07.phx.gblmicrosoft.public.dotnet.framework.aspnet:195531X-Tomcat-NG:microsoft.public.dotnet.framework.aspnet
大家好,

我有2个开发者。机器,第一个是带有.NET7.0的Win 2000,第二个是带有.NET 2003的XPPro。我的Web服务器是带有IIS 5.0的Win 2000 Server。
我可以从我的测试服务器上创建一个新项目,从第一台机器,但我接受了''HTTP / 1.1 500内部服务器错误'来自我的Web服务器。
我的用户名/密码在所有3台机器上都是一样的。

任何想法?

谢谢,
Marc Miller 英联邦电话企业
威尔克斯巴里,PA






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

解决方案

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



.



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



.




这篇关于无法创建新项目。使用XP / .NET 2003的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆