Git Product home page Git Product logo

microsoft / bing-maps-fleet-tracker Goto Github PK

View Code? Open in Web Editor NEW
223.0 41.0 106.0 5.58 MB

The Bing Maps Fleet Tracker is a tracking solution for small to medium sized teams. Easily track vehicles and mobile devices. Previously known as "Project Hurghada".

License: MIT License

C# 66.84% TypeScript 24.59% JavaScript 0.63% CSS 1.17% HTML 6.40% SCSS 0.39%
bing-maps gis fleet-management logistics

bing-maps-fleet-tracker's Introduction

โ— This solution is deprecated and no longer maintained.

Bing Maps Fleet Tracker

Bing Maps Fleet Tracker is a fleet management solution based on the Bing Maps APIs. It offers functionalities that enable tracking and managing a fleet of vehicles in real time. For more details, read this blog post.

Getting Started

There are two parts to the set-up process:

  1. Set up the back-end services and administration portal;
  2. Set up the mobile client.

Step 1:

First you need to build and run the back-end services and administration portal from source as detailed here.

After deploying the back-end services and administration portal successfully, you can find the walk-through of using the Bing Maps Fleet Tracker solution here.

Step 2:

Android client:

The easiest way to set up Android client is to download the prebuilt apk from here. You can also build and run the Android client from source as detailed here.

iOS client:

You will need to build and run the iOS client from source as detailed here.

Build and Run

The Bing Maps Fleet Tracker solution consist of 3 major components:

Each of these components can be built and run separately, and each can be replaced with implementations of your own.

Backend Services

The backend services are responsible for the collection and processing of location information, the provisioning of tracking devices and assets, dispatching, and report generation. They are made up of an ASP.NET Core 2 service, and two Azure Functions. For more information on building an running the backend services see Backend\README.md.

Administration Portal

The administration portal is an angular application that exposes the functionalities of the backend to the deployment administrators. It can be used to view reports, track and provision assets, and compare dispatching routes. For more information on building an running the administration portal see Frontend\README.md.

Mobile Client

The mobile client is an ionic mobile application responsible for collection of asset location information and the forwarding of this information to the backend. It is meant to provide an out of the box background tracking solution but it is not the only way to integrate with Bing Maps Fleet Tracker; any GPS device with an internet connection can be used to provide the background tracking (see Using the Rest APIs). For more information on building and running the mobile client see MobileClient\README.md.

Telemetry collected by Bing Maps Fleet Tracker

After deployment, on your first use of the application, you will be prompted to allow us to collect anonymous aggregate telemetry and error/warning log data. We use the telemetry data to get a feel for the usage of this project. Error log data are used to focus our efforts on fixing the issues you face.

Here is a list of all the telemetry items we collect:

  • Deployment Id: this is a random GUID that is unique for each deployment.
  • Assets count: the total number of vehicles registered.
  • Locations count: the total number of locations stored.
  • Auto locations count: the number of automatically detected locations.
  • Tracking devices count: the total number of tracking devices.
  • Geo-fences count: the number of geo-fences setup.
  • Tracking points count: the number of tracking points stored on the system.

Error/warning log data collected consist of:

  • Deployment Id: this is a random GUID that is unique for each deployment.
  • Software version: the version of the software causing the error/warning.
  • Error/warning message: the error/warning message.

You can always enable/disable the data collection from the settings tab in your administration portal.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

History

See release history.

bing-maps-fleet-tracker's People

Contributors

cschotte avatar dependabot[bot] avatar eileenxuan avatar hassankhalileg avatar iambipinpaul avatar iotgirl avatar jiangmouren avatar kant avatar manojattal avatar microsoft-github-policy-service[bot] avatar microsoftopensource avatar moemaher avatar momohs avatar msftgits avatar mustafaleithy avatar rbrundritt avatar zhzhang72 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bing-maps-fleet-tracker's Issues

Issue setting up website on Azure - CORS error

I have followed the guide for all 3 projects and was able to setup the application on my local server. The issue now is that the angular application does not work with the backend hosted in Azure.
When I login, it takes me to the page where my credentials are saved for the account I'm using. Upon selecting the account, it redirects me to the application page but then redirects back to the microsoft login page. This keeps happening over and over and I'm unable to login. I was able to catch the error before getting redirected to the microsoft login page and apparently it's not allowing Cross Origin Request from 'http://localhost:4200'. I don't understand the error. Startup.cs already has CORS enabled.
I have also tried to explicitly add my localhost url like so:

services.AddCors(options => options.AddPolicy("AllowAll", p =>
                                                                         p.WithOrigins("http://localhost:4200")
                                                                        .AllowAnyOrigin()
                                                                        .AllowAnyMethod()
                                                                        .AllowAnyHeader()
                                                                        .AllowCredentials()
                                                                        .Build())
); 

still getting the same error. Can someone help?

Points API call does not insert points into the SQL database

I am trying to use a non-cell device to post api calls to the api/devices/1234/points. I get the 200 response but no point shows up in the TrackingPoints table. I have seen a few error around the TripId field, is there way to completely disable the trip detection? I just want singular points.

Android client: Check location settings and advise if GPS is disabled

I recently set up a test environment for this project and all went well except that the Android client would not track trips properly on one device (though it worked perfectly on another), but instead only recognised points where it could connect to Wi-Fi.

I later discovered that the device on which the tracking worked had the location settings set to high accuracy whilst the device that did not work had battery saving selected (i.e. no GPS). Note that the device in question has no SIM installed at the moment either.

The Android Location Manager exposes a "isProviderEnabled" enabled method that allows you to check if GPS is enabled; might I suggest that this be used and where GPS is not enabled the user be prompted to enable it for a better experience (possibly even sending the user to the correct settings page to change it)?

Operation: Write Deployments failed

I have used the Bing Maps Fleet Tracker Deployment portal to deploy the Bing Maps Feelt tracker solution into my Azure subscription.

The deployment was not successful. In azure activity log, I see that "Write Resourcegroups" operation is successful but "write deployments" failed. Here is the summary of that failed operation:
image

Unable to register mobile devices using qr code

Tracking via azurewebsites.net not showing device/asset

I followed through the walkthrough and managed to setup the maps fleet tracker and connected it successfully to my device. I have created an Asset and linked it with my device.

On the device itself it appears that the tracking is working as I can see the devices location on the map. But am unable to see the device via the azurewebsites.net website. When I click on my device (named Truck), in the top right hand corner of the map I get a pop up that says "Can't find position of Truck". With that said, the GPS location on my device is set to high. Have tried both on a SIM and via WiFi without any difference.

Unsure where to go from here. Any help would be greatly appreciated.

Backend\Trackable.sln does not build

Severity Code Description Project File Suppression State Line
Error CS0006 Metadata file 'C:\Repos\FleetTrckr\Bing-Maps-Fleet-Tracker-master\Backend\src\Trackable.EntityFramework\bin\Debug\Trackable.EntityFramework.dll' could not be found Trackable.Repositories C:\Repos\FleetTrckr\Bing-Maps-Fleet-Tracker-master\Backend\src\Trackable.Repositories\CSC Active 1

Plus 15 more (Trackable.): Repositories.dll, EntityFramework.dll, etc.

And:
Severity Code Description Project File Suppression State Line
Error Cannot evaluate the item metadata "%(FileName)". The item metadata "%(FileName)" cannot be applied to the path "C:\Repos\FleetTrckr\Bing-Maps-Fleet-Tracker-master\Backend\src\Trackable.EntityFramework....\packages\Microsoft.Extensions.DependencyInjection.Abstractions.2.0.0\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. Trackable.EntityFramework

Can't login in the first time

Everything says it succeeded in the azure deployment portal and I set up all the application registration items. When I go to login the first time with the same account that I used to set everything up, it says the account is pending and wont let me login.

SecurityKey in appsettings.json file

How or where can I get the Security Key?

appsettings.json file
"Authorization": {
"ClientId": "",
"ClientSecret": "",
"OwnerEmail": "",
"SecurityKey": "???"
},

Location(s) Delete for api/locations

Is there an api for deleting existing location(s)?
swagger doesn't show delete for /api/locations ?

I also didn't see any location delete in the admin page?

Users?

What is the purpose of users? Seems like only the admin LiveID can access the UI?

Can't access post install

Hi, I've just followed the tutorial and while the process seems to finish ok when I try to access my site gave me a 503 error.

Service Unavailable
HTTP Error 503. The service is unavailable.

Any suggestions?
thanks!

AutoSuggest doesn't work in Bing maps when used in Ionic iOS devices

I'm using Bing maps in Ionic on an iPhone 8 and I can't seem to get the Autocomplete to work. As soon as I click on the input field, I get the following error:

API error: <_UIKBCompatInputView: 0x155eac820; frame = (0 0; 0 0); layer = <CALayer: 0x1c003a6c0>> returned 0 width, assuming UIViewNoIntrinsicMetric
I tried waiting for the platform to be ready:

platform.ready.then(()=>{//execute Autosuggest})

But it still gave me the same error. After popping this error, the autocomplete works fine as expected, but when I click on the suggestions, the callback function is not executed at all. It works fine on Android, IDK whats the issue with iOS.
I don't know how to fix it. Any help would be appreciated.

update to 1.1 lost data

update 1.1 button on our fleet tracker demo .azurewebsites.net

  1. Clicking the link gave a 404 error
  2. Using doc update process for updating existing deployment from deployment portal
    a. After update completed first time - Open Website link failed
    b. After update completed second time - Open Website link worked but all the previous data was lost

Note there are now two hurghada SQL databases showing in the owner Azure Dashboard. I'm guessing one of these holds the previous data but a new one is now connected to the demo fleet tracker.
Not sure what happened in this case.

Unable to setup the code in my local environment

Hi,

As per the instructions provided in readme file of Backend Services link we have done the setup with following steps:

  1. Downloaded the code base from Git hub
  2. Created SQL Server (SQL Server 2016 Developer free edition ) on Azure and created 'Trackable' Database.
  3. Replaced the local with Azure SQL Server (IP) in ConnectionStrings in appsettings.json file and values like below
  4. "Authorization": {
    "ClientId": "xxxxxxx", (created app in Azure and copied the App Id)
    "ClientSecret": "xxxxxx", (copied the secrete key)
    "Authority": "https://login.microsoftonline.com/common/v2.0",
    "OwnerEmail": "[email protected]", (Tenant portal email id)
    "SecurityKey": "xxxxx" (JWT)
  5. Successfully build all the 9 projects within the solution in my local machine using Visual Studio Community 2017 (Version 15.9.12)
  6. click on run
  7. Throwing following error in UseDb in EntityFrameworkExtensions.cs

An error occurred while starting the application.
Win32Exception: The wait operation timed out
Unknown location
SqlException: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The wait operation timed out.)
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, object providerInfo, string newPassword, SecureString newSecurePassword, bool redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, string accessToken, bool applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager)
Win32Exception: The wait operation timed out.

SqlException: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The wait operation timed out.)
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, object providerInfo, string newPassword, SecureString newSecurePassword, bool redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, string accessToken, bool applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager)
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, uint waitForMultipleObjectsTimeout, bool allowCreate, bool onlyOneCheckConnection, DbConnectionOptions userOptions, out DbConnectionInternal connection)
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource retry, DbConnectionOptions userOptions, out DbConnectionInternal connection)
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, out DbConnectionInternal connection)
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource retry, DbConnectionOptions userOptions)
System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource retry, DbConnectionOptions userOptions)
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource retry)
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource retry)
System.Data.SqlClient.SqlConnection.Open()
System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.b__36(DbConnection t, DbConnectionInterceptionContext c)
System.Data.Entity.Infrastructure.Interception.InternalDispatcher.Dispatch<TTarget, TInterceptionContext>(TTarget target, Action<TTarget, TInterceptionContext> operation, TInterceptionContext interceptionContext, Action<TInterceptor, TTarget, TInterceptionContext> executing, Action<TInterceptor, TTarget, TInterceptionContext> executed)
System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
System.Data.Entity.SqlServer.SqlProviderServices+<>c__DisplayClass33.b__32()
System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy+<>c__DisplayClass1.b__0()
System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute(Func operation)
System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute(Action operation)
System.Data.Entity.SqlServer.SqlProviderServices.UsingConnection(DbConnection sqlConnection, Action act)
System.Data.Entity.SqlServer.SqlProviderServices.UsingMasterConnection(DbConnection sqlConnection, Action act)
System.Data.Entity.SqlServer.SqlProviderServices.CreateDatabaseFromScript(Nullable commandTimeout, DbConnection sqlConnection, string createDatabaseScript)
System.Data.Entity.SqlServer.SqlProviderServices.DbCreateDatabase(DbConnection connection, Nullable commandTimeout, StoreItemCollection storeItemCollection)
System.Data.Entity.Core.Common.DbProviderServices.CreateDatabase(DbConnection connection, Nullable commandTimeout, StoreItemCollection storeItemCollection)
System.Data.Entity.Core.Objects.ObjectContext.CreateDatabase()
System.Data.Entity.Migrations.Utilities.DatabaseCreator.Create(DbConnection connection)
System.Data.Entity.Migrations.DbMigrator.EnsureDatabaseExists(Action mustSucceedToKeepDatabase)
System.Data.Entity.Migrations.DbMigrator.Update(string targetMigration)
System.Data.Entity.Migrations.Infrastructure.MigratorBase.Update()
Trackable.EntityFramework.EntityFrameworkExtensions.UseDb(IApplicationBuilder builder, string connectionString) in EntityFrameworkExtensions.cs
+
migrator.Update();
Trackable.Repositories.RepositoriesExtensions.UseRepositories(IApplicationBuilder builder, string connectionString) in RepositoriesExtensions.cs
+
return builder.UseDb(connectionString);
Trackable.Services.ServiceExtensions.UseServices(IApplicationBuilder builder, string connectionString, string ownerEmail) in ServiceExtensions.cs
+
return builder.UseRepositories(connectionString);
Trackable.Web.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory, IServiceProvider seriveProvider) in Startup.cs
+
app.UseServices(Configuration.GetConnectionString("DefaultConnection"),
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
Microsoft.ApplicationInsights.AspNetCore.ApplicationInsightsStartupFilter+<>c__DisplayClass0_0.b__0(IApplicationBuilder app)
Microsoft.AspNetCore.Server.IISIntegration.IISSetupFilter+<>c__DisplayClass3_0.b__0(IApplicationBuilder app)
Microsoft.AspNetCore.Hosting.Internal.AutoRequestServicesStartupFilter+<>c__DisplayClass0_0.b__0(IApplicationBuilder builder)
Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()

Are we missing something here?

Please help us in resolving this issue.

Thanks,
Ankit

Geofence Reports are empty

I have one asset that has triggered a geofence condition several times. The emails were sent out.

What functions/tables are involved in making this report functionality work?

Issue in setting up website

Hi,
I am trying to take a look at back-end code and wanted to fix one reported issue. I followed the steps mentioned here https://github.com/Microsoft/Bing-Maps-Fleet-Tracker/blob/master/Backend/README.md

  1. I went to https://apps.dev.microsoft.com and created an app. Updated Authorization.ClientId, Authorization.ClientSecret from this. Provided Authorization.OwnerEmail as my email.
  2. There was no information about what should be Authorization.SecurityKey. I just went to https://randomkeygen.com/ and used one of "128-bit WEP Keys" from there.
  3. I went to https://www.bingmapsportal.com. Created an application and updated value of SubscriptionKeys.BingMaps
  4. Built front end code and copied files at path "Backend\src\Trackable.Web\wwwroot\dist"
  5. Now when I run project, localhost:portno/locations, bing map show error "Specified credentials are invalid" and cosnole tab shows following errors.

zone.js:2933 GET http://localhost:4488/api/users/me 0 ()
scheduleTask @ zone.js:2933
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:411
onScheduleTask @ zone.js:301
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:405
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.scheduleTask @ zone.js:236
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.scheduleMacroTask @ zone.js:259
(anonymous) @ zone.js:2966
proto.(anonymous function) @ zone.js:1366
(anonymous) @ http.es5.js:1275
webpackJsonp.../../../../rxjs/esm5/Observable.js.Observable.trySubscribe @ Observable.js:172
webpackJsonp.../../../../rxjs/esm5/Observable.js.Observable.subscribe @ Observable.js:160
webpackJsonp.../../../../../src/app/core/authorized-http.service.ts.AuthorizedHttpService.get @ authorized-http.service.ts:18
webpackJsonp.../../../../../src/app/core/data.service.ts.DataService.getSingle @ data.service.ts:63
webpackJsonp.../../../../../src/app/users/auth.service.ts.AuthService.getLoggedInUser @ auth.service.ts:21
webpackJsonp.../../../../../src/app/users/auth.service.ts.AuthService.loginOrGetUser @ auth.service.ts:28
webpackJsonp.../../../../../src/app/users/login/login.component.ts.LoginComponent.ngOnInit @ login.component.ts:37
checkAndUpdateDirectiveInline @ core.es5.js:10843
checkAndUpdateNodeInline @ core.es5.js:12341
checkAndUpdateNode @ core.es5.js:12284
debugCheckAndUpdateNode @ core.es5.js:13141
debugCheckDirectivesFn @ core.es5.js:13082
(anonymous) @ AppComponent.html:5
debugUpdateDirectives @ core.es5.js:13067
checkAndUpdateView @ core.es5.js:12251
callViewAction @ core.es5.js:12599
execComponentViewsAction @ core.es5.js:12531
checkAndUpdateView @ core.es5.js:12257
callWithDebugContext @ core.es5.js:13467
debugCheckAndUpdateView @ core.es5.js:13007
webpackJsonp.../../../core/@angular/core.es5.js.ViewRef
.detectChanges @ core.es5.js:10174
(anonymous) @ core.es5.js:4812
webpackJsonp.../../../core/@angular/core.es5.js.ApplicationRef
.tick @ core.es5.js:4812
webpackJsonp.../../../core/@angular/core.es5.js.ApplicationRef
.loadComponent @ core.es5.js:4787
webpackJsonp.../../../core/@angular/core.es5.js.ApplicationRef
.bootstrap @ core.es5.js:4775
(anonymous) @ core.es5.js:4546
webpackJsonp.../../../core/@angular/core.es5.js.PlatformRef_.moduleDoBootstrap @ core.es5.js:4546
(anonymous) @ core.es5.js:4508
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:392
onInvoke @ core.es5.js:3890
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:391
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.run @ zone.js:142
(anonymous) @ zone.js:873
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invokeTask @ zone.js:425
onInvokeTask @ core.es5.js:3881
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invokeTask @ zone.js:424
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.runTask @ zone.js:192
drainMicroTaskQueue @ zone.js:602
Promise.then (async)
scheduleMicroTask @ zone.js:585
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:414
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.scheduleTask @ zone.js:236
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.scheduleMicroTask @ zone.js:256
scheduleResolveOrReject @ zone.js:871
ZoneAwarePromise.then @ zone.js:981
webpackJsonp.../../../core/@angular/core.es5.js.PlatformRef
.bootstrapModuleWithZone @ core.es5.js:4537
webpackJsonp.../../../core/@angular/core.es5.js.PlatformRef
.bootstrapModule @ core.es5.js:4522
../../../../../src/main.ts @ main.ts:12
webpack_require @ bootstrap de442838fa44fd958ee7:54
0 @ main.bundle.js:6434
webpack_require @ bootstrap de442838fa44fd958ee7:54
webpackJsonpCallback @ bootstrap de442838fa44fd958ee7:25
(anonymous) @ main.bundle.js:1
core.es5.js:1020 ERROR Responseย {_body: ProgressEvent, status: 0, ok: false, statusText: "", headers: Headers,ย โ€ฆ}headers: Headersย {_headers: Map(0), _normalizedNames: Map(0)}ok: falsestatus: 0statusText: ""type: 3url: null_body: ProgressEventย {isTrusted: true, lengthComputable: false, loaded: 0, total: 0, type: "error",ย โ€ฆ}proto: Body
defaultErrorLogger @ core.es5.js:1020
webpackJsonp.../../../core/@angular/core.es5.js.ErrorHandler.handleError @ core.es5.js:1080
next @ core.es5.js:4503
schedulerFn @ core.es5.js:3635
webpackJsonp.../../../../rxjs/_esm5/Subscriber.js.SafeSubscriber.__tryOrUnsub @ Subscriber.js:239
webpackJsonp.../../../../rxjs/_esm5/Subscriber.js.SafeSubscriber.next @ Subscriber.js:186
webpackJsonp.../../../../rxjs/_esm5/Subscriber.js.Subscriber._next @ Subscriber.js:127
webpackJsonp.../../../../rxjs/_esm5/Subscriber.js.Subscriber.next @ Subscriber.js:91
webpackJsonp.../../../../rxjs/_esm5/Subject.js.Subject.next @ Subject.js:56
webpackJsonp.../../../core/@angular/core.es5.js.EventEmitter.emit @ core.es5.js:3621
(anonymous) @ core.es5.js:3912
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:392
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.run @ zone.js:142
webpackJsonp.../../../core/@angular/core.es5.js.NgZone.runOutsideAngular @ core.es5.js:3844
onHandleError @ core.es5.js:3912
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.handleError @ zone.js:396
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.runTask @ zone.js:195
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneTask.invokeTask @ zone.js:499
invokeTask @ zone.js:1540
globalZoneAwareCallback @ zone.js:1566
error (async)
customScheduleGlobal @ zone.js:1666
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:411
onScheduleTask @ zone.js:301
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:405
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.scheduleTask @ zone.js:236
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.scheduleEventTask @ zone.js:262
(anonymous) @ zone.js:1832
(anonymous) @ http.es5.js:1274
webpackJsonp.../../../../rxjs/_esm5/Observable.js.Observable.trySubscribe @ Observable.js:172
webpackJsonp.../../../../rxjs/esm5/Observable.js.Observable.subscribe @ Observable.js:160
webpackJsonp.../../../../../src/app/core/authorized-http.service.ts.AuthorizedHttpService.get @ authorized-http.service.ts:18
webpackJsonp.../../../../../src/app/core/data.service.ts.DataService.get @ data.service.ts:29
webpackJsonp.../../../../../src/app/assets/asset.service.ts.AssetService.getAssets @ asset.service.ts:22
webpackJsonp.../../../../../src/app/assets/asset-list/asset-list.component.ts.AssetListComponent.ngOnInit @ asset-list.component.ts:53
checkAndUpdateDirectiveInline @ core.es5.js:10843
checkAndUpdateNodeInline @ core.es5.js:12341
checkAndUpdateNode @ core.es5.js:12284
debugCheckAndUpdateNode @ core.es5.js:13141
debugCheckDirectivesFn @ core.es5.js:13082
(anonymous) @ AssetListComponent_Host.html:1
debugUpdateDirectives @ core.es5.js:13067
checkAndUpdateView @ core.es5.js:12251
callViewAction @ core.es5.js:12599
execEmbeddedViewsAction @ core.es5.js:12557
checkAndUpdateView @ core.es5.js:12252
callViewAction @ core.es5.js:12599
execComponentViewsAction @ core.es5.js:12531
checkAndUpdateView @ core.es5.js:12257
callWithDebugContext @ core.es5.js:13467
debugCheckAndUpdateView @ core.es5.js:13007
webpackJsonp.../../../core/@angular/core.es5.js.ViewRef
.detectChanges @ core.es5.js:10174
(anonymous) @ core.es5.js:4812
webpackJsonp.../../../core/@angular/core.es5.js.ApplicationRef
.tick @ core.es5.js:4812
(anonymous) @ core.es5.js:4684
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:392
onInvoke @ core.es5.js:3890
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:391
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.run @ zone.js:142
webpackJsonp.../../../core/@angular/core.es5.js.NgZone.run @ core.es5.js:3821
next @ core.es5.js:4684
schedulerFn @ core.es5.js:3635
webpackJsonp.../../../../rxjs/_esm5/Subscriber.js.SafeSubscriber.__tryOrUnsub @ Subscriber.js:239
webpackJsonp.../../../../rxjs/_esm5/Subscriber.js.SafeSubscriber.next @ Subscriber.js:186
webpackJsonp.../../../../rxjs/_esm5/Subscriber.js.Subscriber._next @ Subscriber.js:127
webpackJsonp.../../../../rxjs/_esm5/Subscriber.js.Subscriber.next @ Subscriber.js:91
webpackJsonp.../../../../rxjs/_esm5/Subject.js.Subject.next @ Subject.js:56
webpackJsonp.../../../core/@angular/core.es5.js.EventEmitter.emit @ core.es5.js:3621
checkStable @ core.es5.js:3855
onHasTask @ core.es5.js:3903
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.hasTask @ zone.js:445
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.updateTaskCount @ zone.js:465
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.updateTaskCount @ zone.js:289
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.runTask @ zone.js:209
drainMicroTaskQueue @ zone.js:602
Promise.then (async)
scheduleMicroTask @ zone.js:585
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:414
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.scheduleTask @ zone.js:236
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.scheduleMicroTask @ zone.js:256
scheduleResolveOrReject @ zone.js:871
ZoneAwarePromise.then @ zone.js:981
webpackJsonp.../../../core/@angular/core.es5.js.PlatformRef
.bootstrapModuleWithZone @ core.es5.js:4537
webpackJsonp.../../../core/@angular/core.es5.js.PlatformRef
.bootstrapModule @ core.es5.js:4522
../../../../../src/main.ts @ main.ts:12
webpack_require @ bootstrap de442838fa44fd958ee7:54
0 @ main.bundle.js:6434
webpack_require @ bootstrap de442838fa44fd958ee7:54
webpackJsonpCallback @ bootstrap de442838fa44fd958ee7:25
(anonymous) @ main.bundle.js:1
zone.js:2933 GET http://localhost:4488/api/settings/subscriptionkeys 0 ()
scheduleTask @ zone.js:2933
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:411
onScheduleTask @ zone.js:301
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:405
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.scheduleTask @ zone.js:236
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.scheduleMacroTask @ zone.js:259
(anonymous) @ zone.js:2966
proto.(anonymous function) @ zone.js:1366
(anonymous) @ http.es5.js:1275
webpackJsonp.../../../../rxjs/esm5/Observable.js.Observable.trySubscribe @ Observable.js:172
webpackJsonp.../../../../rxjs/esm5/Observable.js.Observable.subscribe @ Observable.js:160
webpackJsonp.../../../../../src/app/core/authorized-http.service.ts.AuthorizedHttpService.get @ authorized-http.service.ts:18
webpackJsonp.../../../../../src/app/core/data.service.ts.DataService.getNoCache @ data.service.ts:43
webpackJsonp.../../../../../src/app/core/settings.service.ts.SettingsService.getSubscriptionKey @ settings.service.ts:25
webpackJsonp.../../../../../src/app/maps/maps/maps.component.ts.MapsComponent.ngOnInit @ maps.component.ts:25
checkAndUpdateDirectiveInline @ core.es5.js:10843
checkAndUpdateNodeInline @ core.es5.js:12341
checkAndUpdateNode @ core.es5.js:12284
debugCheckAndUpdateNode @ core.es5.js:13141
debugCheckDirectivesFn @ core.es5.js:13082
(anonymous) @ AppComponent.html:23
debugUpdateDirectives @ core.es5.js:13067
checkAndUpdateView @ core.es5.js:12251
callViewAction @ core.es5.js:12599
execEmbeddedViewsAction @ core.es5.js:12557
checkAndUpdateView @ core.es5.js:12252
callViewAction @ core.es5.js:12599
execComponentViewsAction @ core.es5.js:12531
checkAndUpdateView @ core.es5.js:12257
callWithDebugContext @ core.es5.js:13467
debugCheckAndUpdateView @ core.es5.js:13007
webpackJsonp.../../../core/@angular/core.es5.js.ViewRef
.detectChanges @ core.es5.js:10174
(anonymous) @ core.es5.js:4812
webpackJsonp.../../../core/@angular/core.es5.js.ApplicationRef
.tick @ core.es5.js:4812
webpackJsonp.../../../core/@angular/core.es5.js.ApplicationRef
.loadComponent @ core.es5.js:4787
webpackJsonp.../../../core/@angular/core.es5.js.ApplicationRef
.bootstrap @ core.es5.js:4775
(anonymous) @ core.es5.js:4546
webpackJsonp.../../../core/@angular/core.es5.js.PlatformRef
.moduleDoBootstrap @ core.es5.js:4546
(anonymous) @ core.es5.js:4508
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:392
onInvoke @ core.es5.js:3890
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:391
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.run @ zone.js:142
(anonymous) @ zone.js:873
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invokeTask @ zone.js:425
onInvokeTask @ core.es5.js:3881
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invokeTask @ zone.js:424
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.runTask @ zone.js:192
drainMicroTaskQueue @ zone.js:602
Promise.then (async)
scheduleMicroTask @ zone.js:585
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:414
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.scheduleTask @ zone.js:236
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.scheduleMicroTask @ zone.js:256
scheduleResolveOrReject @ zone.js:871
ZoneAwarePromise.then @ zone.js:981
webpackJsonp.../../../core/@angular/core.es5.js.PlatformRef
.bootstrapModuleWithZone @ core.es5.js:4537
webpackJsonp.../../../core/@angular/core.es5.js.PlatformRef
.bootstrapModule @ core.es5.js:4522
../../../../../src/main.ts @ main.ts:12
webpack_require @ bootstrap de442838fa44fd958ee7:54
0 @ main.bundle.js:6434
webpack_require @ bootstrap de442838fa44fd958ee7:54
webpackJsonpCallback @ bootstrap de442838fa44fd958ee7:25
(anonymous) @ main.bundle.js:1
maps.component.ts:162 Responseย {_body: ProgressEvent, status: 0, ok: false, statusText: "", headers: Headers,ย โ€ฆ}headers: Headersย {headers: Map(0), normalizedNames: Map(0)}ok: falsestatus: 0statusText: ""type: 3url: null_body: ProgressEventย {isTrusted: true, lengthComputable: false, loaded: 0, total: 0, type: "error",ย โ€ฆ}bubbles: falsecancelBubble: falsecancelable: falsecomposed: falsecurrentTarget: XMLHttpRequestย {readyState: 4, timeout: 0, withCredentials: true, upload: XMLHttpRequestUpload, responseURL: "",ย โ€ฆ}defaultPrevented: falseeventPhase: 0isTrusted: truelengthComputable: falseloaded: 0path: []returnValue: truesrcElement: XMLHttpRequestย {readyState: 4, timeout: 0, withCredentials: true, upload: XMLHttpRequestUpload, responseURL: "",ย โ€ฆ}target: XMLHttpRequestย {readyState: 4, timeout: 0, withCredentials: true, upload: XMLHttpRequestUpload, responseURL: "",ย โ€ฆ}timeStamp: 15756.89999999986total: 0type: "error"proto: ProgressEvent__proto: Body
zone.js:2933 GET http://localhost:4488/api/assets 0 ()
scheduleTask @ zone.js:2933
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:411
onScheduleTask @ zone.js:301
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:405
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.scheduleTask @ zone.js:236
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.scheduleMacroTask @ zone.js:259
(anonymous) @ zone.js:2966
proto.(anonymous function) @ zone.js:1366
(anonymous) @ http.es5.js:1275
webpackJsonp.../../../../rxjs/_esm5/Observable.js.Observable.trySubscribe @ Observable.js:172
webpackJsonp.../../../../rxjs/esm5/Observable.js.Observable.subscribe @ Observable.js:160
webpackJsonp.../../../../../src/app/core/authorized-http.service.ts.AuthorizedHttpService.get @ authorized-http.service.ts:18
webpackJsonp.../../../../../src/app/core/data.service.ts.DataService.get @ data.service.ts:29
webpackJsonp.../../../../../src/app/assets/asset.service.ts.AssetService.getAssets @ asset.service.ts:22
webpackJsonp.../../../../../src/app/assets/asset-list/asset-list.component.ts.AssetListComponent.ngOnInit @ asset-list.component.ts:53
checkAndUpdateDirectiveInline @ core.es5.js:10843
checkAndUpdateNodeInline @ core.es5.js:12341
checkAndUpdateNode @ core.es5.js:12284
debugCheckAndUpdateNode @ core.es5.js:13141
debugCheckDirectivesFn @ core.es5.js:13082
(anonymous) @ AssetListComponent_Host.html:1
debugUpdateDirectives @ core.es5.js:13067
checkAndUpdateView @ core.es5.js:12251
callViewAction @ core.es5.js:12599
execEmbeddedViewsAction @ core.es5.js:12557
checkAndUpdateView @ core.es5.js:12252
callViewAction @ core.es5.js:12599
execComponentViewsAction @ core.es5.js:12531
checkAndUpdateView @ core.es5.js:12257
callWithDebugContext @ core.es5.js:13467
debugCheckAndUpdateView @ core.es5.js:13007
webpackJsonp.../../../core/@angular/core.es5.js.ViewRef
.detectChanges @ core.es5.js:10174
(anonymous) @ core.es5.js:4812
webpackJsonp.../../../core/@angular/core.es5.js.ApplicationRef
.tick @ core.es5.js:4812
(anonymous) @ core.es5.js:4684
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:392
onInvoke @ core.es5.js:3890
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:391
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.run @ zone.js:142
webpackJsonp.../../../core/@angular/core.es5.js.NgZone.run @ core.es5.js:3821
next @ core.es5.js:4684
schedulerFn @ core.es5.js:3635
webpackJsonp.../../../../rxjs/_esm5/Subscriber.js.SafeSubscriber.__tryOrUnsub @ Subscriber.js:239
webpackJsonp.../../../../rxjs/_esm5/Subscriber.js.SafeSubscriber.next @ Subscriber.js:186
webpackJsonp.../../../../rxjs/_esm5/Subscriber.js.Subscriber._next @ Subscriber.js:127
webpackJsonp.../../../../rxjs/_esm5/Subscriber.js.Subscriber.next @ Subscriber.js:91
webpackJsonp.../../../../rxjs/_esm5/Subject.js.Subject.next @ Subject.js:56
webpackJsonp.../../../core/@angular/core.es5.js.EventEmitter.emit @ core.es5.js:3621
checkStable @ core.es5.js:3855
onHasTask @ core.es5.js:3903
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.hasTask @ zone.js:445
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate._updateTaskCount @ zone.js:465
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.updateTaskCount @ zone.js:289
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.runTask @ zone.js:209
drainMicroTaskQueue @ zone.js:602
Promise.then (async)
scheduleMicroTask @ zone.js:585
webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:414
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.scheduleTask @ zone.js:236
webpackJsonp.../../../../zone.js/dist/zone.js.Zone.scheduleMicroTask @ zone.js:256
scheduleResolveOrReject @ zone.js:871
ZoneAwarePromise.then @ zone.js:981
webpackJsonp.../../../core/@angular/core.es5.js.PlatformRef
.bootstrapModuleWithZone @ core.es5.js:4537
webpackJsonp.../../../core/@angular/core.es5.js.PlatformRef
.bootstrapModule @ core.es5.js:4522
../../../../../src/main.ts @ main.ts:12
webpack_require @ bootstrap de442838fa44fd958ee7:54
0 @ main.bundle.js:6434
webpack_require @ bootstrap de442838fa44fd958ee7:54
webpackJsonpCallback @ bootstrap de442838fa44fd958ee7:25
(anonymous) @ main.bundle.js:1
zone.js:2933 GET http://localhost:4488/api/locations 0 ()

  1. When I browse "http://localhost:42484/api/locations", it shows HTTP ERROR 401. And Locations controller does not get hit in debugger.

Can you help what am I missing here?

One Click Deployment

Error when clicking the "One-Click Deployment"...

ArgumentNullException: Value cannot be null. Parameter name: source
System.Linq.Enumerable.Select<TSource, TResult>(IEnumerable source, Func<TSource, TResult> selector)
Trackable.Deployment.Deployment.AzureManagementClient+d__7.MoveNext() in AzureManagementClient.cs
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Trackable.Deployment.Controllers.HomeController+d__4.MoveNext() in HomeController.cs
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+d__12.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+d__10.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+d__14.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+d__22.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+d__17.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+d__15.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Builder.RouterMiddleware+d__4.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIIndexMiddleware+d__3.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware+d__6.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware+d__7.MoveNext()

Show raw exception details

User documentation

Is there any end user documentation on features apart from the few sections in the readme? Related to this, we are not clear on how the trips/dispatching features should work?

Using PAT to access Rest service

Below results in html login response rather than json results.
Is this the correct use of PAT for Rest Access?

// try PAT Personal Access Token
var personalaccesstoken = "";

using (HttpClient client = new HttpClient())
{
	client.DefaultRequestHeaders.Accept.Add(
		new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("text/plain"));

	client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Basic",
		Convert.ToBase64String(
			System.Text.ASCIIEncoding.ASCII.GetBytes(
				string.Format("{0}:{1}", "", personalaccesstoken))));

	using (HttpResponseMessage message = client.GetAsync(baseAddress + restQuery).Result)
	{
		message.EnsureSuccessStatusCode();
		response.result = await message.Content.ReadAsStringAsync();
	}
}

thanks

Trips are not populating eventhough im having pipeline functions in azure function app

Hi

My device is linked to my asset
I can able to see my device current location and data points of my trips
I'm having pipeline initiator,executor functions in my azure function app .
No errors found in log files.

  • I havent used mobileclient project . Instead of this i have installed mobileclient.apk in my mobile to register the device.

  • The problem is ,I cant able to see my trips.My trip legs & trips tables are empty. Please help me how to solve this?

build issue

Following error when compiling frontend


ERROR in ./src/app/devices/device-editor/device-editor.component.ts
Module not found: Error: Can't resolve '@aspnet/signalr-client' in 'C:\repos\git\Bing-Maps-Fleet-Tracker\Frontend\src\app\devices\device-editor'
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device-editor/device-editor.component.ts (9,31): Cannot find module '@aspnet/signalr-client'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (31,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (61,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (64,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (67,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (71,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (72,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (73,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (74,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (75,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (78,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (82,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (15,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (17,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (31,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (33,7): Cannot find name 'spyOn'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (36,7): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (39,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (41,7): Cannot find name 'spyOn'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (43,7): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (46,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (48,7): Cannot find name 'spyOn'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (50,7): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (53,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (55,7): Cannot find name 'spyOn'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/assets/asset.service.spec.ts (57,7): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/data.service.spec.ts (9,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/data.service.spec.ts (10,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/settings.service.spec.ts (8,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/settings.service.spec.ts (9,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/settings.service.spec.ts (15,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/settings.service.spec.ts (16,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/nav/nav.component.spec.ts (11,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/nav/nav.component.spec.ts (15,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/nav/nav.component.spec.ts (22,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/nav/nav.component.spec.ts (28,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/nav/nav.component.spec.ts (29,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/settings/settings.component.spec.ts (8,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/settings/settings.component.spec.ts (12,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/settings/settings.component.spec.ts (19,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/settings/settings.component.spec.ts (25,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/core/settings/settings.component.spec.ts (26,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (14,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (15,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (27,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (29,7): Cannot find name 'spyOn'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (32,7): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (35,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (37,7): Cannot find name 'spyOn'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (39,7): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (42,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (44,7): Cannot find name 'spyOn'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (46,7): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (49,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (51,7): Cannot find name 'spyOn'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device.service.spec.ts (54,7): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching.service.spec.ts (8,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching.service.spec.ts (9,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching.service.spec.ts (15,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching.service.spec.ts (16,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-editor/dispatching-editor.component.spec.ts (8,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-editor/dispatching-editor.component.spec.ts (12,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-editor/dispatching-editor.component.spec.ts (19,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-editor/dispatching-editor.component.spec.ts (25,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-editor/dispatching-editor.component.spec.ts (26,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-show/dispatching-show.component.spec.ts (8,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-show/dispatching-show.component.spec.ts (12,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-show/dispatching-show.component.spec.ts (19,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-show/dispatching-show.component.spec.ts (25,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/dispatching-show/dispatching-show.component.spec.ts (26,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/location-dialog/location-dialog.component.spec.ts (8,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/location-dialog/location-dialog.component.spec.ts (12,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/location-dialog/location-dialog.component.spec.ts (19,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/location-dialog/location-dialog.component.spec.ts (25,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/dispatching/location-dialog/location-dialog.component.spec.ts (26,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/locations/location.service.spec.ts (8,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/locations/location.service.spec.ts (9,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/locations/location.service.spec.ts (15,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/locations/location.service.spec.ts (16,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/locations/location-list/location-list.component.spec.ts (8,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/app.component.spec.ts (27,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/locations/location-list/location-list.component.spec.ts (19,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/locations/location-list/location-list.component.spec.ts (25,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/locations/location-list/location-list.component.spec.ts (26,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/maps/maps/maps.component.spec.ts (15,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/maps/maps/maps.component.spec.ts (20,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/maps/maps/maps.component.spec.ts (36,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/maps/maps/maps.component.spec.ts (42,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/maps/maps/maps.component.spec.ts (43,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/filter-list.pipe.spec.ts (6,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/filter-list.pipe.spec.ts (7,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/filter-list.pipe.spec.ts (9,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/filter-list.pipe.spec.ts (12,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/filter-list.pipe.spec.ts (14,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/time-filter/time-filter.component.spec.ts (11,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/time-filter/time-filter.component.spec.ts (15,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/time-filter/time-filter.component.spec.ts (22,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/time-filter/time-filter.component.spec.ts (28,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/time-filter/time-filter.component.spec.ts (29,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/trip-list/trip-list.component.spec.ts (11,1): Cannot find name 'describe'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/trip-list/trip-list.component.spec.ts (15,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/trip-list/trip-list.component.spec.ts (22,3): Cannot find name 'beforeEach'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/trip-list/trip-list.component.spec.ts (28,3): Cannot find name 'it'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/shared/trip-list/trip-list.component.spec.ts (29,5): Cannot find name 'expect'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,47): ';' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,90): '(' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,104): ']' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,112): ',' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,113): Property assignment expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,121): ')' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,147): '(' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,162): ']' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,163): ',' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,164): Property assignment expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,165): Property assignment expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,179): ',' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,183): ':' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,208): '{' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,217): ':' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,222): ',' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,227): ':' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,228): Expression expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,230): ')' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (635,30): ';' expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (720,1): Declaration or statement expected.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,224): An object literal cannot have multiple properties with the same name in strict mode.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (575,13): Invalid use of 'arguments'. Modules are automatically in strict mode.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,68): 'ReadonlyArray' only refers to a type, but is being used as a value here.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,92): The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,94): Cannot find name 'methodName'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,106): Cannot find name 'string'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,124): 'ReadonlyArray' only refers to a type, but is being used as a value here.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,149): The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,150): A computed property name must be of type 'string', 'number', 'symbol', or 'any'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,151): Cannot find name 'P'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,156): Cannot find name 'keyof'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,162): Cannot find name 'T'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,180): Cannot find name 'P'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,217): Cannot find name 'T'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (142,219): Cannot find name 'P'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (635,49): Cannot find name 'T'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (635,51): Cannot find name 'k'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (635,56): 'Spy' only refers to a type, but is being used as a value here.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (635,62): Cannot find name 'T'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (635,64): Cannot find name 'k'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (642,24): Cannot find name 'Spy'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (644,32): Cannot find name 'Spy'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (646,41): Cannot find name 'Spy'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (648,33): Cannot find name 'Spy'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (650,34): Cannot find name 'Spy'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (652,17): Cannot find name 'Spy'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (691,37): Cannot find name 'Reporter'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (697,21): Cannot find name 'RunDetails'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (701,19): Cannot find name 'Suite'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (702,33): Cannot find name 'SuiteOrSpec'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (711,15): Cannot find name 'Spec'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (712,16): Cannot find name 'Clock'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (716,30): Cannot find name 'HtmlReporter'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (717,32): Cannot find name 'HtmlSpecFilter'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index.d.ts (725,26): Namespace '"C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/node_modules/@types/jasmine/index".jasmine' has no exported member 'Jasmine'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/devices/device-editor/device-editor.component.ts (9,31): Cannot find module '@aspnet/signalr-client'.
ERROR in C:/repos/git/Bing-Maps-Fleet-Tracker/Frontend/src/app/locations/location-list/location-list.component.spec.ts (12,3): Cannot find name 'beforeEach'.

webpack: Failed to compile.

Latest Trip Details not Populating

Hi Team,

I have deployed the solution and configured mobile devices to capture GPS Points and Latest points are now loaded and displayed in Maps, however I dont see any trip details being populated. Please let me know if there is anything more to be configured.

Thank you

ERROR on "Bing Maps Fleet Tracker Deployment Portal" one click deployment

The Error attached, please someone can help?

`An unhandled exception occurred while processing the request.
ArgumentNullException: Value cannot be null.
Parameter name: source
System.Linq.Enumerable.Select<TSource, TResult>(IEnumerable source, Func<TSource, TResult> selector)

Stack Query Cookies Headers
ArgumentNullException: Value cannot be null. Parameter name: source
System.Linq.Enumerable.Select<TSource, TResult>(IEnumerable source, Func<TSource, TResult> selector)
Trackable.Deployment.Deployment.AzureManagementClient+d__7.MoveNext() in AzureManagementClient.cs
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Trackable.Deployment.Controllers.HomeController+d__4.MoveNext() in HomeController.cs
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+d__12.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+d__10.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+d__14.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+d__22.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+d__17.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+d__15.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Builder.RouterMiddleware+d__4.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIIndexMiddleware+d__3.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware+d__6.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware+d__7.MoveNext()

Show raw exception details`

403 Forbidden at first login attempt - "The specified credentials are invalid"

"You can sign up for a new developer account at bingmapsportal.com" flashed briefly on the screen. But I cannot login,

I already have a developer account.
Created a new key, tested the new key and it all seems to work with a simple test in the browser.

This is my second attempt and have now two fleet trackers in Azure, neither works.

Would it not be better if I was allowed to login and potentially make changes to the Bing maps key, rather than create a whole new application?

What other troubleshooting can I do?

AADSTS50011: The reply url specified in the request does not match the reply urls

I'm getting this error when I attempt to start https://bmft.azurewebsites.net. I'm a c# client/server guy who knows next to nothing about websites so, no surprise, I have not been able to apply the suggestions I've found online to my azure site. Can you walk me thru it? Thanks!

AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application: 'fd0b9734-3ea3-4811-8bbd-62a239519535'.

Frontend not available in mobile devices

Hi. I deployed an instance using the one click webpage successfully. However if I try to access the frontend using my mobile device i.e. iPhone the webpage does keep in loading animated icon for ever and never goes into the portal. It happens while using safari and chrome for iOS. It also happens in chrome in Abdroid devices. Can this be fixed?

The function runtime unable is to start

Hi team,
I had trip detection working just fine. Then I updated the deployment a few days ago and now the function is showing this error. I remember I got some warning or error about Runtime version not being specified in the deployment and it shows Runtime version: loading ... perpetually, the value never gets updated and the function don't get started properly. See attached screenshots for reference on the errors I am getting. Thanks in advance. Rafa.

image

image

image

MobileClient missing debug module

Error
Close
Runtime Error
Cannot find module "../debug/debug"
Stack
Error: Cannot find module "../debug/debug"
at Anonymous function (http://localhost:8100/build/main.js:45697:1)
at webpack_require (http://localhost:8100/build/main.js:20:12)
at Anonymous function (http://localhost:8100/build/main.js:86901:22)
at webpack_require (http://localhost:8100/build/main.js:20:12)
at Anonymous function (http://localhost:8100/build/main.js:86775:22)
at webpack_require (http://localhost:8100/build/main.js:20:12)
at Anonymous function (http://localhost:8100/build/main.js:86969:22)
at webpack_require (http://localhost:8100/build/main.js:20:12)
at Anonymous function (http://localhost:8100/build/main.js:66:11)
at Global code (http://localhost:8100/build/main.js:1:11)
Ionic Framework: 2.0.0-rc.5
Ionic Native: 2.2.11
Ionic App Scripts: 1.3.12
Angular Core: 2.2.1
Angular Compiler CLI: 2.2.1
Node: 9.5.0
OS Platform: Windows 10
Navigator Platform: Win32
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36

Map is not appearing in the portal

Hello,

Even after a new deployment the map is not showing anymore in the portal, I tested the key and it's valid, any clue how to troubleshoot this issue? I have even used a new deployment without any customisation but the issue seems to be the same. Is this a known issue?

Capture

problem with deployment portal

An unhandled exception occurred while processing the request.
ArgumentNullException: Value cannot be null.
Parameter name: source
System.Linq.Enumerable.Select<TSource, TResult>(IEnumerable source, Func<TSource, TResult> selector)

Stack Query Cookies Headers
ArgumentNullException: Value cannot be null. Parameter name: source
System.Linq.Enumerable.Select<TSource, TResult>(IEnumerable source, Func<TSource, TResult> selector)
Trackable.Deployment.Deployment.AzureManagementClient+d__7.MoveNext() in AzureManagementClient.cs
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Trackable.Deployment.Controllers.HomeController+d__4.MoveNext() in HomeController.cs
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+d__12.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+d__10.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+d__14.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+d__22.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+d__17.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+d__15.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Builder.RouterMiddleware+d__4.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIIndexMiddleware+d__3.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware+d__6.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware+d__7.MoveNext()

Show raw exception details
System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable1 source, Func2 selector)
at Trackable.Deployment.Deployment.AzureManagementClient.d__7.MoveNext() in D:\gitHome\HurghadaPortal\Trackable.Deployment\Deployment\AzureManagementClient.cs:line 36
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Trackable.Deployment.Controllers.HomeController.d__4.MoveNext() in D:\gitHome\HurghadaPortal\Trackable.Deployment\Controllers\HomeController.cs:line 59
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Builder.RouterMiddleware.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIIndexMiddleware.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.d__7.MoveNext()

Trips not populating

Trips aren't showing. I can see the position and the points for my device/asset but if i click on trips I get the pop up saying "showing latest trips of Truck" but nothing shows on the map.

I saw a previous issue listed which pointed to the issue being caused by the initial deployment. I have followed the steps in that post and in Azure can see PipelineExecutor and PipelineInitiator are there, so am not sure where to go from here as it was not listed in the previous post.

I have also tried updating the deployment as per #4 which does not seemed to have picked up the points from today.

Error when registering device

Hello,
I am running backend and frontend locally on the same machine. When I tried to add a new device (device/new), I got several errors related to
SyntaxError: Unexpected token < in JSON at position 0
And the error 500 (Internal Server Error), which seems to cause the QR not to display
GET http://localhost:58600/api/devices/qrcode?nonce=a605b457-0d68-8b96-bb99-70b155131268 500 (Internal Server Error)

image

What could be the cause? Any suggestions would be greatly appreciated.

jwang

purging old locations from the DB

We are having trouble locating the password for the Hurghada DB generated by the auto deployment. We want to purge some of the old positions in order to demo Microsoft FleetTracker to some of our clients. Does the password default to the subscription password?
If we change the password using the Azure portal will that affect access for the existing deployment REST services?

It would be helpful to add datetime filtering to the REST queries. As time goes on there are large numbers of positions that are returned by the REST queries, that then need to be filtered for datetime either in a proxy server or on the client. It would be more efficient to have a FromDate and ToDate query parameter in the sql stored procedure backend.

Thanks

Functionality of the Android app - the two icons

I am eager to understand what the two icons mean that are revealed when clicking on the Bing Maps icon.

One I would call a target / location icon, the other is a marker?

What are they supposed to do?

Trackable.Func - System.Exception : Error loading msvcr120.dll (ErrorCode: 126)

Having an issue running the Trackable.Func Azure function when clicking "run" from the portal:

Error running PipelineInitiator:
[Error] Error initializing trackable context
[Error] System.Exception : Error loading msvcr120.dll (ErrorCode: 126)
at SqlServerTypes.Utilities.LoadNativeAssembly(String nativeBinaryPath,String assemblyName) at

C:\Users...\source\repos\Bing-Maps-Fleet-Tracker\Backend\src\Trackable.EntityFramework\Loader.cs : 41
at SqlServerTypes.Utilities.LoadNativeAssemblies(String rootApplicationPath) at
C:\Users...\source\repos\Bing-Maps-Fleet-Tracker\Backend\src\Trackable.EntityFramework\Loader.cs : 27
at Trackable.EntityFramework.TrackableDbContext.LoadSqlServerTypes(String rootPath) at
C:\Users...\source\repos\Bing-Maps-Fleet-Tracker\Backend\src\Trackable.EntityFramework\TrackableDbContext.cs : 150
at Trackable.Func.Shared.TrackableContext..ctor(TraceWriter writer)
2019-07-19T16:35:13.379 [Error] Function completed (Failure, Id=accbe408-06e2-4f33-b89a-8c04590e66a5, Duration=50ms)

Error running PipelineExecutor:
[Error] Function completed (Failure, Id=286b7fa1-8f59-4e35-99b3-b4745ede7f79, Duration=42ms)

I have tried publishing the app from Visual Studio but still get the same error. Also tried toggling "Remove additional files at destination" in publish settings but still no changes. I have checked the bin folder under both debug and release and the msvcr120.dll file exists under the SqlServerTypes folder.

Any help would be greatly appreciated!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.