-
Notifications
You must be signed in to change notification settings - Fork 840
Error: You cannot call a method on a null-valued expression. #158
Comments
@lkleist we've made some changes to the Generate-ODTConfigurationXML.ps1 script. Can you download the latest version and let us know if it's still an issue? |
@lkleist if this is still an issue for you please let us know and we'll take another look. Thank you for your involvement and letting us know about the issue. |
I am getting this failure as well... Mine was:
I went as far to see the data in $OfficeVersion and it returned this (mind you all compact)...: @{ComputerName=WIN7X64; @{ComputerName=WIN7X64; So looks like get-officeversion is returning too much information/all office apps installed... Just prelim.. This issue should be reopened... |
We are hitting the same problem with Generate-ODTConfigurationXML. In our case we are seeing it on Office 2010 machines, and one initial finding is that failing machines also have the "Microsoft Office Proofing Tools Kit Compilation 2010" installed. Our Error:
If I uninstall "Microsoft Office Proofing Tools Kit Compilation 2010" Generate-ODTConfigurationXML runs as expected. I am actively testing various scenarios including multiple products from multiple versions of office (e.g. Office 2010 Professional + Visio 2013 Standard + Lync 2013) Other than this bug I am optimistic that these scripts will be a huge time saver on our deployment of O365 ProPlus v2016 |
Closing this ticket since it's referenced in ticket #171. Will continue troubleshooting on that ticket. |
I’m getting an error on a test machine that has more than just a single version of Office. Office 2010 is installed along with Project 2010 or Visio 2010 and when the script is executed I get the following error:.
You cannot call a method on a null-valued expression.
At C:\temp\Generate-ODTConfigurationXML.ps1:1305 char:54
If I uninstall either Project or Visio it works just fine.
The text was updated successfully, but these errors were encountered: