Hi Gurus
I wrote a "Active X" UserControl DLL in VB.NET and placed it on a iis 6 webserver. I embeded it with the object tag and the communication to functions and propertys in the vb.net control works great.
As A reference I added the COM component UIRESOURCELib.d ll in the Visual Studio 2005. When the DLL starts the functions from the UIRESOURCELib, i get the following error in the IE7
************** Exception Text **************
System.IO.FileN otFoundExceptio n: Could not load file or assembly 'Interop.UIRESO URCELib, Version=1.0.0.0 , Culture=neutral , PublicKeyToken= null' or one of its dependencies. The system cannot find the file specified.
File name: 'Interop.UIRESO URCELib, Version=1.0.0.0 , Culture=neutral , PublicKeyToken= null'
at SoftwareCorner. Data.loadData()
at SoftwareCorner. myControl.myCon trol_Load(Objec t sender, EventArgs e)
at System.Windows. Forms.UserContr ol.OnLoad(Event Args e)
at System.Windows. Forms.UserContr ol.OnCreateCont rol()
at System.Windows. Forms.Control.C reateControl(Bo olean fIgnoreVisible)
at System.Windows. Forms.Control.C reateControl()
at System.Windows. Forms.Control.W mShowWindow(Mes sage& m)
at System.Windows. Forms.Control.W ndProc(Message& m)
at System.Windows. Forms.Scrollabl eControl.WndPro c(Mes sage& m)
at System.Windows. Forms.Container Control.WndProc (Mess age& m)
at System.Windows. Forms.UserContr ol.WndProc(Mess age& m)
at System.Windows. Forms.Control.C ontrolNativeWin dow.O nMessage(Messag e& m)
at System.Windows. Forms.Control.A ctiveXImpl.Syst em.Wi ndows.Forms.IWi ndowTarget.OnMe ssage(Message& m)
at System.Windows. Forms.Control.C ontrolNativeWin dow.W ndProc(Message& m)
at System.Windows. Forms.NativeWin dow.Callback(In tPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The Application shall be executed on the client. UIRESOURCELib supports functions to connect to a System Management Server and get packages that are deployed to the users pc.
the Interop.UIRESOU RCELib.dll is in the same folder on the webserver as my DLL. My DLL is loaded into the GAC on the users PC but the Interop.UIRESOU RCELib.dll does not show up there.
Please help Have you got any idea what could cause the problem or what i can do to make my DLL recognize the UIRESOURCELib=?
Best Regards,
Kaysetoaster
I wrote a "Active X" UserControl DLL in VB.NET and placed it on a iis 6 webserver. I embeded it with the object tag and the communication to functions and propertys in the vb.net control works great.
As A reference I added the COM component UIRESOURCELib.d ll in the Visual Studio 2005. When the DLL starts the functions from the UIRESOURCELib, i get the following error in the IE7
************** Exception Text **************
System.IO.FileN otFoundExceptio n: Could not load file or assembly 'Interop.UIRESO URCELib, Version=1.0.0.0 , Culture=neutral , PublicKeyToken= null' or one of its dependencies. The system cannot find the file specified.
File name: 'Interop.UIRESO URCELib, Version=1.0.0.0 , Culture=neutral , PublicKeyToken= null'
at SoftwareCorner. Data.loadData()
at SoftwareCorner. myControl.myCon trol_Load(Objec t sender, EventArgs e)
at System.Windows. Forms.UserContr ol.OnLoad(Event Args e)
at System.Windows. Forms.UserContr ol.OnCreateCont rol()
at System.Windows. Forms.Control.C reateControl(Bo olean fIgnoreVisible)
at System.Windows. Forms.Control.C reateControl()
at System.Windows. Forms.Control.W mShowWindow(Mes sage& m)
at System.Windows. Forms.Control.W ndProc(Message& m)
at System.Windows. Forms.Scrollabl eControl.WndPro c(Mes sage& m)
at System.Windows. Forms.Container Control.WndProc (Mess age& m)
at System.Windows. Forms.UserContr ol.WndProc(Mess age& m)
at System.Windows. Forms.Control.C ontrolNativeWin dow.O nMessage(Messag e& m)
at System.Windows. Forms.Control.A ctiveXImpl.Syst em.Wi ndows.Forms.IWi ndowTarget.OnMe ssage(Message& m)
at System.Windows. Forms.Control.C ontrolNativeWin dow.W ndProc(Message& m)
at System.Windows. Forms.NativeWin dow.Callback(In tPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The Application shall be executed on the client. UIRESOURCELib supports functions to connect to a System Management Server and get packages that are deployed to the users pc.
the Interop.UIRESOU RCELib.dll is in the same folder on the webserver as my DLL. My DLL is loaded into the GAC on the users PC but the Interop.UIRESOU RCELib.dll does not show up there.
Please help Have you got any idea what could cause the problem or what i can do to make my DLL recognize the UIRESOURCELib=?
Best Regards,
Kaysetoaster