Quantcast
Channel: BizTalk Server Adapters and Adapter Pack Forum
Viewing all 197 articles
Browse latest View live

[Biztalk Adapter Pack 2.0] the receive locations and send ports with Transport Type WCF-OracleDBBinding fails to start or shuts down

$
0
0
 

I have installed Microsoft Biztalk 2010 32 bit and Biztalk Adapter pack 2.0 on windows 7 machine. everything is working fine except for WCF Oracle DB Binding.The machine has oracle XE 11g installed. also i have installed "win32_11gR2_client.zip" to get the latest Oracle.DataAccess.dll version



i have tried many times but it seems that the WCF adapter for oracle keeps referencing old version and I have updated the "Microsoft.Adapters.OracleDB.config" to be:

<configuration>
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="Oracle.DataAccess" publicKeyToken="89b483f429c47342" culture="neutral" />
                <bindingRedirect oldVersion="2.111.7.20" newVersion="2.112.3.0"/>
            </dependentAssembly>

        </assemblyBinding>
    </runtime>
</configuration>

 the errors I see in the event log are:

    1.
Receive Location2
oracledb://localhost:1521/XE/Dedicated
The Messaging Engine failed while notifying an adapter of its configuration.

   2. 

oracledb://localhost:1521/XE/Dedicated
WCF_OracleDB
System.TypeInitializationException: The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception. ---> Oracle.DataAccess.Client.OracleException: The provider is not compatible with the version of Oracle client at Oracle.DataAccess.Client.OracleInit.Initialize() at Oracle.DataAccess.Client.OracleConnection..cctor() --- End of inner exception stack trace --- at Oracle.DataAccess.Client.OracleConnection..ctor() at Microsoft.Adapters.OracleDB.OracleDBBinding.Initialize() at Microsoft.Adapters.OracleDB.OracleDBBinding.CreateBindingElements() at System.ServiceModel.Channels.CustomBinding.SafeCreateBindingElements(Binding binding) at System.ServiceModel.Channels.Binding.CanBuildChannelListener[TChannel](BindingParameterCollection parameters) at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfUtils.IsQueuedReceive(Binding binding) at Microsoft.BizTalk.Adapter.Wcf.Runtime.BtsServiceHostBase.InitializeRuntime() at System.ServiceModel.ServiceHostBase.OnBeginOpen() at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint.Enable() at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint..ctor(BizTalkEndpointContext endpointContext, IBTTransportProxy transportProxy, ControlledTermination control) at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiver`2.AddReceiveEndpoint(String url, IPropertyBag adapterConfig, IPropertyBag bizTalkConfig)

I have gone through many posts and answers and i tried all but the problem was not solved.

1. Does the adapter pack support oracle 11g of all it flavors  ( XE, Enterprise... etc) ?

2. Is there a specific ORDERED steps, that I should follow, to install a configure the WCF Adapter for oracle?

3. the 32 bit is only a staging machine, the production will be on 64 bit, will there be any change i should know about?

I appreciate any help to resolve this issue.

 Thanks,

EHAB

 

 


Error using Microsoft Dynamics Ax 2009 adapter in BizTalk 2009

$
0
0

Hi!

I have installed BizTalk Server 2009 on a Windows 7 server, and also the Microsoft Dynamics Ax 2009 BizTalk Adapter. The AOS is located on another server then BizTalk Server.

When there are any documents in the AIF Queue Manager, I get the following error in BizTalk, and the status of the documents is Failed:

Event Type: Error
Event Source: Microsoft Dynamics AX 2009 adapter
Event Category: None
Event ID: 0
Date:  04.05.2010
Time:  09:20:47
User:  N/A
Computer: SKBIZ01.Skeidar.no
Description:
The following error occurred in 'ReceiveBatch.SubmitFailure':  Exception from HRESULT: 0xC0C01620
--------------------------------------------------------------------------
Product Version : 5.0
Assembly Version : 5.0.0.0
Class  : AppEventLog
Method  : WriteLocalizedError
Subsystem : BizTalkDynamicsAdapter
--------------------------------------------------------------------------

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Does anyone knows what the error is and how to fix it? I can download schemas from Dynamics Ax in visual studio, and all seems to be configured correctly.

By the way, I get the following warning in the event log when I restart the BizTalk Server:

Event Type: Warning
Event Source: Dynamics .NET Business Connector 5.0
Event Category: None
Event ID: 110
Date:  04.05.2010
Time:  09:19:46
User:  N/A
Computer: SKBIZ01.Skeidar.no
Description:
Microsoft Dynamics AX Business Connector Session 4.

Fail to create file C:\Users\BTSSER~1\AppData\Local\Temp\axsysNB-NO-5.0.1500.1313.kti because of errno=13


For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

 

In the AIF Queue Manager I get the following error:

The message could not be submitted to BizTalk Server.  Loading property information list by namespace failed or property not found in the list. Verify that the schema is deployed properly.   Error Code: 0xC0C01303.  See the event log on the computer running BizTalk Server (SKBIZ01) for details.

There are no properties promoted in the schema.

Thanks!

BizTalk WCF -Custom adapter with Oracle binding

$
0
0

I am receiving below warning continuously in production. Warning started all of sudden last month. We have 30+ oracle receive locations. Hard to identity which receive location is the culprit.

COnfiguration

close/open/send timeouts : 00:10:00

receive time out : 24:20:31:23.647

use ambient transaction : true

use conneciton pool : true

Poll data available,polling stmt, post poll statement are select queries with respect to DB tables

In behaviour section, added Oracle DB extension with serializable and 10 min time out

Warning

The adapter "WCF-Custom" raised an error message. Details "Microsoft.ServiceModel.Channels.Common.TargetSystemException: ORA-01013: user requested cancel of current operation ---> Oracle.DataAccess.Client.OracleException: ORA-01013: user requested cancel of current operation

at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck)

at Oracle.DataAccess.Client.OracleCommand.ExecuteReader(Boolean requery, Boolean fillRequest, CommandBehavior behavior)

at Oracle.DataAccess.Client.OracleCommand.ExecuteReader()

at Oracle.DataAccess.Client.OracleCommand.ExecuteScalar()

at Microsoft.Adapters.OracleCommon.OracleCommonUtils.ExecuteScalar(OracleCommand command, OracleCommonExecutionHelper executionHelper)

--- End of inner exception stack trace ---

at Microsoft.Adapters.OracleCommon.OracleCommonUtils.ExecuteScalar(OracleCommand command, OracleCommonExecutionHelper executionHelper)

at Microsoft.Adapters.OracleDB.OracleDBInboundContract.Polling_WaitForMessage(OracleCommonExecutionHelper executionHelper, OracleCommonConnectionWrapper connection)

at Microsoft.Adapters.OracleDB.OracleDBInboundContract.Polling_WaitForMessage(OracleCommonExecutionHelper executionHelper)

at Microsoft.Adapters.OracleDB.OracleDBInboundContract.WaitForMessage(TimeSpan timeout)

at Microsoft.ServiceModel.Channels.Common.Channels.AdapterInputChannel.WaitForMessage(TimeSpan timeout)

at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.WaitForMessage()".

Configuring Basic Auth for a SOAP receive location

$
0
0

This is a simple thing, but I've been searching for hours and can't find a complete example. 

I published an orchestration (BT2010, IIS7) as a simple web service (not WCF).  I have disabled anonymous access and enabled Basic Authentication.  If I try to browse to it, I get a dialog box asking for credentials. 

I set up a local account on the machine, and added it to the IIS_WPG group, and made sure the app pool is running under an account that is part of the Biztalk isolated hosts group. 

 

One question and one problem: When a SOAP request comes in, IIS will retrieve the credentials from within that instead of trying to present a dialog bos, correct?

 

Now my problem. Supplying the credentials doesn't seem to work.  I've tried setting the default domain to the machine name and domain path  server.somedomain.parentdomain, I've tried using my domain own domain account as login credentials, none of it works. 

So first, do I have to use a Windows account? Can I set up some dummy account just for this web site? 

And second, if its a Windows account, what am I doing wrong here?  I have found a ton of examples for consuming web services,  but of the ones for exposing web services none walk you through setting up a Basic Auth solution. 

 

Thanks

 

 

 

 

 


Down there somewhere, its just ones and zeros.

Is there a way to can biztalk recieve message from from a Restful service.

$
0
0

In one of my requirement i need to take a input from restful service within biztalk.

how can i creata a recieve location to recieve messages from Restful service .

Can WCF adapter with some custom, configuration help in this regard.

can someone please help??


Could n't Store transport type data for receive location

$
0
0

hi Friends,

iam getting this problem in ms admin consol

thanks

kasireddy

Microsoft BizTalk Adapter v2.0 for mySAP Business Suite - Receive Location shutting down

$
0
0

Hi Team,

We are using mySAP adapter v2.0 for connecting to SAP system. This was working good till the past few days and suddenly the receive location is shutting down with the below log in the event viewer.

The receive location "RCV_SAP_IDOC" with URL "SAP://SAPServer/ProgramID/SAPGW05/" is shutting down. Details:"See RFC trace file or SAP system log for more details".

When we re enable the receive location, it stays active for about 30 mins and once again fails automatically with the above error mentioned. If any Idocs were posted when the receive location is active, they don't reach BizTalk and no errors or logs observed in BizTalk. 

Could you please help me in resolving this issue or any idea on enabling the traces in BizTalk server? Thanks.

Regards, 
Krishna Chaitanya.


BizTalk Server 2010 Support for aMaDEUS

$
0
0

Are there any adapters that i can use to communicate with aMaDEUS  and are specifically built for it?

thanks.



BatchComplete Event Error - Windows Sharepoint Services Adapter - BizTalk 2010

$
0
0

Hi 

Any idea if there is any Cumulative Update or Hotfix for this error please

The Messaging Engine received an error from transport adapter "Windows SharePoint Services" when notifying the adapter with the BatchComplete event. Reason "Exception from HRESULT: 0x80C0169C".

The transport batch from adapter "Windows SharePoint Services" has been rejected by the messaging engine because the batch is empty. Contact the adapter provider to find out why the transport batch is empty.

The send handler batch size is set to default 20  and time out on the send port is set to maximum value ,the error is intermittent though.

Thanks 


http://biztalkguide.blogspot.com/ Please mark as answer if this solved the issue.Thanks

BizTalk WCF-HTTP adapter issues

$
0
0

Hi,

I have a requirement where I need to post an excel file to an API (HTTP Post). No modifications to be done to the excel file and it needs to be posted as is. I'm using a File receive adapter (pass thorough pipeline) and a subscription on the send port to send it through. If I use HTTP adapter to send it, it succeeds. The issue is, we were asked to use NTLM authentication when posting the message and there is no option on the HTTP send adapter. So, we thought to use WCF-WSHTTP or WCF-BasicHTTP and configure this in Security tab. But when we try to transmit the message (Passthrough pipeline in send adapter as well), it fails with the below error:

A message sent to adapter "WCF-WSHttp" on send port "SendKPIWCF-WSHttp" with URI "http://ServerName/PerfDashboardV2/IntegratedAPI/FileUploads/PostFile?FileType=0&FileName=FileName.xls" is suspended. 
 Error details: System.Xml.XmlException: Invalid character in the given encoding. Line 1, position 1.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
   at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
   at System.Xml.XmlTextReaderImpl.ReadData()
   at System.Xml.XmlTextReaderImpl.ParseXmlDeclaration(Boolean isTextDecl)
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkBodyWriter.ValidateStreamContainsXml(Stream stream)
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfMarshaller.CreateWcfMessage(CreateWcfMessageSettings settings)
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.SendRequestMessage(IBaseMessage bizTalkMessage, IRequestChannel channel)
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.SendMessage(IBaseMessage bizTalkMessage) 
 MessageId:  {2E63D5FF-AC9B-4921-9AA6-3CFC7E016A24}
 InstanceID: {259579DB-6C70-4DFB-BDE0-7F435782BEF0}

Can you please help me in understanding this issue? First of all, I'm very unclear on why the XML Exception is thrown when we are trying to use Passthrough on the receive and send sides. Any help is highly appreciated. Thanks.

Regards,

Krishna Chaitanya

BizTalk: Adding ApplicationName keyword and value into WCF-SQL Adapter connection string?

$
0
0

Hello,

We are monitoring the activities on our services exposed by sqlserver to know who is using what. It helps us to make decision on how/when to upgrade views and storedprocs based on usage and also to troubleshoot incidents.

In our environment, other than users using the services (views and storedproc), we have many BizTalk applications that also consume the services. In the reporting tool (a cube), we can see service consumption by servicename/user/application/hostname/time and all.

However, BizTalk Server has separate hosts using the same credentials and application sharing the same hosts. Thus, in the reporting tool, one cannot determine which BizTalk application port is using that specific service since they all have the same loginame and program_name on the sql server side (see master.sys.sysprocesses view).

We could review our host configuration and add hosts with different credentials and assign them to the rcv or snd ports. But this path can quickly becomes a configuration hell (declaring host, add hosts instances, assign adapters to hosts, review host distribution by ports and ...)

Instead, our DBA ask us to modify/add the "Application Name" keyword in the connection string and assign the BizTalk application name. Sounds easy. Unfortunately, this keyword is not accessible from WCF-SQL binding. Strangely, the WorkstationId, another connection string keyword, can be set from the bindings. But it is somehow wrong to use it for something other than hostname. And it would look awkward in the reports.

So, is there a way to modify and add the applicationname keyword in the connection string of a WCF-SQL adapter (BizTalk Adapter Pack 2.0 CU5)? I did investigate and review Microsoft.Adapters.SQL code. I cannot understand the relation between WCF Channel and SqlAdapterConnectionUri classes. The latter seem the place where to intervene. But it may already to deep down into the mechanism.

And why WorkstationId is in the binding and not ApplicationName? To me, it make more sense to customize the AppName and not the hostname, right?

Thanks,

Etienne


Unable to Pick a Queue Manager

$
0
0

I installed the MQ 7.1 Trial for Windows and installed / configured BizTalk in advanced mode. BIzTalk SQL and MQ are on the same server. I configured the agent to run on the administrative account that is assigned to all groups. I also configured the MQ Agent to run on the same user. When I try to create a receive locations with MQ Adapter I get an error. When I try to pick the Queue Manager on the dialog after specifying the server I get an error dialogue with "QueryQueueManager" text and nothing else on it.

Can you please help me diagnose this problem?

Error When I try to pick the queue Managers


Samar Roy 630-999-8435

BizTalk 2010 There was a failure executing the send pipeline: "BTAHL72XPipelines.BTAHL72XSendPipeline, BTAHL72XPipelines, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "BTAHL7 2.X Assembler" Reason: Body schema is missing

$
0
0

I have no clue some reason ..i am getting this exception..cound not able to getrid of it.BizTalk 2010

There was a failure executing the send pipeline: "BTAHL72XPipelines.BTAHL72XSendPipeline, BTAHL72XPipelines, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "BTAHL7 2.X Assembler"  Reason: Body schema is missing

Biztalk 2010 to CRM 2011 On-premise integration binding problem

$
0
0

Hi Experts,

I am doing one demo to connect to crm 2011 from BizTalk 2010 by following below resources.

Source: Packtpub.Microsoft.BizTalk LOB Integration pdf book
chapter:Chapter 3.

Scenario: Working on a project to send messages from biztalk 2010 to crm 2011 on-premise ,I have been stuck with the below mentioned error:

The adapter failed to transmit message going to send port

"WcfSendPort_OrganizationService_CustomBinding_IOrganizationService_Custom" with URL

"http://mycrmbox:6666/MyOrg/XRMServices/2011/Organization.svc". It will be retransmitted

after the retry interval specified for this Send Port.

Details:"System.ServiceModel.Security.SecurityNegotiationException: The caller was not authenticated

by the service. ---> System.ServiceModel.FaultException: The request for security token could not be

satisfied because authentication failed.
   at System.ServiceModel.Security.SecurityUtils.ThrowIfNegotiationFault(Message message,

EndpointAddress target)
   at System.ServiceModel.Security.SspiNegotiationTokenProvider.GetNextOutgoingMessageBody(Message

incomingMessage, SspiNegotiationTokenProviderState sspiState)
   --- End of inner exception stack trace ---

Server stack trace: 
   at System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout)
   at System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Security.CommunicationObjectSecurityTokenProvider.Open(TimeSpan timeout)
   at System.ServiceModel.Security.SymmetricSecurityProtocol.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.SecurityChannelFactory`1.ClientSecurityChannel`1.OnOpen(TimeSpan

timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open()

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage

retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at System.ServiceModel.ICommunicationObject.Open()
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.GetChannel[TChannel](IBaseMessage

bizTalkMessage, ChannelFactory`1& cachedFactory)
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.SendMessage(IBaseMessage bizTalkMessage)".

Can somebody explain the bindings?

Thanking You

published Orcehestration as wCF on iis

$
0
0

When i can a web service from web application its give me error

There was a failure executing the receive pipeline: "Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "XML disassembler" Receive Port: "WcfReceivePort_FirstExample/FirstExample_BizTalk_Orchestration1_Port_fx_rec_1" URI: "/FirstExample/FirstExample_BizTalk_Orchestration1_Port_fx_rec_1.svc" Reason: The document specification <FirstExample.Contact> from assembly<FirstExample, Version=2.0.0.0, Culture=neutral, PublicKeyToken=79e2aa97a53165bc> failed to load. Verify the schema for this document specification is deployed and is in the Global Assembly Cache.  

i have deployed two time by changing the assembly version

i have also checked GAC dll

i am new in biztalk any one can help me


Consume Adapter Service Plug in not working???

$
0
0

Error:-

Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.ServiceModel.Channels.Tools.MetadataSearchBrowse.MetadataPanel.EnumerateAllAvailableBindings(String bindingExtensionName, String bindingConfiguration)
   at Microsoft.ServiceModel.Channels.Tools.MetadataSearchBrowse.MetadataPanel..ctor(MetadataUserControl usercontrol, AdapterProperties properties, String bindingExtensionName, String bindingConfiguration, String uri)

i tried re-install of adapter pack,repair of adapter pack. But no luck. Can anyone please help me out?


Racha Rams

composite operation

$
0
0

Incoming xml have customer, customer address and customer contact information. My requirements are(using composite schema) 

  1. Insert into Customer table
  2. Insert into address table(fk customer id from customer) - could be multiple addresses for a given customer
  3. insert into contact table(fk addressid from address table)- could be multiple contacts for a given address

All inserts need to happen through use of stored procedure. Can somebody point me in the right direction as to what actually needs to happen inside composite operation to make this happen?

Timeout error while Biztalk 2009 consuming WCF service

$
0
0
The adapter failed to transmit message going to send port "XYZ" with URL "http: service1.svc". It will be retransmitted after the retry interval specified for this Send Port. Details:"System.ServiceModel.CommunicationException: An error occurred while receiving the HTTP response to "http: service1.svc" . This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down).

Error pulling SAP Negative Numbers ("Error displaying this cell") when using the connector v3.5

$
0
0

When I used the old free SAP .net connector, I was able to pull SAP negative numbers (with the negative sign as a suffix) and put them into a SQL Server table properly. 

Using the exact same SQL SELECT statement (BizTalk Adapter Pack .Net Data Provider for mySAP Business Suite), I get a "?" in my output SQL Server table (or a <Error displaying this cell> when previewing the output from within my SSIS package).

Is there a setting I'm missing?  I searched for several hours and found no reference even close to this problem.  I'm thinking it must be something obvious I'm missing.

nested XML structure from Oracle

$
0
0

Using the SQL Adapter, calling a SQL Stored procedure on a MS SQL DB, I can get a nice nested XML structure using JOIN and FOR XML AUTO, like this

<pcode="DK003">

 <iistamp="2013-01-14T10:27:38.790"value="180.702052"price="184.000000">

   <dDividend="2.50"DividendDate="2012-03-29T00:00:00" />

 </ii>

 <iistamp="2013-01-14T10:27:38.790"value="181.702052"price="14.000000">

   <dDividend="2.50"DividendDate="2012-03-29T00:00:00" />

 </ii>

</p>

How can I get the same on Oracle using the WCF-Custom Adapter ??

Viewing all 197 articles
Browse latest View live


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