destroyhead
Programmer
Hi,
When I am trying to use the new SQL Data Source component with a DataList, it works perfectly on localhost but when I try to see the page on the server I have the error :
"The connection name 'myconnectionname' was not found in the applications configuration or the connection string is empty. "
By using the old fashion way ( Datasource/Databind in the code), it's working.
Many thanks for your help.

When I am trying to use the new SQL Data Source component with a DataList, it works perfectly on localhost but when I try to see the page on the server I have the error :
"The connection name 'myconnectionname' was not found in the applications configuration or the connection string is empty. "
By using the old fashion way ( Datasource/Databind in the code), it's working.
Many thanks for your help.