屋顶上的木帷幕

海鸥之所以追着渔船飞,是因为它们认为会有沙丁鱼抛向大海 - Eric Cantona, 1995
随笔 - 146, 评论 - 3169, 引用 - 56

导航

关于


标签

每月存档

最新留言

广告

 

I chose the Windows XP Pro x64 Edition for my new working machine, a DELL Precision 380, as long as it has an Intel EM64T processor.

Having bad luck, after installing .NET 2.0 Beta 2 Redist (x64), IIS 6.0 and Visual Studio 2003 one by one, I got errors in Visual Studio 2003 when creating new ASP.NET Web Application project. It took me about two hours painful time to figure it out. In short, root causes are 1) the coexistence of .NET 1.1 & 2.0 and 2) the x64 OS.

Summarize my findings as below for upcoming developers:

Error 1: You may see an error message like "Visual Studio .NET has detected that ASP.NET applications and services are locked down in IIS. You can run the IIS Security Lockdown Wizard to change lockdown status" when creating a new ASP.NET project in Visual Studio 2003. This is caused by the coexistence of .NET 1.1 and 2.0.

Solution: 
(i) Go to the folder C:\WINDOWS\Microsoft.NET\Framework\ and run "aspnet_regiis.exe -u".
(ii) Go to the folder C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 and run "aspnet_regiis.exe -i"

If still no happy, move on to check "Web Service Extensions" in IIS manager (run inetmgr in "Run...") and set "ASP.NET v1.1.4322" to Allowed, if it's Prohibited.

Error 2: You may also see an error message like "The Web server reported the following error when attempting to create or open the Web project located at the following URL: 'http://localhost/AuthorsWebService', 'HTTP/1.0 503 Service Unavailable'" when creating a new ASP.NET project in Visual Studio 2003.

Solution:
Go to http://go.microsoft.com/fwlink/?LinkId=39058, download and install the patch (it's x64 compatible). After patch installed, run "cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1" in command line.

So, to avoid the painful troubleshooting as mine, strong suggest .NET developers:
1) Install .NET 1.1 and Visual Studio 2003 on 32bits version Windows XP;
2) Install only .NET 2.0 and Visual Studio 2005 on Windows XP x64 Edition.

Plus, on WinXP x64, you don't need to install Front Page Server Extension before installing Visual Studio 2003. FPSE is built-in and you cannot find any entry for FPSE in Add/Remove Windows Components on WinXP x64.

Btw, WinXP x64 only support SQL Server 2000 SP4. SP3 is incompatible.

打印 | 张贴于 2005-08-16 17:31:00 | Tag:Dot NET

留言反馈

#wkmahxwb - Google Search 编辑
wkmahxwb - Google Search
2008-10-25 19:59:43 | [匿名:]
#cbervgkp - Google Search 编辑
cbervgkp - Google Search
2008-10-05 07:54:46 | [匿名:]
#re: Why Visual Studio 2003 on Windows XP x64 Edition Fails to Create ASP.NET Project 编辑
I ran aspnet_regiis -i for 2.0 and now can create 2.0 websites. However 1.1 now has some issues, it first complained about windows authentication but thats easily taken care of in properties of the default web site. Now i just get a generic "error while trying to run project". I'll let u know if I fix this.
2006-04-13 03:06:00 | [匿名:kehinde]
#re: Why Visual Studio 2003 on Windows XP x64 Edition Fails to Create ASP.NET Project 编辑
Now I won't ne able to run asp.net 2.0, right? too bad.
2006-04-13 02:27:00 | [匿名:keni]
#re: Why Visual Studio 2003 on Windows XP x64 Edition Fails to Create ASP.NET Project 编辑
I'm using another application which is compatible with .NET 1.1 but not .NET 2.0.
And I'm moving to Windows XP x64 Edition. Do you think it's possible for me to use .NET 1.1 and Windows XP x64 together?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
So, to avoid the painful troubleshooting as mine, strong suggest .NET developers:
1) Install .NET 1.1 and Visual Studio 2003 on 32bits version Windows XP;
2) Install only .NET 2.0 and Visual Studio 2005 on Windows XP x64 Edition.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2006-02-10 12:05:00 | [匿名:DannyWong]
#re: Why Visual Studio 2003 on Windows XP x64 Edition Fails to Create ASP.NET Project 编辑
Visual Studio.net 2005 + .NET Framework v2.0
2005-11-24 11:59:00 | [匿名:Jeff]
#re: Why Visual Studio 2003 on Windows XP x64 Edition Fails to Create ASP.NET Project 编辑
Oh, my dog, So bad luck
2005-08-16 20:57:00 | [匿名:lee]
对不起,目前本随笔不允许发表新评论.

Powered by: Joycode.MVC引擎 0.5.2.0