IE Mozilla, problème lecture base Access
Bonjour, voici mon problème :
sur un site en https ouvert à 14000 utilisateurs :certains utilisateur lors de l'envoi de requete se retrouve avec une datatable vide ( ce pb arrive le plus souvent sur mozilla (1/1000) une ou deux fois sur ie6-7.
Base access 2003 avec mot de passe et codé par utilitaire integré à access, datatable mis en cache
Les cookies sont activés ainsi que javascript.
Extrait de code:
Webconfig
Code:
1 2
|
<add name="statmut" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source="|DataDirectory|\****.mdb";Persist Security Info=True;Jet OLEDB:Database Password=******" providerName="System.Data.OleDb"/> |
Mise en Cache:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
protected sub LoadDataSet3()
Application.Lock()
ds2.Clear()
GridView1.DataSource = Nothing
yy = CODEA
connection.ConnectionString = ConfigurationManager.ConnectionStrings("statmut").ConnectionString
connection.Open()
Dim commandText As String = "SELECT * FROM [client] WHERE [REF]=@REF"
Dim cmd As OleDbCommand = New OleDbCommand(commandText, connection)
cmd.Parameters.Add("@REF", OleDbType.Integer).Value = yy
AdapTContact5 = New OleDbDataAdapter(cmd)
AdapTContact5.Fill(ds2, "st111")
Matable = ds2.Tables("st111")
connection.Close()
connection.Dispose()
ajoute.Value = "paticulierdata" & cherchea.Value
Cache.Add(ajoute.Value, Matable, Nothing, Now.AddMinutes(35), TimeSpan.Zero, CacheItemPriority.AboveNormal, onRemove)
Application.UnLock() |
APPEL DE LA BASE APReS MISE EN CACHE
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| Dim i, i2 As Integer
Dim rebst2 As Single
Dim customers4 As New DataTable
Dim viewx4, dataview4 As New DataView
Dim simpleProjection4 As New DataTable
If Cache("paticulierdata" & cherchea.Value) Is Nothing Then Call LoadDataSet3()
customers4 = Cache("paticulierdata" & cherchea.Value)
viewx4 = customers4.DefaultView
simpleProjection4 = viewx4.ToTable("ProjectedCustomers", True, "Numéro", "Pa", "Type", "Mode")
dataview4 = New DataView(simpleProjection4)
dataview4.RowFilter = "not [Type]='" & "b" & "'" & "and not [Type]='" & "x" & "'" & "and not [Type]='" & "y" & "'"
GridView2.DataSource = dataview4
GridView2.DataBind() |
Je ne trouve pas d'erreur potentielle et n'ai jamais eu le problème!
Auriez vous une idée?
Merci d'avance