Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

SQL Connection and 'Compressed folder is invalid' ERROR

$
0
0

Hello,

I have been testing this library and i have ran into a very weird behaver. I
am working with two different sql datbases, one test and the other
production, both with the same configuration. I am pulling pdf and xml files stored in the database as text
and download them by creating a zip file with this tool. The problem is that
it works perfectly in test environment but once i change the connection
string from the test to the production server, the application downloads the zip but i can
not open it because i get the 'File is not valid' error, in the other hand if i open it with winrar it will open the file with the pdfs but not the ones that have the xml files. Further more, if i
download a zip with a xml file, the crc field is 000000 (Even though i
specify this value in the back end). Both of the servers contains the same
information and the application pulls the same data form both servers as
well. I have tried to force the UnZip64 and many other things but nothing.

I hope some one could help me with this since i have run out of ideas.

Thanks.

 

UPDATE

When the record is inserted in the production database there is no problems to downloads them, but if i try again it will fail.


Viewing all articles
Browse latest Browse all 1764

Trending Articles