Skip to main content
Question

FSM 5.7 Tech Portal - mileage calculation issue

  • Oct 19, 2022 3:58 PM UTC
  • 10 replies
  • 149 views

Forum|alt.badge.img+2

Hello,
We are using FSM 5.7 and have been having an issue with the mileage calculation button retrieving the mileage from the Api. It also seems that the portal is having issues retrieving newly created facilities that exist within the application. It has been mentioned before that there could be an issue with the Api pointing to http instead of https, however it is hard to determine if that is the exact issue and how to solve it. Any advice or help on this issue would be greatly appreciated.

 

10 replies

Jon Reid
Hero (Employee)
Forum|alt.badge.img+18
  • Hero (Employee)
  • Dec 3, 2022 6:47 PM UTC

5.7 is no longer supported by RnD, and customers should plan to upgrade to FSM6 or IFS Cloud to get support.  Be that as it may, what provider are you using to get Lat/Long and travel information?  Most customers are using Bing.  Assuming you are using Bing, does you Bing license include routing and travel time support?  Does the server log show any errors accessing Bing?


Forum|alt.badge.img+2
  • Author
  • Do Gooder (Customer)
  • Jan 12, 2023 9:45 PM UTC

Hello,

We do have the routing and travel information as it was working previously. We have only recently seen it cease to work. It seems that the site is attempting to reach it on HTTP instead of HTTPS and our primary goal is to get the techportal to reach out to HTTPS.

In the error log, we do see this message in regard to the Bing

“Exception in BING REST call: exception=The request was aborted: The operation has timed out. requestUrl=http://dev.virtualearth.net/REST”


Jon Reid
Hero (Employee)
Forum|alt.badge.img+18
  • Hero (Employee)
  • Jan 12, 2023 10:03 PM UTC

I see the DrivingDirections.aspx.cs file in the 5.7 Technician Portal is indeed referencing an http address for Bing on line 293 http://dev.virtualearth.net/REST/V1/Routes?"   However as I stated before 5.7 is no longer supported by RnD.  Customers need to upgrade to FSM6 or IFS Cloud to get support. 


Forum|alt.badge.img+2
  • Author
  • Do Gooder (Customer)
  • Jan 16, 2023 5:26 PM UTC

Hello,
Are you aware of the exact page location that needs to be updated for all the http:// values? We need to update the values where they exist..


Forum|alt.badge.img+2
  • Author
  • Do Gooder (Customer)
  • Jan 16, 2023 6:39 PM UTC

Hello,
Are you aware of the exact page location that needs to be updated for all the http:// values? We need to update the values where they exist..

Or perhaps where i can update my Bing url


Jon Reid
Hero (Employee)
Forum|alt.badge.img+18
  • Hero (Employee)
  • Jan 16, 2023 7:13 PM UTC

DrivingDirections.aspx.cs will be located in the folder C:\inetpub\wwwroot\Metrix.Technician.Portal\Pages\Baseline\Standard, where Metrix.Technician.Portal will be replaced by the name of the virtual directory you specified when installing the Technician Portal.


Jon Reid
Hero (Employee)
Forum|alt.badge.img+18
  • Hero (Employee)
  • Jan 16, 2023 7:15 PM UTC

See also DrivingDirectionsPrinterFriendly.aspx.cs located in the same folder


Forum|alt.badge.img+2
  • Author
  • Do Gooder (Customer)
  • Jan 17, 2023 10:10 PM UTC

that worked quite well! Thanks, for your help. would you have any knowledge on the Facility search having issues retrieving newly created facilities that exist within the application?


Jon Reid
Hero (Employee)
Forum|alt.badge.img+18
  • Hero (Employee)
  • Jan 18, 2023 8:13 PM UTC

No I wouldn’t know about newly created facilities.  Again you need to be on FSM6 to get support of this nature.  


Forum|alt.badge.img+2
  • Author
  • Do Gooder (Customer)
  • Jan 18, 2023 8:29 PM UTC

No I wouldn’t know about newly created facilities.  Again you need to be on FSM6 to get support of this nature.  

I see. Well, the information you were able to provide has been extremely helpful, Thank you!