Login failed for user ‘IIS APPPOOL…’

IIS Application pool can connect to SQL server using identity 1) local system or 2)network service

1)connect as local system

Open Application pool -> Advanced settings -> Process Model -> Identity, set to “LocalSystem”

local system

 

2)connect as web service

This post will help you set up the Network Service in SQL server.

http://devilswork.wordpress.com/2009/01/28/login-failed-for-user-networkservice/

Login Failed For user NetWorkService

Posted by DotnetRuler

 

 

 

Building Windows Phone 7 applications Using VS 2010

YouTube videos by bobtabor

if (NavigationContext.QueryString.TryGetValue("id", out  id))
{
     textBlock1.Text = String.Format("Value: {0}", id);
}

protected override void OnNavigatedFrom(System.Windows.Navigation.NavigationEventArgs e)
{
    phoneAppService.State["myValue"] = textBox1.Text;
    base.OnNavigatedFrom(e);
}

protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
{
    object someObject;
    if (phoneAppService.State.ContainKey("myValue"))
    {
       if (phoneAppService.State.TryGetValue("myValue", out someObject))
        {
            textBox1.Text = someObject.ToString();
        }
    }
    base.OnNavigatedTo(e);
}
<Grid ...>
    <ListBox Height="", Width=...>
        <ListBox.ItemTemplate>
            <DataTemplate>
                <HyperLinkButton Name="fileNameLinkButton" Content="{Binging}" Click="fileNameLinkButton_Click"/>
            </DataTemplate>
        </ListBox.ItemTemplate>
    </ListBox>

    <Button ...>
    </Button>
</Grid>
private void fileNameLinkButton_Click(object sender, RoutedEventArgs e)
{
    HyperlinkButton clickedLink = (HyperlinkButton)sender;
    string uri = String.Format("/IsolatedStorageListing;component/SecondPage.xaml?id={0}", clickedLink.Content);
    NavigationService.Navigate(new Uri(uri, UriKind.Relative));
}

Data for Windows Phone

Data for Windows Phone

http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff402541(v=vs.105).aspx

IsolatedStorageFile Class (Demo for local folder)

http://msdn.microsoft.com/en-us/library/windowsphone/develop/system.io.isolatedstorage.isolatedstoragefile(v=vs.105).aspx

IsolatedStorageSettings Class

http://msdn.microsoft.com/en-us/library/windowsphone/develop/system.io.isolatedstorage.isolatedstoragesettings(v=vs.105).aspx

How to create a settings page for Windows Phone (Demo for config file)

http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff769510(v=vs.105).aspx

Reading xml fast

by Anders

http://csharptutorial.blogspot.com/2006/10/reading-xml-fast.html

Windows Phone Tutorial:ListBox on Windows Phone 7

http://3water.wordpress.com/2010/07/25/listbox-on-wp7/