je n'arrive a ouvrir qu'une seule page et j'ai une big erreur queje vais analysé de suite
en voici un exemple
Version imprimable
je n'arrive a ouvrir qu'une seule page et j'ai une big erreur queje vais analysé de suite
en voici un exemple
elle est en piece jointe sinon voici:
je ne vois pas d'ou elle vient puisque dans web.config j'ai :Citation:
Erreur du serveur dans l'application '/WebApplication1'.
--------------------------------------------------------------------------------
Une erreur s'est produite lors de l'établissement d'une connexion au serveur. Lors de la connexion à SQL Server 2005, cet échec peut être dû au fait que les paramètres par défaut de SQL Server n'autorisent pas les connexions à distance. (provider: Fournisseur de canaux nommés, error: 40 - Impossible d'ouvrir une connexion à SQL Server)
Description : Une exception non gérée s'est produite au moment de l'exécution de la demande Web actuelle. Contrôlez la trace de la pile pour plus d'informations sur l'erreur et son origine dans le code.
Détails de l'exception: System.Data.SqlClient.SqlException: Une erreur s'est produite lors de l'établissement d'une connexion au serveur. Lors de la connexion à SQL Server 2005, cet échec peut être dû au fait que les paramètres par défaut de SQL Server n'autorisent pas les connexions à distance. (provider: Fournisseur de canaux nommés, error: 40 - Impossible d'ouvrir une connexion à SQL Server)
Erreur source:
Une exception non gérée s'est produite lors de l'exécution de la demande Web actuelle. Les informations relatives à l'origine et l'emplacement de l'exception peuvent être identifiées en utilisant la trace de la pile d'exception ci-dessous.
Trace de la pile:
[SqlException (0x80131904): Une erreur s'est produite lors de l'établissement d'une connexion au serveur. Lors de la connexion à SQL Server 2005, cet échec peut être dû au fait que les paramètres par défaut de SQL Server n'autorisent pas les connexions à distance. (provider: Fournisseur de canaux nommés, error: 40 - Impossible d'ouvrir une connexion à SQL Server)]
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +800131
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +186
System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject) +737554
System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +114
System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +421
System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +181
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +173
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +357
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +30
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +424
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +494
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.SqlClient.SqlConnection.Open() +111
System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +121
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +137
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +83
System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1770
System.Web.UI.WebControls.ListControl.OnDataBinding(EventArgs e) +92
System.Web.UI.WebControls.ListControl.PerformSelect() +31
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
System.Web.UI.WebControls.ListControl.OnPreRender(EventArgs e) +26
System.Web.UI.Control.PreRenderRecursiveInternal() +86
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041
et tous ces parametres sont bonCode:
1
2
3
4
5 <connectionStrings> <clear/> <add name="PRODUCTIONConnectionString1" connectionString="Data Source=ACTIV2;Initial Catalog=PRODUCTION;User ID=sa" providerName="System.Data.SqlClient"/> <add name="PRODUCTIONConnectionString" connectionString="Data Source=ACTIV2;Initial Catalog=PRODUCTION;User ID=sa;Password=DDDRDCDJ" providerName="System.Data.SqlClient"/> </connectionStrings>
je suis toujours sur le meme sujet
je réalise que j'ai certaines pages qui fonctionne(j'arrive à y accéder)!!
voici un exemple
Page14: N'arrive pas à me connecter
Page15:J'arrive a me connecterCode:
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133 <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Page14.aspx.vb" Inherits="WebApplication1.Page14" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Temps d'arrêt de la production</title> </head> <body> <form id="form1" runat="server"> <br /> <center><h2>Informations sur le Temps d'Arrêt</h2> </center> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:PRODUCTIONConnectionString %>" DeleteCommand="DELETE FROM [Temps_Arret] WHERE [Arret] = @Arret" InsertCommand="INSERT INTO [Temps_Arret] ([Identifiant_P], [Type_Arret], [Heure_Debut_Arret], [Temps_Arret], [Ligne]) VALUES (@Identifiant_P, @Type_Arret, @Heure_Debut_Arret, @Temps_Arret, @Ligne)" SelectCommand="SELECT [Arret], [Identifiant_P], [Type_Arret], [Heure_Debut_Arret], [Temps_Arret], [Ligne] FROM [Temps_Arret]" UpdateCommand="UPDATE [Temps_Arret] SET [Identifiant_P] = @Identifiant_P, [Type_Arret] = @Type_Arret, [Heure_Debut_Arret] = @Heure_Debut_Arret, [Temps_Arret] = @Temps_Arret, [Ligne] = @Ligne WHERE [Arret] = @Arret"> <DeleteParameters> <asp:Parameter Name="Arret" Type="Int32" /> </DeleteParameters> <UpdateParameters> <asp:Parameter Name="Identifiant_P" Type="Int32" /> <asp:Parameter Name="Type_Arret" Type="Int32" /> <asp:Parameter Name="Heure_Debut_Arret" Type="Decimal" /> <asp:Parameter Name="Temps_Arret" Type="Decimal" /> <asp:Parameter Name="Ligne" Type="String" /> <asp:Parameter Name="Arret" Type="Int32" /> </UpdateParameters> <InsertParameters> <asp:Parameter Name="Identifiant_P" Type="Int32" /> <asp:Parameter Name="Type_Arret" Type="Int32" /> <asp:Parameter Name="Heure_Debut_Arret" Type="Decimal" /> <asp:Parameter Name="Temps_Arret" Type="Decimal" /> <asp:Parameter Name="Ligne" Type="String" /> </InsertParameters> </asp:SqlDataSource> <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:PRODUCTIONConnectionString %>" SelectCommand="SELECT [Type_Arret], [Libelle_Arret] FROM [Famille_Arret]"> </asp:SqlDataSource> <asp:FormView ID="FormView1" runat="server" DataKeyNames="Arret" DataSourceID="SqlDataSource1" DefaultMode="Insert"> <EditItemTemplate> Ligne: <asp:TextBox ID="LigneTextBox" runat="server" Text='<%# Bind("Ligne") %>' /> <br /> Arret: <asp:Label ID="ArretLabel1" runat="server" Text='<%# Eval("Arret") %>' /> <br /> Identifiant_P: <asp:TextBox ID="Identifiant_PTextBox" runat="server" Text='<%# Bind("Identifiant_P") %>' /> <br /> Type_Arret: <asp:TextBox ID="Type_ArretTextBox" runat="server" Text='<%# Bind("Type_Arret") %>' /> <br /> Heure_Debut_Arret: <asp:TextBox ID="Heure_Debut_ArretTextBox" runat="server" Text='<%# Bind("Heure_Debut_Arret") %>' /> <br /> Temps_Arret: <asp:TextBox ID="Temps_ArretTextBox" runat="server" Text='<%# Bind("Temps_Arret") %>' /> <br /> <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update" Text="Mettre à jour" /> <asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Annuler" /> </EditItemTemplate> <InsertItemTemplate> <asp:Label ID="Label1" runat="server" Text="Ligne:" Width=150></asp:Label> <asp:TextBox ID="LigneTextBox" runat="server" Text='<%# Bind("Ligne") %>' BackColor="#999999" /> <br /> <asp:Label ID="Label2" runat="server" Text="Identifiant_P:" Width=150></asp:Label> <asp:TextBox ID="Identifiant_PTextBox" runat="server" Text='<%# Bind("Identifiant_P") %>' BackColor="#999999" /><br /> <asp:Label ID="Label3" runat="server" Text="Type Arrêt:" Width=150></asp:Label> <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource2" DataTextField="Libelle_Arret" DataValueField="Libelle_Arret" SelectedValue= '<%# Bind("Type_Arret") %>' > </asp:DropDownList> <br /> <asp:Label ID="Label4" runat="server" Text="Heure Début Arrêt:" Width=150></asp:Label> <asp:TextBox ID="Heure_Debut_ArretTextBox" runat="server" Text='<%# Bind("Heure_Debut_Arret") %>' /><br /> <asp:Label ID="Label5" runat="server" Text="Temps Arrêt:" Width=150></asp:Label> <asp:TextBox ID="Temps_ArretTextBox" runat="server" Text='<%# Bind("Temps_Arret") %>' /><br /> <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" CommandName="Insert" Text="Insérer" /> <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Annuler" /> </InsertItemTemplate> <ItemTemplate> Arret: <asp:Label ID="ArretLabel" runat="server" Text='<%# Eval("Arret") %>' /> <br /> Identifiant_P: <asp:Label ID="Identifiant_PLabel" runat="server" Text='<%# Bind("Identifiant_P") %>' /> <br /> Type_Arret: <asp:Label ID="Type_ArretLabel" runat="server" Text='<%# Bind("Type_Arret") %>' /> <br /> Heure_Debut_Arret: <asp:Label ID="Heure_Debut_ArretLabel" runat="server" Text='<%# Bind("Heure_Debut_Arret") %>' /> <br /> Temps_Arret: <asp:Label ID="Temps_ArretLabel" runat="server" Text='<%# Bind("Temps_Arret") %>' /> <br /> Ligne: <asp:Label ID="LigneLabel" runat="server" Text='<%# Bind("Ligne") %>' /> <br /> <asp:LinkButton ID="EditButton" runat="server" CausesValidation="False" CommandName="Edit" Text="Modifier" /> <asp:LinkButton ID="DeleteButton" runat="server" CausesValidation="False" CommandName="Delete" Text="Supprimer" /> <asp:LinkButton ID="NewButton" runat="server" CausesValidation="False" CommandName="New" Text="Nouveau" /> </ItemTemplate> </asp:FormView> <asp:Button ID="Button1" runat="server" Height="40px" Text="Retour" Width="111px" /> </form> </body> </html>
les ConnectionString pour moi sont les meme!!:cry: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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178 <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Page15.aspx.vb" Inherits="WebApplication1.Page15" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Auto Controle de la production des lignes AME</title> </head> <body> <form id="form1" runat="server"> <center><h2>Informations sur l'Auto Contrôle</h2></center> <p> </p> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:PRODUCTIONConnectionString %>" DeleteCommand="DELETE FROM [Auto_Controle] WHERE [Auto_controle] = @Auto_controle" InsertCommand="INSERT INTO [Auto_Controle] ([Identifiant_P], [Ligne], [Heures_Auto_controle], [Aspect_OK], [Aspect_NON_OK], [Diametre_interieur], [Poids_reel_au_metre],[Commentaires]) VALUES (@Identifiant_P, @Ligne, @Heures_Auto_controle, @Aspect_OK, @Aspect_NON_OK, @Diametre_interieur, @Poids_reel_au_metre, @Commentaires)" SelectCommand="SELECT [Auto_controle], [Identifiant_P], [Ligne], [Heures_Auto_controle], [Aspect_OK], [Aspect_NON_OK], [Diametre_interieur], [Poids_reel_au_metre], [Commentaires] FROM [Auto_Controle]" UpdateCommand="UPDATE [Auto_Controle] SET [Identifiant_P] = @Identifiant_P, [Ligne] = @Ligne, [Heures_Auto_controle] = @Heures_Auto_controle, [Aspect_OK] = @Aspect_OK, [Aspect_NON_OK] = @Aspect_NON_OK, [Diametre_interieur] = @Diametre_interieur, [Poids_reel_au_metre] = @Poids_reel_au_metre WHERE [Auto_controle] = @Auto_controle, [Commentaires]=@Commentaires"> <DeleteParameters> <asp:Parameter Name="Auto_controle" Type="Int32" /> </DeleteParameters> <UpdateParameters> <asp:Parameter Name="Identifiant_P" Type="Int32" /> <asp:Parameter Name="Ligne" Type="String" /> <asp:Parameter Name="Heures_Auto_controle" Type="Decimal" /> <asp:Parameter Name="Aspect_OK" Type="Boolean" /> <asp:Parameter Name="Aspect_NON_OK" Type="Boolean" /> <asp:Parameter Name="Diametre_interieur" Type="Int32" /> <asp:Parameter Name="Poids_reel_au_metre" Type="Int32" /> <asp:Parameter Name="Commentaires" Type="String" /> <asp:Parameter Name="Auto_controle" Type="Int32" /> </UpdateParameters> <InsertParameters> <asp:Parameter Name="Identifiant_P" Type="Int32" /> <asp:Parameter Name="Ligne" Type="String" /> <asp:Parameter Name="Heures_Auto_controle" Type="Decimal" /> <asp:Parameter Name="Aspect_OK" Type="Boolean" /> <asp:Parameter Name="Aspect_NON_OK" Type="Boolean" /> <asp:Parameter Name="Diametre_interieur" Type="Int32" /> <asp:Parameter Name="Poids_reel_au_metre" Type="Int32" /> <asp:Parameter Name="Commentaires" Type="String" /> </InsertParameters> </asp:SqlDataSource> <p> <asp:FormView ID="FormView1" runat="server" DataKeyNames="Auto_controle" DataSourceID="SqlDataSource1" DefaultMode="Insert"> <EditItemTemplate> Auto_controle: <asp:Label ID="Auto_controleLabel1" runat="server" Text='<%# Eval("Auto_controle") %>' /> <br /> Identifiant_P: <asp:TextBox ID="Identifiant_PTextBox" runat="server" Text='<%# Bind("Identifiant_P") %>' /> <br /> Ligne: <asp:TextBox ID="LigneTextBox" runat="server" Text='<%# Bind("Ligne") %>' /> <br /> Heures_Auto_controle: <asp:TextBox ID="Heures_Auto_controleTextBox" runat="server" Text='<%# Bind("Heures_Auto_controle") %>' /> <br /> Aspect_OK: <asp:CheckBox ID="Aspect_OKCheckBox" runat="server" Checked='<%# Bind("Aspect_OK") %>' /> <br /> Aspect_NON_OK: <asp:CheckBox ID="Aspect_NON_OKCheckBox" runat="server" Checked='<%# Bind("Aspect_NON_OK") %>' /> <br /> Diametre_interieur: <asp:TextBox ID="Diametre_interieurTextBox" runat="server" Text='<%# Bind("Diametre_interieur") %>' /> <br /> Poids_reel_au_metre: <asp:TextBox ID="Poids_reel_au_metreTextBox" runat="server" Text='<%# Bind("Poids_reel_au_metre") %>' /> <br /> Commentaires: <asp:TextBox ID="CommentairesTextBox" runat="server" Text='<%# Bind("Commentaires") %>' /> <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update" Text="Mettre à jour" /> <asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Annuler" /> </EditItemTemplate> <InsertItemTemplate> <asp:Label ID="Label1" runat="server" Text="Identifiant_P:" Width=353></asp:Label> <asp:TextBox ID="Identifiant_PTextBox" runat="server" Text='<%# Bind("Identifiant_P") %>' BackColor="#999999" Width=250/> <br /> <asp:Label ID="Label2" runat="server" Text="Ligne:" Width=353></asp:Label> <asp:TextBox ID="LigneTextBox" runat="server" Text='<%# Bind("Ligne") %>' BackColor="#999999" Width=250/> <br /> <asp:Label ID="Label3" runat="server" Text="Heure à laquelle vous effectuez l'Auto controle:" Width=353></asp:Label> <asp:TextBox ID="Heures_Auto_controleTextBox" runat="server" Text='<%# Bind("Heures_Auto_controle") %>' Width=250/> <br /> <asp:Label ID="Label4" runat="server" Text="Aspect_OK:" Width=353></asp:Label> <asp:CheckBox ID="Aspect_OKCheckBox" runat="server" Checked='<%# Bind("Aspect_OK") %>' Width=250/> <br /> <asp:Label ID="Label5" runat="server" Text="Aspect_NON_OK:" Width=353></asp:Label> <asp:CheckBox ID="Aspect_NON_OKCheckBox" runat="server" Checked='<%# Bind("Aspect_NON_OK") %>' Width=250/> <br /> <asp:Label ID="Label6" runat="server" Text="Diametre_interieur:" Width=353></asp:Label> <asp:TextBox ID="Diametre_interieurTextBox" runat="server" Text='<%# Bind("Diametre_interieur") %>' width=250/> <br /> <asp:Label ID="Label7" runat="server" Text="Poids_reel_au_metre:" Width=353></asp:Label> <asp:TextBox ID="Poids_reel_au_metreTextBox" runat="server" Text='<%# Bind("Poids_reel_au_metre") %>' width=250/> <br /> <asp:Label ID="CommentairesLabel8" runat="server" Text="Commentaires" Width=353></asp:Label> <asp:TextBox ID="CommentairesTextBox" runat="server" Text='<%# Bind("Commentaires") %>' Width=250 /> <br /> <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" CommandName="Insert" Text="Insérer" /> <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Annuler" /> </InsertItemTemplate> <ItemTemplate> Auto_controle: <asp:Label ID="Auto_controleLabel" runat="server" Text='<%# Eval("Auto_controle") %>' /> <br /> Identifiant_P: <asp:Label ID="Identifiant_PLabel" runat="server" Text='<%# Bind("Identifiant_P") %>' /> <br /> Ligne: <asp:Label ID="LigneLabel" runat="server" Text='<%# Bind("Ligne") %>' /> <br /> Heures_Auto_controle: <asp:Label ID="Heures_Auto_controleLabel" runat="server" Text='<%# Bind("Heures_Auto_controle") %>' /> <br /> Aspect_OK: <asp:CheckBox ID="Aspect_OKCheckBox" runat="server" Checked='<%# Bind("Aspect_OK") %>' Enabled="false" /> <br /> Aspect_NON_OK: <asp:CheckBox ID="Aspect_NON_OKCheckBox" runat="server" Checked='<%# Bind("Aspect_NON_OK") %>' Enabled="false" /> <br /> Diametre_interieur: <asp:Label ID="Diametre_interieurLabel" runat="server" Text='<%# Bind("Diametre_interieur") %>' /> <br /> Poids_reel_au_metre: <asp:Label ID="Poids_reel_au_metreLabel" runat="server" Text='<%# Bind("Poids_reel_au_metre") %>' /> <br /> <asp:LinkButton ID="EditButton" runat="server" CausesValidation="False" CommandName="Edit" Text="Modifier" /> <asp:LinkButton ID="DeleteButton" runat="server" CausesValidation="False" CommandName="Delete" Text="Supprimer" /> <asp:LinkButton ID="NewButton" runat="server" CausesValidation="False" CommandName="New" Text="Nouveau" /> </ItemTemplate> </asp:FormView> <asp:Button ID="Button1" runat="server" Height="40px" Text="Retour" Width="111px" /> </p> </form> </body> </html>
quelqu'un a til une idée car la je tourne en rond!!!
Regardes peut-être dans le code-behind si tu n'aurais pas des fonctions qui font appel à une base de données sans utiliser les connectionstrings que tu as déclarées ?
Bon j'ai peut etre trouver l'erreur
j'ai remarqué que si j'utilisé deux SQLDataSource dans une meme page avec pour l'une dropdownlist ou un gridview est bien j'ai l'erreur
la gros probleme c'est que j'ai besoin de cette liste deroulante!!!
comment faire??:cry:
bon j'ai surement trouvé mon erreur
Visual studio 2008 n'aime pas SQL server 2000 en connection directe ou ODBC
j'ai par ailleurs un autre SQL celui de SQL server 2005 est la avec une liaison ODBC plus d'erreur, il m'affiche mes pages avec des dropdownlist
Mais il reste quand meme un probleme, c'est que je dois travailler sur SQL 2000 et non SQL 2005 (Obligation de la boite)
j'ai vu peut etre que je devais telecharger SP4 de SQL 2000
Est vrai?
Merci d'avance
Et bien aprés moulte recherche et prise de tete
et bien j'ai trouvé la solution
il fallait donc mettre à jour SQL server avec le pack SP4
et oui tout con mais fallait le savoir
donc j'espere que ca pourra aider quelqu'un qui est ou qui saura dans la galére
Donc merci à moi:king: