Skip to main content

Posts

Showing posts with the label WCF

BizTalk WCF : BizTalk System.ServiceModel.AddressAccessDeniedException

BizTalk System.ServiceModel.AddressAccessDeniedException You configure a self-hosted service at a BizTalk receive location using a localhost address, and when you try to enable the service (receive location) you get the above error with the details 'HTTP could not register URL http://+:80/Service.CreateService.FirstService.v1/. Your process does not have access rights to this namespace' I was getting above error when trying to Enable WCF receive location. To overcome this issue, you need to Solution 1. Open the Visual studio command prompt (using the run as administrator option) 2. Type in the command netsh http add urlacl url=http://+:80/<the rest of the address that comes after localhost/> user=DOMAIN\username (So, if your full address ishttp://localhost/company.bookings.carbookingservice, you type inhttp://+:80/company.bookings.carbookingservice) User Name should be same under which your host is running. 3. Enter to run the command 4.  res...

BizTalk Oracle/SQL execution error on ReceiveLocation : Action http://Microsoft.LobServices.OracleDB

BizTalk Oracle/SQL execution error on ReceiveLocation When we try to call SQL/Oracle StoredProcedure/package from the ReceiveLocation with Default PollingAction generated then it might give error as   we need to add “Polling” in the name of package or stored procedure. The Messaging Engine failed to add a receive location "Zim.EAI.Framework.RL_ReTestGet" with URL "oracledb://goDEV1/?PolllingID=1111" to the adapter "WCF-Custom". Reason: "System.NotSupportedException: Action "http://Microsoft.LobServices.OracleDB/2007/03/EBT/Package/BL_GO_PCK/GETDATA_XML" is invalid.    at Microsoft.Adapters.OracleDB.OracleDBInboundContract..ctor(OracleDBConnection connection, IOracleCommonUDTHelper oracleUdtHelper, MetadataLookup metadataLookup) Auto Generated Action : http://Microsoft.LobServices.OracleDB/2007/03/EBT/Package/BL_GO_PCK/GETDATA_XML http://Microsoft.LobServices.OracleDB/2007/03/EBT/Procedure/B...

Creating & Configuring Application pool for Website/WCF service in IIS

Creating & Configuring a new Application pool for Website/WCF service in IIS    1. Create and Deploy your web application/WCf service to IIS.    2.   Click “Application Pools” à right Click mouse, select “Add Application Pool”    3. Type the name of Application pool, Select the required framework version and Managed Pipeline Mode. Click OK. This will create a new application pool.   4. For performance and timeout related setting, please go to “Advance Setting” option of Application pool. It’s recommended to update advance setting of application pool carefully. As there are many setting which can affect performance of your application.  5. Once you create the application pool as per your requirement. Then go to WCF/Web Application which need to be configured to run under this application pool. 6.   Go to “Manage Application” à “Advance setting” 7. Go to “Application Pool”. Cli...

WCF throttling (Resource Utilization/ Load Balance) configuration

WCF throttling (Resource Utilization/ Load Balance) : Limit how many instances or sessions are created at the application level for better utilization of resource and memory. Resource Utilization : With the implementation of throttling, we can properly utilize the available resource like Memory, threads. Each resource could be managed at its reasonable limit to avoid very high utilization of any specific resource. Load Balance :   Application should work under   balanced load. If we execute anything concurrently then there could lot of performance and load balancing related problem will occur. WCF throttling allow us to manage our resource utilization and balancing the load as per our processor/RAM availability. We have   following three property which allow us to control WCF service behavior:       WCF throttling                   -WCF b...