Infragistics NetAdvantage Samples 在.net 2.0和1.x共存的环境下不能运行时,采取的办法
2007-03-14 20:36
555 查看
由于重装了操作系统,换成win2003 sp1,就装了visual studiio 2005,于是NetAdvantage版本就从clr 1.0 到了clr 2.0。(Infragistics 2006 for clr 2.0 is my edition)。我的系统里也装了vs.net 2003的版本,因为有原来的工程要用它。但是在运行Samples的时候却出现如下的错误在左侧的导航栏里:
To change the version of the .NET Framework an application is bound to, or to change the version for all applications on a given site, you can use the Microsoft aspnet_regiis.exe utility, or the "Internet Information Services" administration console.
To configure the version of the .NET Framework a specific application uses
Open up the Internet Information Services console.
Navigate to your application in the tree on the left, and right-click.
Choose Properties from the right-click menu.
Your dialog should look like the one below. Simply choose the proper framework version (in this case, 2.0.50727), and click the OK button.
Repeat these steps for the WebSchedule Forms folder ([wwwroot]/ig_common/20061clr2/forms
按着提示的方法去做,怎么也是行不通了,怎么办呢?搞来搞去,看看它的Samples目录吧,一看有一个vs.net的解决方案文件!哦,原来是用vs 编写的呀!那就行了,打开它看看,用vs2005在里找呀找,先找到default.html,然后再找到leftNavigation.aspx,想到到上面的提示页呀,可惜没有找到呀!(要是谁找到了,不要忘记在这里回我一下哦!)
实在不行了,运行一下,结果运行了leftNavigation.aspx正常的!于是把default.html设置为首页,然后启动运行,没有问题!
其实这也不是一个什么解决办法,想想也是很土的方法啦。没有去深究什么原因的,只要是解决问题就可以了!这里面隐含着一个道理,就是既然是用我们用的开发工具做的东西,我们就不怕去动动它,看看它里面是什么东西,不要去问啊问的。要去看看它的原理么?比如说今天没有去看看它的文件夹,那就不知道Infragistics原来也是用vs.net 做的呢,只是知道个用。以后要是有了问题了,可以直接来这里面,把它打开,查查原因什么,说不好还要学到更多的从code samples里学不到的东西呢。
There was an error processing the requested sample.
If you are running multiple versions of the .NET Framework on the computer hosting these samples, please ensure that this virtual directory is mapped to the correct version of the .NET Framework (2.0).To change the version of the .NET Framework an application is bound to, or to change the version for all applications on a given site, you can use the Microsoft aspnet_regiis.exe utility, or the "Internet Information Services" administration console.
To configure the version of the .NET Framework a specific application uses
Open up the Internet Information Services console.
Navigate to your application in the tree on the left, and right-click.
Choose Properties from the right-click menu.
Your dialog should look like the one below. Simply choose the proper framework version (in this case, 2.0.50727), and click the OK button.
Repeat these steps for the WebSchedule Forms folder ([wwwroot]/ig_common/20061clr2/forms
按着提示的方法去做,怎么也是行不通了,怎么办呢?搞来搞去,看看它的Samples目录吧,一看有一个vs.net的解决方案文件!哦,原来是用vs 编写的呀!那就行了,打开它看看,用vs2005在里找呀找,先找到default.html,然后再找到leftNavigation.aspx,想到到上面的提示页呀,可惜没有找到呀!(要是谁找到了,不要忘记在这里回我一下哦!)
实在不行了,运行一下,结果运行了leftNavigation.aspx正常的!于是把default.html设置为首页,然后启动运行,没有问题!
其实这也不是一个什么解决办法,想想也是很土的方法啦。没有去深究什么原因的,只要是解决问题就可以了!这里面隐含着一个道理,就是既然是用我们用的开发工具做的东西,我们就不怕去动动它,看看它里面是什么东西,不要去问啊问的。要去看看它的原理么?比如说今天没有去看看它的文件夹,那就不知道Infragistics原来也是用vs.net 做的呢,只是知道个用。以后要是有了问题了,可以直接来这里面,把它打开,查查原因什么,说不好还要学到更多的从code samples里学不到的东西呢。
相关文章推荐
- 使用VS2008开发运行在.net 2.0环境下的 ASP.NET AJAX 网站
- 【翻译】使用VS2008开发运行在.net 2.0环境下的 ASP.NET AJAX 网站
- 使用VS2008开发运行在.net 2.0环境下的 ASP.NET AJAX 网站
- Tomcat启动时一闪而过,但是jdk环境变量配置正确,并使用java或者javac命令多可以运行,但是tomcat不能运行解决办法。
- Mono为使用.NET2.0框架开发的软件脱离.NET Framework独立运行
- 随我一起AJAX:配制Asp.net 2.0 + AJAX的开发环境和运行环境
- Infragistics NetAdvantage 的 ASP.NET部分控件在IE7.0 IE8.0 下不能正常工作的问题及解决
- Ubuntu 9.04 下使用Apache2,mod_mono 配置asp.net 2.0 运行环境
- Visual Studio 2010 VC++ CLR 选择.NET 2.0/3.0/3.5框架不能编译的解决办法(转)
- 在Delphi中宿主.NET运行环境,直接调用.NET中的代码
- Asp.net Mvc Framework在.net 2.0/IIS6下运行,补全
- .NET 4.0 环境下无法直接运行 .NET 2.0 程序的问题,当然目前解决了 (转载--来于园中)
- .Net 1.1/.Net 2.0共存主机引起的.Net 2.0程序无法正常运行的错误。[转]
- 破解迷团:在asp.net 2.0服务器上运行.net 3.5(一)
- Asp.net Mvc Framework在.net 2.0/IIS6下运行,补全
- .NET跨平台之旅:在生产环境中上线第一个运行于Linux上的ASP.NET Core站点
- AForge.NET .NET2.0程序集无法在.net 4.0 中运行的解决方案
- .Net 1.1/.Net 2.0共存主机引起的.Net 2.0程序无法正常运行的错误
- win7环境下用Sublime Text3编写python不能运行input()函数的解决办法
- .net程序在无.net环境下运行