View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005904 | mantisbt | db mssql | public | 2005-07-08 06:21 | 2014-05-16 15:00 |
Reporter | davide73italy | Assigned To | grangeway | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | git trunk | ||||
Summary | 0005904: Application error 0000401 only when using MSSQL | ||||
Description | I use MSSQL SP4; when I log in, Mantis gives me this error: APPLICATION ERROR 0000401 1) This query is correct; I have tried this query with Microsoft Query Analyzer and it's ok: no error! | ||||
Tags | No tags attached. | ||||
Sorry this is a SQL issue, not webpage Thank you |
|
I had this error but resolved it with a change to the table. If I recall correctly, I had to switch the field login_count to type int. |
|
login_count in mantis_user_table is already an int |
|
David, i assume it's you that emailed me.. I'm trying to think as I think i've seen this before - what adodb driver are you using ? i've got a sneaky suspicion that when i was looking at mssql support either the ado_mssql or odbc_mssql started behaving craply, although I believe that was fixed in adodb 4.60 (which we currently bundle) 401 isn't a 'field missing' error as i originally thought, but more a SQL failure of some description. |
|
My db_type is mssql, neither ado_mssql nor odbc_mssql I think that many problems could be resolved with a correct DB schema... that's the reason I would put a .sql file in install dir instead of trying a .php script A .php script is a good idea, but it should be used later |
|
If you have CVS access, there is a new admin/install.php script that aims to unify creating the database in all engines. Feedback would be welcome. |
|
hi David, The intention that i'm going to be putting forward is:
|
|
Paul, could you either work on this or mark it as resolved? |
|
Jeroen, |
|
Yes, I saw that functionality, I was just wondering whether the query was still giving problems. As for removing the directory, cvs up -P should do that, right? The files appear to have been removed. |
|
I believe that this issue can be resolved. I use mantis with some form of mssql at work, without issue. Davide - do you still have this issue ? Paul |
|
Try to use a newer PHP version and set the used user to default language english. I had the same issue with PHP 5.0.3 after upgrade to PHP 5.1.2 it works for me. @mantis team. Could you create an /doc/mssql.txt to dicribe this probelem. |
|
(Adding this note to 0005544, 0005904 and 0006063 - new here and hoping I'm not violating a policy - just trying to be helpful.) I had same problem (and error 401). Via SQL Profiler captured this query:INSERT INTO mantis_project_file_table
|
|
Doing a bit of tidyup on the issue tracker atm - 1.3.x when it gets released should have better support for mssql, especially now that MS have done some work on php. |
|
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 |
|