Receive Location Files are picked up but not removed - biztalk

I have a receive Location which points to SFTP Port, the Files in the ports are picked up and sent to the destination(Send Port). But the files which are picked up still exists in the receive location and doesn't gets removed. So every time the receive location trying to pick up the same file which throws error. How can I deal with this.

There is an option on the SFTP receive location, where you can specify to delete the file after it has been received.

Related

Biztalk file is not showing up and cannot be sent

I have set up a BizTalk environment and am trying to follow a tutorial on github: wmmihaa / BizTalk-Server---Developing-Integration-Solutions.
Unfortunately when I have configured the server as the steps say and then when I copy the path that the tutorial says I should copy into send ports it does not show up in file explorer. Then I create the path myself and browse for it (same name as in tutorial) and I proceed to start the created application the text file does not show up in the folder and cannot be copied to the receive location as the tutorial says I should.
I have tried restarting the computer and application and tried to change the path (don't know if I can). Does anyone know why the file might not be showing up?
Yes, you have to create the folder manually, just setting the path in the send port won't create it.
There can be various issues
The file is not even picked up. This can be due to
a. The Reive location not enabled. Fix: Enable the receive location.
b. The file mask on the receive location doesn't match the file. Fix: Either change the filename or the filemask.
c. The BizTalk Host Instance user doesn't have the correct permission on the folder to pick the file up. Fix: Give the BizTalk user Full permissions of the folder
d. The host instance that the receive location is running under is Stopped. Fix: Star the host instance.
The file is picked up but the message suspended. This is caused by the filter/subscription on the send port not matching the Promoted Properties on in the message context. Fix: Fix the send port Filter.
The message is in an active state but not sending. Cause: The host instance that the send port is under is not started. Fix: Start the Host Instance the Send Port runs under.

Requested action aborted: Access violation at address 005F6DB2 in module '***.exe'. Read of address 00000000

I am using Apache Jmeter to send FTP load on a Server. After setting up the FTP request on specific IP and port, I get this error:
Requested action aborted: Access violation at address 005F6DB2 in module '***.exe'. Read of address 00000000
I know that I have all the access and I don't know why a module can block me, although I know that software (***.exe) is not blocking my ports. What is the problem?
Here is the attached Wireshark screenshot from the server when sending the clients request, the red line is the problem and it occurs in different places each time I run the test.
The problem doesn't seem to be related to JMeter
Try uploading file(s) using "normal" FTP client like FileZilla or WinSCP.
If the problem persists:
try identifying its cause using Windows Event Viewer
try to trace system calls using i.e. WinDbg
or just raise an issue on your application (FTP component)
If the problem does not occur on "real" FTP clients:
double check that your FTP Request sampler configuration is correct, see Load Testing FTP and SFTP Servers Using JMeter guide for details.
try uploading the file to the other, i.e. public FTP server to see if it works
try implementing file upload purely in Groovy using JSR223 Sampler. See FTPClientExample.java for the code you could re-use. Make sure you have the following line in your script:
ftpClient.addProtocolCommandListener(new PrintCommandListener(new PrintWriter(System.out), true))

BizTalk Send File Port To Folder With Ampersand In Name

I have a requirement to add a new send port to a send port group in my BizTalk 2013 application. The send port should send to a File location with the destination folder set to \\ResearchServer\ResearchTeam\R&DReports
Although I can set the file handler settings to this path I can't save the send port. This is because BizTalk automatically generates a URI of \\ResearchServer\ResearchTeam\R&DReports which contains the invalid character & (ampersand).
Obviously one way to "fix" this would be to rename the folder but this would have serious consequences for other apps and users who access this folder (and is, quite frankly, avoiding the issue rather than finding a fix).
I've also considered creating a dynamic port and then setting the destination at runtime. However this seems extremely complicated and would require downtime on a live server.
I've looked on TechNet and StackOverflow for ideas and it seems I'm the first person to encounter any issues with ampersands in BizTalk file destinations.
Any ideas, please help!

Reconnect SB-Messaging Receive Location on lost connection

Is there anyway to prevent an SB-Messaging Receive Location to not be disabled if the connection to an Azure Service Bus Queue is lost?
I would like to set an 'retry to connect' property after X minutes.
Is this possible or do I've to scan the eventlog to see if the Receive Location gets disabled and then go to BizTalk administration and enable the location manually?
The solution I found were adding a script that controls if the receive location is active, if it's not I start the receive location.
Added the script to the Task Scheduler.

Uploading file to a web server in QT

I need to upload a file using ftp or http. I checked downloading from servers like ftp.qt.nokia.com. where download was successful[even though the file(s) downloaded was broken but with almost same size as on Web server]. I tried to upload a file to servers like qt.nokia.com,ftp.trolltech.com. Doing so When I used http, I got an html doc as a response with error count 0,but error string as unkown error. When I used ftp, connection was established, logged in but didn't close connection and again error string unkown error. My point is how can I know that whether my file is uploaded to a server successfully? Can I check it on my own system by setting up a server(for ex: Apache Tomcat server).
Set up a local FTP or HTTP server, you should not rely on any server you don't have full control over. A virtual machine is the probably the most hassle-free solution.

Resources