Advertisement
Guest User

Lync Script Error

a guest
Mar 6th, 2012
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. PS C:\Users\xuser> C:\users\xuser\Desktop\pooldistribution.ps1
  2. Exception calling "Open" with "0" argument(s): "A network-related or instance-s
  3. pecific error occurred while establishing a connection to SQL Server. The serve
  4. r was not found or was not accessible. Verify that the instance name is correct
  5. and that SQL Server is configured to allow remote connections. (provider: SQL
  6. Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"
  7. At C:\users\xuser\Desktop\pooldistribution.ps1:49 char:17
  8. + $connection.Open <<<< ()
  9. + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
  10. + FullyQualifiedErrorId : DotNetMethodException
  11.  
  12. Exception calling "Fill" with "1" argument(s): "A network-related or instance-s
  13. pecific error occurred while establishing a connection to SQL Server. The serve
  14. r was not found or was not accessible. Verify that the instance name is correct
  15. and that SQL Server is configured to allow remote connections. (provider: SQL
  16. Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"
  17. At C:\users\xuser\Desktop\pooldistribution.ps1:69 char:30
  18. + $recordcount=$sqladapter.Fill <<<< ($results)
  19. + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
  20. + FullyQualifiedErrorId : DotNetMethodException
  21.  
  22. Export-Csv : Cannot bind argument to parameter 'InputObject' because it is null
  23. .
  24. At C:\users\xuser\Desktop\pooldistribution.ps1:85 char:29
  25. + $overallrecords | Export-Csv <<<< "PoolDistribution.csv"
  26. + CategoryInfo : InvalidData: (:) [Export-Csv], ParameterBindingV
  27. alidationException
  28. + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,M
  29. icrosoft.PowerShell.Commands.ExportCsvCommand
  30.  
  31. Query complete
  32. PS C:\Users\xuser>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement