microsoft / microsoft/sql-server-samples

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

Aperta
#348 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@jovanpop-msft ci sta già lavorando.

Dal 27/3/2018.

Lingua principale
PowerShell
Stelle
11.2k
Fork
9.1k
Merge medio
2g 7h
PR unite (30g)
14

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.