Question: What could cause the following error for the very first time when the exact same code (that produces this error) has been working *perfectly* all day today?

> 
> 
> 
> ---
> 
> 
> --------------------------- A network-related or instance-specific error occurred while establishing a connection to SQL Server. The
>  server was not found or was not accessible. Verify that the instance
>  name is correct and that SQL Server is configured to allow remote
>  connections. (provider: Named Pipes Provider, error: 40 - Could not
>  open a connection to SQL Server)
> 
> 
> --------------------------- OK
> ------------------------------
> 
> 
> 

The code:

```
this.Cursor = Cursors.WaitCursor;
            try
            {
                // Insert into database
                sqlconnection = new SqlConnection(@"Data Source=" + Properties.Settings.Default.DBHost + ";Initial Catalog=BLAHBLAH;Persist Security Info=True;User ID=" + Properties.Settings.Default.DBUserName + ";Password=" + Properties.Settings.Default.DBPassword + ";");

                sqlconnection.Open();

                SqlCommand cmd = new SqlCommand();
                cmd.Connection = sqlconnection;

                int count = 0;

                foreach (var item in files)
                {
                    cmd.CommandText = @"insert into Images (Name, Games) values ('" + item.Value + "', '" + games + "')";
                    cmd.ExecuteNonQuery();

                    count++;
                }
            }
            catch(Exception exception)
            {
                MessageBox.Show(exception.Message);
            }

            sqlconnection.Close();

            this.Cursor = Cursors.Default;

```

Answer: 
The system selects the strings of those resources that match the locale on your phone. If you are using in the application default locale, check that the phone language was English (Unated States). So you need to add localization to your application or remove unnecessary libraries ...
Have you try to change the value of `android:label` for application tag in AndroidManifest.xml? Like this (from app\_name to another\_app\_name):

```
<application
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/another_app_name" 
    android:theme="@style/AppTheme" >

    .....

</application>

```