在win7已安装VS2010情况下建Visual Studio 2005带有NetAdvantage2005控件的开发环境

来源:互联网 发布:淘宝买家两钻有什么用 编辑:程序博客网 时间:2024/06/05 10:27

一直认为Visual Stidio只能按发布的顺序安装。 最近需要为一个老的项目创建环境,不得不在我的Win7和已经安装了VS2010的情况下试一试了。

现有OS为Window 7 Ultimate N service pack1,64位 ;VS 版本Visual Stidio Premium Version10.0.40218.1 SP1Rel。机上没有安装Sql Server express edition and compact edition ,只有Sql Server2005/2008 Client。要安装的VS2005是Professional  Edition,按提示插入第二张盘,安装过程很顺利, 只是Sql Server2005 Express Edition 没有安装上,也不需要它。

 

然后安装 VS2005 service pack (KB926601)

再来安装service pack for vista

重新启动,打开那个老版本的solution没有问题。测试一下在VS2010里打开我近期的solution也没有问题。一切还好。

接下来就是要安装第三方控件了。因已安装了Infragistics 2011,所以安装NetAdvantage2005时很注意。

刚刚运行就抱错误:Error 1606,could not access network location %SystemDrive%\inetpub\wwwroot

在此连接上发现问题解决办法http://www.infragistics.com/community/forums/t/64049.aspx

Since you are on a 64-bitmachine, Windows is likely redirecting the installation to use the 32-bitregistry hive. Try updating the value from the 32-bit registry hive atHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\InetStp.

意思是要在注册表里找到HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\InetStp\pathWWWroot

再根据此连接http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=10058所述, 将其值从%SystemDrive%\inetpub\wwwroot修改为C:\inetpub\wwwroot

再次运行NetAdvantage2005, 又遭遇错误:Error 1609. An error occured while applying security settings.
ASPNET is not a valid user or group.This could be a problem with
the package, or a problem connecting to a domain controller on the network.
Check your network connection and click retry, or Cancel to end the install.

http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=6691此连接告述我,我需要建一个APSNET用户,于是转入控制面板,创建一个用户名为:ASPNet,并赋予其管理员权限。

再次运行NetAdvantage2005 的安装,成功

本次安装完成。

 

 

 

 

原创粉丝点击