This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C60BB5.3B5E26D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
All,
I am running a middle tier component (MarshalByRefObject) as a Windows =
Service (the Windows Service starts a Console Application which hosts =
the Middle Tier component). When the services is running under a =
non-64bit machine, it runs without any problems (accepts client =
connections and API calls).=20
However, when running on a 64bit Win 2003 server, I am getting the the =
"Unable to find the requested .Net Framework Data Provider. It may not =
be installed." error. I am running Microsoft Windows Services 2003 =
Standard x64 Edition. I compiled the software using "Any CPU" setting. I =
am also getting the error if I start the console application directly.
The following contains error information (check InnerException).=20
Error Message:
Exception has been thrown by the target of an invocation.
Error Source:
mscorlib:
Error StackTrace:=20
Server stack trace:=20
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean =
publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& =
ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean =
fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean =
skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at =
System.Runtime.Remoting.RemotingConfigHandler.RemotingConfigInfo.StartupW=
ellKnownObject(String asmName, String svrTypeName, String URI, =
WellKnownObjectMode mode, Boolean fReplace)
at =
System.Runtime.Remoting.RemotingConfigHandler.RemotingConfigInfo.StartupW=
ellKnownObject(String URI)
at =
System.Runtime.Remoting.IdentityHolder.CasualResolveIdentity(String uri)
at System.Runtime.Remoting.Messaging.MethodCall.ResolveType()
at System.Runtime.Remoting.Messaging.MethodCall.ResolveMethod(Boolean =
bThrowIfNotResolved)
at System.Runtime.Remoting.Messaging.MethodCall..ctor(Object =
handlerObject, BinaryMethodCallMessage smuggledMsg)
at =
System.Runtime.Serialization.Formatters.Binary.BinaryMethodCall.ReadArray=
(Object[] callA, Object handlerObject)
at =
System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(H=
eaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean =
isCrossAppDomain, IMethodCallMessage methodCallMessage)
at =
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserializ=
e(Stream serializationStream, HeaderHandler handler, Boolean fCheck, =
Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at =
System.Runtime.Remoting.Channels.CoreChannel.DeserializeBinaryRequestMess=
age(String objectUri, Stream inputStream, Boolean bStrictBinding, =
TypeFilterLevel securityLevel)
at =
System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage=
(IServerChannelSinkStack sinkStack, IMessage requestMsg, =
ITransportHeaders requestHeaders, Stream requestStream, IMessage& =
responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
Exception rethrown at [0]:=20
at =
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage =
reqMsg, IMessage retMsg)
at =
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& =
msgData, Int32 type)
at SAC.DataServices.EventServer.AttachClient(EventClient eventClient)
at SAC.DataServices.EventClient.gI() in =
C:\CSharp\EventServerClient\EventClient.cs:line 22
Inner Exception:
Error Message:
Unable to find the requested .Net Framework Data Provider. It may not =
be installed.
Error Source:=20
System.Data
Error StackTrace:
at System.Data.Common.DbProviderFactories.GetFactory(String =
providerInvariantName)
at =
Microsoft.Practices.EnterpriseLibrary.Data.DatabaseConfigurationView.GetD=
efaultMapping(String name, String dbProviderName)
at =
Microsoft.Practices.EnterpriseLibrary.Data.DatabaseConfigurationView.GetP=
roviderMapping(String name, String dbProviderName)
at =
Microsoft.Practices.EnterpriseLibrary.Data.DatabaseCustomFactory.CreateOb=
ject(IBuilderContext context, String name, IConfigurationSource =
configurationSource, ConfigurationReflectionCache reflectionCache)
at =
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.=
ConfiguredObjectStrategy.BuildUp(IBuilderContext context, Type t, Object =
existing, String id)
at =
Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext=
context, Type typeToBuild, Object existing, String idToBuild)
at =
Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext=
context, Type typeToBuild, Object existing, String idToBuild)
at =
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.=
ConfigurationNameMappingStrategy.BuildUp(IBuilderContext context, Type =
t, Object existing, String id)
at =
Microsoft.Practices.ObjectBuilder.BuilderBase`1.DoBuildUp(IReadWriteLocat=
or locator, Type typeToBuild, String idToBuild, Object existing, =
PolicyList[] transientPolicies)
at =
Microsoft.Practices.ObjectBuilder.BuilderBase`1.BuildUp(IReadWriteLocator=
locator, Type typeToBuild, String idToBuild, Object existing, =
PolicyList[] transientPolicies)
at =
Microsoft.Practices.ObjectBuilder.BuilderBase`1.BuildUp[TTypeToBuild](IRe=
adWriteLocator locator, String idToBuild, Object existing, PolicyList[] =
transientPolicies)
at =
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.=
EnterpriseLibraryFactory.BuildUp[T](IReadWriteLocator locator, =
IConfigurationSource configurationSource)
at =
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.=
EnterpriseLibraryFactory.BuildUp[T](IConfigurationSource =
configurationSource)
at =
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.=
EnterpriseLibraryFactory.BuildUp[T]()
at =
Microsoft.Practices.EnterpriseLibrary.Data.DatabaseFactory.CreateDatabase=
()
at SAC.DataServices.CorpAction.WithholdingTax.BizSvr..ctor()
Please advice, Thanks,
John Yung
------=_NextPart_000_0008_01C60BB5.3B5E26D0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1515" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>All,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I am running a middle tier component=20
(MarshalByRefObject) as a Windows Service (the Windows Service starts a =
Console=20
Application which hosts the Middle Tier component). When the services is =
running=20
under a non-64bit machine, it runs without any problems (accepts client=20
connections and API calls). </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>However, when running on a 64bit Win =
2003 server, I=20
am getting the the "Unable to find the requested .Net Framework Data=20
Provider. It may not be installed." error. I am running Microsoft =
Windows=20
Services 2003 Standard x64 Edition. I compiled the software using "Any =
CPU"=20
setting. I am also getting the error if I start the console application=20
directly.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The following contains error =
information (check=20
InnerException). </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>Error =
Message:</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Exception has been thrown by the target =
of an=20
invocation.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>Error =
Source:</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>mscorlib:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>Error StackTrace: =
<BR></STRONG>Server stack=20
trace: <BR> at =
System.RuntimeTypeHandle.CreateInstance(RuntimeType=20
type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached,=20
RuntimeMethodHandle& ctor, Boolean& =
bNeedSecurityCheck)<BR> =20
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean=20
fillCache)<BR> at =
System.RuntimeType.CreateInstanceImpl(Boolean=20
publicOnly, Boolean skipVisibilityChecks, Boolean =
fillCache)<BR> at=20
System.Activator.CreateInstance(Type type, Boolean =
nonPublic)<BR> at=20
System.Runtime.Remoting.RemotingConfigHandler.RemotingConfigInfo.StartupW=
ellKnownObject(String=20
asmName, String svrTypeName, String URI, WellKnownObjectMode mode, =
Boolean=20
fReplace)<BR> at=20
System.Runtime.Remoting.RemotingConfigHandler.RemotingConfigInfo.StartupW=
ellKnownObject(String=20
URI)<BR> at=20
System.Runtime.Remoting.IdentityHolder.CasualResolveIdentity(String=20
uri)<BR> at=20
System.Runtime.Remoting.Messaging.MethodCall.ResolveType()<BR>  =
; at=20
System.Runtime.Remoting.Messaging.MethodCall.ResolveMethod(Boolean=20
bThrowIfNotResolved)<BR> at=20
System.Runtime.Remoting.Messaging.MethodCall..ctor(Object handlerObject, =
BinaryMethodCallMessage smuggledMsg)<BR> at=20
System.Runtime.Serialization.Formatters.Binary.BinaryMethodCall.ReadArray=
(Object[]=20
callA, Object handlerObject)<BR> at=20
System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(H=
eaderHandler=20
handler, __BinaryParser serParser, Boolean fCheck, Boolean =
isCrossAppDomain,=20
IMethodCallMessage methodCallMessage)<BR> at=20
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserializ=
e(Stream=20
serializationStream, HeaderHandler handler, Boolean fCheck, Boolean=20
isCrossAppDomain, IMethodCallMessage methodCallMessage)<BR> =
at=20
System.Runtime.Remoting.Channels.CoreChannel.DeserializeBinaryRequestMess=
age(String=20
objectUri, Stream inputStream, Boolean bStrictBinding, TypeFilterLevel=20
securityLevel)<BR> at=20
System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage=
(IServerChannelSinkStack=20
sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream =
requestStream, IMessage& responseMsg, ITransportHeaders&=20
responseHeaders, Stream& responseStream)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Exception rethrown at [0]: =
<BR> at=20
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage =
reqMsg,=20
IMessage retMsg)<BR> at=20
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& =
msgData, Int32 type)<BR> at=20
SAC.DataServices.EventServer.AttachClient(EventClient=20
eventClient)<BR> at SAC.DataServices.EventClient.gI() in=20
C:\CSharp\EventServerClient\EventClient.cs:line 22</FONT></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV><FONT face=3DArial size=3D2><STRONG>Inner =
Exception:</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>Error =
Message:</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Unable to find the requested .Net =
Framework Data=20
Provider. It may not be installed.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>Error Source: =
</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>System.Data</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>Error =
StackTrace:</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2> at=20
System.Data.Common.DbProviderFactories.GetFactory(String=20
providerInvariantName)<BR> at=20
=
Microsoft.Practices.EnterpriseLibrary.Data.DatabaseConfigurationView.GetD=
efaultMapping(String=20
name, String dbProviderName)<BR> at=20
=
Microsoft.Practices.EnterpriseLibrary.Data.DatabaseConfigurationView.GetP=
roviderMapping(String=20
name, String dbProviderName)<BR> at=20
=
Microsoft.Practices.EnterpriseLibrary.Data.DatabaseCustomFactory.CreateOb=
ject(IBuilderContext=20
context, String name, IConfigurationSource configurationSource,=20
ConfigurationReflectionCache reflectionCache)<BR> at=20
=
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.=
ConfiguredObjectStrategy.BuildUp(IBuilderContext=20
context, Type t, Object existing, String id)<BR> at=20
=
Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext=
=20
context, Type typeToBuild, Object existing, String =
idToBuild)<BR> =20
at =
Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext=
=20
context, Type typeToBuild, Object existing, String =
idToBuild)<BR> =20
at=20
=
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.=
ConfigurationNameMappingStrategy.BuildUp(IBuilderContext=20
context, Type t, Object existing, String id)<BR> at=20
=
Microsoft.Practices.ObjectBuilder.BuilderBase`1.DoBuildUp(IReadWriteLocat=
or=20
locator, Type typeToBuild, String idToBuild, Object existing, =
PolicyList[]=20
transientPolicies)<BR> at=20
=
Microsoft.Practices.ObjectBuilder.BuilderBase`1.BuildUp(IReadWriteLocator=
=20
locator, Type typeToBuild, String idToBuild, Object existing, =
PolicyList[]=20
transientPolicies)<BR> at=20
=
Microsoft.Practices.ObjectBuilder.BuilderBase`1.BuildUp[TTypeToBuild](IRe=
adWriteLocator=20
locator, String idToBuild, Object existing, PolicyList[]=20
transientPolicies)<BR> at=20
=
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.=
EnterpriseLibraryFactory.BuildUp[T](IReadWriteLocator=20
locator, IConfigurationSource configurationSource)<BR> at=20
=
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.=
EnterpriseLibraryFactory.BuildUp[T](IConfigurationSource=20
configurationSource)<BR> at=20
=
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.=
EnterpriseLibraryFactory.BuildUp[T]()<BR> =20
at=20
=
Microsoft.Practices.EnterpriseLibrary.Data.DatabaseFactory.CreateDatabase=
()<BR> =20
at=20
SAC.DataServices.CorpAction.WithholdingTax.BizSvr..ctor()</FONT></DIV></B=
LOCKQUOTE>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Please advice, Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>John Yung</FONT></DIV></BODY></HTML>
------=_NextPart_000_0008_01C60BB5.3B5E26D0--