Hi, when i try to get/download an invoice from enterprise portal in dynamics ax 4.0, the file is only 389 bytes. I cannot open afterwards.
I found this.
In class EPDocuGetWeblet the i get error on Bindata.loadFile
while(true)
{
if (!binData.loadFile(tempFileName, fileOffset, #BUFFER_SIZE))
{
break;
}
fileOffset += #BUFFER_SIZE;
response.binaryWrite(binData.getVariant());
}
Second time bindata.loadFile is called i get false and end i break;
i have to warnings in Eventviewer on webserver.
Hope anyone can help me :)