Board logo

標題: 〔求助〕字串未被辨認為有效有效的DateTime [打印本頁]

作者: 水兒     時間: 2009-4-14 10:36 AM    標題: 〔求助〕字串未被辨認為有效有效的DateTime

使用軟體為我的晨間日記,由Lyon處下載的,使用結果是每次打開此一軟體一定會出現如下的問題,且無法儲存
WinXP32的系統,Office2007版,一直有這個問題,字串未被辨認為有效的 DateTime。
如需叫用 Just-In-Time (JIT) 偵錯的詳細資料,請參閱本訊息結尾處 (而非這個對話方塊) 的資訊。
************** 例外狀況文字 **************
System.Exception: 讀取參數時發生錯誤:字串未被辨認為有效的 DateTime。
mscorlib
   於 System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   於 System.Convert.ToDateTime(String value)
   於 MorningDiary.Config.SystemConfig.LoadParameters()
   於 MorningDiary.Config.SystemConfig.LoadParameters()
   於 MorningDiary.Config.SystemConfig.CreateInstance()
   於 MorningDiary.Diary.InitialCounter()
   於 MorningDiary.Diary.Diary_Load(Object sender, EventArgs e)
   於 System.Windows.Forms.Form.OnLoad(EventArgs e)
   於 System.Windows.Forms.Form.OnCreateControl()
   於 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   於 System.Windows.Forms.Control.CreateControl()
   於 System.Windows.Forms.Control.WmShowWindow(Message& m)
   於 System.Windows.Forms.Control.WndProc(Message& m)
   於 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   於 System.Windows.Forms.ContainerControl.WndProc(Message& m)
   於 System.Windows.Forms.Form.WmShowWindow(Message& m)
   於 System.Windows.Forms.Form.WndProc(Message& m)
   於 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   於 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   於 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 已載入的組件 **************
mscorlib
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.3082 (QFE.050727-3000)
    程式碼基底: file:///F:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MorningDiary
    組件版本: 1.0.0.0
    Win32 版本: 1.0.0.0
    程式碼基底: file:///F:/Documents%20and%20Settings/Administrator/桌面/暫存資料夾/我的晨間日記/我的晨間日記MorningDiary081218/MorningDiary.exe
----------------------------------------
System.Windows.Forms
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
    程式碼基底: file:///F:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
    程式碼基底: file:///F:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
    程式碼基底: file:///F:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
MorningDiaryLibrary
    組件版本: 1.0.0.0
    Win32 版本: 1.0.0.0
    程式碼基底: file:///F:/Documents%20and%20Settings/Administrator/桌面/暫存資料夾/我的晨間日記/我的晨間日記MorningDiary081218/MorningDiaryLibrary.DLL
----------------------------------------
ZedGraph
    組件版本: 5.1.4.31904
    Win32 版本: 5.1.4.31904
    程式碼基底: file:///F:/Documents%20and%20Settings/Administrator/桌面/暫存資料夾/我的晨間日記/我的晨間日記MorningDiary081218/ZedGraph.DLL
----------------------------------------
System.Data
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
    程式碼基底: file:///F:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.3082 (QFE.050727-3000)
    程式碼基底: file:///F:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mscorlib.resources
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.3082 (QFE.050727-3000)
    程式碼基底: file:///F:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Microsoft.mshtml
    組件版本: 7.0.3300.0
    Win32 版本: 7.0.3300.0
    程式碼基底: file:///F:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
----------------------------------------
System.Configuration
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
    程式碼基底: file:///F:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Transactions
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
    程式碼基底: file:///F:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
    程式碼基底: file:///F:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Windows.Forms.resources
    組件版本: 2.0.0.0
    Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
    程式碼基底: file:///F:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHT_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** JIT 偵錯 **************
若要啟用 Just-In-Time (JIT) 偵錯功能,則必須在此應用程式或電腦的 .config 檔案中,設定system.windows.forms 區段內的 jitDebugging 值。
且該應用程式也必須在啟用偵錯的狀態下進行編譯。
例如:
<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>
當 JIT 偵錯功能啟用後,會將所有未處理的例外狀況傳送給電腦上已註冊的 JIT 偵錯工具進行處理,而不是使用這個對話方塊來處理。

我與此一軟體無緣嗎???還是可以如何解決呢???
作者: bko     時間: 2009-4-18 07:27 AM
您的問題我不清楚...不過,如果您需要的話,不妨試試一個簡潔的日記本:
http://www.centurys.net/viewthre ... &extra=page%3D1




歡迎光臨 網際論壇 (http://www.centurys.net/) Powered by Discuz! 2.5