microsoft / microsoft/Dual-write-automations
Environment is not linked, exiting
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 47
- Forks
- 12
- Avg merge
- 4d 4h
- Merged PRs (30d)
- 3
Description
Hi,
I just updated the tool to the latest version 1.0.0.10.
When doing a run to "Start maps" to the target server I get the following log:
2025-04-10T15:53:45.4369301+02:00 [INF] Starting... (bd826931)
2025-04-10T15:53:45.4469490+02:00 [INF] Application started. Press Ctrl+C to shut down. (dcaefe54)
2025-04-10T15:53:45.4479846+02:00 [INF] Background Service is working. 10/04/2025 15.53.45 (620d296d)
2025-04-10T15:53:45.4683328+02:00 [INF] Config path: C:\Users\OliverLøye\source\Workspaces\FlexPropertyCE\Trunk\Main\Dual_Write\DWHelper1.0.10 (8788ed54)
2025-04-10T15:53:45.4696160+02:00 [INF] Hosting environment: "Production" (bc5a1a4e)
2025-04-10T15:53:45.4700685+02:00 [INF] Default configuration loaded (c12f7e8e)
2025-04-10T15:53:45.4729272+02:00 [INF] Content root path: "C:\Users\OliverLøye\source\Workspaces\FlexPropertyCE\Trunk\Main\Dual_Write\DWHelper1.0.10" (cc26f24e)
2025-04-10T15:53:45.4840087+02:00 [INF] Get access token, opening Edge (5cfd4dea)
2025-04-10T15:53:45.5647164+02:00 [INF] Your Edge version: 135 (bea5e4f6)
2025-04-10T15:53:45.5678310+02:00 [INF] Matching edge version with edge driver (7ee59272)
2025-04-10T15:53:45.5927412+02:00 [INF] Current version 135.0.3179.54, Edge Version 135.0.3179.66 - downloading matching driver... (364f5708)
2025-04-10T15:53:51.1728816+02:00 [INF] Edge driver download completed. (d6c54eef)
2025-04-10T15:54:02.5498080+02:00 [INF] Entering username (b932e41a)
2025-04-10T15:54:05.4463815+02:00 [INF] Entering password (c1e72f21)
2025-04-10T15:54:26.8818813+02:00 [INF] Get Environment (044a0f7d)
2025-04-10T15:54:27.5616082+02:00 [INF] Environment is not linked, exiting (6c1ff11b)
2025-04-10T15:54:27.5635034+02:00 [INF] Application is shutting down... (90f52c38)
2025-04-10T15:54:27.5966918+02:00 [INF] Application stopped successful without errors! (c4eae336)
2025-04-10T15:54:57.6185238+02:00 [INF] Waiting for the host to be disposed. Ensure all 'IHost' instances are wrapped in 'using' blocks. (ea198bd7)
I see it logs "Environment is not linked, exiting (6c1ff11b)" .. I double-checked the server URL, and the server is in fact linked. Any suggestions to what I can do?
Also, I noticed that when the tool passes in the email and password, my current password is not getting parsed correctly. I need to manually paste in the password. (And yes, I also triple-checked the password entered in the app UI. The password contains special characters.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the “Start maps” flow and inspect the environment lookup around the “Environment is not linked” log entry. Then examine the username and password entry path, especially handling of special characters. Done means a linked server is recognized and passwords containing special characters are entered correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100