InvalidParameter: index

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

InvalidParameter: index

Postby invalidparameter » December 20th, 2016, 8:30 am

When trying to publish a website to a server from Visual Studio 2012 on a remote desktop (Windows Server 2012), this error pops up:

------ Publish started: Project: <project name>, Configuration: Release Any CPU ------
Error: InvalidParameter
Parameter name: index
========== Build: 0 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
========== Publish: 0 succeeded, 0 failed, 0 skipped ==========

It also appears if I don't enter a password in the connection tab of the publish dialog and press Start preview on the Preview tab. This suggests it is a local problem, not a server one. The project type is PHP web project for Microsoft Platforms.

Publishing to the same website does work when logged in with another account on the remote desktop, and it also works with my publishing credentials on this account. So it is not a problem with my publishing credentials.

The publishing settings are identical, "validate connection" in the Connection tab works when I enter my password.

We have looked into IIS settings, but it appears all settings are correct. Searching on Google shows a couple of people with the same error, but without a solution except for copying everything to a new project, which is not an option in this case.

We have completely removed the project from Visual Studio and reloaded it from TFS, we did a rebuild, which works fine. Debugging the website in Internet Explorer works fine (from Visual Studio) as well.

It appears that PHPTools has something to do with it, a fresh project of the same type could not be published until a trial of PHPTools was started, and after that, it shows the same error.

Thanks in advance for the help.
invalidparameter
 
Posts: 2
Joined: December 20th, 2016, 8:27 am

Re: InvalidParameter: index

Postby invalidparameter » December 20th, 2016, 10:09 am

After struggling with this problem for three weeks, I have found the solution.

For future generations: the problem was due to PHPTools, the plug-in we use for the development. We were using a version that was 1.5 years old, updating the plug-in has solved the problem. Such a foolish problem, we have spent way too many hours on this.
invalidparameter
 
Posts: 2
Joined: December 20th, 2016, 8:27 am

Re: InvalidParameter: index

Postby Miloslav Beno » December 20th, 2016, 10:21 am

Hello!

Thank you for detailed information about the issue. As you've noticed the issue was fixed long time ago :-)

Generally I recommend to update when facing with an issue, it's very likely the issue was already identified and fixed.

Anyway if you'd run into something else just ping us immediately and we'll take a look at it.

Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 26 guests

cron

User Control Panel

Login

Who is online

In total there are 26 users online :: 0 registered, 0 hidden and 26 guests (based on users active over the past 5 minutes)
Most users ever online was 297 on March 29th, 2024, 7:06 am

Users browsing this forum: No registered users and 26 guests