Oledbconnection Disk Or Network Error
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start
System.data.oledb.oledbexception Unspecified Error
viewing messages, select the forum that you want to visit from the selection below. disk or network error access Page 1 of 2 12 Last Jump to page: Results 1 to 40 of 42 Thread: [RESOLVED] Disk or Network Error with
CORRECT connection string Tweet Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Feb 11th, 2010,01:35 AM #1 rack View Profile View Forum Posts Visit system.data.oledb.oledbexception unspecified error c# Homepage Thread Starter Fanatic Member Join Date Jul 2006 Location Anchorage, Alaska Posts 545 [RESOLVED] Disk or Network Error with CORRECT connection string So, entire situation. [ASP.NET] code (Shown below) running on an [IIS server] [Microsoft Access Database] sitting out on the company network folder I've gotten 1 of 2 seperate errors. 1. Disk or Network Error 2. The Microsoft Jet database engine cannot open the file '\\---\---\---\---\test.mdb'. It is already opened system.data.oledb.oledbexception unspecified error excel upload exclusively by another user, or you need permission to view its data. For the first error, I made sure that IUSR, IWAM, and ASPNET have full access to the TMP and TEMP System Variable folders. It depends on how I specify the path. However, if I just type in gibberish in the path name, it gives the correct "invalid path" error below. '\\abcdefg\adsf\ehdsf\test.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides. So this leads me to belive that A) the path I am specifing is working B) the connection string is written correctly C) no one is accessing the file, I created it myself just to test this and no one would randomly go to this folder location and open it. What am I missing? Are there settings in IIS that I need to adjust on the ASP.NET IIS server machine? VB.NET Code: <%@Page Language="vb" Explicit="True" Debug="True"%><%@Import Namespace="System.Data"%><%@Import Namespace="System.Data.OleDb"%>
© Copyright 2019|winbytes.org.