Guest User

Untitled

a guest
Feb 9th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. ##[section]Starting: Configure IIS AppPool & Website
  2. ==============================================================================
  3. Task : IIS Web App Manage
  4. Description : Create or update a Website, Web App, Virtual Directories, and Application Pool
  5. Version : 0.5.4
  6. Author : Microsoft Corporation
  7. Help : [More Information](https://go.microsoft.com/fwlink/?linkid=839731)
  8. ==============================================================================
  9. ##[command]"C:Windowssystem32inetsrvappcmd.exe" list apppool /name:"Example - AppPool Name"
  10. ##[command]"C:Windowssystem32inetsrvappcmd.exe" set apppool /apppool.name:"Example - AppPool Name" -managedRuntimeVersion:v4.0 -managedPipelineMode:Integrated -processModel.identityType:ApplicationPoolIdentity
  11. APPPOOL object "Example - AppPool Name" changed
  12. ##[command]"C:Windowssystem32inetsrvappcmd.exe" list site /name:"Example - Website Name"
  13. ##[command]"C:Windowssystem32inetsrvappcmd.exe" add site /name:"Example - Website Name" /physicalPath:"D:TestExample - Website Name"
  14. SITE object "Example - Website Name" added
  15. APP object "Example - Website Name/" added
  16. VDIR object "Example - Website Name/" added
  17. ##[command]"C:Windowssystem32inetsrvappcmd.exe" set site /site.name:"Example - Website Name" -applicationDefaults.applicationPool:"Example - AppPool Name" -[path='/'].[path='/'].physicalPath:"D:TestExample - Website Name" -[path='/'].[path='/'].userName: -[path='/'].[path='/'].password:
  18. SITE object "Example - Website Name" changed
  19. ERROR ( hresult:80070008, message:Failed to commit configuration changes.
  20.  
  21. Not enough storage is available to process this command.
  22.  
  23. )
  24. ##[error]Process 'appcmd.exe' exited with code '8'.
  25. ##[section]Finishing: Configure IIS AppPool & Website
Add Comment
Please, Sign In to add comment