hi there
i deployed my custom.aspx pagein layoutsfolder andtryied to acces the
database and i get that error.
i added the connectionsting details in web.config at layouts
folder. /layouts/web.config and hsyt above system.web and belwo
configurations tag.

<connectionStrings>
<add name="pubs" connectionString="Data Source=JANU\SQL;Initial
Catalog=pubs;Integrated Security=True"
providerName="System.Data.SqlClient" />
</connectionStrings>

I get this error This control does not allow connection strings with
the following keywords: 'Integrated Security', 'Trusted_Connection'.

any pointer is greately appreciated .
thanks
sunil

Re: This control does not allow connection strings with the following keywords: 'Integrated Security', 'Trusted_Connection'. by wss101

wss101
Thu Aug 02 23:55:23 CDT 2007


i found the soultion thanks
in case folwo this article , i did not undernd why to delete this ,
but ondeleting it wortked,
http://groups.google.com/group/microsoft.public.sharepoint.windowsservices/browse_thread/thread/a0175742a0623885/737c55b7dc0fd197?lnk=gst&q=This+control+does+not+allow+connection+strings+with+the+following+&rnum=3&hl=en#737c55b7dc0fd197

On Aug 3, 12:43 am, wss101 <prabha.su...@gmail.com> wrote:
> hi there
> i deployed my custom.aspx pagein layoutsfolder andtryied to acces the
> database and i get that error.
> i added the connectionsting details in web.config at layouts
> folder. /layouts/web.config and hsyt above system.web and belwo
> configurations tag.
>
> <connectionStrings>
> <add name="pubs" connectionString="Data Source=JANU\SQL;Initial
> Catalog=pubs;Integrated Security=True"
> providerName="System.Data.SqlClient" />
> </connectionStrings>
>
> I get this error Thiscontroldoesnotallowconnectionstringswith
> thefollowingkeywords: 'Integrated Security', 'Trusted_Connection'.
>
> any pointer is greately appreciated .
> thanks
> sunil



Re: This control does not allow connection strings with the following by Mike

Mike
Fri Aug 03 02:40:46 CDT 2007

Please in any case in future post programming/code questions to the
specialist newsgroup for them (for all SP products)

micrososft.public.sharepoint.development_and_programming

That's where the programming experts are and that's where there are lots
of useful existing threads on programming issues.


Mike Walsh
WSS FAQ http://www.wssfaq.com
no questions by e-mail please



wss101 wrote:
> i found the soultion thanks
> in case folwo this article , i did not undernd why to delete this ,
> but ondeleting it wortked,
> http://groups.google.com/group/microsoft.public.sharepoint.windowsservices/browse_thread/thread/a0175742a0623885/737c55b7dc0fd197?lnk=gst&q=This+control+does+not+allow+connection+strings+with+the+following+&rnum=3&hl=en#737c55b7dc0fd197
>
> On Aug 3, 12:43 am, wss101 <prabha.su...@gmail.com> wrote:
>> hi there
>> i deployed my custom.aspx pagein layoutsfolder andtryied to acces the
>> database and i get that error.
>> i added the connectionsting details in web.config at layouts
>> folder. /layouts/web.config and hsyt above system.web and belwo
>> configurations tag.
>>
>> <connectionStrings>
>> <add name="pubs" connectionString="Data Source=JANU\SQL;Initial
>> Catalog=pubs;Integrated Security=True"
>> providerName="System.Data.SqlClient" />
>> </connectionStrings>
>>
>> I get this error Thiscontroldoesnotallowconnectionstringswith
>> thefollowingkeywords: 'Integrated Security', 'Trusted_Connection'.
>>
>> any pointer is greately appreciated .
>> thanks
>> sunil
>
>