Imacro แจ้งว่า An application error occurred. ช่วยเข้ามาดูโค้ด error หน่อยว่าจะแก้ยังไงค่ะ

เริ่มโดย โมจิ, 07 กันยายน 2012, 16:19:44

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

โมจิ

= :wanwan008:=======================================
2012-09-04 18:14:09Z
iMacros version 8.0.2.1970, IE version 9.0.8112.16421, OS version Microsoft Windows NT 6.1.7601 Service Pack 1

Exception at Int32 get_FieldCount()
Object reference not set to an instance of an object.
   at iMacros.Core.Helpers.CsvDataProvider.get_FieldCount()
   at iMacros.Core.Logic.Variables.#=qRGgNmVE5AN9OqXEnLYt$TA==(Match #=qjGZGIhR9ZkkiVSdUlrWAAA==)
   at System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat)
   at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator, Int32 count, Int32 startat)
   at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator)
   at System.Text.RegularExpressions.Regex.Replace(String input, String pattern, MatchEvaluator evaluator)
   at iMacros.Core.Logic.Variables.ExpandVariables(String s, Boolean escape)
   at iMacros.Core.Logic.MacroCommands.TagCommand.get_Content()
   at iMacros.Core.Logic.MacroRecorder.#=qAsZIcmpj$asoDdiwfzfN7HSmJf8hydxBKu4XofRAl_M=(IHTMLElement #=q8ldKVJPK6WxCXfVagjByZA==, String #=qhmNL1lffIvYmBFGQFIb6Xg==, String #=q8HT6Ml9L8$8_WlwFvN4XQA==, String #=qAwgmPQ1jLTu8JdpedpAV3g==, Boolean #=qe2JgmVhkveRTbxWxvcnhFyUSM_RgPRQPakzCtE3xeoA=)
   at iMacros.Core.Logic.MacroRecorder.#=qD4kNdkYL4vdL9OXSR2tgoPFN34idLoY6oEkF$fCddBk=(IHTMLElement #=q$3b6fnsJ0Sc_XsYlY02CzA==, String #=q_VMfeUkWEtgPDNiKzI9LtA==, String #=qDf4pWG5yoYgharQg3r5v9Q==)
   at iMacros.Core.Logic.MacroRecorder.#=qFZikuN$x9Stfu2Wz7gXQTJwP_pnT3stzFQsBemRwY$8=()
   at iMacros.Core.Logic.MacroRecorder.#=q9hd2tn2MGPzMZG_LJ4aOYOYQjjW5R58GGKxAOmpjaqI=(WebBrowserClass #=q_LL4NIm6ID5feLZEqmQMCA==, RecordClickMode #=q$nJ4cfJfO7FC9CV7O6l8nC58E4aMynO9WvVyJkrHPRw=)
   at iMacros.Core.Logic.MacroRecorder.Stop()
   at iMacros.Core.Logic.MacroManager.RecordStop()
   at iMacros.WinUI.Common.SidebarControl.RecordStop()
   at iMacros.WinUI.Common.SidebarControl.btnRecordStop_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

========================================
2012-09-04 18:20:10Z
iMacros version 8.0.2.1970, IE version 9.0.8112.16421, OS version Microsoft Windows NT 6.1.7601 Service Pack 1

Exception at Void WinIOError(Int32, System.String)
Access to the path 'G:\iMacros\Macros\learning' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
   at iMacros.WinUI.Common.SidebarControl.btnSave_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

========================================
2012-09-04 18:22:49Z
iMacros version 8.0.2.1970, IE version 9.0.8112.16421, OS version Microsoft Windows NT 6.1.7601 Service Pack 1

Exception at Void WinIOError(Int32, System.String)
Access to the path 'G:\iMacros\Macros\learning' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
   at iMacros.WinUI.Common.SidebarControl.btnSave_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

========================================
2012-09-04 18:26:35Z
iMacros version 8.0.2.1970, IE version 9.0.8112.16421, OS version Microsoft Windows NT 6.1.7601 Service Pack 1

Exception at Void WinIOError(Int32, System.String)
Access to the path 'G:\iMacros\Macros\learning' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
   at iMacros.WinUI.Common.SidebarControl.btnSave_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

========================================
2012-09-04 18:26:52Z
iMacros version 8.0.2.1970, IE version 9.0.8112.16421, OS version Microsoft Windows NT 6.1.7601 Service Pack 1

Exception at Void WinIOError(Int32, System.String)
Access to the path 'G:\iMacros\Macros\learning' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
   at iMacros.WinUI.Common.SidebarControl.btnSave_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

========================================
2012-09-05 04:45:14Z
iMacros version 8.0.2.1970, IE version 9.0.8112.16421, OS version Microsoft Windows NT 6.1.7601 Service Pack 1

Exception at Void FindConnectionPoint(System.Guid ByRef, System.Runtime.InteropServices.ComTypes.IConnectionPoint ByRef)
Exception from HRESULT: 0x80040200
   at System.Runtime.InteropServices.ComTypes.IConnectionPointContainer.FindConnectionPoint(Guid& riid, IConnectionPoint& ppCP)
   at IIMCONNECTORLib._IConnectorEvents2_EventProvider.Init()
   at IIMCONNECTORLib._IConnectorEvents2_EventProvider.add_OnCommandPending(_IConnectorEvents2_OnCommandPendingEventHandler )
   at IIMCONNECTORLib.ConnectorClass.add_OnCommandPending(_IConnectorEvents2_OnCommandPendingEventHandler )
   at iMacros.WinUI.Common.ConnectorComAdapter.Start(Boolean allowAllToAccessPipe, String pipeUuid, String creatorUuid, Int32 hWndParent)
   at #=qLKckEqPEc1rFnDoLGok4ScAOdqMFILm4xvh_3m9ZOSQ=.#=ql5miQylcDoNnPRpJz0zxtVtIjMiiTPEHqq3N_NIK6bU=()
   at #=qLKckEqPEc1rFnDoLGok4ScAOdqMFILm4xvh_3m9ZOSQ=.#=qj$vKkn1EFvel9NnBhHSw3ZEum8Oys2U_Xpvc0UgTwTg=()
   at #=qLKckEqPEc1rFnDoLGok4ScAOdqMFILm4xvh_3m9ZOSQ=..ctor()
   at #=qL7XYrD3xrIYuwIwNWMSarz3SkJQMtzhV8hrtJfxPK4Q=.#=q2MWxwT2jHWZh1v04HwnzUg==()

========================================
2012-09-05 04:45:26Z
iMacros version 8.0.2.1970, IE version 9.0.8112.16421, OS version Microsoft Windows NT 6.1.7601 Service Pack 1

Exception at Void FindConnectionPoint(System.Guid ByRef, System.Runtime.InteropServices.ComTypes.IConnectionPoint ByRef)
Exception from HRESULT: 0x80040200
   at System.Runtime.InteropServices.ComTypes.IConnectionPointContainer.FindConnectionPoint(Guid& riid, IConnectionPoint& ppCP)
   at IIMCONNECTORLib._IConnectorEvents2_EventProvider.Init()
   at IIMCONNECTORLib._IConnectorEvents2_EventProvider.add_OnCommandPending(_IConnectorEvents2_OnCommandPendingEventHandler )
   at IIMCONNECTORLib.ConnectorClass.add_OnCommandPending(_IConnectorEvents2_OnCommandPendingEventHandler )
   at iMacros.WinUI.Common.ConnectorComAdapter.Start(Boolean allowAllToAccessPipe, String pipeUuid, String creatorUuid, Int32 hWndParent)
   at #=qLKckEqPEc1rFnDoLGok4ScAOdqMFILm4xvh_3m9ZOSQ=.#=ql5miQylcDoNnPRpJz0zxtVtIjMiiTPEHqq3N_NIK6bU=()
   at #=qLKckEqPEc1rFnDoLGok4ScAOdqMFILm4xvh_3m9ZOSQ=.#=qj$vKkn1EFvel9NnBhHSw3ZEum8Oys2U_Xpvc0UgTwTg=()
   at #=qLKckEqPEc1rFnDoLGok4ScAOdqMFILm4xvh_3m9ZOSQ=..ctor()
   at #=qL7XYrD3xrIYuwIwNWMSarz3SkJQMtzhV8hrtJfxPK4Q=.#=q2MWxwT2jHWZh1v04HwnzUg==()

========================================
2012-09-05 10:15:56Z
iMacros version 8.0.2.1970, IE version 9.0.8112.16421, OS version Microsoft Windows NT 6.1.7601 Service Pack 1

Exception at Void WinIOError(Int32, System.String)
Access to the path 'G:\iMacros\Macros\learning' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
   at iMacros.WinUI.Common.SidebarControl.btnSave_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

========================================
2012-09-05 11:05:12Z
iMacros version 8.0.2.1970, IE version 9.0.8112.16421, OS version Microsoft Windows NT 6.1.7601 Service Pack 1

Exception at Void WinIOError(Int32, System.String)
Access to the path 'G:\iMacros\Macros\learning' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
   at iMacros.WinUI.Common.SidebarControl.btnSave_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

========================================
2012-09-05 17:08:14Z
iMacros version 8.0.2.1970, IE version 9.0.8112.16421, OS version Microsoft Windows NT 6.1.7601 Service Pack 1

Exception at Void WinIOError(Int32, System.String)
Access to the path 'G:\iMacros\Macros\learning' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
   at iMacros.WinUI.Common.SidebarControl.btnSave_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

========================================
2012-09-06 01:29:51Z
iMacros version 8.0.2.1970, IE version 9.0.8112.16421, OS version Microsoft Windows NT 6.1.7601 Service Pack 1

Exception at Void WinIOError(Int32, System.String)
The requested operation cannot be performed on a file with a user-mapped section open.

   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)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamWriter.CreateFile(String path, Boolean append)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
   at iMacros.Core.Entities.Macro.#=q43al9ir2EKzgHBtntAOxaw==(String #=qrqg4qQI8Yxz4kptDfK2liA==)
   at iMacros.Core.Entities.Macro.Save()
   at iMacros.WinUI.Common.SidebarControl.RecordStop()
   at iMacros.WinUI.Common.SidebarControl.btnRecordStop_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

========================================
2012-09-06 01:38:52Z
iMacros version 8.0.2.1970, IE version 9.0.8112.16421, OS version Microsoft Windows NT 6.1.7601 Service Pack 1

Exception at Void WinIOError(Int32, System.String)
The requested operation cannot be performed on a file with a user-mapped section open.

   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)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamWriter.CreateFile(String path, Boolean append)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
   at iMacros.Core.Entities.Macro.#=q43al9ir2EKzgHBtntAOxaw==(String #=qrqg4qQI8Yxz4kptDfK2liA==)
   at iMacros.Core.Entities.Macro.Save()
   at iMacros.WinUI.Common.SidebarControl.RecordStop()
   at iMacros.WinUI.Common.SidebarControl.btnRecordStop_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

========================================
2012-09-06 01:38:52Z
iMacros version 8.0.2.1970, IE version 9.0.8112.16421, OS version Microsoft Windows NT 6.1.7601 Service Pack 1

Exception at Void WinIOError(Int32, System.String)
The requested operation cannot be performed on a file with a user-mapped section open.

   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)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamWriter.CreateFile(String path, Boolean append)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
   at iMacros.Core.Entities.Macro.#=q43al9ir2EKzgHBtntAOxaw==(String #=qrqg4qQI8Yxz4kptDfK2liA==)
   at iMacros.Core.Entities.Macro.Save()
   at iMacros.WinUI.Common.SidebarControl.RecordStop()
   at iMacros.WinUI.Common.SidebarControl.btnRecordStop_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
โมจิค่ะ ช่วยแนะนำด้วยค่ะ โมจิขอขอบคุณความรู้จากบอร์ดแห่งนี้ ที่ท่านผู้ใจดีโพสไว้มากมายขอบคุณจริงๆค่ะ

wear428

ทำไมมันเยอะแบบนี้ละครับ รันด้วยโปรแกรม หรือ add-on ครับเนี่ย ถ้าด้วยโปรแกรม ผมขอบายครับ

โมจิ

โมจิค่ะ ช่วยแนะนำด้วยค่ะ โมจิขอขอบคุณความรู้จากบอร์ดแห่งนี้ ที่ท่านผู้ใจดีโพสไว้มากมายขอบคุณจริงๆค่ะ

หลานยายปริก

บริการเก็บเมลล์และเบอร์โทรลูกค้าจากคอมเม้นเพจCLICK!!

Clickz

"อันของสูงแม้ปองต้องจิต ถ้าไม่คิดปีนป่ายจะได้ฤๅ
มิใช่ของตลาดที่อาจซื้อ ฤๅแย่งยื้อถือได้โดยไม่ยอม
ไม่คิดสอยมัวคอยดอกไม้ร่วง คงชวดดวงบุปผชาติสะอาดหอม
ดูแต่ภุมรินเที่ยวบินดอม จึ่งได้ออมอบกลิ่นสุมาลี "

wear428


Calcium


Cevic

imacro ที่แจกๆ กันส่วนใหญ่ใช้กับโปรแกรมไม่ได้นะครับ มันเขียนต่างกัน น่าจะลงแบบ add on firefox ใช้ง่ายกว่าครับ

MafiagameR

บาง code ใช้ imacros ที่เป็นโปรแกรมรันได้ (หรือสะดวกในการทำงานมากกว่า เช่นใช้ extract หรือคำสั่งต่างๆก่อนทำการ record) แต่ addon ทำไม่ได้
บาง code ใช้ addon  รันได้ แต่ imacros ที่เป็นโปรแกรมรันไม่ได้ (เช่น addon ใช้ java แต่ imacros แบบโปรแกรมต้องเป็นคำสั่ง EVAL)

มือใหม่ๆ หรือ ไม่ถนัดเรื่องโปรแกรมใช้ addon ง่ายกว่า

โมจิ

โมจิค่ะ ช่วยแนะนำด้วยค่ะ โมจิขอขอบคุณความรู้จากบอร์ดแห่งนี้ ที่ท่านผู้ใจดีโพสไว้มากมายขอบคุณจริงๆค่ะ