找回密码
 注册账号

QQ登录

只需一步,快速开始

手机号码,快捷登录

手机号码,快捷登录

初学者课程:T3自学|T6自学|U8自学软件下载课件下载工具下载资料:通资料|U8资料|NC|培训|年结积分规则 | 使用常见问题Q&A
知识库:U8 | | NC | U9 | OA | 政务U8|U9|NCC|NC65|NC65客开|NCC客开新手必读 | 任务 | 快速增金币用友QQ群[微信群]
查看: 6726|回复: 2

[求助] 求助gacutil.exe如何使用

[复制链接]
发表于 2008-12-12 17:03:00 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册账号

×
870:登陆企业门户提示:错误信息:
---------------------------
EPLENV
---------------------------
System.IO.FileLoadException: Could not load file or assembly 'DotNetMagic, Version=3.0.2.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'DotNetMagic, Version=3.0.2.0, Culture=neutral, PublicKeyToken=null'
  at UFIDA.U8.Portal.Framework.Internals.LayoutManager..ctor()
  at UFIDA.U8.Portal.Framework.MainFrames.MainFrameAdvisor..ctor()
  at Eplenv.EplAdvisor..ctor()
  at Eplenv.EplAdvisor.Startup(String[] args)
  at Eplenv.Program.Main(String[] args)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

---------------------------
多方查找解决方案是:将adodb.dll文件拷贝到assembly目录下.
但是assembly文件夹很特殊.他下面的文件不是直接复制可以解决的.在cmd窗口下执行assembly\gac\adodb\<版本> copy d:\adodb.dll
但是我从windows窗口下是看不到assembly下的adodb,所以无法执行.
又多方查找,可以通过gacutil.exe实现.即在cmd窗口下执行acutil.exe /i adodb.dll
执行成功.再执行assembly\gac\adodb\<版本> copy d:\adodb.dll.也成功.
但是我的问题还是没有解决.
我怀疑我的操作方法有问题.
再者能有哪位大虾给讲下assembly是怎么回事呢?还有就是gacutil.exe这个程序如何操作,他需要的参数如何配置?
 楼主| 发表于 2008-12-16 11:45:37 | 显示全部楼层
如果用c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm 程序能否解决.
该程序的/tlb参数是否也是往assembly里面直接插入程序集呢?
发表于 2009-1-8 11:50:47 | 显示全部楼层
DotNetMagic.dll 需要在你的应用程序搜索路径中,或者直接找到那个文件(U8Soft\Portal)拷贝到你的执行文件目录下。
您需要登录后才可以回帖 登录 | 注册账号

本版积分规则

QQ|站长微信|Archiver|手机版|小黑屋|用友之家 ( 蜀ICP备07505338号|51072502110008 )

GMT+8, 2024-5-17 03:07 , Processed in 0.023906 second(s), 10 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表