The adapter "MSMQ" raised an error message. Details "GetTempFileName Failed."

Home Page Forums BizTalk 2004 – BizTalk 2010 The adapter "MSMQ" raised an error message. Details "GetTempFileName Failed."

Viewing 1 reply thread
  • Author
    Posts
    • #24003

      I’m trying to receive messages from a MSMQ on a remote server.  I’m able to receive small messages (2-5kbs) but any time I try to receive a message bigger than say 50kbs I get the following error:

       

      The adapter “MSMQ” raised an error message. Details “GetTempFileName Failed.”

      followed by:

      The adapter “MSMQ” raised an error message. Details “The MSMQ adapter is unable to process messages from receive location FORMATNAME:DIRECT=blahblahblah . Correct the error in the event log and restart this receive location. “.

      I understand BizTalk might have a problem if the message is over 4MBs but these messages are still relativly small. 

      Any ideas?

      Thx.

    • #24142

      Ok, Fixed it.

       

      Zx7R was on the right path.  Here’s the steps I used:

       

      1.) Download procMon.exe from Microsoft.  Run procMon, filter on the BTSNTSvc.exe

      2.) Turn on your queue, make sure you’re receving the “GETTempFileName Failed” error message.

      3.)
      Check procMon for Operation CreateFile, you can also filter on this. 
      You should see where BizTalk is trying to write to a temp folder and is
      getting an ACCESS DENIED error.  For me, this location was:
      C:\Users\BizTalk_User\AppData\Local\Temp

      4.) Go to that folder, and give the MSMQ user access. Done, fixed!

       

      -Clay

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.