HOWTO: Configure ASP to Read Data File on a Novell Server

Last reviewed: December 15, 1997
Article ID: Q178045
The information in this article applies to:
  • Microsoft Visual InterDev, version 1.0
  • ActiveX Data Objects (ADO), versions 1.0, 1.5
  • Microsoft Active Server Pages, versions 1.0, 1.0b

SUMMARY

Active Server Pages (ASP) needs a special configuration in order to access file-based data from a Novell server. Simply mapping a drive letter to a Novell share (utilizing Novell Client Services) will fail. You may receive one of the following errors:

  • Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Microsoft Access 97 Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data.

        -or-
    
  • Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Microsoft Access 97 Driver] Disk or network error.

MORE INFORMATION

Because IIS runs as a service and impersonates NT accounts, IIS must access the Novell server's resources via an NT Gateway setup by GSNW (Gateway Services for NetWare).

On the Novell Server

  1. Create an account with the same name/password as that used by IIS for anonymous accesses.

  2. Give this account "Trustee Directory Assignments" for the folder in which the database resides.

  3. Give this account the following rights: Create, Erase, File Scan, Modify, Read, Write.

  4. Create a Group called NTGATEWAY.

  5. Add the user to this group.

On the NT Server

  1. Install GSNW (Gateway Services for NetWare) if not already installed.

  2. Open GSNW control panel. Set the preferred server to the Novel Server.

  3. Click on Gateway, and set the Gateway Account to the account used by IIS for anonymous accesses.

  4. Set the password for that account.

  5. Click ADD, and map a drive letter to a Novell share. Note the drive letter.

  6. Click OK twice to exit GSNW. You should now be able to create a new DSN that uses the gateway's mapped drive letter to access the database on the Novell server.
Keywords          : VIServer kb3rdparty
Technology        : kbInetDev KbInetDev
Version           : WINDOWS:1.0,1.5; WINNT:1.0,1.0b
Platform          : WINDOWS winnt
Issue type        : kbhowto


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 15, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.