ID:               45051
 User updated by:  glillibridge at yahoo dot com
 Reported By:      glillibridge at yahoo dot com
-Status:           Feedback
+Status:           Closed
 Bug Type:         ODBC related
 Operating System: NT
 PHP Version:      5.2.6
 New Comment:

I am afraid that is not a problem, but something wrong on NT. I have
put a new domain user as the iis user, got it working (I also had to put
the iis 5.0 isolator on). The old user (not a domain user, but a special
one set up by microsoft for iis) was inconsistantly reacted to when a
connection was attempted. Why, I am not positive. It was the same for
odbc_connect() as for odbc_pconnect. 

I believe that some how the local area network was slow in returning an
access violation and php did not get it.

I have closed it, since several 100 tests have been unable to reproduce
it.


Previous Comments:
------------------------------------------------------------------------

[2008-05-22 08:38:15] [EMAIL PROTECTED]

I would guess using odbc_connect() works fine..?

------------------------------------------------------------------------

[2008-05-20 16:46:01] glillibridge at yahoo dot com

Description:
------------
This is a repost of 45026, now marked bogus. We loaded php 5.2.6 and
still get almost the same problem. The only difference is that the
access violation location has changed.

We are trying to establish a connection to a MAS200 server (also on
NT).
This is the actual php line:
$crs =
odbc_pconnect("dsn=SOTAMAS90;company=LNC;UID=acs;PWD=acsg","","");

Sometimes it works and returns connection identifier.
Most times it returns the message:
PHP has encountered an Access Violation at 034F10D0

This uses an odbc source identified in the web server, using an
internal IP.




Reproduce code:
---------------
$crs =
odbc_pconnect("dsn=SOTAMAS90;company=LNC;UID=acs;PWD=acsg","","");
echo "<br>========" . odbc_error($crs) . "==" . $crs . "========<br>" ;

Expected result:
----------------
<br>========S000==========<br>

Actual result:
--------------
PHP has encountered an Access Violation at 034F10D0


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45051&edit=1

Reply via email to