When the application starts, if Visual Studio is debugging the process I get the following error:
Locating source for 'c:\Users\kipusoep\Documents\GitHub\UrlTracker\UrlTracker\Modules\UrlTrackerModule.cs'. Checksum: MD5 {32 ec 77 5d 64 ec a8 64 3b ed ed fc ea eb 1d c9} The file 'c:\Users\kipusoep\Documents\GitHub\UrlTracker\UrlTracker\Modules\UrlTrackerModule.cs' does not exist. Looking in script documents for 'c:\Users\kipusoep\Documents\GitHub\UrlTracker\UrlTracker\Modules\UrlTrackerModule.cs'... Looking in the projects for 'c:\Users\kipusoep\Documents\GitHub\UrlTracker\UrlTracker\Modules\UrlTrackerModule.cs'. The file was not found in a project. Looking in directory 'C:\Program Files\Microsoft Visual Studio 10.0\VC\crt\src\'... Looking in directory 'C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\src\mfc\'... Looking in directory 'C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\src\atl\'... Looking in directory 'C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\include\'... The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: c:\Users\kipusoep\Documents\GitHub\UrlTracker\UrlTracker\Modules\UrlTrackerModule.cs. The debugger could not locate the source file 'c:\Users\kipusoep\Documents\GitHub\UrlTracker\UrlTracker\Modules\UrlTrackerModule.cs'.
And then every request throws the following error:
Sequence contains no elements
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.context_EndRequest(Object sender, EventArgs e) in c:\Users\kipusoep\Documents\GitHub\UrlTracker\UrlTracker\Modules\UrlTrackerModule.cs:line 80
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Am I correct when I say you don't have any content nodes yet? (new Node(-1) == Content Root Node and it seems like it doesn't have any children at all)
Error on Application Startup (Visual Studio)
Umbraco 6.1.2.
SQL Server 2008 Express.
When the application starts, if Visual Studio is debugging the process I get the following error:
And then every request throws the following error:
Sequence contains no elements
UrlTrackerModule.cs line 80 is:
Am I correct when I say you don't have any content nodes yet? (new Node(-1) == Content Root Node and it seems like it doesn't have any children at all)
Ahha! That'll be it.
Thank you for the reply :) and the update was a pleasant suprise, thanks! Lau
GitHub Issue (fixed)
Meanwhile I've implemented another check so this exception won't occur anymore, will be included in the next version.
Could you mark this topic as solved please? Thanks! :-)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.