This tool cannot do it's job without elevation.Įcho. You are not running as Administrator.Įcho. See script below: echo offĮcho Checking for Administrator elevation.Įcho. I created a batch file to fix this issue. I got dll from Add reference > Browse > C: > Windows > assembly > GAC > 12.0.0.0_etc > .dll I was using 15.0.0.0 and now I changed it to 12.0.0.0 and its working fine. I got solution by changing Excel.dll version. This almost certainly means you're using MSOffice interop libraries, which only work if office is installed and against the same version.Īlternatively, you could refactor your code to just directly read the Excel XML. 15.0.0.0 should correspond to Office 2013 - that needs to be installed on your target machine (other versions of Office may not work). Your other machine needs to have the corresponding version of Office installed.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |