Windows error 0x80070585, -2147023483

Detailed Error Information

INVALID_INDEX[1]

MessageInvalid index.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode7 (0x007)
NameFACILITY_WIN32[2][1]
DescriptionThis region is reserved to map undecorated error codes into HRESULTs.[2][1]
Error Code1413 (0x0585)

This is a Win32 error which has been mapped into an HRESULT. More information may be available in error 0x00000585.

Questions

17votes
8answers

Why am I getting error 500.0 in when using IIS Express (significant debug info included)

I created a blank MVC 3 application on VS2010 SP1, and set the app to use IIS Express. When I debug, I get error 500.0 (0x80070585) I am able to succesfuly run the app using the VS dev server I have set the app directory to Full Permissions for Everyone, [...] read more
visual-studio-2010
iis-express
13votes
5answers

Why does my NuGet Gallery return 500 from nuget push?

I set up the new NuGet Gallery on a web server (under IIS 7.0) where I work. The site itself is set up and runs fine. We are able to register accounts, confirm email addresses, and even upload a new package through the site itself. Our automated build scripts need [...] read more
nuget
3votes
1answer

Programmatically creating a remote site in IIS7 using Microsoft.Web.Administration: Invalid index. (Exception from HRESULT: 0x80070585)

I'm trying to write a provisioning tool for our web application. I am attempting to create a web site remotely in IIS7.5 using Microsoft.Web.Administration.ServerManager. CODE: using (ServerManager serverManager = ServerManager.OpenRemote("MyRemoteHost")) { serverManager.Sites.Add("Contoso", "http", "*:80:www.contoso.com", @"C:\inetpub\wwwroot\Contoso"); serverManager.CommitChanges(); } The above code continuously fails with error: Invalid index. (Exception from HRESULT: 0x80070585) [...] read more
c#
iis
iis-7.5
servermanager
2votes
3answers

CORS in IIS issue with credentials and wildcard in Access-Control-Allow-Origin

I inherited a fairly basic site that serves up data and handles some socket connections. It's running NodeJS behind IIS using iisnode as a bridge. That's all working fine from a "serve normal pages" perspective. Part of the problem is that the actual connections to the server are coming from [...] read more
node.js
iis
cors
credentials
2votes
2answers

How to programmatically configure the web.config of a website installed in IIS?

I have developed an installer that will add a new website to IIS 7.5. Once the website is created in I would like to configure its connection strings. After the installation the look like this: <connectionStrings> <add name="DefaultConnection" connectionString="$(ReplacableToken_DefaultConnection-Web.config Connection String_0)" providerName="System.Data.SqlClient" /> <add name="WebContext" connectionString="$(ReplacableToken_WebContext-Web.config Connection String_0)" providerName="System.Data.SqlClient" /> [...] read more
c#
asp.net-mvc
iis
2votes
1answer

Python Flask app on Azure broken after upgrading project from VS 2015 to 2017

We have a Python flask application running as an App Service in Azure. We recently upgraded our solutions to VS 2017. This changed some of the configuration files in the python project and now when we publish, we get: HTTP Error 500.0 - Internal Server Error scriptProcessor could not be [...] read more
python
azure
flask
visual-studio-2017
2votes
3answers

Why am I getting error 0x80070585 when trying to run a PHP application on IIS 7?

I'm running IIS 7 on Windows 7. I've installed PHP v5.3 through WebMatrix, set up a website for my PHP app in IIS, and enabled read/write access for 'Everyone', for the directory. When I browse to the application, I get the following error: HTTP Error 500.0 - Internal Server Error [...] read more
php
iis-7
fastcgi
2votes
1answer

Error 0x80070585 when running Fastcgi with IIS 8 + Python 3.4 + Django 1.8 + Windows Server 2012

I am trying to set up IIS 8 with Django 1.8.3 using Fastcgi and Python 3.4. I followed this tutorial with the following Environment Variables: * DJANGO_SETTINGS_MODULE -> value: FirstSite.settings * PYTHONPATH -> value: C:\inetpub\wwwroot\Django\FirstSite * WSGI_HANDLER -> value: django.core.wsgi.get_wsgi_application() I changed the WSGI Handler value from django.core.handlers.wsgi.wsgihandler() to django.core.wsgi.get_wsgi_application() [...] read more
django
iis
python-3.4
fastcgi
windows-server-2012-r2
2votes
2answers

HTTP Error 500.0 - Internal Server Error with VS2012 .NET 4.5 local development server

I installed Visual Studio 2012 including .NET 4.5. When I make a default MVC 4 Web Api application and attempt to run it I get an Internal Server Error 500.0. I'm wondering if anyone has run into this? I re-installed .NET 4.5, I also have all of the packages available [...] read more
asp.net-mvc-4
asp.net-web-api
asp.net-4.5
2votes
0answers

IIS Express Internal Server Error

I am having a problem with IIS Express 7.5 on one my machines that I cannot track down. Running IIS Express 7.5 Studio 2010 .NET 3.5 Framework ASP.NET MVC Website (default) I have successfully changed the site over to use IIS Express and it runs fine that way on 2 [...] read more
asp.net-mvc
iis-express
2votes
2answers

Why does the webmatrix not work for me?

Error There was an error creating site 'Empty Site1'. Invalid index. (Exception from HRESULT: 0x80070585) System.Runtime.InteropServices.COMException (0x80070585): Invalid index. (Exception from HRESULT: 0x80070585) at Microsoft.Web.Administration.Interop.IAppHostElement.GetPropertyByName(String bstrSubName) at Microsoft.Web.Administration.ConfigurationElement.GetAttributeValue(String attributeName) at Microsoft.Web.Administration.Binding.get_SslFlags() at Microsoft.Web.Administration.Binding.get_CertificateHash() at Microsoft.Web.Administration.BindingCollection.Add(Binding binding) at Microsoft.Web.Administration.BindingCollection.Add(String bindingInformation, String bindingProtocol) at Microsoft.Web.Administration.SiteCollection.Add(String name, String bindingProtocol, String bindingInformation, String physicalPath, [...] read more
c#
asp.net
exception
webmatrix
1vote
0answers

Wordpress won't load after updating PHP to 5.4, gives FastCGI Error (Windows)

I'm having a lot of problem here trying to start the development of a new website. We have an external host running on Windows (our client already have a website on the root - we end up not having control over the server environment). I installed Wordpress through FTP and [...] read more
windows
php
iis
wordpress
fastcgi
1vote
0answers

Is there a list of server error codes for IIS BITS Uploads or a definition for 0x80070585 ("Invalid Index")?

I've got IIS 8.5 running on a couple of servers with BITS uploads enabled on a virtual directory. Looking through the logs, I see several different sorts of errors where it says (bits_error:{GUID},500,0x80070070) or some other error code. I'm able to match these to Error Descriptions on the client side [...] read more
500-error
iis-8.5
bits
1vote
1answer

How do I get the latest FastCGI and PHP versions to peacefully coexist on IIS 6?

I have been going round and round trying to get any sort of PHP running on IIS 6. I somehow managed to successfully get version 5.1.4 running using the php5isapi.dll file. However, I want to upgrade a website to begin using a Content Management System. I have never dug into [...] read more
iis-6
fastcgi
php5
php.ini
1vote
4answers

Running PHP in IIS6

i am using IIS to run my php website and i configure IIS to work with php as its explained the following tutorial http://www.wikihow.com/Install-PHP-5-for-IIS-6 but when i run any php page is give me the following error You have attempted to execute a CGI, ISAPI, or other executable program from [...] read more
php
iis-6
1vote
1answer

Webmatrix fails to create project from template

I am using webmatrix2 and I can't create a project from template. It fails with an error Error There was an error creating site 'mysitename' Invalid Index. (Exception from HRESULT: 0x80070585) copy details to clipboard while its 'downloading template from....' is being generated. And here is my clipboard content --------------------------- [...] read more
c#
asp.net
asp.net-mvc
webmatrix
0votes
1answer

How can I solve 0x80070585 Error code on my Python Flask wfastcgi app?

I'm trying to deploy a Flask app on IIS (usually doing it on an Nginx/Gunicorn stack). MY STACK I'm working with Python 3.7 installed globaly, IIS 10 on Windows 10 pro. WHAT I TRIED * Activating CGI service on IIS * Installing wfastcgi from https://pypi.org/project/wfastcgi/ * Enabling wfastcgi with wfastcgi [...] read more
iis
python
wsgi
flask
0votes
2answers

SharePoint 2013 discussion board list issue

we are using an OOTb discussion board list . and when we click on the unanswered tab it gives the error with corelation ID: gives the error with corelation ID [https://i.stack.imgur.com/5lqV7.png] logs are 0x62F4 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|adcouncil\umofarmacc, ClaimsCount=28 5c43589d-b0c1-30d1-cd87-5bd796a2c343 01/24/2016 09:08:55.45 w3wp.exe (0x1B48) [...] read more
sharepoint
sharepoint-2013
0votes
1answer

Thread: 505.50 when using custom rewrite provider (the one from samples)

I'd like to know how to troubleshoot IIS URL Rewrite module and custom rewrite providers? I am trying to do a POC on the URL Rewrite Module for our app. Our mappings are all in the database so I thought using the provider that comes as a sample. Got everything [...] read more
sql
iis-7
provider
url-rewrite-module
0votes
0answers

IIS 7.5 Can't use "PUT" - Keep getting 500 Error

I have created a simple WebAPI application, I am able to "GET", "POST" without any problems. Whenever I use a "PUT" I keep getting "IIS 7.5 Detailed Error - 500.0 - Internal Server Error". This works OK on my local machine but not on our hosted web site (through an [...] read more
iis
asp.net-web-api
iis-7.5
0votes
1answer

MSBuild.ExtensionPack.Web.Iis7Website error: COMException: Invalid index

What can be the cause of the error when creating a web site via TeamCity, using MSBuild.ExtensionPack? [MSBuild.ExtensionPack.Web.Iis7Website]: COMException: Invalid index. (Exception from HRESULT: 0x80070585) TeamCity client machine: * Windows Server 2012 R2 * IIS 8.5.9600.16384 * TeamCity version: 8.1.5 (build 30240) Web server machine: * Windows Server 2008 R2 [...] read more
iis
msbuild
teamcity
0votes
2answers

CAQuietExec fails in WiX installer while executing inetsrv\appcmd

I'm writing some CustomActions in WiX to migrate a web.config from IIS6 to IIS7 and am getting an error. However if I copy and paste the failing command from the install log file, it succeeds. Here's section of the log file that indicates the error. You'll see the first two [...] read more
iis-7
wix
custom-action

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0