.net 2003 运行问题--〉解决方案
前几天我的电脑瘫痪了,所以重新安装了操作系统(Microsoft Windows XP Professional Service Pack 2),系统作好了以后第一件事情就是安装.NET 2003 (因为有很多项目都需要用它维护)。为了确保.NET 2003 的WebApp和SmartApp运行正常(WinApp一般不会出什么问题),我习惯性的建立了一个新的WebApp,Build Solution -> Successful; Debug-> Faild ! 报错:"服务器拒绝,请确认是否具有足够的权限..."不解,怎么回事?Google了一下,原来是IIS的身份验证方法的原因。
具体解决方法:
控制面板\管理工具\IIS\信息服务\网站\默认网站->点击右键->选择属性->目录安全性->在匿名访问和身份验证控制 部分选择->编辑->在身份验证方法对话框中 勾选->集成Windows 身份验证-> 确定->确定....
WebApp 确定没有问题以后,将需要维护的WebApp 项目 get latest Version .搞定Web部分
and then SmartPhoneAPP Build -> successful;Debug->Failed.消息文本为“One or more files from the Emulator for Windows CE installation is missing.Please reinstall Emulator for Windows CE and try again.” ,Google了一下,在下面的URL Find 11.10 description.
11.10. 当模拟器在启动时,为什么会产生关于丢失文件的错误消息?
表现:当模拟器在启动时,会出现一个标题为“Emulator for Windows CE”的消息框,消息文本为“One or more files from the Emulator for Windows CE installation is missing.Please reinstall Emulator for Windows CE and try again.” 出现这个消息框之后,连接或部署到模拟器会失败。
原因: 一个典型原因是模拟器驱动程序没有安装或已损坏。
解决办法:转到“Device Manager”(右键单击“My Computer”,选择“Properties->Hardware”并按“Device Manager”按钮),检查 System Devices 组中是否安装“Virtual PC Application Services”。如果该驱动程序没有安装,则通过运行“\CompactFrameworkSDK\ConnectionManager\Bin\DriverInstall\Smart Devices Emulator.msi”来安装。
注:运行 msi 文件之后确认出现“Virtual PC Application Services”。如果没有出现,则重启 PC 并尝试再次安装。
按照上边的描述,打开设备管理器,并且在系统设备中找到了“Virtual PC Application Services”,结果如图所示
,这下子问题非常明确了.
具体解决方法:
| 1. | Click Start, click Run, type sysdm.cpl, and then click OK. |
| 2. | In the System Properties dialog box, click the Advanced tab. |
| 3. | Under Start and Recovery, click Settings. |
| 4. | In the Startup and Recovery dialog box, click Edit. |
| 5. | Disable PAE mode by removing the /pae option if it exists. |
| 6. | Remove the /noexecute option if it exists. |
| 7. | Add the /execute option. |
| 8. | On the File menu, click Save. |
| 9. | To exit Notepad, click Exit on the File menu. |
| 10. | To close System Properties, click OK two times. |
| 11. | Restart your computer. |
问题是解决了,可是为什么系统在启动的时候会阻止这个驱动呢?
原来是该设备驱动程序可能会导致 Windows XP Service Pack 2 不稳定,故系统阻止了该驱动程序的安装.......汗!
详细信息,见下列叙述:
已知会导致 Windows XP Service Pack 2 不稳定的设备驱动程序
简介
Microsoft Windows XP Professional Service Pack 2 和 Microsoft Windows XP Home Edition Service Pack 2 (SP2) 包括驱动程序保护功能。此功能通过阻止操作系统加载已知会引起稳定性问题的驱动程序来帮助保护操作系统的稳定。驱动程序保护是基于 Windows XP 中提供的应用程序兼容技术而构建的。驱动程序保护始终处于活动状态。在操作系统从早期 Windows 版本升级的过程中以及操作系统在安装后运行的过程中,该功能都是有效的。最终用户不能禁用驱动程序保护。
Windows XP 附带的“驱动程序保护列表”数据库中列出了已知会引起稳定性问题的驱动程序。驱动程序保护会检查该数据库以决定是否将某个驱动程序加载到 Windows XP 中。
更多信息
已知以下设备驱动程序会导致 Windows XP SP2 不稳定,并且已被添加到 Windows XP 驱动程序保护列表中:
应用程序/驱动程序
供应商
驱动程序二进制文件
匹配条件
安全服务和 AV 驱动程序
Command Software
CSS-DVP.SYS
产品版本:4.90.4.40123 和
链接日期:01/23/2004 16:08:00
SMSC LPC Memory Stick Host Controller
Sony
Smscms.sys
链接日期:09/02/2003 19:07:48
Windows CE Emulator
Microsoft
VPCAppSv.sys
产品版本:6.13.10.2149 和以 PAE 或 NX 模式运行的系统
虚拟 PC
Connectix
VPCAppSv.sys
产品版本:4.x 和以 PAE 或 NX 模式运行的系统
有关 Windows XP 中驱动程序保护功能的更多信息,以及要查看驱动程序保护列表中现有的驱动程序,请访问下面的 Microsoft Web 站点:
http://msdn2.microsoft.com/en-us/library/ms791690.aspx http://msdn2.microsoft.com/en-us/library/ms791690.aspx)
这篇文章中的信息适用于:
•
Microsoft Windows XP Service Pack 2
•
Microsoft Windows XP Service Pack 2
•
Microsoft Windows XP Service Pack 2
•
Microsoft Windows XP Tablet PC Edition 2005
到此为止 .NET 2003 一切运转正常,工作继续进行......
Windows XP 附带的“驱动程序保护列表”数据库中列出了已知会引起稳定性问题的驱动程序。驱动程序保护会检查该数据库以决定是否将某个驱动程序加载到 Windows XP 中。
应用程序/驱动程序
供应商
驱动程序二进制文件
匹配条件
安全服务和 AV 驱动程序
Command Software
CSS-DVP.SYS
产品版本:4.90.4.40123 和
链接日期:01/23/2004 16:08:00
SMSC LPC Memory Stick Host Controller
Sony
Smscms.sys
链接日期:09/02/2003 19:07:48
Windows CE Emulator
Microsoft
VPCAppSv.sys
产品版本:6.13.10.2149 和以 PAE 或 NX 模式运行的系统
虚拟 PC
Connectix
VPCAppSv.sys
产品版本:4.x 和以 PAE 或 NX 模式运行的系统
•
Microsoft Windows XP Service Pack 2
•
Microsoft Windows XP Service Pack 2
•
Microsoft Windows XP Service Pack 2
•
Microsoft Windows XP Tablet PC Edition 2005
posted on 2007-01-30 15:43 Michael.Wang 阅读(1153) 评论(0) 收藏 举报
浙公网安备 33010602011771号