Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS C:UsersStudent> import-module sqlserver
- add-type : Could not load file or assembly 'Microsoft.SqlServer.ConnectionInfo, Version=9.0.242.0, Culture=neutral,
- PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
- At C:UsersStudentDocumentsWindowsPowerShellModulessqlserverSQLServer.psm1:17 char:8
- + catch {add-type -AssemblyName "Microsoft.SqlServer.ConnectionInfo"}
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : NotSpecified: (:) [Add-Type], FileNotFoundException
- + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.AddTypeCommand
- add-type : Could not load file or assembly 'Microsoft.SqlServer.Smo, Version=9.0.242.0, Culture=neutral,
- PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
- At C:UsersStudentDocumentsWindowsPowerShellModulessqlserverSQLServer.psm1:20 char:8
- + catch {add-type -AssemblyName "Microsoft.SqlServer.Smo"; $smoVersion ...
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : NotSpecified: (:) [Add-Type], FileNotFoundException
- + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.AddTypeCommand
- WARNING: SMOExtended not available
- PS C:UsersStudent> cd SQLSERVER:SQL
- cd : Cannot find drive. A drive with the name 'SQLSERVER' does not exist.
- At line:1 char:1
- + cd SQLSERVER:SQL
- + ~~~~~~~~~~~~~~~~~
- + CategoryInfo : ObjectNotFound: (SQLSERVER:String) [Set-Location], DriveNotFoundException
- + FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement