Hi,

Whenever I try to install a module I get this error:

PDOException: SQLSTATE[23000]: [Microsoft][SQL Server Native Client 10.0][SQL Server]Violation of PRIMARY KEY constraint 'registry_pkey'. Cannot insert duplicate key in object 'dbo.registry'. in _registry_parse_file() (line 179 of C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\mysite\includes\registry.inc).

I'm running Drupal 7.8.

Help?

Comments

mydrupntid’s picture

I'm getting the same thing

brianharcourt’s picture

Same DB error but using IIS7. Is this related to http://drupal.org/node/1210862 ?

firestonej’s picture

This error seems to be more than just installing modules.

I get it when flushing the cache, and sometimes even when simply loading pages on the back-end.

IIS 7
PHP 5.3
D7.8
SQL Server Express RC2.

omegamonk’s picture

Status: Active » Closed (fixed)

I ran a test install on D7.8 with the development version of the sqlsrv driver without issues. Since this issue is quite old and the dev version is functional, I am going to mark this issue as closed (fixed).