Hi,
I have recently converted a .net 1.1 web application project into a .net 2.0 web application. It compiles without errors, but when I run it in the browser, I get the following error:
The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Can anybody help please

The specified module could not be found. (Exception from HRESULT: 0x8007007E)
rtmurray
Errores al cargar el disenador. Los errores se citan a continuacion. Algunos errores se pueden corregir volviendo a generar el proyecto, otros puede que requieran cambios en el codigo.
The specified module could not be found. (Excepcion de HRESULT: 0x8007007E)
Ocultar
en System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
en System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
en System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
en System.Windows.Forms.AxHost.CreateInstance()
en System.Windows.Forms.AxHost.GetOcxCreate()
en System.Windows.Forms.AxHost.set_Site(ISite value)
en System.ComponentModel.Container.Add(IComponent component, String name)
en System.ComponentModel.Design.DesignerHost.Add(IComponent component, String name)
en System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.CreateComponent(Type componentType, String name)
en System.ComponentModel.Design.Serialization.DesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
en System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
en System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeInstance(IDesignerSerializationManager manager, Type type, Object[] parameters, String name, Boolean addToContainer)
en System.ComponentModel.Design.Serialization.ComponentCodeDomSerializer.DeserializeInstance(IDesignerSerializationManager manager, Type type, Object[] parameters, String name, Boolean addToContainer)
en System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
en System.ComponentModel.Design.Serialization.CodeDomSerializer.DeserializeStatementToInstance(IDesignerSerializationManager manager, CodeStatement statement)
en System.ComponentModel.Design.Serialization.CodeDomSerializer.Deserialize(IDesignerSerializationManager manager, Object codeObject)
en System.Windows.Forms.Design.ControlCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, Object codeObject)
en System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.DeserializeName(IDesignerSerializationManager manager, String name, CodeStatementCollection statements)
The specified module could not be found. (Excepcion de HRESULT: 0x8007007E)
Ocultar
en System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
en System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
en System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
en System.Windows.Forms.AxHost.CreateInstance()
en System.Windows.Forms.AxHost.GetOcxCreate()
en System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
en System.Windows.Forms.AxHost.CreateHandle()
en System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
en System.Windows.Forms.Control.CreateControl()
en System.Windows.Forms.Control.ControlCollection.Add(Control value)
en System.Windows.Forms.Form.ControlCollection.Add(Control value)
en System.Windows.Forms.Design.ControlDesigner.DesignerControlCollection.Add(Control c)
When introducing again the USB memory, it's possible to work again from the hard disk, but when trying to remove the USB memory, it's not possible until you close the Visual Basic project because it says that the storage device is being used. So, it's possible to work from the hard disk only when the USB memory is inside, even when the whole project was copied and pasted from the USB to the hard disk. How can you make a project created in a USB memory to work independently on your hard disk without the necessity or dependency on the USB memory Please help and write to jaimemontoya@gmail.com is you get to find a solution. Bye.
Tommmy77
In the end it wasn't a DLL that was missing.
It was a .net 1.1 version of a DLL I was using that caused the problem. I replaced this DLL with the latest .Net 2.0 version.
arkiboys
Si el problema continua, trata de poner nuevamente los archivos ocx en c, Windows, system32, si usaste ocx.
Sammaye
xlordt