Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

if(reader.HasRows=false)

$
0
0

SharpDevelop Version : 4.4.1.9729-7196a277

.NET Version         : 4.0.30319.34011

OS Version           : Microsoft Windows NT 6.2.9200.0

Current culture      : Chinese (Simplified, China) (zh-CN)

Running under WOW6432, processor architecture: x86-64

Working Set Memory   : 239564kb

GC Heap Memory       : 60922kb

 

Unhandled WPF exception

Exception thrown:

System.InvalidOperationException: This Visual is not connected to a PresentationSource.

   at System.Windows.Media.Visual.PointToScreen(Point point)

   at AvalonDock.HelperFunc.PointToScreenWithoutFlowDirection(FrameworkElement element, Point point)

   at AvalonDock.DockingManager.UpdateFlyoutWindowPosition(Boolean initialSetup)

   at AvalonDock.DockingManager.ShowFlyoutWindow(DockableContent content, DockablePaneAnchorTab tabActivating)

   at AvalonDock.DockableContent.Activate()

   at ICSharpCode.SharpDevelop.Gui.AvalonDockLayout.ActivatePad(PadDescriptor padDescriptor)

   at ICSharpCode.SharpDevelop.PadDescriptor.BringPadToFront()

   at ICSharpCode.SharpDevelop.Gui.ErrorListPad.ProjectServiceEndBuild(Object sender, EventArgs e)

   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)

   at ICSharpCode.SharpDevelop.ExtensionMethods.RaiseEvent[T](EventHandler`1 eventHandler, Object sender, T e)

   at ICSharpCode.SharpDevelop.Project.ProjectService.RaiseEventBuildFinished(BuildEventArgs e)

   at ICSharpCode.SharpDevelop.Project.BuildEngine.MessageViewSink.<>c__DisplayClassf.<Done>b__e()

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

 

---- Recent log messages:

14:30:18.019 [15] DEBUG - Setting property CurrentSolutionConfigurationContents to '<SolutionConfiguration><ProjectConfiguration Project="{F004E8FE-9B67-4EDD-9262-1C3C953C06CE}">Debug|AnyCPU</ProjectConfiguration></SolutionConfiguration>'

14:30:18.019 [15] DEBUG - Setting property SolutionDir to 'E:\DOCUMENT\SharpDevelop Projects\StudentService\'

14:30:18.019 [15] DEBUG - Setting property SolutionExt to '.sln'

14:30:18.020 [15] DEBUG - Setting property SolutionFileName to 'StudentService.sln'

14:30:18.020 [15] DEBUG - Setting property SolutionName to 'StudentService'

14:30:18.020 [15] DEBUG - Setting property SolutionPath to 'E:\DOCUMENT\SharpDevelop Projects\StudentService\StudentService.sln'

14:30:18.020 [1] DEBUG - CompilerMessageView: Combined 2 appends.

14:30:18.120 [14] DEBUG - Git: OverlayIconManager Thread finished

14:30:18.423 [8] DEBUG - Received command ReportEvent

14:30:18.536 [8] DEBUG - Received command ReportEvent

14:30:18.648 [8] DEBUG - Received command ReportEvent

14:30:19.139 [8] DEBUG - Received command ReportEvent

14:30:19.139 [8] DEBUG - Received command ReportEvent

14:30:19.140 [1] DEBUG - CompilerMessageView: Combined 2 appends.

14:30:19.141 [1] DEBUG - [Task:File=E:\DOCUMENT\SharpDevelop Projects\StudentService\StudentService\dboperate.cs, Line=66, Column=8, Type=Error, Description=无法对属性或索引器“System.Data.Common.DbDataReader.HasRows”赋值 -- 它是只读的 (CS0200)

14:30:19.142 [1] DEBUG - [Task:File=E:\DOCUMENT\SharpDevelop Projects\StudentService\StudentService\dboperate.cs, Line=66, Column=8, Type=Warning, Description=条件表达式中的赋值总是常量;是否希望使用“==”而非“=”? (CS0665)

14:30:19.171 [8] DEBUG - Received command ReportEvent

14:30:19.184 [8] DEBUG - Received command ReportEvent

14:30:19.188 [8] DEBUG - Received command ReportEvent

14:30:19.189 [8] DEBUG - Received command BuildDone

14:30:19.191 [8] INFO - Finished building StudentService, success=False

14:30:19.191 [8] INFO - Start building StudentService

14:30:19.191 [8] DEBUG - Skipped building StudentService (errors in dependencies)

14:30:19.191 [8] INFO - Finished building StudentService, success=False

14:30:19.284 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.ErrorListPad

 

---- Post-error application state information:

Installed 3rd party AddIns: 

Workbench.ActiveContent: ICSharpCode.SharpDevelop.Gui.ErrorListPad

ProjectService.OpenSolution: [Solution: FileName=E:\DOCUMENT\SharpDevelop Projects\StudentService\StudentService.sln, HasProjects=True, ReadOnly=False]

ProjectService.CurrentProject: [CSharpProject: StudentService]


Viewing all articles
Browse latest Browse all 1764

Trending Articles