Hi, getting an error in the write-VolToDb
Exception calling "WriteToServer" with "1" argument(s): "Column 'server_name' does not allo
w DBNull.Value."
At C:\Bin\Write-VolToDb.ps1:89 char:28
+ $bulkCopy.WriteToServer <<<< ($dt)
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException
Table is populated with one server, stepping through in debug mode (PowerGUI) is showing all parameters and connection strings are correct. Running a C:\Bin\test.ps1 connects and returns the correct server held in the server_space_iku.
Any ideas?