Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

exception System.InvalidOperationException

2 réponses
Avatar
Dan
Bonjour a tous.
J'ai developpé une application en VB.net 2008 qui fonctionne tres bien sur
plusieurs machines.
par contre sur une machine il me donne l'erreur ci dessous qui me fait
penser qu'il me manque qq chose genre DLL mais impossible de savoir quoi.
aurriez vous une solution a me proposer?*
D'avance merci de votre aide.
***************************************
L'exception System.InvalidOperationException n'a pas été gérée
Message="Une erreur s'est produite lors de la création du formulaire. Pour
plus d'informations, consultez Exception.InnerException. L'erreur est : Le
module spécifié est introuvable. (Exception de HRESULT : 0x8007007E)"
Source="ALBUM1"
StackTrace:
à ALBUM.My.MyProject.MyForms.Create__Instance__[T](T Instance) dans
17d14f5c-a337-4978-8281-53493378c1071.vb:ligne 190
à ALBUM.My.MyProject.MyForms.get_DEBUT()
à ALBUM.My.MyApplication.OnCreateMainForm() dans
F:\vbnet\WindowsApplication1\WindowsApplication1\My
Project\Application.Designer.vb:ligne 35
à
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
à
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
à
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[]
commandLine)
à ALBUM.My.MyApplication.Main(String[] Args) dans
17d14f5c-a337-4978-8281-53493378c1071.vb:ligne 81
à System.AppDomain._nExecuteAssembly(Assembly assembly, String[]
args)
à System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
à System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
à System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()
à
System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext
activationContext, String[] activationCustomData)
à
System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext
activationContext)
à
Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
à System.Threading.ThreadHelper.ThreadStart_Context(Object state)
à System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
à System.Threading.ThreadHelper.ThreadStart()
InnerException: System.IO.FileNotFoundException
Message="Le module spécifié est introuvable. (Exception de HRESULT :
0x8007007E)"
Source="System.Windows.Forms"
StackTrace:
à
System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid,
Object punkOuter, Int32 context, Guid& iid)
à System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
à System.Windows.Forms.AxHost.CreateWithLicense(String license,
Guid clsid)
à System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
à System.Windows.Forms.AxHost.CreateInstance()
à System.Windows.Forms.AxHost.GetOcxCreate()
à System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
à System.Windows.Forms.AxHost.CreateHandle()
à System.Windows.Forms.Control.CreateControl(Boolean
fIgnoreVisible)
à System.Windows.Forms.Control.CreateControl(Boolean
fIgnoreVisible)
à System.Windows.Forms.AxHost.EndInit()
à ALBUM.DEBUT.InitializeComponent() dans
F:\vbnet\WindowsApplication1\WindowsApplication1\DEBUT.Designer.vb:ligne 404
à ALBUM.DEBUT..ctor()
InnerException:

2 réponses

Avatar
Fabrice [MVP]
"Dan" a écrit dans le message de
news:4a2b868d$0$292$
Bonjour a tous.
J'ai developpé une application en VB.net 2008 qui fonctionne tres bien sur
plusieurs machines.
par contre sur une machine il me donne l'erreur ci dessous qui me fait
penser qu'il me manque qq chose genre DLL mais impossible de savoir quoi.
aurriez vous une solution a me proposer?*
D'avance merci de votre aide.
***************************************
L'exception System.InvalidOperationException n'a pas été gérée
Message="Une erreur s'est produite lors de la création du formulaire.
Pour
plus d'informations, consultez Exception.InnerException. L'erreur est : Le
module spécifié est introuvable. (Exception de HRESULT : 0x8007007E)"
Source="ALBUM1"
StackTrace:
à ALBUM.My.MyProject.MyForms.Create__Instance__[T](T Instance) dans
17d14f5c-a337-4978-8281-53493378c1071.vb:ligne 190
à ALBUM.My.MyProject.MyForms.get_DEBUT()
à ALBUM.My.MyApplication.OnCreateMainForm() dans
F:vbnetWindowsApplication1WindowsApplication1My
ProjectApplication.Designer.vb:ligne 35
à
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
à
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
à
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[]
commandLine)
à ALBUM.My.MyApplication.Main(String[] Args) dans
17d14f5c-a337-4978-8281-53493378c1071.vb:ligne 81
à System.AppDomain._nExecuteAssembly(Assembly assembly, String[]
args)
à System.AppDomain.nExecuteAssembly(Assembly assembly, String[]
args)
à System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
à System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()
à
System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext
activationContext, String[] activationCustomData)
à
System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext
activationContext)
à
Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
à System.Threading.ThreadHelper.ThreadStart_Context(Object state)
à System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
à System.Threading.ThreadHelper.ThreadStart()
InnerException: System.IO.FileNotFoundException
Message="Le module spécifié est introuvable. (Exception de HRESULT :
0x8007007E)"
Source="System.Windows.Forms"
StackTrace:
à
System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid,
Object punkOuter, Int32 context, Guid& iid)
à System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
à System.Windows.Forms.AxHost.CreateWithLicense(String license,
Guid clsid)
à System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
à System.Windows.Forms.AxHost.CreateInstance()
à System.Windows.Forms.AxHost.GetOcxCreate()
à System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
à System.Windows.Forms.AxHost.CreateHandle()
à System.Windows.Forms.Control.CreateControl(Boolean
fIgnoreVisible)
à System.Windows.Forms.Control.CreateControl(Boolean
fIgnoreVisible)
à System.Windows.Forms.AxHost.EndInit()
à ALBUM.DEBUT.InitializeComponent() dans
F:vbnetWindowsApplication1WindowsApplication1DEBUT.Designer.vb:ligne
404
à ALBUM.DEBUT..ctor()
InnerException:






Bonjour,

Vérifier que sur cette machine, que toutes les mises à jour de Windows soit
bien installées.
Particulièrement les .NET 3.5 avec SP1.
.NET 2.0 aussi doit être présent sur les machines sous Windows XP.

--
Fabrice, Microsoft MVP
http://www.fab3d.fr.st
Faq Windows XP : http://a.vouillon.online.fr/faq-winxp.htm
Avatar
Dan
Merci de ton aide.
Oui les mises a jours et les framworks 2 3.5 Sp1 sots bien presentes...
Je cherche a comprendre le pourquoi et c'"est pas evident

"Fabrice [MVP]" a écrit dans le message de
news:
"Dan" a écrit dans le message de
news:4a2b868d$0$292$
Bonjour a tous.
J'ai developpé une application en VB.net 2008 qui fonctionne tres bien
sur
plusieurs machines.
par contre sur une machine il me donne l'erreur ci dessous qui me fait
penser qu'il me manque qq chose genre DLL mais impossible de savoir
quoi.
aurriez vous une solution a me proposer?*
D'avance merci de votre aide.
***************************************
L'exception System.InvalidOperationException n'a pas été gérée
Message="Une erreur s'est produite lors de la création du formulaire.
Pour
plus d'informations, consultez Exception.InnerException. L'erreur est :
Le
module spécifié est introuvable. (Exception de HRESULT : 0x8007007E)"
Source="ALBUM1"
StackTrace:
à ALBUM.My.MyProject.MyForms.Create__Instance__[T](T Instance) dans
17d14f5c-a337-4978-8281-53493378c1071.vb:ligne 190
à ALBUM.My.MyProject.MyForms.get_DEBUT()
à ALBUM.My.MyApplication.OnCreateMainForm() dans
F:vbnetWindowsApplication1WindowsApplication1My
ProjectApplication.Designer.vb:ligne 35
à
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
à
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
à
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[]
commandLine)
à ALBUM.My.MyApplication.Main(String[] Args) dans
17d14f5c-a337-4978-8281-53493378c1071.vb:ligne 81
à System.AppDomain._nExecuteAssembly(Assembly assembly, String[]
args)
à System.AppDomain.nExecuteAssembly(Assembly assembly, String[]
args)
à System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
à System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()
à
System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext
activationContext, String[] activationCustomData)
à
System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext
activationContext)
à
Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
à System.Threading.ThreadHelper.ThreadStart_Context(Object state)
à System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
à System.Threading.ThreadHelper.ThreadStart()
InnerException: System.IO.FileNotFoundException
Message="Le module spécifié est introuvable. (Exception de HRESULT
:
0x8007007E)"
Source="System.Windows.Forms"
StackTrace:
à
System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid,
Object punkOuter, Int32 context, Guid& iid)
à System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
à System.Windows.Forms.AxHost.CreateWithLicense(String
license,
Guid clsid)
à System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
à System.Windows.Forms.AxHost.CreateInstance()
à System.Windows.Forms.AxHost.GetOcxCreate()
à System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
à System.Windows.Forms.AxHost.CreateHandle()
à System.Windows.Forms.Control.CreateControl(Boolean
fIgnoreVisible)
à System.Windows.Forms.Control.CreateControl(Boolean
fIgnoreVisible)
à System.Windows.Forms.AxHost.EndInit()
à ALBUM.DEBUT.InitializeComponent() dans
F:vbnetWindowsApplication1WindowsApplication1DEBUT.Designer.vb:ligne
404
à ALBUM.DEBUT..ctor()
InnerException:






Bonjour,

Vérifier que sur cette machine, que toutes les mises à jour de Windows
soit bien installées.
Particulièrement les .NET 3.5 avec SP1.
.NET 2.0 aussi doit être présent sur les machines sous Windows XP.

--
Fabrice, Microsoft MVP
http://www.fab3d.fr.st
Faq Windows XP : http://a.vouillon.online.fr/faq-winxp.htm