<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1016142" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1016142</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/inserting-records-database-website#comment-1093640</link>
    <description> &lt;p&gt;&lt;a href=&quot;http://msdn.microsoft.com/default.asp&quot; class=&quot;bb-url&quot;&gt;MSDN&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Just search for the error you have.  You&#039;ll be overwhelmed by infomation.&lt;/p&gt;
 </description>
     <pubDate>Sat, 10 Nov 2001 20:28:59 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1093640 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/inserting-records-database-website#comment-1093635</link>
    <description> &lt;p&gt;Hey, thanks a lot!&lt;br /&gt;
I think I found my error in that trouble shooting guide, I believe I was using a reserved word!&lt;/p&gt;
&lt;p&gt;I dont have anything which tells me that I&#039;m using a reserved word, which is why I didnt detect it.&lt;/p&gt;
&lt;p&gt;Out of curiousity, where did you get the trouble-shooting guide from for that specific error?&lt;br /&gt;
Something like that would come in really handy for future errors.&lt;/p&gt;
&lt;p&gt;Thanks again!!&lt;/p&gt;
 </description>
     <pubDate>Sat, 10 Nov 2001 17:59:54 +0000</pubDate>
 <dc:creator>Matt-T</dc:creator>
 <guid isPermaLink="false">comment 1093635 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/inserting-records-database-website#comment-1093631</link>
    <description> &lt;p&gt;The folder permissions would have to be checked on the server, the folder needs to have read/write access for the IUSER_machine account (the one used by IIS)&lt;/p&gt;
&lt;p&gt;The credentials I referred to are only necessary if you have password protected your database, it would be part of your connection string.&lt;/p&gt;
&lt;p&gt;Here&#039;s everything I could find regarding error &#039;8004005&#039;, how it helps.&lt;/p&gt;
&lt;p&gt;Troubleshooting Guide for 8004005 error messages.&lt;/p&gt;
&lt;p&gt;Microsoft OLE DB Provider for ODBC Drivers error &#039;80004005&#039;&lt;br /&gt;
[Microsoft][ODBC Microsoft Access 97 Driver] The Microsoft Jet database engine&lt;br /&gt;
cannot open the file &#039;(unknown)&#039;. It is already opened exclusively by another&lt;br /&gt;
user, or you need permission to view its data.&lt;br /&gt;
Can happen if the account being used by IIS (usually IUSR) doesn&#039;t have the&lt;br /&gt;
correct NT permissions for a file based database orthe folder it is located&lt;br /&gt;
in.&lt;br /&gt;
Check permissions on the file, and folder. Ensure ability to create/destroy&lt;br /&gt;
any temp files. Temp files are usually created in the same folder as&lt;br /&gt;
database, but can be created elsewhere. Run NT File Monitor to check for&lt;br /&gt;
write failures.&lt;br /&gt;
If using UNC, check permissions on the Share.&lt;br /&gt;
Ensure file and DSN are not marked as Exclusive.&lt;br /&gt;
Simplify. Use a System DSN that uses a local drive letter.&lt;br /&gt;
The &#039;other user&#039; might be InterDev. Close any InterDev projects that contain a&lt;br /&gt;
data connection to this database.&lt;br /&gt;
Delegation issue. Ensure the authentication method. If the connection string&lt;br /&gt;
uses UNC, try using Basic authentication or an absolute path such as&lt;br /&gt;
c:\mydata\data.mdb. This can happen even if the UNC pointsto a resource&lt;br /&gt;
local to the IIS machine.&lt;br /&gt;
IIS 4.0 Bug. UNC should work for Basic / Anonymous access, but doesn&#039;t under&lt;br /&gt;
IIS 4.0 because Transaction Server is switching the user context to SYSTEM&lt;br /&gt;
when it reads the database. The system account cannotaccess networked&lt;br /&gt;
resources. Use a local path. For InterDev to work remotely, setup system&lt;br /&gt;
DSN&#039;s as per article Q178215. This article refers to authenticated projects,&lt;br /&gt;
but the fix is applicable to this configuration..&lt;/p&gt;
&lt;p&gt;KB References:&lt;br /&gt;
Q166029 PRB: Cannot Open File Unknown Using Access&lt;br /&gt;
Q178215 HOWTO: Configure VID to Work with an Authenticated Web Project&lt;/p&gt;
&lt;p&gt;Microsoft OLE DB Provider for ODBC Drivers error &#039;80004005&#039;&lt;br /&gt;
[Microsoft][ODBC Microsoft Access 97 Driver] Couldn&#039;t use &#039;(unknown)&#039;; file&lt;br /&gt;
already in use.&lt;br /&gt;
The database cannot be locked correctly for multiple users. See the KB article&lt;br /&gt;
referenced below.&lt;/p&gt;
&lt;p&gt;KB References:&lt;br /&gt;
Q174943 PRB: 80004005 &quot;Couldn&#039;t Use &#039;(unknown)&#039;; File Already in Use&quot;&lt;/p&gt;
&lt;p&gt;Microsoft OLE DB Provider for ODBC Drivers error &#039;80004005&#039;&lt;br /&gt;
[Microsoft][ODBC Driver Manager] Data source name not found and no default&lt;br /&gt;
driver specified.&lt;br /&gt;
Most common cause: the connection string is a session variable initialized in&lt;br /&gt;
the Global.asa and the global.asa isn&#039;t firing. Check that the variable is&lt;br /&gt;
being initialized correctly with:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&#039;auth_user&#039; is &quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;amp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;request&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;servervariables&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;auth_user&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&#039;auth_type&#039; is &quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;amp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;request&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;servervariables&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;auth_type&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;connection string is &quot; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;amp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;session&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;your_connectionstring&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt; &lt;/p&gt;
&lt;p&gt;If the Global.asa isn&#039;t firing, check to ensure it is in an Application Root&lt;br /&gt;
for IIS 4.0, or a Virtual Root with Execute checked under IIS 3.0. Also, a&lt;br /&gt;
bug detailed in Q173742 may prevent the Global.asa from being firedwhen NT&lt;br /&gt;
permissions have restricted access to the folder.&lt;br /&gt;
DSN name not found. Ensure user is not using a USER DSN.&lt;br /&gt;
If using a file or system DSN, try changing the connection string to be just&lt;br /&gt;
&quot;DSN=MySystemDSN&quot; or &quot;DBQ=MyFileDSN&quot; as appropriate.&lt;br /&gt;
Ensure latest drivers installed using MDAC&lt;/p&gt;
&lt;p&gt;KB References:&lt;br /&gt;
Q173742 BUG: Global.asa Not Executed If Restricting Web Access&lt;br /&gt;
Q172864 ASP Pages Fail on Access to Session and Application Objects&lt;/p&gt;
&lt;p&gt;Microsoft OLE DB Provider for ODBC Drivers error&#039;80004005&#039;&lt;br /&gt;
[Microsoft][ODBC Access 97 ODBC driver Driver]General error Unable to open&lt;br /&gt;
registry key &#039;DriverId&#039;.&lt;br /&gt;
Error reading a value from the registry.&lt;/p&gt;
&lt;p&gt;KB References:&lt;br /&gt;
Q156526 General Error=51 Connecting to an Access Datasource&lt;/p&gt;
&lt;p&gt;Microsoft OLE DB Provider for ODBC Drivers error &#039;80004005&#039;&lt;br /&gt;
[Microsoft][ODBC SQL Server Driver][dbnmpntw]ConnectionOpen (CreateFile()).&lt;br /&gt;
There are two causes of this error. Both are permissions related and involve a&lt;br /&gt;
database that is either on a different machine from the web server, or the&lt;br /&gt;
database is possibly being referenced using a UNC path (\\Server\Share). Even&lt;br /&gt;
if the database is on the same machine as the web server, UNC paths make the&lt;br /&gt;
database appear to the web server to be on a different machine on the&lt;br /&gt;
network.&lt;/p&gt;
&lt;p&gt;1. If the asp page is accessed anonymously:&lt;/p&gt;
&lt;p&gt;If IIS is serving up the page to an anonymous user, IIS will use (by default)&lt;br /&gt;
an NT account called IUSR_. This account is local to the web&lt;br /&gt;
server and is essentially unknown to any other machines on the network. When&lt;br /&gt;
IIS, operating under the security context of the IUSR account, tries to access&lt;br /&gt;
any resources on a remote machine, the remote machine will try to validate the&lt;br /&gt;
account being used. Since the IUSRaccount is a local account that is unknown&lt;br /&gt;
to the remote machine, access is denied.&lt;/p&gt;
&lt;p&gt;There are two solutions when anonymous access causes this problem:&lt;/p&gt;
&lt;p&gt;a) In the Internet Service Manager tool, under Web Properties, change the&lt;br /&gt;
anonymous logon account from the default local account to a valid domain based&lt;br /&gt;
account. In the &#039;UserName&#039; field, enter the domain account to use as&lt;br /&gt;
&#039;domain\userid&#039;. In this way, the remote machine can check with the domain&lt;br /&gt;
controller to validate the security credentials passed to it by IIS.&lt;/p&gt;
&lt;p&gt;b) Duplicate the IUSR_ account on the remote machine that&lt;br /&gt;
contains the resource you wish to access. If an account is created on the&lt;br /&gt;
remote machine that has the exact same name and password, NT will treat them&lt;br /&gt;
as equivalent accounts.&lt;/p&gt;
&lt;p&gt;2. If the ASP page only allows authenticated access:&lt;/p&gt;
&lt;p&gt;If the page doesn&#039;t allow anonymous access, IIS will try and authenticate the&lt;br /&gt;
user making the request, and use their security credentials for all activities&lt;br /&gt;
such as database accesses. There are two primary causes for a failure in this&lt;br /&gt;
scenario&lt;/p&gt;
&lt;p&gt;a) By default, IIS is configured to use NT Challenge/Response as the&lt;br /&gt;
authentication method. Because of limitations in the NT 4.0 (and prior)&lt;br /&gt;
security model, a user that has been authenticated using NT Challenge/Response&lt;br /&gt;
cannot access resources on remote machines. This is commonly referred to as a&lt;br /&gt;
&#039;delegation&#039; problem. To verify if this is the case, in the Internet Services&lt;br /&gt;
Manager tool, under Webproperties, select the Basic(Clear Text) checkbox and&lt;br /&gt;
deselect the Windows NT Challenge/Response. If this solves the problem, then&lt;br /&gt;
this is a clear delegation issue.&lt;/p&gt;
&lt;p&gt;b) If problems persist, it is likely that user account being used does not&lt;br /&gt;
have rights to the SQL NT machine. Try using an account that has known access&lt;br /&gt;
to the SQL machine.&lt;/p&gt;
&lt;p&gt;For more information concerning delegation, how IIS uses authentication to&lt;br /&gt;
secure a web site, and problems such as this, see the article &quot;IIS&lt;br /&gt;
Authentication and Security for Internet Developers on&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.microsoft.com/workshop/server/default.asp&quot; class=&quot;bb-url&quot;&gt;http://www.microsoft.com/workshop/server/default.asp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;KB References:&lt;br /&gt;
Q175671 PRB: 80004005 ConnectionOpen (CreateFile ()) Error Accessing SQL&lt;/p&gt;
&lt;p&gt;Microsoft OLE DB Provider for ODBC Drivers error &#039;8004005&#039;&lt;br /&gt;
Microsoft][ODBC Microsoft SQL Driver] Logon Failed()&lt;/p&gt;
&lt;p&gt;This error is generated by SQL server if it doesn&#039;t accept or recognize the&lt;br /&gt;
logon account and/or password being submitted (if using Standard security) or&lt;br /&gt;
if there is no NTaccount to SQL account mapping (when using Integrated&lt;br /&gt;
security&lt;br /&gt;
If using standard security, the SQL account name and password are incorrect.&lt;br /&gt;
Try the system admin account and password (UID= &quot;SA&quot; and null password).&lt;br /&gt;
These must be defined on the connection string line. DSN&#039;s do not store&lt;br /&gt;
usernames and passwords.&lt;br /&gt;
If using Integrated security, check the NT account that is calling the page,&lt;br /&gt;
and find out what account (if any) it is mapped to.&lt;br /&gt;
SQL does not allow an underscore in a SQL account name. If someone manually&lt;br /&gt;
mapped the NT IUSR_machinename account to a SQL account of the same name, it&lt;br /&gt;
will fail. Map any account that uses an underscore to an account name on SQL&lt;br /&gt;
that doesn&#039;t use the underscore.&lt;/p&gt;
&lt;p&gt;KB References:&lt;br /&gt;
Q149425 IDC: Error Performing Query, Not Defined as a Valid User&lt;/p&gt;
&lt;p&gt;Microsoft OLE DB Provider for ODBC Drivers error &#039;80004005&#039; [Microsoft][ODBC&lt;br /&gt;
SQL Server Driver][SQL Server] Login failed- User: Reason: Not defined as a&lt;br /&gt;
valid user of a trusted SQL Server connection. Integrated Security is turned&lt;br /&gt;
on in SQL enterprise manager, and the NT account being used hasn&#039;t been&lt;br /&gt;
mapped to a SQL account. Try changing SQL to use Standard Security (In&lt;br /&gt;
Enterprise Manager, select Server/ SQL Server/Configure…/Security&lt;br /&gt;
Options/Standard&lt;/p&gt;
&lt;p&gt;KB References:&lt;br /&gt;
Q149425 IDC: Error Performing Query, Not Defined as a Valid User&lt;/p&gt;
&lt;p&gt;Microsoft OLE DB Provider for ODBC Drivers error &#039;80004005&#039;&lt;br /&gt;
[Microsoft][ODBC Microsoft Access 97 Driver] Couldn&#039;t lock file.&lt;br /&gt;
Can be caused by not having correct rights to create the lock file for an&lt;br /&gt;
access database.&lt;br /&gt;
Try giving the user accessing the database (usually the IUSR_machinename&lt;br /&gt;
account full control to the share/folder&lt;/p&gt;
&lt;p&gt;KB References:&lt;br /&gt;
none&lt;/p&gt;
&lt;p&gt;Microsoft OLE DB Provider for ODBC Drivers error &#039;80040e14&#039;&lt;br /&gt;
[Microsoft][ODBC Microsoft Access 97 Driver] Syntax error in INSERT INTO&lt;br /&gt;
statement.&lt;br /&gt;
Column name is a reserved word, such as DATE. Change to MyDate.&lt;/p&gt;
&lt;p&gt;KB References:&lt;br /&gt;
none&lt;/p&gt;
&lt;p&gt;Microsoft OLE DB Provider for ODBC Drivers error &#039;80004005&#039;&lt;br /&gt;
[Microsoft][ODBC Microsoft Access 97 Driver] &#039;(unknown)&#039; isn&#039;t a valid path.&lt;br /&gt;
Make sure that the path name is spelled correctly and that you are connected&lt;br /&gt;
to the server on which the file resides.&lt;br /&gt;
The path being readby the web server is not a valid path. This most commonly&lt;br /&gt;
happens when the global.asa is being used and the connection string was&lt;br /&gt;
created on a different machine than the web server. If the path is a mapped&lt;br /&gt;
drive letter, it is probably only valid for the client machine that created&lt;br /&gt;
the connection string&lt;/p&gt;
&lt;p&gt;KB References:&lt;br /&gt;
Q167452 PRB: &#039;Not a valid path&#039; Error when Using Access Data Source&lt;/p&gt;
&lt;p&gt;Microsoft OLE DB Provider for ODBC Drivers error &#039;80004005&#039;&lt;br /&gt;
[Microsoft][ODBC SQL Server Driver][SQL Server]The query and the views in it&lt;br /&gt;
exceed the limit of 16 tables.&lt;br /&gt;
The query is too complex. There are several limitations on a query&lt;/p&gt;
&lt;p&gt;KB References:&lt;br /&gt;
Q125767 PRB: Query Too Complex Error After Execution of SQL Query&lt;/p&gt;
&lt;p&gt;Microsoft OLE DBProvider for ODBC Drivers error &#039;80004005&#039;&lt;br /&gt;
[Microsoft][ODBC SQL Server Driver][DBNMPNTW]ConnectionWrite&lt;br /&gt;
(GetOverLappedResult()).&lt;br /&gt;
When the allow Anonymous User context is turned off, NT is closing the pipe to&lt;br /&gt;
SQL Server after the first request is complete. This is because the first&lt;br /&gt;
connection to SQL Server is made under the IIS Anonymous User account. IIS&lt;br /&gt;
then either impersonates the browser client on that same thread, or tries to&lt;br /&gt;
access the connection on a different thread that is running inthe&lt;br /&gt;
impersonated user context. In either case NT would detect the attempt to use a&lt;br /&gt;
network named pipe handle that had been opened in a different user context and&lt;br /&gt;
force the pipe closed, per its security rules.&lt;br /&gt;
When the connections are viewed on the SQL Server with a network monitor, a&lt;br /&gt;
name pipe close request comes from NT, causing the error in the Web browser.&lt;/p&gt;
&lt;p&gt;KB References:&lt;br /&gt;
Q166659 PRB: Accessing SQL Database Fails on Second Attempt&lt;/p&gt;
 </description>
     <pubDate>Sat, 10 Nov 2001 15:50:06 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1093631 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/inserting-records-database-website#comment-1093626</link>
    <description> &lt;p&gt;The error which appears on the website is as follows:&lt;br /&gt;
----------------------------------------&lt;br /&gt;
Microsoft OLE DB Provider for ODBC Drivers error &#039;80004005&#039; &lt;/p&gt;
&lt;p&gt;[Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement. &lt;/p&gt;
&lt;p&gt;/search_page/question_form_thanku.asp, line 47&lt;br /&gt;
---------------------------------------&lt;br /&gt;
Line47 in the ASP code is: objRS.Update&lt;/p&gt;
&lt;p&gt;The connection to the database is fine, as I checked that I can read from it, and I can.&lt;/p&gt;
&lt;p&gt;I&#039;m not well up on SQL, but I believe that the INSERT INTO statement is generated by Access to allow a new record to be written.&lt;/p&gt;
&lt;p&gt;My ASP code is identical to other collegues code and some text books, and their&#039;s works. So it shouldnt be that.&lt;/p&gt;
&lt;p&gt;Since other people I know havent had this problem, and they are on the same server as me, I wouldnt have thought it was an error by the server (I dont have control of the server anyway)&lt;/p&gt;
&lt;p&gt;How can I check the permissions (write/modify) on the folder? and how would I check the correct credentials are being passed?&lt;br /&gt;
I cant see anywhere, where the database could be set to read-only.&lt;/p&gt;
&lt;p&gt;Any more ideas? Thanks for your help by the way!&lt;/p&gt;
 </description>
     <pubDate>Sat, 10 Nov 2001 12:50:22 +0000</pubDate>
 <dc:creator>Matt-T</dc:creator>
 <guid isPermaLink="false">comment 1093626 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/inserting-records-database-website#comment-1093585</link>
    <description> &lt;p&gt;Well, if you&#039;re sure the code is correct and the database is not set to read only, then there&#039;s not much else you can check. Are the permissions on the folder where it sits on the server set correctly (write/modify), are you passing the right credentials... Are you sure it&#039;s not a problem with the query/code?&lt;/p&gt;
 </description>
     <pubDate>Fri, 09 Nov 2001 15:43:00 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1093585 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
