徐宝吧 关注:4贴子:645
  • 7回复贴,共1

在XP下配置ASP.net的运行环境

只看楼主收藏回复

说白了就是装几个软件
1、Microsoft Data Access Components (MDAC) 2.8
下载地址:http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&FamilyID=6c050fe3-c795-4b7d-b037-185d0506396c

2、Microsoft® .NET Framework 1.1 版可再发行组件包
下载地址:http://www.microsoft.com/downloads/details.aspx?FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&displaylang=zh-cn

3、Microsoft® .NET Framework SDK 1.1 版
下载地址:http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&FamilyID=9b3a2ca6-3647-4070-9f41-a333c6b9181d

需要注意的是:在安装 .NET Framework SDK 之前,必须先安装 .NET Framework 可再发行组件包 1.1 版,如果已经安装了 Microsoft Visual Studio .NET 2003,就不需要再另外安装 .NET Framework SDK。Visual Studio .NET 2003 中已经包含了该 SDK。
另外如果你的机器安装了OFFICE,建议你先备份\MicroSoft Office\Office\mso9.dll这个文件,OFFICE会提示你注册或激活,此时将备份的mso9.dl覆盖原文件即可。

还要注意的是有时候我们ASPX文件时候出现显示了源文件或者是显示下载该文件的对话框,这是因为没有注册组件,打开运行,输入aspnet_regiis -i(最好输入aspnet_regiis的绝对路径)。 



IP属地:江苏1楼2006-02-21 19:44回复
    以上软件的下载地址:
    http://sh.hishopsoft.com/download/


    IP属地:江苏2楼2006-02-21 19:52
    回复
      很费解的一篇文章……

      ---------------------------
      MDAC2.8和 WINXP不兼容问题解决
      今天原同事过来,聊了一阵后,他说起他作了一个VB+ACCESS软件,在WIN2000下安装运行正常,但是在WINXP下出现问题,无法打开数据库。并且也无法安装MDAC 2.8,经过确认,WINXP安装了SP2补丁包。于是我上网找了一下资料,发现如下几个问题

      1、MDAC2.8安装问题 www.shengfang.org

      在windows xp + sp2 环境下安装过程中出现提示:“mdac 2.8 Rtm 与此版本 windows 不兼容”。 解决办法:现在MDAC2.8的所有功能都成为 windowsXPSP2的一部分,该提示正常,不会影响使用。

      你的系统是WINXP-SP2,系统自带MDAC 2.8 SP2,因此你不能安装MDAC 2.8,而且WINXP-SP2不能卸载MDAC,他是系统的核心部件,只能通过安装SERVICE PACK 的后续版本升级你的MDAC,并且不能往回滚动到以前版本的MDAC. www.shengfang.org

      If you install the downloaded version of Microsoft Data Access Components (MDAC) version 2.8 to a Microsoft Windows XP Service Pack 2-based computer, you receive the following error message: www.shengfang.org

      如果你安装下载了MDAC 微软数据访问组件版本2.8,安装到WINXP SP2的机器,你将收到如下错误信息
      This version is incompatible with the version you are attempting to install. 这个版本mdac 2.8 Rtm 和你的WINDOWS不兼容 你的系统版本和你准备安装的软件版本不兼容

      Method 1: Install MDAC 2.81 方法1 安装MDAC 2.81
      For information about how to install MDAC 2.81, visit the following Microsoft Web site:
      http://msdn.microsoft.com/data/mdac/downloads/default.aspx (http://msdn.microsoft.com/data/mdac/downloads/default.aspx)
      Note This redistributable installer for the MDAC 2.8 SP1 release installs the same data access components that Windows XP SP2 installs. 关于如何安装MDAC2.81的信息,请访问。这个MDAC2.8 SP1分发安装包和WINXP SP2附带安装的是同一数据访问组件。

      Method 2: Repair the MDAC 2.81 installation that is included with Windows XP SP2
      1. In Windows Explorer, open the c:\Windows\Inf folder. 方法2 修补WINXP SP2自带的MDAC 2.81安装 www.shengfang.org

      Note If you cannot see the c:\Windows\Inf folder, follow these steps: a. Click Start, click My Computer, and then click Folder Options on the Tools menu. 如果你不能看得WINDOWS的INF目录,进行如下步骤,点击 开始 我的电脑 工具菜单 文件夹 选项
      b. Click the View tab. 点击 查看 www.shengfang.org
      c. Under Advanced settings, click Show hidden files and folders. 在高级设置下,点击 显示隐藏文件和文件夹
      d. Click to clear the Hide extensions for known file types check box. 去掉隐藏已知文件的扩展名选项
      e. Click Apply, and then click OK. www.shengfang.org 点击应用 点击确认

      2. In the c:\Windows\Inf folder, right-click the Mdac.inf file, and then click Install. 在WINDOWS的INF目录下,右键点击MDAC.INF,选择 安装
      3. When you are prompted to insert the Windows XP SP2 CD, use one of the following methods: ? a. Insert the Windows XP Service Pack 2 CD in the CD or DVD drive. 当提示你插入WINXP SP2光盘的时候,www.shengfang.org 选择如下方法 插入光盘到光驱 

      Note If a "Welcome to Microsoft Windows XP" message appears, click Exit. 如果出现欢迎使用WINXP提示信息,点击 退出
      b. Click Browse. 点击浏览按钮
      c. In the File name box, type CD or DVD drive that contains the Windows XP Service Pack 2 CD drive letter:\i386. For example, type d:\i386 if the Windows XP Service Pack 2 CD is in drive D. 在文件名称输入光驱盘符,包含 I386目录 如果你的光驱是D盘,输入 D:\WINXP
      d. Click Open. 点击打开 www.shengfang.org

      ? In the File name box, type %systemroot%\windows\servicepackfiles\i386, and then click Open. 或者直接输入 %systemroot%\windows\servicepackfiles\i386 点击打开

      4. You may also be prompted for the original Windows XP CD that was used to install the operating system. a. Insert the Windows XP Service Pack 2 CD in the CD or DVD drive. 

      Note If a "Welcome to Microsoft Windows XP" message appears, click Exit. 
      b. Click Browse. 
      c. In the File name box, type CD or DVD drive that contains the Windows XP Service Pack 2 CD drive letter:\i386. For example, type d:\i386 if the Windows XP Service Pack 2 CD is in drive D. 
      d. Click Open. www.shengfang.org

      可能还会提示你插入WINXP SP2光盘进行系统安装,同上步骤 www.shengfang.org

      估计这样的话,应该也可以解决 ADO数据库访问的问题了吧

      MDAC 2.8 SP1 版所安装的数据访问核心组件与 Microsoft SQL Server OLE DB Provider, ODBC Driver 相同。 MDAC 2.8 SP1 最终发行的可再分发安装程序安装与 Microsoft Windows XP SP2 一样的 Data Access 的核心组件。 http://support.microsoft.com/default.aspx?scid=kb;en-us;899861 此版本不包括 Microsoft Jet、Microsoft Jet OLE DB Provider、Desktop Database Drivers ODBC Driver 或 Visual FoxPro ODBC Driver。


      IP属地:江苏3楼2006-02-21 20:15
      回复
        Microsoft® .NET Framework SDK 1.1 版 

        http://download.microsoft.com/download/0/f/e/0fecf85c-fb50-4ca9-adf2-c4be7ec9b454/setup.exe


        IP属地:江苏4楼2006-02-21 20:31
        回复
          WebMatrix下载地址:
          http://www.asp.net/webmatrix


          IP属地:江苏6楼2006-02-21 23:08
          回复
            • 61.184.255.*
            请问一下,我用access+C#写了一个系统在Xp上面运得报下面的错误,而在window2000上面运行正常,是怎么回事呀?该怎么解决呀?
            System.Exception: 数据库出错: .Net 数据 OLE DB 提供程序(System.Data.OleDb)要求 Microsoft 数据访问组件(MDAC)。请安装 Microsoft 数据访问组件(MDAC) 2.6 或更高版本。


            7楼2006-06-27 16:42
            回复
              在XP下,进入C:\WINDOWS\inf\目录,右键点击mdac.inf,选“安装”,按提示插入系统盘即可。
              XP和2000的mdac不同


              IP属地:江苏8楼2006-06-28 00:54
              回复
                • 222.77.71.*
                提示已经很明显了,现在很少有人用2000了


                9楼2008-07-06 20:34
                回复