Error update service reference VS 2022 value cannot be null. Parameter name: machineConfigFilename

Alessandro Capanni 21 Reputation points
2023-01-03T10:41:47.047+00:00

Hi,
I have imported a windows form project from VS 2017 to VS 2022.
I have an ARM64 environment on macbook pro M2 and visual studio run on parallel 18.11 and windows 11
In this project I have a service reference to asmx web service.
When I update the service reference or create a new service reference VS 2022 return this error:
275682-screenshot-2023-01-03-alle-112937.png

275607-screenshot-2023-01-03-alle-112343.png

The service was found:
275643-screenshot-2023-01-03-alle-113245.png

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,839 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Rodrigo Garcia 5 Reputation points
    2023-02-01T11:18:59.5566667+00:00

    I have the same exact issue. Running VS2022 on Apple Silicon via Parallels Desktop 18 for Mac on a 2022 Apple M2.

    .Net Framework 4.8 in the house and error always appears:

    User's image

    I cannot add, delete, update or configure the Service Reference, always give the following message box! I'm stuck!

    User's image

    1 person found this answer helpful.
    0 comments No comments

  2. Charles Symons 0 Reputation points
    2023-02-16T04:27:04.93+00:00

    I'm also having the same error updating 4.8 service references on ARM.

    0 comments No comments