Author Topic: Cannot resolve DSN (write): NOT OK(MDB2 Error: not found  (Read 4298 times)

Offline seb_lau

  • Newbie
  • *
  • Posts: 2
Cannot resolve DSN (write): NOT OK(MDB2 Error: not found
« on: March 29, 2010, 02:23:54 PM »
I currently have a setup of:

Roundcube 3.1
MS SQL Server 2008 Express
PHP 5.3.2
on Windows Server 2008 R2

Has anyone been able to get Roundcube running with this setup as during install I cannot get db connectivity.
My current DSN is of the form:
mssql://sa:mypassword@(local)\SQLEXPRESS/RoundCube

This is really doing head in! :(

Offline seb_lau

  • Newbie
  • *
  • Posts: 2
[Fixed]
« Reply #1 on: March 29, 2010, 04:40:41 PM »
For any one else with issues with this

I used pear i mdb2 for php, the latest svn build [3442?] and a sqlsrv: DSN to finally get this working.  (Though that is connecting to the db, and logging in only so far)

Offline fabiosergio

  • Newbie
  • *
  • Posts: 4
Cannot resolve DSN (write): NOT OK(MDB2 Error: not found
« Reply #2 on: June 30, 2010, 02:54:01 PM »
Hi!!

I have:
Roundcube 4.0b
MS SQL Server 2008
PHP 5.3.2
on Windows Server 2008


mssql://sa:mypassword@SQLSERVER/RoundCube

but with MDB2 Error: not found

did you use mdb2 file from the roundcube SVN?

whats sqlsrv:??

thanks

Offline dziobak

  • Full Member
  • ***
  • Posts: 184
Cannot resolve DSN (write): NOT OK(MDB2 Error: not found
« Reply #3 on: June 30, 2010, 04:59:13 PM »
try using latest svn. this could be repaired.

Offline birria

  • Newbie
  • *
  • Posts: 3
Cannot resolve DSN (write): NOT OK(MDB2 Error: not found
« Reply #4 on: May 11, 2011, 06:58:42 PM »
Same situation here...

Roundcube 0.5.2
MS SQL Server 2008 Web
PHP 5.3.6
Windows Server 2008 R2 Web

DSN (write):  NOT OK(MDB2 Error: not found)
Make sure that the configured database exists and that the user has write privileges
DSN: mssql://usr:pass@(Local)/SQLServer/RoundCube

I have tested the SQL credential and they work ok.
All other check enviroment and test config are ok
Have tried simple php sql loggin tests (not pear mdb2) ad they work ok
the sqlsrv and pdo extensions are loaded

What else am I missing to check?...
I'm a n00b on php, can anyone help me with a small simple script to test the connection the way RoundCube does so that an error jumps?

This post is kind of ol...I better start a new one
« Last Edit: May 11, 2011, 09:51:07 PM by birria »