microsoft / microsoft/sql-server-samples

The length of the string exceeds the value set on the maxJsonLength property.

オープン
#348 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@jovanpop-msft がすでに取り組んでいます。

2018年3月27日 から。

主要言語
PowerShell
スター
11.2k
フォーク
9.1k
平均マージ
2日 7時間
マージ済み PR(30日)
14

説明

When assessment file are larger than 2MB i receive the following error and the file is not processed.

ConvertFrom-Json : Error during serialization or deserialization using the
JSON JavaScriptSerializer. The length of the string exceeds the value set on
the maxJsonLength property.
Parameter name: input
At E:\Scripts\DMA_Processor_V5.0.ps1:801 char:26

  •     foreach($obj in (ConvertFrom-Json $content)) #level 1, the actual
    

file

  •                      ~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [ConvertFrom-Json], ArgumentEx
      ception
    • FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Co
      mmands.ConvertFromJsonCommand

ConvertFrom-Json : Error during serialization or deserialization using the
JSON JavaScriptSerializer. The length of the string exceeds the value set on
the maxJsonLength property.
Parameter name: input
At E:\Scripts\DMA_Processor_V5.0.ps1:823 char:26

  •     foreach($obj in (ConvertFrom-Json $content)) #level 1, the actual
    

file

  •                      ~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [ConvertFrom-Json], ArgumentEx
      ception
    • FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Co
      mmands.ConvertFromJsonCommand

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。