Download configuration remotelly

Forum Home Forums Runtime Bugs Download configuration remotelly

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #7055
    bragofsky
    Participant

    Hello,

    I’m expiriencing an issue with administrator remote connection. Since I can start/stop/restart the agent’s I assume the connection i’m properlly conected to remote system, but when I try to download the configuration I get the following error:

    “Error downloading configuration:
    An exception has been trown when reading the stream”

    Any ideas?

    Regards

    • This topic was modified 3 years, 9 months ago by Mikhail.
    #7056
    bragofsky
    Participant

    UPDATE: This only happens if “interface” option is checked.

    So, for my propose “configuration database” is enough but i’m curious about what “interface” stands for.

    Regards

    #7057
    Mikhail
    Moderator

    Hello,

    The additional error information is in C:\SCADA\ScadaAdmin\Log\ScadaAdmin.err
    Please provide the error details from the log.

    #7069
    bragofsky
    Participant

    Here it is,

    System.IO.IOException: An exception has been thrown when reading the stream. —> System.ServiceModel.CommunicationException: The maximum message size quota for incoming messages (10485760) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element. —> System.ServiceModel.QuotaExceededException: The maximum message size quota for incoming messages (10485760) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.

    It seems to be related with file size, probably the big interface background images.

    Regards

    #7071
    Mikhail
    Moderator

    It means that the configuration is too big (more than 10 MB). When configuration is transferred, it is zipped to reduce size. So 10 MB is a size of an archive.

    There are 2 options how to fix:
    1. Check your interface files. May be you should optimize images.
    2. Increase maxReceivedMessageSize in C:\SCADA\ScadaAdmin\ScadaAdmin.exe.config

    • This reply was modified 3 years, 9 months ago by Mikhail.
    #7072
    Mikhail
    Moderator

    May be we should change the size from 10485760 to 104857600 by default.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.