Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

VSphere5 SDK to manage guest throws GuestPermissionDenied error

$
0
0

I started using vSphere5 SDK to perform operations in guest and i am having an issue. When i use GuestFileManager.createTemporaryFileInGuest() function to create temp file in guest i am getting GuestPermissionDenied exception. The strange thing is that it was working fine and all of a sudden it started throwing this exception. Now everytime i call this api it thorws GuestPermissionDenied exception.

 

More details:

- I am using NamePasswordAuthentication object for authetication.

- Username and password is the same. I can login in Guest console using the same credential.

- I am using local administrator account so no question of permision to create temp file.

- Using old VIX API i can login and perform operation in the guest using same credential

 

 

Is there some issue with vSphere5 SDK guest operation API or am i doing somthing wrong?

 

 

Thanks,

Atoka


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>