Error:
Parent control must be created and visible.
Description:
Application version:
RSDN@Home version 1.1.4 stable revision 510
Stack Trace:
at Rsdn.Janus.Framework.ContextMenuFix.ShowContextMenu(ContextMenu menu, Control control, Point pos)
at Rsdn.Janus.ForumDummyForm._tgMsgs_MouseUp(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at RSDN.TreeGrid.TreeGridBase.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Описание:
в RSDN@Home 1.2 r611 попытался перейти к форуму "Коллеги, улыбнитесь", в котором >50000 сообщений и через минуту раздумий получил вот такой экссепшн. Добавил к строке соединения "Connection Timeout=120;" и получил то-же самое через ту же 1 минуту. В форумы с меньшим количеством сообщений захожу нормально (время в рамках таймаута).
Версия приложения:
RSDN@Home версия 1.2 r611
Трассировка стека:
Rsdn.Framework.Data.RsdnDbManagerException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.SetMetaData(_SqlMetaDataSet metaData, Boolean moreInfo)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
at Rsdn.Framework.Data.DbManager.ExecuteListInternal(IList list, Type type, Object[] parameters)
--- End of inner exception stack trace ---
at Rsdn.Framework.Data.DbManager.HandleException(Exception ex)
at Rsdn.Framework.Data.DbManager.ExecuteListInternal(IList list, Type type, Object[] parameters)
at Rsdn.Framework.Data.DbManager.ExecuteList(IList list, Type type, Object[] parameters)
at Rsdn.Janus.JanusDB.ExecuteParamList[T,T1](String sql, Object[] parameters)
at Rsdn.Janus.DatabaseManager.GetMessageList(Int32 forumID, SortType sort, Boolean isLoadAll, Msg parent)
at Rsdn.Janus.ObjectModel.Forum.ReadMsg(Boolean isLoadAll)
at Rsdn.Janus.ObjectModel.Forum.get_Msgs()
at Rsdn.Janus.ObjectModel.Forum.FindMsgByID(Int32 idMsg)
at Rsdn.Janus.ObjectModel.Forum.get_ActiveMsg()
at Rsdn.Janus.ForumDummyForm.FillMessages()
at Rsdn.Janus.ForumDummyForm.Rsdn.Janus.ObjectModel.IFeatureView.Activate(IFeature feature)
at Rsdn.Janus.Navigator.Features_AfterFeatureActivate(IFeature oldFeature, IFeature newFeature)
at Rsdn.Janus.ObjectModel.Features.AfterFeatureActivateHandler.Invoke(IFeature oldFeature, IFeature newFeature)
at Rsdn.Janus.ObjectModel.Features.OnAfterFeatureActivate(IFeature oldFeature, IFeature newFeature)
at Rsdn.Janus.ObjectModel.Features.set_ActiveFeature(IFeature value)
at Rsdn.Janus.NavigationDummyForm._treeGrid_AfterActivateNode(ITreeNode ActivatedNode)
at Rsdn.TreeGrid.TreeGrid.OnAfterActivateNode(ITreeNode activatedNode)
at Rsdn.TreeGrid.TreeGrid.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at Rsdn.TreeGrid.TreeGrid.WndProc(Message& m)
at Rsdn.Janus.JanusGrid.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)
... << Anywhere but home :: Hello, I'm your mind >>
Здравствуйте, AndrewVK, Вы писали:
AVK>Здравствуйте, Badenweiler, Вы писали:
B>>Добавил к строке соединения "Connection Timeout=120;"
AVK>Не поможет. Тут нужно CommandTimeout подкручивать.
Спасибо
... << Anywhere but home :: Hello, I'm your mind >>
Версия приложения:
RSDN@Home версия 1.1.4 stable ревизия 510
Трассировка стека:
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr)
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
at Rsdn.Janus.DatabaseManager.MarkOlderThan(DateTime date, Boolean exceptAnswersMe, String[] forumsIds)
at Rsdn.Janus.ForumDummyForm.MarkByDate()
at Rsdn.Janus.ForumDummyForm.SelectEvents(String tag)
at Rsdn.Janus.ForumDummyForm.ActionMenuClick(Object sender, EventArgs e)
at Reflector.UserInterface.CommandBarControl.OnClick(EventArgs e)
at Reflector.UserInterface.CommandBarControl.PerformClick(EventArgs e)
at Reflector.UserInterface.MenuBarItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Control.WmCommand(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Reflector.UserInterface.CommandBar.WndProc(Message& message)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
... << RSDN@Home 1.1.4 stable rev. 510>>
Re[2]: Timeout expired в форумах с >50000 сообщений
Версия приложения:
RSDN@Home версия 1.1.4 stable SR1 ревизия 568
Трассировка стека:
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr)
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
at Rsdn.Janus.DatabaseManager.Unsubscribe(Int32 fid, DialogResult deleteForum)
at Rsdn.Janus.ForumDummyForm.UnsubscribeForum()
Re[3]: Timeout expired в форумах с >50000 сообщений
Ошибка:
The process cannot access the file "E:\soft\RSDN@Home\Nord\janus.mdb" because it is being used by another process.
Описание:
Версия приложения:
RSDN@Home версия 1.1.4 stable SR1 ревизия 568
Трассировка стека:
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.File.Delete(String path)
at Rsdn.Janus.DatabaseManager.PackDatabase()
at Rsdn.Janus.MainForm.OnClosed(EventArgs ea)
at Rsdn.Janus.MainForm.WndProc(Message& msg)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
...Мы будем драться до конца!... (Ария)
The process cannot access the file "E:\soft\RSDN@Home\Nord\j
Ошибка:
The process cannot access the file "E:\soft\RSDN@Home\Nord\janus.mdb" because it is being used by another process.
Описание:
Версия приложения:
RSDN@Home версия 1.1.4 stable SR1 ревизия 568
Трассировка стека:
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.File.Delete(String path)
at Rsdn.Janus.DatabaseManager.PackDatabase()
at Rsdn.Janus.MainForm.OnClosed(EventArgs ea)
at Rsdn.Janus.MainForm.WndProc(Message& msg)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Версия приложения:
RSDN@Home версия 1.1.4 stable ревизия 510
Трассировка стека:
at RSDN.TreeGrid.TreeGrid2.ExpandAllParents(ITreeNode CurNode)
at RSDN.TreeGrid.TreeGrid2.set_ActiveNode(ITreeNode value)
at Rsdn.Janus.ForumDummyForm.MessageNavigated(Object sender, EventArgs e)
at Rsdn.Janus.ForumNavigator.HistoryNavigateFired(Object sender, MessageNavigateEventArgs e)
at Rsdn.Janus.MessageViewHistory.OnMessageNavigate(MessageNavigateEventArgs e)
at Rsdn.Janus.MessageViewHistory.Navigate(Int32 msgId)
at Rsdn.Janus.ForumNavigator.SelectMessage(Int32 forumId, Int32 msgId)
at Rsdn.Janus.ForumDummyForm._tgMsgs_AfterActivateNode(ITreeNode ActivatedNode)
at RSDN.TreeGrid.TreeGrid2.OnAfterActivateNode(ITreeNode ActivatedNode)
at RSDN.TreeGrid.TreeGridBase.ItemChanged(tagNMLISTVIEW* pNMListView)
at RSDN.TreeGrid.TreeGridBase.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Application version:
RSDN@Home version 1.1.4 stable SR1 revision 568
Stack Trace:
at RSDN.TreeGrid.TreeGrid2.ExpandAllParents(ITreeNode CurNode)
at RSDN.TreeGrid.TreeGrid2.set_ActiveNode(ITreeNode value)
at Rsdn.Janus.ForumDummyForm.MessageNavigated(Object sender, EventArgs e)
at Rsdn.Janus.ForumNavigator.HistoryNavigateFired(Object sender, MessageNavigateEventArgs e)
at Rsdn.Janus.MessageViewHistory.OnMessageNavigate(MessageNavigateEventArgs e)
at Rsdn.Janus.MessageViewHistory.Navigate(Int32 msgId)
at Rsdn.Janus.ForumNavigator.SelectMessage(Int32 forumId, Int32 msgId)
at Rsdn.Janus.ForumDummyForm._tgMsgs_AfterActivateNode(ITreeNode ActivatedNode)
at RSDN.TreeGrid.TreeGrid2.OnAfterActivateNode(ITreeNode ActivatedNode)
at RSDN.TreeGrid.TreeGridBase.ItemChanged(tagNMLISTVIEW* pNMListView)
at RSDN.TreeGrid.TreeGridBase.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
... << RSDN@Home 1.1.4 stable SR1 rev. 568>>
The process cannot access the file "E:\soft\RSDN@Home\Nord\j
Ошибка:
The process cannot access the file "E:\soft\RSDN@Home\Nord\janus.mdb" because it is being used by another process.
Описание:
Версия приложения:
RSDN@Home версия 1.1.4 stable SR1 ревизия 568
Трассировка стека:
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.File.Delete(String path)
at Rsdn.Janus.DatabaseManager.PackDatabase()
at Rsdn.Janus.MainForm.OnClosed(EventArgs ea)
at Rsdn.Janus.MainForm.WndProc(Message& msg)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
...Мы будем драться до конца!... (Ария)
The process cannot access the file "E:\soft\RSDN@Home\Nord\j
Ошибка:
The process cannot access the file "E:\soft\RSDN@Home\Nord\janus.mdb" because it is being used by another process.
Описание:
Версия приложения:
RSDN@Home версия 1.1.4 stable SR1 ревизия 568
Трассировка стека:
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.File.Delete(String path)
at Rsdn.Janus.DatabaseManager.PackDatabase()
at Rsdn.Janus.MainForm.OnClosed(EventArgs ea)
at Rsdn.Janus.MainForm.WndProc(Message& msg)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Версия приложения:
RSDN@Home версия 1.1.4 stable SR1 ревизия 568
Трассировка стека:
at RSDN.TreeGrid.TreeGrid2.ExpandAllParents(ITreeNode CurNode)
at RSDN.TreeGrid.TreeGrid2.set_ActiveNode(ITreeNode value)
at Rsdn.Janus.ForumDummyForm.MessageNavigated(Object sender, EventArgs e)
at Rsdn.Janus.ForumNavigator.HistoryNavigateFired(Object sender, MessageNavigateEventArgs e)
at Rsdn.Janus.MessageViewHistory.OnMessageNavigate(MessageNavigateEventArgs e)
at Rsdn.Janus.MessageViewHistory.Navigate(Int32 msgId)
at Rsdn.Janus.ForumNavigator.SelectMessage(Int32 forumId, Int32 msgId)
at Rsdn.Janus.ForumDummyForm._tgMsgs_AfterActivateNode(ITreeNode ActivatedNode)
at RSDN.TreeGrid.TreeGrid2.OnAfterActivateNode(ITreeNode ActivatedNode)
at RSDN.TreeGrid.TreeGridBase.ItemChanged(tagNMLISTVIEW* pNMListView)
at RSDN.TreeGrid.TreeGridBase.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
... << RSDN@Home 1.1.4 stable SR1 rev. 568>>
-----------------------------------------
тут может быть ваша реклама
ContextMenu cannot be shown on an invisible control.
Parame
Ошибка:
ContextMenu cannot be shown on an invisible control.
Parameter name: control
Описание:
Версия приложения:
RSDN@Home версия 1.1.4 stable SR1 ревизия 568
Трассировка стека:
at System.Windows.Forms.ContextMenu.Show(Control control, Point pos)
at Reflector.UserInterface.CommandBar.Show(Control control, Point point)
at Reflector.UserInterface.CommandBarManager.NotifyChevronPushed(Message& message)
at Reflector.UserInterface.CommandBarManager.WndProc(Message& message)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
... << RSDN@Home 1.1.4 stable SR1 rev. 568>>
The startIndex value cannot be larger than the endIndex valu
Ошибка:
The startIndex value cannot be larger than the endIndex value.
Описание:
Поиск во всех форумах по тексту (похоже при котором не находит ни одного значения).
Возможно где-то левые или не хватает +-1.
Версия приложения:
RSDN@Home версия 1.2.0 alpha ревизия 618
Трассировка стека:
at System.Windows.Forms.ListViewVirtualItemsSelectionRangeChangedEventArgs..ctor(Int32 startIndex, Int32 endIndex, Boolean isSelected)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at Rsdn.TreeGrid.TreeGrid.WndProc(Message& m)
at Rsdn.Janus.JanusGrid.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)
Версия приложения:
RSDN@Home версия 1.1.4 stable SR1 ревизия 568
Трассировка стека:
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr)
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
at Rsdn.Janus.DbBatch.ExecuteNonQuery(String query)
at Rsdn.Janus.ObjectModel.MsgBase.MarkMsgRead(Int32 forumID, Boolean isRead)
at Rsdn.Janus.ForumDummyForm.MarkAll(Boolean isRead)
at Rsdn.Janus.ForumDummyForm.MarkAllWithPrompt(Boolean isRead)
at Rsdn.Janus.ForumDummyForm.SelectEvents(String tag)
at Rsdn.Janus.ForumDummyForm.ActionMenuClick(Object sender, EventArgs e)
at Reflector.UserInterface.CommandBarControl.OnClick(EventArgs e)
at Reflector.UserInterface.CommandBarControl.PerformClick(EventArgs e)
at Reflector.UserInterface.CommandBar.PerformClick(CommandBarItem item)
at Reflector.UserInterface.CommandBar.WndProc(Message& message)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Ошибка:
Parent control must be created and visible.
Описание:
Версия приложения:
RSDN@Home версия 1.1.4 stable SR1 ревизия 568
Трассировка стека:
at Rsdn.Janus.Framework.ContextMenuFix.ShowContextMenu(ContextMenu menu, Control control, Point pos)
at Rsdn.Janus.NavigationDummyForm._treeGrid_MouseUp(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at RSDN.TreeGrid.TreeGridBase.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)