IIS / ODBC / user permission

Anonyme
2024-01-28T10:24:17+00:00

Hello

With Windows server 2009 / IIS 10 / ODBC 64 / Classic ASP i experience a problem.

We have an internat website (Intranet) for our company, In global.asa i open ODBC connection :

Session_Start :

Set Myconn = Server.CreateObject("ADODB.Connection")

Myconn .ConnectionString = "ODBC;DSN=MyDSN;DRIVER={Microsoft Access Driver (*.mdb, *.accdb)}"

Myconn .Open

This is working perfectly when i navigate on this website, i'm a member of administrators group

My problem : when a domain user try to navigate the WAS rise a warning , saying the process terminate, and the web interface ask for user credential; when the user gives user/password it does not work , the only way to make it working it to give credential of an admin user

Strange behaviour : after rebooting the server or after iisreset, users cannot navigate until an administrator navigate once... looks like the administrator open a pipe, and that pipe make the website workign for standard user.

After analysys the the WAS warning says that the process terminate because of a broken pipe, after debugging the MSADO15!CCONECNECTION::OPEN cause this process termination. This comes from MSADO15.DLL

I checked process, and i can't see any ACCESS_DENIED error.

I checked user permission on the server (DB, DB path, WWW path, MSADO15.DLL, ...) i can't find why a user can't open the ODBC connection for the first time.

Any idea ?

Thank you , Didier

Appareils et déploiement de Windows Server - Composants de gestion du système

Question verrouillée. Cette question a été migrée à partir de la Communauté de Support Microsoft. Vous pouvez voter pour indiquer si cela a été utile, mais vous ne pouvez pas ajouter de commentaires ou de réponses ou suivre la question. Pour protéger la vie privée, les profils utilisateur pour les questions migrées sont anonymisés.

0 commentaires Aucun commentaire
{count} votes

1 réponse

Trier par : Le plus utile
  1. Anonyme
    2024-01-29T07:24:13+00:00

    Cette réponse a été automatiquement traduite. Par conséquent, il peut y avoir des erreurs grammaticales ou des formulations étranges.

    Bonjour Didier CLAPIER,

    Merci d’avoir posté sur les forums de la communauté Microsoft.

    D’après la description, je comprends que votre problème est lié aux services d’information sur Internet.

    Puisqu’il n’y a pas d’ingénieurs dédiés aux services d’information Internet dans ce forum. Afin de pouvoir répondre à vos questions rapidement et efficacement, je vous recommande de reposter vos questions dans le forum Q&R, où il y aura un ingénieur dédié pour vous apporter une réponse professionnelle et efficace.

    Voici un lien vers le forum de questions-réponses : https://learn.microsoft.com/en-us/answers/questions/

    Bonne journée.

    Sinceres salutations

    Lei

    0 commentaires Aucun commentaire