Trouble deploying .NET 3.0 in my XPE image

S

Smedly Tonker

I'm having trouble deploying .NET 3.0 in my XPE image. I have tried to
install .NET 3.0 using step by step instructions
(http://msdn2.microsoft.com/en-us/library/bb417255.aspx). I have all
required components listed in the step by step instructions.

When I install 'dotnetfx3.exe' I gett the following error in
'dd_dotnetfx3error.txt':
[11/13/07,06:08:55] Windows Communication Foundation: [2] Error:
Installation failed for component Windows Communication Foundation. MSI
returned error code 1603

On further examination I see that in 'dd_wcf_retCA14C.txt' the following
error:

ServiceModelReg [06:08:52:907]: System.DllNotFoundException: Unable to load
DLL 'webengine.dll': A dynamic link library (DLL) initialization routine
failed. (Exception from HRESULT: 0x8007045A)
at System.Web.UnsafeNativeMethods.IsapiAppHostGetSiteName(String appId,
StringBuilder buffer, Int32 size)
at
System.Web.Configuration.MetabaseServerConfig.MBGetSiteNameFromSiteID(String
siteID, String& siteName)
at System.Web.Configuration.MetabaseServerConfig..ctor()
at System.Web.Configuration.MetabaseServerConfig.GetInstance()
at System.Web.Configuration.IISMapPath.GetInstance()
at
System.Web.Configuration.WebConfigurationHost.ChooseAndInitConfigMapPath(Boolean
useConfigMapPath, IConfigMapPath configMapPath, ConfigurationFileMap
fileMap)
at
System.Web.Configuration.WebConfigurationHost.InitForConfiguration(String&
locationSubPath, String& configPath, String& locationConfigPath,
IInternalConfigRoot configRoot, Object[] hostInitConfigurationParams)
at System.Configuration.Configuration..ctor(String locationSubPath, Type
typeConfigHost, Object[] hostInitConfigurationParams)
at
System.Configuration.Internal.InternalConfigConfigurationFactory.System.Configuration.Internal.IInternalConfigConfigurationFactory.Create(Type
typeConfigHost, Object[] hostInitConfigurationParams)
at
System.Web.Configuration.WebConfigurationHost.OpenConfiguration(WebLevel
webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site,
String locationSubPath, String server, String userName, String password,
IntPtr tokenHandle)
at
System.Web.Configuration.WebConfigurationManager.OpenWebConfigurationImpl(WebLevel
webLevel, ConfigurationFileMap fileMap, String path, String site, String
locationSubPath, String server, String userName, String password, IntPtr
userToken)
at
System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(String
path)
at
System.ServiceModel.Install.Configuration.NativeConfigurationLoader.get_RootWebConfiguration()
at
System.ServiceModel.Install.Configuration.ProtocolsInstallComponent.get_UninstallActionMessage()
at
System.ServiceModel.Install.ServiceModelInstallComponent.GetActionString(InstallAction
action)
at Microsoft.Tools.ServiceModel.ServiceModelReg.Run(String[] args)
at Microsoft.Tools.ServiceModel.ServiceModelReg.TryRun(String[] args)

So it would seem that the problem is 'webengine.dll' is failing to
initialize. But why?

P.S. my image is XPE SP2 with all of the fixes up to October 07. I have the
winlogon component, but I boot into my own shell.
 
S

Sean Liming \(MVP\)

If you include Update Rollup 1.0, all you have to do is just add the .NET
Framework 3.0 component.

http://www.microsoft.com/downloads/...6F-CE42-45C7-ADD2-52F57959ECF2&displaylang=en

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
Smedly Tonker said:
I'm having trouble deploying .NET 3.0 in my XPE image. I have tried to
install .NET 3.0 using step by step instructions
(http://msdn2.microsoft.com/en-us/library/bb417255.aspx). I have all
required components listed in the step by step instructions.

When I install 'dotnetfx3.exe' I gett the following error in
'dd_dotnetfx3error.txt':
[11/13/07,06:08:55] Windows Communication Foundation: [2] Error:
Installation failed for component Windows Communication Foundation. MSI
returned error code 1603

On further examination I see that in 'dd_wcf_retCA14C.txt' the following
error:

ServiceModelReg [06:08:52:907]: System.DllNotFoundException: Unable to
load DLL 'webengine.dll': A dynamic link library (DLL) initialization
routine failed. (Exception from HRESULT: 0x8007045A)
at System.Web.UnsafeNativeMethods.IsapiAppHostGetSiteName(String appId,
StringBuilder buffer, Int32 size)
at
System.Web.Configuration.MetabaseServerConfig.MBGetSiteNameFromSiteID(String
siteID, String& siteName)
at System.Web.Configuration.MetabaseServerConfig..ctor()
at System.Web.Configuration.MetabaseServerConfig.GetInstance()
at System.Web.Configuration.IISMapPath.GetInstance()
at
System.Web.Configuration.WebConfigurationHost.ChooseAndInitConfigMapPath(Boolean
useConfigMapPath, IConfigMapPath configMapPath, ConfigurationFileMap
fileMap)
at
System.Web.Configuration.WebConfigurationHost.InitForConfiguration(String&
locationSubPath, String& configPath, String& locationConfigPath,
IInternalConfigRoot configRoot, Object[] hostInitConfigurationParams)
at System.Configuration.Configuration..ctor(String locationSubPath, Type
typeConfigHost, Object[] hostInitConfigurationParams)
at
System.Configuration.Internal.InternalConfigConfigurationFactory.System.Configuration.Internal.IInternalConfigConfigurationFactory.Create(Type
typeConfigHost, Object[] hostInitConfigurationParams)
at
System.Web.Configuration.WebConfigurationHost.OpenConfiguration(WebLevel
webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site,
String locationSubPath, String server, String userName, String password,
IntPtr tokenHandle)
at
System.Web.Configuration.WebConfigurationManager.OpenWebConfigurationImpl(WebLevel
webLevel, ConfigurationFileMap fileMap, String path, String site, String
locationSubPath, String server, String userName, String password, IntPtr
userToken)
at
System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(String
path)
at
System.ServiceModel.Install.Configuration.NativeConfigurationLoader.get_RootWebConfiguration()
at
System.ServiceModel.Install.Configuration.ProtocolsInstallComponent.get_UninstallActionMessage()
at
System.ServiceModel.Install.ServiceModelInstallComponent.GetActionString(InstallAction
action)
at Microsoft.Tools.ServiceModel.ServiceModelReg.Run(String[] args)
at Microsoft.Tools.ServiceModel.ServiceModelReg.TryRun(String[] args)

So it would seem that the problem is 'webengine.dll' is failing to
initialize. But why?

P.S. my image is XPE SP2 with all of the fixes up to October 07. I have
the winlogon component, but I boot into my own shell.
 
S

Smedly Tonker

Forgot to mention that I already did that

Sean Liming (MVP) said:
If you include Update Rollup 1.0, all you have to do is just add the .NET
Framework 3.0 component.

http://www.microsoft.com/downloads/...6F-CE42-45C7-ADD2-52F57959ECF2&displaylang=en

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
Smedly Tonker said:
I'm having trouble deploying .NET 3.0 in my XPE image. I have tried to
install .NET 3.0 using step by step instructions
(http://msdn2.microsoft.com/en-us/library/bb417255.aspx). I have all
required components listed in the step by step instructions.

When I install 'dotnetfx3.exe' I gett the following error in
'dd_dotnetfx3error.txt':
[11/13/07,06:08:55] Windows Communication Foundation: [2] Error:
Installation failed for component Windows Communication Foundation. MSI
returned error code 1603

On further examination I see that in 'dd_wcf_retCA14C.txt' the following
error:

ServiceModelReg [06:08:52:907]: System.DllNotFoundException: Unable to
load DLL 'webengine.dll': A dynamic link library (DLL) initialization
routine failed. (Exception from HRESULT: 0x8007045A)
at System.Web.UnsafeNativeMethods.IsapiAppHostGetSiteName(String appId,
StringBuilder buffer, Int32 size)
at
System.Web.Configuration.MetabaseServerConfig.MBGetSiteNameFromSiteID(String
siteID, String& siteName)
at System.Web.Configuration.MetabaseServerConfig..ctor()
at System.Web.Configuration.MetabaseServerConfig.GetInstance()
at System.Web.Configuration.IISMapPath.GetInstance()
at
System.Web.Configuration.WebConfigurationHost.ChooseAndInitConfigMapPath(Boolean
useConfigMapPath, IConfigMapPath configMapPath, ConfigurationFileMap
fileMap)
at
System.Web.Configuration.WebConfigurationHost.InitForConfiguration(String&
locationSubPath, String& configPath, String& locationConfigPath,
IInternalConfigRoot configRoot, Object[] hostInitConfigurationParams)
at System.Configuration.Configuration..ctor(String locationSubPath,
Type typeConfigHost, Object[] hostInitConfigurationParams)
at
System.Configuration.Internal.InternalConfigConfigurationFactory.System.Configuration.Internal.IInternalConfigConfigurationFactory.Create(Type
typeConfigHost, Object[] hostInitConfigurationParams)
at
System.Web.Configuration.WebConfigurationHost.OpenConfiguration(WebLevel
webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site,
String locationSubPath, String server, String userName, String password,
IntPtr tokenHandle)
at
System.Web.Configuration.WebConfigurationManager.OpenWebConfigurationImpl(WebLevel
webLevel, ConfigurationFileMap fileMap, String path, String site, String
locationSubPath, String server, String userName, String password, IntPtr
userToken)
at
System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(String
path)
at
System.ServiceModel.Install.Configuration.NativeConfigurationLoader.get_RootWebConfiguration()
at
System.ServiceModel.Install.Configuration.ProtocolsInstallComponent.get_UninstallActionMessage()
at
System.ServiceModel.Install.ServiceModelInstallComponent.GetActionString(InstallAction
action)
at Microsoft.Tools.ServiceModel.ServiceModelReg.Run(String[] args)
at Microsoft.Tools.ServiceModel.ServiceModelReg.TryRun(String[] args)

So it would seem that the problem is 'webengine.dll' is failing to
initialize. But why?

P.S. my image is XPE SP2 with all of the fixes up to October 07. I have
the winlogon component, but I boot into my own shell.
 
G

Guest

Hi,

I have purchased two embeded systems and I am having a similar problem,
I need to install .NET framework on the PC's for my applicaton.

When I try to run the .NET Framework 2.0 for XPe I get an error saying that
it can't find MSVBVM60.dll which I then see is MS Visual Basic 6.0 stuff.

Is that close to your problem? Sorry if I hijacked this thread ......

Cheers'
Dave
 
S

Smedly Tonker

No,
my problem has to do with the installation of WCF (which is part of .NET
3.0). I get the following stack trace:

Foundation\ServiceModelReg.exe ===
ServiceModelReg [07:59:27:884]: System.DllNotFoundException: Unable to load
DLL 'webengine.dll': A dynamic link library (DLL) initialization routine
failed. (Exception from HRESULT: 0x8007045A)
at System.Web.UnsafeNativeMethods.IsapiAppHostGetSiteName(String appId,
StringBuilder buffer, Int32 size)
at
System.Web.Configuration.MetabaseServerConfig.MBGetSiteNameFromSiteID(String
siteID, String& siteName)
at System.Web.Configuration.MetabaseServerConfig..ctor()
at System.Web.Configuration.MetabaseServerConfig.GetInstance()
at System.Web.Configuration.IISMapPath.GetInstance()
at
System.Web.Configuration.WebConfigurationHost.ChooseAndInitConfigMapPath(Boolean
useConfigMapPath, IConfigMapPath configMapPath, ConfigurationFileMap
fileMap)
at
System.Web.Configuration.WebConfigurationHost.InitForConfiguration(String&
locationSubPath, String& configPath, String& locationConfigPath,
IInternalConfigRoot configRoot, Object[] hostInitConfigurationParams)
at System.Configuration.Configuration..ctor(String locationSubPath, Type
typeConfigHost, Object[] hostInitConfigurationParams)
at
System.Configuration.Internal.InternalConfigConfigurationFactory.System.Configuration.Internal.IInternalConfigConfigurationFactory.Create(Type
typeConfigHost, Object[] hostInitConfigurationParams)
at
System.Web.Configuration.WebConfigurationHost.OpenConfiguration(WebLevel
webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site,
String locationSubPath, String server, String userName, String password,
IntPtr tokenHandle)
at
System.Web.Configuration.WebConfigurationManager.OpenWebConfigurationImpl(WebLevel
webLevel, ConfigurationFileMap fileMap, String path, String site, String
locationSubPath, String server, String userName, String password, IntPtr
userToken)
at
System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(String
path)
at
System.ServiceModel.Install.Configuration.NativeConfigurationLoader.get_RootWebConfiguration()
at
System.ServiceModel.Install.Configuration.ProtocolsInstallComponent.get_UninstallActionMessage()
at
System.ServiceModel.Install.ServiceModelInstallComponent.GetActionString(InstallAction
action)
at Microsoft.Tools.ServiceModel.ServiceModelReg.Run(String[] args)
at Microsoft.Tools.ServiceModel.ServiceModelReg.TryRun(String[] args)

Note:

a.. WebEnine.dll is part of my build
b.. I ran 'depends.exe' on 'webengine.dll' to see if there is any missing
components and found no missing decencies.
c.. I loaded process monitor to see what files, registry keys, or system
components fail to be found during the installation. Process monitor has
returned so much information (125,000+ lines) I'm not sure how to sift
though it to see what is useful.
 
S

Sean Liming \(MVP\)

You said that you where running XPe SP2 with all the updates - does this
include FP2007 and Update Rollup 1.0?

--
Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
Smedly Tonker said:
No,
my problem has to do with the installation of WCF (which is part of .NET
3.0). I get the following stack trace:

Foundation\ServiceModelReg.exe ===
ServiceModelReg [07:59:27:884]: System.DllNotFoundException: Unable to
load DLL 'webengine.dll': A dynamic link library (DLL) initialization
routine failed. (Exception from HRESULT: 0x8007045A)
at System.Web.UnsafeNativeMethods.IsapiAppHostGetSiteName(String appId,
StringBuilder buffer, Int32 size)
at
System.Web.Configuration.MetabaseServerConfig.MBGetSiteNameFromSiteID(String
siteID, String& siteName)
at System.Web.Configuration.MetabaseServerConfig..ctor()
at System.Web.Configuration.MetabaseServerConfig.GetInstance()
at System.Web.Configuration.IISMapPath.GetInstance()
at
System.Web.Configuration.WebConfigurationHost.ChooseAndInitConfigMapPath(Boolean
useConfigMapPath, IConfigMapPath configMapPath, ConfigurationFileMap
fileMap)
at
System.Web.Configuration.WebConfigurationHost.InitForConfiguration(String&
locationSubPath, String& configPath, String& locationConfigPath,
IInternalConfigRoot configRoot, Object[] hostInitConfigurationParams)
at System.Configuration.Configuration..ctor(String locationSubPath, Type
typeConfigHost, Object[] hostInitConfigurationParams)
at
System.Configuration.Internal.InternalConfigConfigurationFactory.System.Configuration.Internal.IInternalConfigConfigurationFactory.Create(Type
typeConfigHost, Object[] hostInitConfigurationParams)
at
System.Web.Configuration.WebConfigurationHost.OpenConfiguration(WebLevel
webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site,
String locationSubPath, String server, String userName, String password,
IntPtr tokenHandle)
at
System.Web.Configuration.WebConfigurationManager.OpenWebConfigurationImpl(WebLevel
webLevel, ConfigurationFileMap fileMap, String path, String site, String
locationSubPath, String server, String userName, String password, IntPtr
userToken)
at
System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(String
path)
at
System.ServiceModel.Install.Configuration.NativeConfigurationLoader.get_RootWebConfiguration()
at
System.ServiceModel.Install.Configuration.ProtocolsInstallComponent.get_UninstallActionMessage()
at
System.ServiceModel.Install.ServiceModelInstallComponent.GetActionString(InstallAction
action)
at Microsoft.Tools.ServiceModel.ServiceModelReg.Run(String[] args)
at Microsoft.Tools.ServiceModel.ServiceModelReg.TryRun(String[] args)

Note:

a.. WebEnine.dll is part of my build
b.. I ran 'depends.exe' on 'webengine.dll' to see if there is any missing
components and found no missing decencies.
c.. I loaded process monitor to see what files, registry keys, or system
components fail to be found during the installation. Process monitor has
returned so much information (125,000+ lines) I'm not sure how to sift
though it to see what is useful.
Dave Cason said:
Hi,

I have purchased two embeded systems and I am having a similar problem,
I need to install .NET framework on the PC's for my applicaton.

When I try to run the .NET Framework 2.0 for XPe I get an error saying
that
it can't find MSVBVM60.dll which I then see is MS Visual Basic 6.0 stuff.

Is that close to your problem? Sorry if I hijacked this thread ......

Cheers'
Dave
 
S

Smedly Tonker

That is correct (both FP2007 and Update Rollup 1.0). I figure out the
problem and posted the solution on this blog:

http://blogs.msdn.com/astebner/archive/2007/06/08/3165319.aspx

Sean Liming (MVP) said:
You said that you where running XPe SP2 with all the updates - does this
include FP2007 and Update Rollup 1.0?

--
Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
Smedly Tonker said:
No,
my problem has to do with the installation of WCF (which is part of .NET
3.0). I get the following stack trace:

Foundation\ServiceModelReg.exe ===
ServiceModelReg [07:59:27:884]: System.DllNotFoundException: Unable to
load DLL 'webengine.dll': A dynamic link library (DLL) initialization
routine failed. (Exception from HRESULT: 0x8007045A)
at System.Web.UnsafeNativeMethods.IsapiAppHostGetSiteName(String appId,
StringBuilder buffer, Int32 size)
at
System.Web.Configuration.MetabaseServerConfig.MBGetSiteNameFromSiteID(String
siteID, String& siteName)
at System.Web.Configuration.MetabaseServerConfig..ctor()
at System.Web.Configuration.MetabaseServerConfig.GetInstance()
at System.Web.Configuration.IISMapPath.GetInstance()
at
System.Web.Configuration.WebConfigurationHost.ChooseAndInitConfigMapPath(Boolean
useConfigMapPath, IConfigMapPath configMapPath, ConfigurationFileMap
fileMap)
at
System.Web.Configuration.WebConfigurationHost.InitForConfiguration(String&
locationSubPath, String& configPath, String& locationConfigPath,
IInternalConfigRoot configRoot, Object[] hostInitConfigurationParams)
at System.Configuration.Configuration..ctor(String locationSubPath,
Type typeConfigHost, Object[] hostInitConfigurationParams)
at
System.Configuration.Internal.InternalConfigConfigurationFactory.System.Configuration.Internal.IInternalConfigConfigurationFactory.Create(Type
typeConfigHost, Object[] hostInitConfigurationParams)
at
System.Web.Configuration.WebConfigurationHost.OpenConfiguration(WebLevel
webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site,
String locationSubPath, String server, String userName, String password,
IntPtr tokenHandle)
at
System.Web.Configuration.WebConfigurationManager.OpenWebConfigurationImpl(WebLevel
webLevel, ConfigurationFileMap fileMap, String path, String site, String
locationSubPath, String server, String userName, String password, IntPtr
userToken)
at
System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(String
path)
at
System.ServiceModel.Install.Configuration.NativeConfigurationLoader.get_RootWebConfiguration()
at
System.ServiceModel.Install.Configuration.ProtocolsInstallComponent.get_UninstallActionMessage()
at
System.ServiceModel.Install.ServiceModelInstallComponent.GetActionString(InstallAction
action)
at Microsoft.Tools.ServiceModel.ServiceModelReg.Run(String[] args)
at Microsoft.Tools.ServiceModel.ServiceModelReg.TryRun(String[] args)

Note:

a.. WebEnine.dll is part of my build
b.. I ran 'depends.exe' on 'webengine.dll' to see if there is any
missing components and found no missing decencies.
c.. I loaded process monitor to see what files, registry keys, or system
components fail to be found during the installation. Process monitor has
returned so much information (125,000+ lines) I'm not sure how to sift
though it to see what is useful.
Dave Cason said:
Hi,

I have purchased two embeded systems and I am having a similar problem,
I need to install .NET framework on the PC's for my applicaton.

When I try to run the .NET Framework 2.0 for XPe I get an error saying
that
it can't find MSVBVM60.dll which I then see is MS Visual Basic 6.0
stuff.

Is that close to your problem? Sorry if I hijacked this thread ......

Cheers'
Dave

:
If you include Update Rollup 1.0, all you have to do is just add the
.NET
Framework 3.0 component.
http://www.microsoft.com/downloads/...6F-CE42-45C7-ADD2-52F57959ECF2&displaylang=en
Regards,
Sean Liming
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top