Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Files not getting consumed and getting GetTimeFileName Failed
- This topic has 3 replies, 1 voice, and was last updated 9 years, 2 months ago by
community-content.
-
AuthorPosts
-
-
August 24, 2010 at 11:54 AM #25730
I receive a weird error message and my temp directory gets filled with ten thousands of files with 0kb. I’m not too sure what the issue is, any can help?
The error message is as below:
xlang/s engine event log entry: Exceptions.Types.InterceptorException
GetTempFileName Failed.
Exception type: StreamingException
Source: Microsoft.BizTalk.Streaming
Target Site: System.IO.Stream CreatePersistentStream(Int32)
The following is a stack trace that identifies the location where the exception occuredat Microsoft.BizTalk.Streaming.VirtualStream.CreatePersistentStream(Int32 size)
at Microsoft.BizTalk.Streaming.VirtualStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.BinaryWriter.Write(Int32 value)
at Microsoft.BizTalk.Tracking.HmFormatter.Serialize(Stream stream, DelayedSpCall storedProcedure)
at Microsoft.XLANGs.Mozart.ShapeInfo.Flush(HmFormatter formatter, Stream trackData)
at Microsoft.XLANGs.Mozart.ShapeInfo.EndShape(String shapeId, Int64 serviceSequence, Int64 sequence, DateTime dt, HmFormatter formatter, Stream trackData)
at Microsoft.XLANGs.Mozart.NativeInterceptor.BasicTracking(EventData data, Location loc, Stream trackData)
at Microsoft.XLANGs.Mozart.NativeInterceptor.TrackEventHandler(Location loc, EventData data, Stream trackData)
at Microsoft.XLANGs.Core.Events.FireEvent(Location location, EventData args, ITrackStreamDispenser trackData)For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
-
August 24, 2010 at 1:27 PM #25734
Wow man, what a flashback I have from your error!
Do you use in a case MSMQ? I have had such error, we opened a support request with Microsoft. The error was:
When some messages were arriving to MSMQ – BizTalk tried to read those messages and insert the data to SQL. Some messages worked, and some did not. The BizTalk adapter, when reading messages from MSMQ – was copying messages with above some size to some temporary folder. The service account which runs an adapter – didn’t have permissions of read/wright from/to that folder – therefore we got this wierd error.
I see some “Mozart” system in your stack trace. Check if you have similar problem – with permissions on temp folder.
-
August 24, 2010 at 1:37 PM #25736
We also opened up a ticket with Microsoft, trying to resolve the issue. I’m not explicitly using MSMQ and the user I’m running BizTalk currently under has local administrative rights.
so far it looks like one of the orchestrations is causing the issue – trying to get my development environment as I’m writing this.
The Temp directory gets flooded with messages..once I shut down the server they all get deleted..once I stared it up again, all file creations start again.
-
August 26, 2010 at 12:08 PM #25761
Some process cannot delete those files though. (BizTalk server?) – did you check that there are explicit rights on temp folder?
The issue with GetTempFileName – caused because of unsufficient rights. Did you tyr to run FileMon? (File Monitoring exe frm Microsoft)? – You will see there failures – and will be able to fix alone – without Microsoft help (this also takes looong time till you get down to the problem)
-
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.