Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2015
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.58 KB | None | 0 0
  1. add-type : Could not load file or assembly 'file:///C:\Users\elmezie\Dropbox\Personal\sabot\RestSharp.dll' or one of
  2. its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
  3. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:9 char:1
  4. + add-type -Path $($pwd.Path + "\RestSharp.dll")
  5. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6. + CategoryInfo : NotSpecified: (:) [Add-Type], FileLoadException
  7. + FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.PowerShell.Commands.AddTypeCommand
  8.  
  9. New-Object : Cannot find type [RestSharp.RestClient]: verify that the assembly containing this type is loaded.
  10. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:19 char:10
  11. + $c = New-Object RestSharp.RestClient($client)
  12. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  13. + CategoryInfo : InvalidType: (:) [New-Object], PSArgumentException
  14. + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand
  15.  
  16. The property 'CookieContainer' cannot be found on this object. Verify that the property exists and can be set.
  17. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:20 char:5
  18. + $c.CookieContainer = $cookiejar
  19. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  20. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  21. + FullyQualifiedErrorId : PropertyNotFound
  22.  
  23. The property 'UserAgent' cannot be found on this object. Verify that the property exists and can be set.
  24. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:21 char:5
  25. + $c.UserAgent = "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; ...
  26. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  27. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  28. + FullyQualifiedErrorId : PropertyNotFound
  29.  
  30. New-Object : Cannot find type [RestSharp.RestRequest]: verify that the assembly containing this type is loaded.
  31. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:23 char:10
  32. + $r = New-Object RestSharp.RestRequest($loginUrl, "POST")
  33. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  34. + CategoryInfo : InvalidType: (:) [New-Object], PSArgumentException
  35. + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand
  36.  
  37. Unable to find type [RestSharp.DataFormat].
  38. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:24 char:5
  39. + $r.RequestFormat = [RestSharp.DataFormat]::Json
  40. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  41. + CategoryInfo : InvalidOperation: (RestSharp.DataFormat:TypeName) [], RuntimeException
  42. + FullyQualifiedErrorId : TypeNotFound
  43.  
  44. You cannot call a method on a null-valued expression.
  45. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:25 char:5
  46. + $r.AddHeader("Referer", "http://duel.springfield-armory.com/")
  47. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  48. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  49. + FullyQualifiedErrorId : InvokeMethodOnNull
  50.  
  51. You cannot call a method on a null-valued expression.
  52. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:26 char:5
  53. + $r.AddHeader("Accept", "application/json, text/plain, */*")
  54. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  55. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  56. + FullyQualifiedErrorId : InvokeMethodOnNull
  57.  
  58. You cannot call a method on a null-valued expression.
  59. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:27 char:5
  60. + $r.AddHeader("Accept-Language","en-US,en;q=0.5")
  61. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  62. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  63. + FullyQualifiedErrorId : InvokeMethodOnNull
  64.  
  65. You cannot call a method on a null-valued expression.
  66. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:28 char:5
  67. + $r.AddParameter("email","$userName")
  68. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  69. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  70. + FullyQualifiedErrorId : InvokeMethodOnNull
  71.  
  72. You cannot call a method on a null-valued expression.
  73. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:29 char:5
  74. + $r.AddParameter("password","$passWord")
  75. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  76. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  77. + FullyQualifiedErrorId : InvokeMethodOnNull
  78.  
  79. You cannot call a method on a null-valued expression.
  80. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:30 char:5
  81. + $r.AddHeader("Content-Type", "application/json; charset=utf-8");
  82. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  83. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  84. + FullyQualifiedErrorId : InvokeMethodOnNull
  85.  
  86. You cannot call a method on a null-valued expression.
  87. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:31 char:5
  88. + $rr = $c.Execute($r)
  89. + ~~~~~~~~~~~~~~~~~~~~
  90. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  91. + FullyQualifiedErrorId : InvokeMethodOnNull
  92.  
  93. New-Object : Cannot find type [RestSharp.RestRequest]: verify that the assembly containing this type is loaded.
  94. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:34 char:10
  95. + $r = New-Object RestSharp.RestRequest($voteUrl, "POST")
  96. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  97. + CategoryInfo : InvalidType: (:) [New-Object], PSArgumentException
  98. + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand
  99.  
  100. Unable to find type [RestSharp.DataFormat].
  101. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:35 char:5
  102. + $r.RequestFormat = [RestSharp.DataFormat]::Json
  103. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  104. + CategoryInfo : InvalidOperation: (RestSharp.DataFormat:TypeName) [], RuntimeException
  105. + FullyQualifiedErrorId : TypeNotFound
  106.  
  107. You cannot call a method on a null-valued expression.
  108. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:36 char:5
  109. + $r.AddHeader("Referer", "http://duel.springfield-armory.com/vote" ...
  110. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  111. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  112. + FullyQualifiedErrorId : InvokeMethodOnNull
  113.  
  114. Unable to find type [RestSharp.ParameterType].
  115. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:37 char:42
  116.  
  117. Waiting to run next entry
  118. 63 minutes 38 seconds left
  119. [oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo ]
  120.  
  121. You cannot call a method on a null-valued expression.
  122. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:38 char:5
  123. + $r.AddHeader("Content-Type", "application/json; charset=utf-8");
  124. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  125. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  126. + FullyQualifiedErrorId : InvokeMethodOnNull
  127.  
  128. You cannot call a method on a null-valued expression.
  129. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:39 char:5
  130. + $r.AddHeader("Accept", "application/json, text/plain, */*")
  131. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  132. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  133. + FullyQualifiedErrorId : InvokeMethodOnNull
  134.  
  135. You cannot call a method on a null-valued expression.
  136. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:40 char:5
  137. + $r.AddHeader("Accept-Language","en-US,en;q=0.5")
  138. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  139. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  140. + FullyQualifiedErrorId : InvokeMethodOnNull
  141.  
  142. You cannot call a method on a null-valued expression.
  143. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:41 char:5
  144. + $r.AddHeader("DNT", "1")
  145. + ~~~~~~~~~~~~~~~~~~~~~~~~
  146. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  147. + FullyQualifiedErrorId : InvokeMethodOnNull
  148.  
  149. You cannot call a method on a null-valued expression.
  150. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:42 char:5
  151. + $r.AddHeader("Accept-Language","en-US,en;q=0.5")
  152. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  153. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  154. + FullyQualifiedErrorId : InvokeMethodOnNull
  155.  
  156. You cannot call a method on a null-valued expression.
  157. At C:\Users\elmezie\Dropbox\Personal\sabot\sabot.ps1:43 char:5
  158. + $rr = $c.Execute($r)
  159. + ~~~~~~~~~~~~~~~~~~~~
  160. + CategoryInfo : InvalidOperation: (:) [], RuntimeException
  161. + FullyQualifiedErrorId : InvokeMethodOnNull
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement