View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007140 | mantisbt | db mssql | public | 2006-05-26 16:18 | 2014-05-16 15:00 |
Reporter | edwardgao | Assigned To | grangeway | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.0.3 | ||||
Fixed in Version | 1.1.0a4 | ||||
Summary | 0007140: Upload File Less than 8 K | ||||
Description | If there is a file greater than 8K, I can not upload sucessfully into SQL Server, my same installation could upload into MySQL with big files over 500K. | ||||
Tags | No tags attached. | ||||
related to | 0007136 | closed | ryandesign | Upload File Crash |
Are you getting a specific error message? It may be your database specific configuration that limits packet size for SQL server. |
|
Thanks, Chillax, I think there is no such limits for the 8k. Those tables are generated by Mantis. I could upload huge files to other tables. Here is the error msg:Database query failed. Error received from database was 0000206: Operand type clash: text is incompatible with image for the query: INSERT INTO mantis_bug_file_table |
|
DISCLAIMER: The easiest way to view your SQL Server's configuration settings is to run the following command in Query Analyzer: sp_configure SOURCE: http://www.sql-server-performance.com/sql_server_configuration_settings.asp I would look into finding something that might be a size limit for inserts and increase it accordingly. Additionally, you might consider changing your file storage type from database to disk. |
|
Thank you very much, I checked all of the configurations I could fine, they all look fine. I think there may be something wrong the M$-SQL configuration, or Mantis persistence on M$-SQL. If I change this
to be: I could upload files greater than 1M. The only problem is I can not insert the file into the image column. |
|
Here is my configuration: Name Min Max config_value run_value |
|
I think this is also a duplicate to 0006063. With my hackish fix from there I'm able to upload files of all sorts, with no size limitation other than what I set. |
|
Fixes for uploading files have been included in 1.1.0a4. Note, you may need to set mssql php settings: mssql.textsize = 2147483647 |
|
MantisBT currently supports Mysql and has support for other database engines. The support for other databases is known to be problematic. Having implemented the current database layer into Mantis 10 years ago, I'm currently working on replacing the current layer. If you are interested in using Mantis with non-mysql databases - for example, Oracle, PGSQL or MSSQL, and would be willing to help out testing the new database layer, please drop me an email at paul@mantisforge.org In the meantime, I'd advise running Mantis with Mysql Only to avoid issues. Thanks |
|