System.InvalidOperationException: Process must exit before requested information can be determined.
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_ExitCode()
at GUIRecipes.GUIRecipes.loadDatabase()
at GUIRecipes.GUIRecipes.OnMessage(GUIMessage message)
at MediaPortal.GUI.Library.GUIWindowManager.SendMessage(GUIMessage message)
The term 'try' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.
At C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\scripts\MyRecipes\get_my_recipes_from_chefkoch_or_cooksunited.ps1:62 char:4
+ try <<<< {
The term 'try' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.
At C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\scripts\MyRecipes\get_my_recipes_from_chefkoch_or_cooksunited.ps1:111 char:4
+ try <<<< {
The term 'try' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.
At C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\scripts\MyRecipes\get_my_recipes_from_chefkoch_or_cooksunited.ps1:117 char:4
+ try <<<< {
Property 'CommandText' cannot be found on this object; make sure it exists and is settable.
At C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\scripts\MyRecipes\get_my_recipes_from_chefkoch_or_cooksunited.ps1:209 char:13
+ $sqlCmd.C <<<< ommandText = "INSERT INTO category (category_id, title, url, recipes) VALUES ($catId, '$catName', '$catURL', $recipe)"
You cannot call a method on a null-valued expression.
At C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\scripts\MyRecipes\get_my_recipes_from_chefkoch_or_cooksunited.ps1:211 char:28
+ $sqlCmd.ExecuteNonQuery( <<<< ) | Out-Null
You cannot call a method on a null-valued expression.
At C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\scripts\MyRecipes\get_my_recipes_from_chefkoch_or_cooksunited.ps1:327 char:14
+ $sqlCon.Close( <<<< )
PS C:\ProgramData\Team MediaPortal\MediaPortal\scripts\MyRecipes> get-executionpolicy
RemoteSigned
PS C:\ProgramData\Team MediaPortal\MediaPortal\scripts\MyRecipes> .\get_my_recipes_from_chefkoch_or_cooksunited.ps1
Error: DB connection failed
You cannot call a method on a null-valued expression.
At C:\ProgramData\Team MediaPortal\MediaPortal\scripts\MyRecipes\get_my_recipes
_from_chefkoch_or_cooksunited.ps1:132 char:18
+ $sqlCon.Close <<<< ()
+ CategoryInfo : InvalidOperation: (Close:String) [], RuntimeExce
ption
+ FullyQualifiedErrorId : InvokeMethodOnNull
Property 'CommandText' cannot be found on this object; make sure it exists and is settable.
At C:\ProgramData\Team MediaPortal\MediaPortal\scripts\MyRecipes\get_my_recipes
_from_chefkoch_or_cooksunited.ps1:209 char:13
+ $sqlCmd. <<<< CommandText = "INSERT INTO category (category_id, title, ur
l, recipes) VALUES ($catId, '$catName', '$catURL', $recipe)"
+ CategoryInfo : InvalidOperation: (CommandText:String) [], Runti
meException
+ FullyQualifiedErrorId : PropertyNotFound
...