Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. PS C:UsersStudent> import-module sqlserver
  2. add-type : Could not load file or assembly 'Microsoft.SqlServer.ConnectionInfo, Version=9.0.242.0, Culture=neutral,
  3. PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
  4. At C:UsersStudentDocumentsWindowsPowerShellModulessqlserverSQLServer.psm1:17 char:8
  5. + catch {add-type -AssemblyName "Microsoft.SqlServer.ConnectionInfo"}
  6. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  7. + CategoryInfo : NotSpecified: (:) [Add-Type], FileNotFoundException
  8. + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.AddTypeCommand
  9.  
  10. add-type : Could not load file or assembly 'Microsoft.SqlServer.Smo, Version=9.0.242.0, Culture=neutral,
  11. PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
  12. At C:UsersStudentDocumentsWindowsPowerShellModulessqlserverSQLServer.psm1:20 char:8
  13. + catch {add-type -AssemblyName "Microsoft.SqlServer.Smo"; $smoVersion ...
  14. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. + CategoryInfo : NotSpecified: (:) [Add-Type], FileNotFoundException
  16. + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.AddTypeCommand
  17.  
  18. WARNING: SMOExtended not available
  19.  
  20. PS C:UsersStudent> cd SQLSERVER:SQL
  21. cd : Cannot find drive. A drive with the name 'SQLSERVER' does not exist.
  22. At line:1 char:1
  23. + cd SQLSERVER:SQL
  24. + ~~~~~~~~~~~~~~~~~
  25. + CategoryInfo : ObjectNotFound: (SQLSERVER:String) [Set-Location], DriveNotFoundException
  26. + FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement