Recent

Author Topic: [TWILIGHT ZONE] Windows 10: “A referral was returned from the server”  (Read 607 times)

trev

  • Full Member
  • ***
  • Posts: 220
  • Former Delphi 7 and Delphi 10.2 User
All of a sudden, my Lazarus application is producing this error in Windows 10 when I try to run the executable which then does not appear. Previous versions do not trigger it. (The macOS, FreeBSD and Linux versions have no similar issue.)

The changes were pretty minor but extensive (added a file of device microprocessor defaults to be read; asterisk default values in combo box lists; remove asterisks when copying config options to clipboard etc, etc) and I suspect I'm going to have to go back and undo them one by one to find the issue.

In the meantime, does anyone have any ideas?
« Last Edit: October 22, 2019, 08:30:07 am by trev »
o Lazarus v2.1.0 r61775, FPC v3.3.1 r42640, macOS 10.14.6 (with sup update), Xcode 10.3
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.0 (Parallels VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2282
    • havefunsoft.com
Re: Windows 10: “A referral was returned from the server”
« Reply #1 on: October 19, 2019, 05:05:28 am »
Operating Systems feels more and more like a prison these days.

https://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/always-getting-a-referral-was-returned-from-the/8a5802c8-0815-4abc-aab2-ed49dbbfb971

https://www.repairwin.com/fix-a-referral-was-returned-from-the-server-error/


PS:
new Catalina macOS is doing exactly what PC (with Vista) is experiencing in this Mac commercial (2007):
https://www.youtube.com/watch?v=FxOIebkmrqs

...for whatever reason, I don't have a sense of security either :) I'm the one in prison.
« Last Edit: October 19, 2019, 05:07:59 am by skalogryz »
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

trev

  • Full Member
  • ***
  • Posts: 220
  • Former Delphi 7 and Delphi 10.2 User
Re: Windows 10: “A referral was returned from the server”
« Reply #2 on: October 19, 2019, 05:30:07 am »
If that was the issue I would have expected previous versions of the application to also trigger the issue but they do not.

Anyway, I'll see what that is set to as soon as I can get Win10 up and running again... it's updating...slowly updating...

[EDIT]
That option is already disabled :(
« Last Edit: October 19, 2019, 05:34:53 am by trev »
o Lazarus v2.1.0 r61775, FPC v3.3.1 r42640, macOS 10.14.6 (with sup update), Xcode 10.3
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.0 (Parallels VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

trev

  • Full Member
  • ***
  • Posts: 220
  • Former Delphi 7 and Delphi 10.2 User
Re: Windows 10: “A referral was returned from the server”
« Reply #3 on: October 19, 2019, 05:46:27 am »
Right clicking the executable and choosing "Run as Administrator" fails.

BUT

Right clicking, choosing Properties > Compatibility > Run this program as Administrator works! Weird.

I'm going to have start undoing my changes to find what's triggering it :(

o Lazarus v2.1.0 r61775, FPC v3.3.1 r42640, macOS 10.14.6 (with sup update), Xcode 10.3
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.0 (Parallels VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

trev

  • Full Member
  • ***
  • Posts: 220
  • Former Delphi 7 and Delphi 10.2 User
Re: Windows 10: “A referral was returned from the server”
« Reply #4 on: October 20, 2019, 03:21:59 am »
This "error" also happens on Windows 7 (64 bit), but not Windows XP (32 bit or 64 bit).

Now that I've wrangled my Windows 7 VMs back into shape after the last Parallels Desktop upgrade, I'll go back to undoing my source code changes to find out exactly waht is causing this issue to trigger.
o Lazarus v2.1.0 r61775, FPC v3.3.1 r42640, macOS 10.14.6 (with sup update), Xcode 10.3
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.0 (Parallels VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

trev

  • Full Member
  • ***
  • Posts: 220
  • Former Delphi 7 and Delphi 10.2 User
I returned to an earlier version of the application and added my changes back, one-by-one, and... there it no longer triggers this issue with Windows 10 or Windows 7.

[The problematical code version still compiles and causes the issue.]
o Lazarus v2.1.0 r61775, FPC v3.3.1 r42640, macOS 10.14.6 (with sup update), Xcode 10.3
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.0 (Parallels VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)