Salut a tous,
J'ai une page Aspx a partir de laquel je me connecte a un server sql.
En mode design tout fonctionne je me connecte a ma base SQL , mais quand je veux tester la page aspx je recoit cette ErreurJe vois tres bien d'ou vien l'erreur mais je ne peux pas simplement enlever l'un de ces parametre si non il me sera impossible de me connecter a ma base de données.This control does not allow connection strings with the following keywords: ‘Integrated Security’, ‘Trusted_Connection’.
Voici mon code
Quelqu'un pourrait-il me donner une piste ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 <asp:DropDownList ID="DropDownList5" runat="server" AutoPostBack="True" DataValueField="Fachgeschaft" DataTextField="Fachgeschaft" DataSourceID="Ds_test"> </asp:DropDownList> <asp:SqlDataSource runat="server" ID="Ds_test" ProviderName="System.Data.OleDb" ConnectionString="Provider=SQLOLEDB;Data Source=ANI-SQL003\REPORTING;Integrated Security=SSPI;Initial Catalog=ReportingZugriff" SelectCommand="SELECT DISTINCT Fachgeschaft FROM Ampel.V_FachG_hsitorie order by Fachgeschaft"> </asp:SqlDataSource>
Merci
Partager