Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Unable to generate Early Bound Entities

$
0
0

Hi all,

For some reason I'm unable to generate early bound entities on a D365 Online organization, I tried using XRMToolbox(in the latest version) and CrmSvcUtil(v9) utility but on both ways I get the following error:

Exiting program with exception: Unable to initialize the native configuration support external to the web worker process (HRESULT=0x80040154).
nativerd.dll must be in %windir%\system32\inetsrv.
CrmSvcUtil Error: 2 : Exiting program with exit code 2 due to exception : System.InvalidOperationException: Unable to initialize the native configuration support external to the web worker process (HRESULT=0x80040154).
nativerd.dll must be in %windir%\system32\inetsrv.
at System.Web.Configuration.ProcessHostConfigUtils.NativeConfigWrapper..ctor()
at System.Web.Configuration.ProcessHostConfigUtils.InitStandaloneConfig()
at System.Web.Configuration.ProcessHostMapPath..ctor(IProcessHostSupportFunctions functions)
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.Hosting.HostingEnvironment.get_CacheStoreProviderSettings()
at System.Web.Caching.Cache.GetObjectCache(Boolean createIfDoesNotExist)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.GetCachedCRMService(CrmWebSvc& ConnectionObject)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.IntilizeService(CrmWebSvc& ConnectionObject)
at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.DoLogin(CrmWebSvc& ConnectionObject)
at Microsoft.Xrm.Tooling.Connector.CrmServiceClient.CreateCRMWebServiceConnection(OrganizationServiceProxy externalOrgServiceProxy, AuthenticationType requestedAuthType, String hostName, String port, String orgName, NetworkCredential credential, String userId, SecureString password, String domain, String CrmOnlineRegion, String claimsHomeRealm, Boolean useSsl, Boolean useUniqueInstance, OrganizationDetail orgDetail, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, OrganizationWebProxyClient externalOrgWebProxyClient, String certificateThumbPrint, StoreName certificateStoreName, X509Certificate2 certificate, Uri instanceUrl, Boolean isCloned)
at Microsoft.Xrm.Tooling.Connector.CrmServiceClient.ConnectToCrmWebService(String crmConnectionString)
at Microsoft.Xrm.Tooling.Connector.CrmServiceClient..ctor(String crmConnectionString)
at Microsoft.Crm.Services.Utility.SdkMetadataProviderService.CreateOrganizationServiceEndpoint()
at Microsoft.Crm.Services.Utility.SdkMetadataProviderService.LoadMetadata(IServiceProvider service)
at Microsoft.Crm.Services.Utility.CrmSvcUtil.Run()
at Microsoft.Crm.Services.Utility.CrmSvcUtil.Main(String[] args)

Is there any workaround for this problem?

Thanks in advance!


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>