10-14-2011, 04:02 PM
When uploading a Word document I get:
"Data too long for column 'mimeType' at row 1
INSERT INTO tblDocumentContent (document, version, comment, date, createdBy, dir, orgFileName, fileType, mimeType) VALUES (6, 1,'v0.1', 1318582605, 3, '6/', 'MATKAOHJELMA_alustava_D2B_vesivoima_Ruotsi_2.docx', '.docx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document')"
Is the mimeType column too short in the database?
"Data too long for column 'mimeType' at row 1
INSERT INTO tblDocumentContent (document, version, comment, date, createdBy, dir, orgFileName, fileType, mimeType) VALUES (6, 1,'v0.1', 1318582605, 3, '6/', 'MATKAOHJELMA_alustava_D2B_vesivoima_Ruotsi_2.docx', '.docx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document')"
Is the mimeType column too short in the database?