在过去的两天里,我一直在寻找解决问题的方法。现在谷歌只显示我已经访问过的链接。
我收到以下错误:
[COMException (0x80040154): La récupération de la fabrique de classes COM pour le composant avec le CLSID {29131539-2EED-1069-BF5D-00DD011186B7} a échoué en raison de l'erreur suivante : 80040154 Classe non enregistrée (Exception de HRESULT : 0x80040154 (REGDB_E_CLASSNOTREG)).]
Default2.initSession() in c:\inetpub\wwwroot\GestionDomino\Default.aspx.cs:45
Default2.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\GestionDomino\Default.aspx.cs:32
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
System.Web.UI.Control.OnLoad(EventArgs e) +92
System.Web.UI.Control.LoadRecursive() +54
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772
我知道堆栈跟踪的某些部分是法语的。那是因为执行此代码的服务器是法国服务器。
这是我的代码:
public partial class Default2 : System.Web.UI.Page
{
Domino.NotesSession lotusNoteSession;
Domino.NotesDatabase localDatabase;
Domino.NotesView specificView;
protected void Page_Load(object sender, EventArgs e)
{
//authentifies the user
checkAuthen();
//opens the domino session
initSession();
//fill the gridview
if (!IsPostBack)
{
FillgvVue();
}
}
protected void initSession()
{
//opens the domino session
lotusNoteSession = new Domino.NotesSession();
代码继续。但我停止在有问题的行复制它
lotusNoteSession = new Domino.NotesSession()
。此行触发错误。
我尝试使用 regsvr32.exe 注册 Interop.Domino.dll
目标 cpu 已设置为 x86
我需要做什么?
提前致谢