1. zulmach .
  2. PowerServer 2020 or older (Obsolete)
  3. Thursday, 11 November 2021 07:26 AM UTC

testing fileservice.aspx come out with error :

Appeon.FileService.Util.ParseException: Unable to read beyond the end of the stream. at Appeon.FileService.Parser.parse(Stream inStream) at Appeon.FileService.FileServiceExecutor.execute(HttpContext Context)

PowerServer2020 on Windows Server2012

logon to fileservice failed with return -1

any idea how to solve this?

Attachments (1)
support technical Accepted Answer Pending Moderation
  1. Tuesday, 30 November 2021 10:26 AM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

Hi All, problem solved by upgrading OS to WindowsServer2019

thank you all

Comment
  1. Armeen Mazda @Appeon
  2. Tuesday, 30 November 2021 15:54 PM UTC
Thanks for sharing the solution!
  1. Helpful
There are no comments made yet.
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Monday, 15 November 2021 03:09 AM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 2

Hi Zulmach,

The following message means the Fileservice works correctly (also it is normal if you found some error logs in the AppeonFileService.log):

Appeon.FileService.Util.ParseException: Unable to read beyond the end of the stream. at Appeon.FileService.Parser.parse(Stream inStream) at Appeon.FileService.FileServiceExecutor.execute(HttpContext Context)

Please make sure that you grant the IIS_IUSRS user or Everyone user Full Control permission to the fileservice folder. And please provide the fileservice log under the fileservice folder for us for more study, path for reference: C:\inetpub\wwwroot\fileservice\AppeonFileService.log.

Regards,
ZhaoKai

Comment
  1. zulmach .
  2. Monday, 15 November 2021 05:19 AM UTC
EVERYONE has granted permission to read/write

this is the content of the log :



[2021-11-15 12:09:43.201:3] configuration=filePath=C:\upfiles,

[2021-11-15 12:09:43.201:3] logContentPattern=[%d] [%-4r] [%t] - %m%n,

[2021-11-15 12:09:43.201:3] sessionTimeout=36000,

[2021-11-15 12:09:43.201:3] allowedFileTypes=txt;doc;jpg;jpeg;mpeg,

[2021-11-15 12:09:43.201:3] maxFileSize=35,

[2021-11-15 12:09:43.201:3] users=userA,userA

[2021-11-15 12:09:43.201:3] userB,userB

[2021-11-15 12:09:43.201:3] test,password

[2021-11-15 12:09:43.201:3] FileServer CheckConfigFile(). configFile=C:\inetpub\wwwroot\fileservice\appeonfileserver.xml

[2021-11-15 12:09:43.234:0] System.IO.EndOfStreamException: Unable to read beyond the end of the stream.

[2021-11-15 12:09:43.234:0] at System.IO.__Error.EndOfFile()

[2021-11-15 12:09:43.234:0] at System.IO.BinaryReader.ReadByte()

[2021-11-15 12:09:43.234:0] at Appeon.FileService.Parser.parse(Stream inStream)

[2021-11-15 12:09:43.234:0] Appeon.FileService.Util.ParseException: Unable to read beyond the end of the stream.

[2021-11-15 12:09:43.234:0] at Appeon.FileService.Parser.parse(Stream inStream)

[2021-11-15 12:09:43.234:0] at Appeon.FileService.FileServiceExecutor.execute(HttpContext Context)

[2021-11-15 12:09:46.170:0] System.IO.EndOfStreamException: Unable to read beyond the end of the stream.

[2021-11-15 12:09:46.170:0] at System.IO.__Error.EndOfFile()

[2021-11-15 12:09:46.170:0] at System.IO.BinaryReader.ReadByte()

[2021-11-15 12:09:46.170:0] at Appeon.FileService.Parser.parse(Stream inStream)

[2021-11-15 12:09:46.170:0] Appeon.FileService.Util.ParseException: Unable to read beyond the end of the stream.

[2021-11-15 12:09:46.170:0] at Appeon.FileService.Parser.parse(Stream inStream)

[2021-11-15 12:09:46.170:0] at Appeon.FileService.FileServiceExecutor.execute(HttpContext Context)

[2021-11-15 12:09:47.779:0] System.IO.EndOfStreamException: Unable to read beyond the end of the stream.

[2021-11-15 12:09:47.779:0] at System.IO.__Error.EndOfFile()

[2021-11-15 12:09:47.779:0] at System.IO.BinaryReader.ReadByte()

[2021-11-15 12:09:47.779:0] at Appeon.FileService.Parser.parse(Stream inStream)



everytime trying to log on, this error occured :

[2021-11-15 12:09:47.779:0] System.IO.EndOfStreamException: Unable to read beyond the end of the stream.

[2021-11-15 12:09:47.779:0] at System.IO.__Error.EndOfFile()

[2021-11-15 12:09:47.779:0] at System.IO.BinaryReader.ReadByte()

[2021-11-15 12:09:47.779:0] at Appeon.FileService.Parser.parse(Stream inStream)

and return -1

  1. Helpful
  1. Kai Zhao @Appeon
  2. Monday, 15 November 2021 06:57 AM UTC
What's the detail PowerServer version you are using? Please open a support ticket in the support portal, and please your appeonfileserver.xml to us, Many thanks in advance.

https://www.appeon.com/standardsupport/

  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 11 November 2021 14:58 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 3

Hi Zulmach;

  My suggestion would be to open a Support Ticket for this issue where you can better describe your environment in detail and then attach some PS log files for our support team to analyze in greater depth.

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.