CloudBT CloudBT
  • 06-09-2010, 15:27:51
    #1
    Üyeliği durduruldu
    Microsoft OLE DB Provider for ODBC Drivers error '80004005'

    [Microsoft][ODBC Microsoft Access 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.

    /counter2.asp, line 11


    counter2.asp nin kaynak kodları aşağıdaki gibidir.

    Alıntı
    <%
    'Design and Coding : E-BAY SoftWare
    'E-Mail : eyupbay@hotmail.com
    %>
    <!--#include file=all.asp-->
    <%Response.Buffer =True%>
    <%response.expires=-1000%>
    <%
    Set baglanti = Server.CreateObject("ADODB.Connection")
    baglanti.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & "C:\Inetpub\vhosts\xhth.com\httpdocs\s1w5x9s1e5v9_ Database\counter.mdb"
    set rs = Server.CreateObject("ADODB.RecordSet")
    SQL = "Select * from counter"
    rs.open SQL,baglanti,1,3
    rs.movefirst
    toplamy = rs("sayfa") + 1
    SQL2 = "update counter set sayfa =" & toplamy
    baglanti.execute(SQL2)
    rs.close
    set rs = nothing
    baglanti.close
    set baglanti = nothing
    %>


    Arkadaşlar sabahtan beri bu hatayla ilgili çözümler arıyorum bir türlü sonuca ulaşamadım. Lütfen yardımcı olurmusunuz.

    Şimdiden teşekkürler.
  • 06-09-2010, 15:31:59
    #2
    <%
    'Design and Coding : E-BAY SoftWare
    'E-Mail : eyupbay@hotmail.com
    %>
    <!--#include file=all.asp-->
    <%Response.Buffer =True%>
    <%response.expires=-1000%>
    <%
    Set baglanti = Server.CreateObject("ADODB.Connection")
    baglanti.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & "s1w5x9s1e5v9_ Database/counter.mdb"
    set rs = Server.CreateObject("ADODB.RecordSet")
    SQL = "Select * from counter"
    rs.open SQL,baglanti,1,3
    rs.movefirst
    toplamy = rs("sayfa") + 1
    SQL2 = "update counter set sayfa =" & toplamy
    baglanti.execute(SQL2)
    rs.close
    set rs = nothing
    baglanti.close
    set baglanti = nothing
    %>
    şu şekil denesene bi.
  • 06-09-2010, 15:36:56
    #3
    Üyeliği durduruldu
    Denedim ama sonuç değişmedi.

    bLueStarr adlı üyeden alıntı: mesajı görüntüle
    <%
    'Design and Coding : E-BAY SoftWare
    'E-Mail : eyupbay@hotmail.com
    %>
    <!--#include file=all.asp-->
    <%Response.Buffer =True%>
    <%response.expires=-1000%>
    <%
    Set baglanti = Server.CreateObject("ADODB.Connection")
    baglanti.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & "s1w5x9s1e5v9_ Database/counter.mdb"
    set rs = Server.CreateObject("ADODB.RecordSet")
    SQL = "Select * from counter"
    rs.open SQL,baglanti,1,3
    rs.movefirst
    toplamy = rs("sayfa") + 1
    SQL2 = "update counter set sayfa =" & toplamy
    baglanti.execute(SQL2)
    rs.close
    set rs = nothing
    baglanti.close
    set baglanti = nothing
    %>
    şu şekil denesene bi.
  • 06-09-2010, 15:40:36
    #4
    Web_Bilgini adlı üyeden alıntı: mesajı görüntüle
    Denedim ama sonuç değişmedi.

    Microsoft OLE DB Provider for ODBC Drivers error '80004005'
    
    [Microsoft][ODBC Microsoft Access 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.
    
    /counter2.asp, line 11
    - Database dosyanızın açılamadığını ve olası açılamama nedenlerininde, ya başka kullanıcı tarafından açık olduğu yada db'yi açmak için iznin olmayabilir diyor.

    Mdb dosyası şifrelimi?
  • 06-09-2010, 15:42:36
    #5
    Üyeliği durduruldu
    bLueStarr adlı üyeden alıntı: mesajı görüntüle
    Microsoft OLE DB Provider for ODBC Drivers error '80004005'
    
    [Microsoft][ODBC Microsoft Access 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.
    
    /counter2.asp, line 11
    - Database dosyanızın açılamadığını ve olası açılamama nedenlerininde, ya başka kullanıcı tarafından açık olduğu yada db'yi açmak için iznin olmayabilir diyor.

    Mdb dosyası şifrelimi?
    Üstad DB şifreli değil; izinler desen verdim. Başka kullanıcı da kullanmıyor. Bir yerde bir saçmalık var ama?
  • 06-09-2010, 16:02:20
    #6
    Üyeliği durduruldu
    Arkadaşlar yardımcı olacak başka bir arkadaş yok mu yada değişik bir fikri olan?
  • 06-09-2010, 16:06:35
    #7
    Web_Bilgini adlı üyeden alıntı: mesajı görüntüle
    Arkadaşlar yardımcı olacak başka bir arkadaş yok mu yada değişik bir fikri olan?

    http://support.microsoft.com/kb/306269

    sorun ile ilgili detaylı açıklama..
  • 07-09-2010, 11:09:28
    #8
    ScriptTimeOut veriyor olabilir database'i başka bi include sayfan yada başka bir dosya zorluyor olabilir onu kontrol et yada hatalı sayfayı tek başına çalıştırmayı dene...
  • 07-09-2010, 16:05:22
    #9
    bağlantıyı bu şekilde denermisin.

    db= "Provider=Microsoft.JET.OLEDB.4.0;Data Source=" & Server.MapPath("database/counter.mdb")
    Set Baglanti= Server.CreateObject("ADODB.Connection")
    Baglanti.Open db