0

I have this portal that contains applications that range from classic asp to asp.net 4x. The transition from WIA to Forms Authentication has been accomplished manually as this delicate monstrosity will not accept any other way. I have only one hurdle left and this is accessing the virtual directory that stores images and documents for one of the apps and which no longer have the physical path credentials supplied by window authentication.

There is no application to control this virtual directory and I need to transition from Application user(pass-through authentication) to Specific user in IIS 7.0

I have tried to Set Credentials for a generic user and my own admin account but get the Bad Data error 0x80090005 which generally tells me there is no encrypted credentials in applicationHost.config

I assume that the logon type is clear text and these keys should be in the applicationHost.config.

Any hints at how to create these keys would be appreciated.

I ran the command that Lex Li pointed me to:

appcmd set vdir /vdir.name:"ExampleSite/ExamplePathDir" /userName:"username" /password:"XXXXXXXX"

And received the Bad Data error:

ERROR ( hresult:80090005, message:Failed to commit configuration changes. Bad Data.

Steve Paul
  • 109
  • 12
  • 1
    Use `appcmd` to set the password, https://stackoverflow.com/questions/18912419/iis-appcmd-syntax-for-setting-credentials-for-virtualdirectory and if any error happens, edit your question to include the exact error message. – Lex Li Nov 04 '19 at 22:00
  • if you copied over the applicationhost.config, you need to export and import also accounts encrypted through WAS.refer this link https://stackoverflow.com/questions/2327016/iis-manager-bad-data-0x80090005/3090339 – Jalpa Panchal Nov 05 '19 at 09:01

0 Answers0