Monthly Archives: October 2009

VS 2010 Beta 2 is out and MSDN new look

Visual Studio 2010 Beta 2 is out. Download the Express Edition here: http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx Visual Studio 2010 and .NET Framework 4 Beta 2 Walkthroughs: http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx MSDN website http://msdn.microsoft.com has a new look. Please share it out if you know something useful but not … Continue reading

Posted in Uncategorized | Leave a comment

Solving error: System.Data.SqlClient.SqlException: Login failed for user ‘IIS APPPOOLDefaultAppPool’ in IIS 7

1. Click Windows Start button -> Run… (http://www.howtogeek.com/howto/windows-vista/enable-run-command-on-windows-vista-start-menu/) 2. Type inetmgr 3. Click Application Pools 4. Click DefaultAppPool 5. Click Advance Setting… 6. Change the Identity to the login account that you would like to use. Resources: http://www.velocityreviews.com/forums/t107698-aspnet-gt-sql-server-impersonation-not-working.html

Posted in Uncategorized | Leave a comment

Solving the error “provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified” for Webpart, Membership and others aspnetdb related components in 64 bit Windows

In normal case some developers might got to change machine.config at C:WINDOWSMicrosoft.NETFrameworkv2.0.50727CONFIG to try to solve the abort error. Beware in a 64 bit machine there are 2 machine.config files, one in C:WINDOWSMicrosoft.NETFrameworkv2.0.50727CONFIG and another one in C:WINDOWSMicrosoft.NETFramework64v2.0.50727CONFIG. This might … Continue reading

Posted in Uncategorized | Leave a comment

Back to basic (Part 4): Delete from LINQ to Entities

This is continue from part 3 (Update from LINQ to Entities). This part is the last for the entire CRUD. The code will work for both .NET Framework 3.5 or 4.0. The complete code.     {       //Define an entity … Continue reading

Posted in .Net | Tagged , | Leave a comment