I'm using SharePoint 2010 and SQL 2012. On the aspx page that I designed in SharePoint Designer, I'm trying to setup a drop down list and connect it to SQL table. During wizard setup, I can see all the values and everything working (very simple small table, 2 columns with ID and description, less than 20 rows). When I try to preview the page in the browser, I get "This control does not allow connection strings with the following keywords: ‘Integrated Security’, ‘Trusted_Connection’” message.
I found the link that addressed the issue and tried the solution number 1 - see link below
However now I'm getting an error "Type 'System.Web.UI.WebControls.SqlDataSource' does not have a public property named 'AllowIntegratedSecurity'" - in design mode and error "Cannot
create an object of type
'System.Boolean' from its string representation '”True”' for the
'AllowIntegratedSecurity' property." in a browser. But that is what the link above suggests to do and my code is pretty much identical to the one listed in that link
<asp:SqlDataSource AllowIntegratedSecurity=”True” runat="server" ID="SqlJob" and so on...</asp:SqlDataSource>
The suggestion number 2 from that article won't work for us, as the company will not want to globally allow Integrated Security. Am I missing something? Are there other steps that I need to take to address it or any other solution?
The management doesn't want to hardcode the drop-down list in any way and opposed to use it as SharePoint list. Any ideas would be appreciated.
Alla Sanders