Can we use LogOnTicketPassword ( Token of Type MYSAPSSO2) with BizTalk 2020. We are currently using the same for BizTalk 2016 and Classic RFC connection Type with no issue, But when we setup the same option ( Connection Type Classic RFC not available in BizTalk 2020) . we are getting invalid log in Error.
Any inputs on this .. thanks.
Related
In my local PC Braintree showing error "The request was aborted: Could not create SSL/TLS secure channel" when executing :
var clientToken = gateway.ClientToken.generate();
I am using "Braintree-2.33.0.dll" and my target .net version is 4.5.1.
I have enabled TLS 1.2.
It was working nicely three days ago. But suddenly started showing error. Many people faced same error and most of then have changed the SecurityProtocol. I dont find any way to change that from braintree. Is there any way to change
ServicePointManager.SecurityProtocol
for braintree ? or anything else I am missing or need to do ?
Thanks in advance.
Full disclosure: I work at Braintree. If you have any further questions, feel free to contact support.
You need to update the .NET Braintree SDK you're using to at least version 3.1.0, the minimum version that supports TLS 1.2. Once compelete, you can validate your setup using the steps here.
On December 13, 2016, Braintree transitioned sandbox to only accept requests made using TLS 1.2+. After June 30th, 2017, Braintree will no longer officially support any requests in the production environment below TLS 1.2.
Setting this anywhere in your program.cs or startup.cs worked for me, even on versions greater than 3.1:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12
How to create a service reference in VS 2012 over SSL
ie service is available # ![https:\theprovider.com\someservice.asmx]
When i tried to add the the service link in VS 2012 i'm getting the following error
"The request was aborted: Could not create SSL/TLS secure channel."
Pls comment
We have an application currently running in BizTalk 2006 R2 sending message to WSE2.0 web service using a dynamic send port. The properties it set for soap message port are as follow:
Message(WSE.IntegrityUser) = "some user"
Message(WSE.IntegrityPassword) = "Plain text Password"
Message(WSE.IntegrityPasswordOption) = "Plain text option"
Message(WSE.SoapAction) = "Operation Name"
Message(WSE.AuthenticationScheme) = "Integrated"
and the address for Dynamic port is set as below:
DynamicPort(Microsoft.XLANGs.BaseTypes.Address) = URL
Now I want to upgrade this solution to BizTalk 2013 and found that it no more support WSE. What are the alternatives to keep using Dynamic port?
Here is a msdn doc that you can reference to configure your dynamic port in BT with WCF adapters.There is sample code as well.
MSDN Link
My goal is to let intranet user's credentials pass through a asp.net webpage to an SAP RFC.
Background
We have SAP SSO setup with our AD system. Users can open the SAP gui and login without entering a username/password.
We are using ERPConnect to call RFCs in SAP. If we supply credentials to the connection string it works great. We can also use the following code below to use SSO if the webpage is running on our local machine.
Dim db As New SAPContext("ashost=sapsandbox.xxxsap.ad.xxx.com snc_mode=1 sysnr=00 SNC_QOP=9 snc_partnername=p:SAPUserAccount#xxxSAP.AD.XXX.COM SNC_LIB=C:\windows\system32\gsskrb5.dll")
When we move to a windows 2003 server machine running IIS6 we get the following error.
SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed
Connect_PM GWHOST=sapsandbox.xxxsap.ad.xxx.com, GWSERV=sapgw00, SYSNR=00
LOCATION CPIC (TCP/IP) on local host
ERROR GSS-API(maj): Miscellaneous Failure
GSS-API(min): Kerberos SSPI not usable with this User account
STOP! -- initial call to gss_indicate_mechs() failed
TIME Fri Sep 02 14:13:47 201
RELEASE 710
COMPONENT SNC (Secure Network Communication)
VERSION 5
RC -1
MODULE sncxxdl.c
LINE
I have disabled anonymous access on my IIS6 site. I have also followed this article on how to enable kerberos authentication on IIS6.
Does anyone know how to get this working? We could move to IIS7 if there is an easier way to get it to work with that.
EDIT
I set <identity impersonate="true" /> and I get a new error now.
SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed
Connect_PM GWHOST=sapsandbox.xxxsap.ad.xxx.com, GWSERV=sapgw00, SYSNR=00
LOCATION CPIC (TCP/IP) on local host
ERROR GSS-API(maj): Miscellaneous Failure
GSS-API(min): SSPI::AcqCredHdl(INI)==No credentials available
in secur
Could't acquire DEFAULT INITIATING credentials
TIME Tue Sep 06 11:45:11 201
RELEASE 710
COMPONENT SNC (Secure Network Communication)
VERSION 5
RC -4
MODULE snc
EDIT
I think I have to have AD setup to use SPN. Here's what I saw on this question.
Set up a SPN on your application pool account for your front end application
Not familiar with SAP, but delegation is key here in addition to SPN, AD has to trust the machine sending the kerberos ticket, I'd highly recommend reading this article:
Understanding Kerberos Double Hop
HI,
i am using BTS 2006 adapter for MS CRM 4.0 to create records and to fetch data from MS CRM 4.0.
I want to get the response from CRM after the record is created or to fetch data from CRM
For this i am using response.xsd coming with BTS 2006 adapter for MS CRM 4.0 to receive response from MS CRM
i set the target namespace for reponse.xsd as: targetNamespace="http://schemas.microsoft.com/crm/2007/BizTalkAdapter/MicrosoftCRM/Response" according to the organization name here orgName: "MicrosoftCRM"
(For more details on this i am referring http://www.ascentium.com/blog/crm/Post398.aspx )
Now i am getting an error:
Exception thrown from: segment -1, progress -1
Inner exception: Received unexpected message type '' does not match expected type 'http://schemas.microsoft.com/crm/2007/BizTalkAdapter/MicrosoftCRM/Response#Response'
Exception type: UnexpectedMessageTypeException
Source: Microsoft.XLANGs.Engine
Target Site: Void VerifyMessage(Microsoft.XLANGs.Core.Envelope, System.String, Microsoft.XLANGs.Core.Context, Microsoft.XLANGs.Core.OperationInfo)
Here is the Schema instance for response.xsd generated in Visual Studio 2005
- <ns0:Response xmlns:ns0="http://schemas.microsoft.com/crm/2007/BizTalkAdapter/MicrosoftCRM/Response">
- <Header>
<ReturnCode>ReturnCode_0</ReturnCode>
<ErrorCode>ErrorCode_0</ErrorCode>
<ErrorString>ErrorString_0</ErrorString>
<Retryable>Retryable_0</Retryable>
</Header>
- <Body>
<Message>Message_0</Message>
</Body>
</ns0:Response>
and this the suspended message details of response from CRM
<ns0:Response xmlns:ns0="http://schemas.microsoft.com/crm/2007/BizTalkAdapter/MicrosoftCRM/Response">
<Header>
<ReturnCode>1</ReturnCode>
<ErrorCode></ErrorCode>
<ErrorString></ErrorString>
<Retryable></Retryable>
</Header>
<Body>
<Message><prefix:CreateResponse xmlns:prefix="http://localhost/schemas.microsoft.com/crm/2007/MicrosoftCRM/CreateResponse"><id>f0650fb5-3ff7-dd11-b0f0-0003ff1a2a3c</id></prefix:CreateResponse></Message>
</Body>
</ns0:Response>
Thanks,
Kuldip
Starting from Microsoft BizTalk CRM 4.0 adapter onwards, use the adapter auto-generated schema 'CRMAdapterResponse_Response.xsd', instead of 'response.xsd'. This schema will be specific to the organization under consideration.
The use of the schema will solve your 'schema does not match expected type' problem.
Thanks.