System.Web.Configuration.IISMapPath.GetInstance
(1)
Visual Basic 6.0
(1)
Windows Communication Foundation
(1)
WCF
(1)
XP
(1)
IInternalConfigRoot
(1)
IConfigMapPath
(1)
HostInitConfigurationParams
(1)

Trouble deploying .NET 3.0 in my XPE image

Asked By Smedly Tonker
13-Nov-07 11:00 AM
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.

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

Asked By Sean Liming \(MVP\)
13-Nov-07 12:07 PM
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/details.aspx?familyid=70A79E6F-CE42-45C7-ADD2-52F57959ECF2&displaylang=en

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit

Forgot to mention that I already did that"Sean Liming (MVP)"

Asked By Smedly Tonker
13-Nov-07 12:22 PM
Forgot to mention that I already did that

Hi,I have purchased two embeded systems and I am having a similar problem,I

Asked By Dave Caso
20-Nov-07 10:24 AM
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
No,my problem has to do with the installation of WCF (which is part of .NET 3.
Asked By Smedly Tonker
21-Nov-07 10:40 AM
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.
You said that you where running XPe SP2 with all the updates - does this
Asked By Sean Liming \(MVP\)
21-Nov-07 12:02 PM
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
That is correct (both FP2007 and Update Rollup 1.0).
Asked By Smedly Tonker
10-Dec-07 02:43 PM
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
Post Question To EggHeadCafe