Werner Keil created DMAP-151:
--------------------------------

             Summary: URLoader configured to use SVN instead of Web URL
                 Key: DMAP-151
                 URL: https://issues.apache.org/jira/browse/DMAP-151
             Project: DeviceMap
          Issue Type: Bug
          Components: .NET API
         Environment: Windows
            Reporter: Werner Keil
            Assignee: Werner Keil
             Fix For: 1.1.0 .NET


Testing and building the .NET clients with Visual Studio I came across the 
following problem
{code}
Loading...

Unhandled Exception: System.Security.SecurityException: The source was not 
found, but some or all event logs could not be searched.  Inaccessible logs: 
Security.
   at System.Diagnostics.EventLog.FindSourceRegistration(String source, String 
machineName, Boolean readOnly, Boolean wantToCreate)
   at System.Diagnostics.EventLog.SourceExists(String source, String 
machineName, Boolean wantToCreate)
   at System.Diagnostics.EventLog.SourceExists(String source)
   at DeviceMap.Util.WriteEntry(String appName, String entryStr, 
EventLogEntryType type, Exception ex) in 
e:\workspace\mobile\devicemap\trunk\devicemap\csharp\DeviceMap\util\Util.cs:line
 131
   at Program.Main(String[] args) in 
e:\workspace\mobile\devicemap\trunk\devicemap\csharp\DeviceMapConsole\Program.cs:line
 43
{code}

Because DeviceMapConsole
{{App.config}} is set to:
"http://svn.apache.org/repos/asf/incubator/devicemap/trunk/data/device-data/src/main/resources/devicedata";
instead of e.g. 
"http://devicemap-vm.apache.org/data/latest/";

This equally affects the VB.net and C# versions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to