February 5, 2008

WORKAROUND: The value for the property "Settings Property Name" is not valid for the current language.

Symptoms: You are setting up your DBML file in Visual Studio 2008 so that you can use LINQ to SQL, and when you try to compile, you get the following error message:
The value for the property "Settings Property Name" is not valid for the current language.
Cause:You are using a named connection string and the key for that connection string has a period in it, like "Sql.Finance.ReadWrite."

Solution: Rename your connection string key to get rid of the periods, and nag Microsoft to fix this issue.

No comments: