this is a cut and paste of the error when trying a .doc file
REX:
Engine version: 2016; Version name: ; Culture info: en-US
PLATFORM:
Win32NT Microsoft Windows NT 6.2.9200.0
SOURCE:
AREX
MESSAGE: (3/23/2016 1:57:39 PM)
Unhandled exception.
Assembly name: DRevitTextGenerator: The process cannot access the file 'C:\Users\christoph\AppData\Local\Temp\DTextGen\doc.txt' because it is being used by another process.; StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Windows.Forms.RichTextBox.LoadFile(String path, RichTextBoxStreamType fileType)
at REX.DRevitTextGenerator.Resources.Dialogs.ControlMain.button_path_Click(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
DEPENDENCY: Autodesk.REX.Framework, Version=2015.0.0.0, Culture=neutral, PublicKeyToken=51e16e3b26b42eda (file version: 2015.0.0.3253) | REX.Controls, Version=2016.0.0.3511, Culture=neutral, PublicKeyToken=null (file version: 2016.0.0.3511) | REX.Controls.WPF, Version=2016.0.0.3511, Culture=neutral, PublicKeyToken=null (file version: 2016.0.0.3511) | REX.Controls.Forms, Version=2016.0.0.3511, Culture=neutral, PublicKeyToken=null (file version: 2016.0.0.3511) | REX.Mathematics, Version=2016.0.0.3511, Culture=neutral, PublicKeyToken=null (file version: 2016.0.0.3511) | REX.Preferences, Version=2016.0.0.3511, Culture=neutral, PublicKeyToken=null (file version: 2016.0.0.3511) | REX.System, Version=2016.0.0.3511, Culture=neutral, PublicKeyToken=null (file version: 2016.0.0.3511) | REX.Service, Version=2016.0.0.3511, Culture=neutral, PublicKeyToken=null (file version: 2016.0.0.3511)
LAST ENTRIES: 4 / 17
16: (3/23/2016 1:36:39 PM)
AREX.Engine - Unhandled exception.
Assembly name: DRevitTextGenerator: The process cannot access the file 'C:\Users\christoph\AppData\Local\Temp\DTextGen\doc.txt' because it is being used by another process.; StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Windows.Forms.RichTextBox.LoadFile(String path, RichTextBoxStreamType fileType)
at REX.DRevitTextGenerator.Resources.Dialogs.ControlMain.button_path_Click(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
15: (3/23/2016 1:33:09 PM)
AREX.Engine - Unhandled exception.
Assembly name: DRevitTextGenerator: The process cannot access the file 'C:\Users\christoph\AppData\Local\Temp\DTextGen\doc.txt' because it is being used by another process.; StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Windows.Forms.RichTextBox.LoadFile(String path, RichTextBoxStreamType fileType)
at REX.DRevitTextGenerator.Resources.Dialogs.ControlMain.button_path_Click(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
14: (3/23/2016 11:27:58 AM)
AREX.Engine - Unhandled exception.
Assembly name: DRevitTextGenerator: The process cannot access the file 'C:\Users\christoph\AppData\Local\Temp\DTextGen\doc.txt' because it is being used by another process.; StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Windows.Forms.RichTextBox.LoadFile(String path, RichTextBoxStreamType fileType)
at REX.DRevitTextGenerator.Resources.Dialogs.ControlMain.button_path_Click(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
13: (3/23/2016 11:27:51 AM)
AREX.Engine - Unhandled exception.
Assembly name: DRevitTextGenerator: The process cannot access the file 'C:\Users\christoph\AppData\Local\Temp\DTextGen\doc.txt' because it is being used by another process.; StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Windows.Forms.RichTextBox.LoadFile(String path, RichTextBoxStreamType fileType)
at REX.DRevitTextGenerator.Resources.Dialogs.ControlMain.button_path_Click(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)