Error installing composer package

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Error installing composer package

Postby uwe » November 21st, 2017, 8:15 pm

Code: Select all
Executing: composer require "studio24/rotate"  --no-interaction


Code: Select all
Loading composer repository...
Composer repository was successfully loaded.
System.InvalidCastException: Das COM-Objekt des Typs "System.__ComObject" kann nicht in den Schnittstellentyp "Devsense.PHP.Nodes.Environments.IIS.VersionManager.IIISUserData" umgewandelt werden. Dieser Vorgang konnte nicht durchgeführt werden, da der QueryInterface-Aufruf an die COM-Komponente für die Schnittstelle mit der IID "{15BDF676-788F-4D82-88F3-FDB3ADAB3D3A}" aufgrund des folgenden Fehlers nicht durchgeführt werden konnte: Schnittstelle nicht unterstützt (Ausnahme von HRESULT: 0x80004002 (E_NOINTERFACE)).
   at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)
   at Devsense.PHP.Nodes.Environments.IIS.VersionManager.IIISUserData.SetupIISDirectory(Int32 overrideFlag)
   at Devsense.PHP.Nodes.Environments.IIS.IISServerConfiguration.EnsureIisDirectory()
   at Devsense.PHP.Nodes.Environments.IIS.IISServerConfiguration.Initialize()
   at Devsense.PHP.Nodes.Environments.IIS.IISSiteConfiguration.<Validate>d__13.MoveNext()
   at System.Linq.Enumerable.<ConcatIterator>d__59`1.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Devsense.PHP.Nodes.Environments.IssuesDialog.ValidateAndFixWithUI(IPhpEnvironment env, IssueFlags requiredFlags)
   at PHP.Project.PHPProjectNode.GetPhpInterpreterPathInternal(Boolean verify)
   at PHP.Project.Composer.ComposerManager.GetConfiguration()
   at Devsense.PHP.Composer.ComposerCommand.<ExecuteAsync>d__23.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Devsense.PHP.Composer.ComposerCommander.<DoCommandExecute>d__13.MoveNext()


This only happens when I am using IIS Express as the server. When I switch to "Built-in Web Server", the error does not occur.
uwe
 
Posts: 18
Joined: October 10th, 2016, 8:39 am

Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 1 guest

cron

User Control Panel

Login

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 62 on January 7th, 2012, 10:54 pm

Users browsing this forum: No registered users and 1 guest
Phalanger