microsoft / microsoft/sql-server-samples
The length of the string exceeds the value set on the maxJsonLength property.
@jovanpop-msft arbeitet bereits daran.
Seit 27.3.2018.
- Vorherrschende Sprache
- PowerShell
- Sterne
- 11.2k
- Forks
- 9.1k
- Ø Merge
- 2 T. 7 Std.
- Gemergte PRs (30 T.)
- 14
Beschreibung
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
- CategoryInfo : NotSpecified: (:) [ConvertFrom-Json], ArgumentEx
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
- CategoryInfo : NotSpecified: (:) [ConvertFrom-Json], ArgumentEx
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.