InvalidParameter: index
3 posts
• Page 1 of 1
InvalidParameter: index
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.
------ 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
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.
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
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!
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. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 48 guests