"Invalid procedure call or argument" when sending: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Bug}}
{{Fixed bug}}
Starting 2022-04-06 H5 laptop got the following error when sending:
Laptop gets error  
::"Invalid procedure call or argument"
:: "Invalid procedure call or argument"
during [[sending]].


* as of 2022-04 this is our most recently re-imaged laptop
=== workaround ===
* there were also some update messages that happened at the same time this started
For now '''the work-around is to just answer "no" to the network cable question'''.
* desktop confirmed that the office install is fine and that the newest version of Windows is installed


It turns out the error happens, specifically, when the collector answers the question whether the laptop is hooked up to a network cable - answering yes tries to run a netsh command, and that's what fails.
=== Underlying causes ===
So, '''the work-around is to just answer "no" to the network cable question'''.  
Specifically, the error happens when the following line of VBA is run:
:: Shell "netsh wlan disconnect"
likely the same applies to
::Shell "netsh wlan connect name=""eHS-GPWifi"""
This doesn't explain why this is a problem on just this laptop.  


This doesn't explain why this is a problem on just this laptop, but actually figuring that out would require getting yet another group from shared health involved, so might not be worth it for now. '''If another laptop gets the same problem we will need to look into what is actually causing the difference. '''
== Log ==
* 2022-04-19
** confirmed on Pam's laptop:  there is no error if this is run from cmd, but there is an error if run from VBA; however it can be run from VBA on Tina's laptop (but Tina has additional rights) - emailed Brandon
** email from Brandon, no new hardening policies have been applied recently, requesting error msg when run from cmd
* 2022-04-19 - S5/Pam got the error as well
* 2022-04-13
** Tina launched incident INC000005255710 with helpesk. [[User:Ttenbergen|Ttenbergen]] 13:58, 2022 April 13 (CDT)
**  S7/Val got error as well
* 2022-04-06 - H5/Lisa got the error when sending and launched INC000005245002
** there were also some update messages that happened at the same time this started
** desktop confirmed that the office install is fine and that the newest version of Windows is installed


== Related articles ==  
== Related articles ==  
{{Related Articles}}
{{Related Articles}}

Latest revision as of 14:00, 2022 April 19


Laptop gets error

"Invalid procedure call or argument"

during sending.

workaround

For now the work-around is to just answer "no" to the network cable question.

Underlying causes

Specifically, the error happens when the following line of VBA is run:

Shell "netsh wlan disconnect"

likely the same applies to

Shell "netsh wlan connect name=""eHS-GPWifi"""

This doesn't explain why this is a problem on just this laptop.

Log

  • 2022-04-19
    • confirmed on Pam's laptop: there is no error if this is run from cmd, but there is an error if run from VBA; however it can be run from VBA on Tina's laptop (but Tina has additional rights) - emailed Brandon
    • email from Brandon, no new hardening policies have been applied recently, requesting error msg when run from cmd
  • 2022-04-19 - S5/Pam got the error as well
  • 2022-04-13
    • Tina launched incident INC000005255710 with helpesk. Ttenbergen 13:58, 2022 April 13 (CDT)
    • S7/Val got error as well
  • 2022-04-06 - H5/Lisa got the error when sending and launched INC000005245002
    • there were also some update messages that happened at the same time this started
    • desktop confirmed that the office install is fine and that the newest version of Windows is installed

Related articles

Related articles: