<feed version="0.3" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns="http://purl.org/atom/ns#" xml:lang="en-US"><title>Alex Chang</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/alexchang/default.aspx" /><tagline type="text/html">A .NET Blog</tagline><id>http://dotnetjunkies.com/WebLog/alexchang/default.aspx</id><author><url>http://dotnetjunkies.com/WebLog/alexchang/default.aspx</url></author><generator url="http://communityserver.org" version="1.0.1.50214">Community Server</generator><modified>2004-03-19T09:45:00Z</modified><entry><title>A fix for when Visual Studio .NET is slow in starting up/opening</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/alexchang/archive/2004/05/04/12730.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:12730</id><created>2004-05-04T06:18:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;&lt;FONT face=Arial color=#000080 size=2&gt;One of our developers had been suffering from extremely slow load/start-up time with the Visual Studio .NET 2003 on his developement machine (it took more than 1 minute to get through the splash screen). He tried uninstalling and re-installing VS.NET, but the problem still persisted. So today, I set out to find a solution. After about an hour of googling and searching on the web, forums, blogs, and newsgroups (it seems that there aren't that many mentionings of this issue out there), I finally came across a posting that lead us to the fix: &lt;BR&gt;&lt;/FONT&gt;&lt;A href="http://dotnetjunkies.com/Newsgroups/microsoft.public.vsnet.ide/2004/3/29/97325.aspx"&gt;&lt;FONT face=Arial color=#000080 size=2&gt;http://dotnetjunkies.com/Newsgroups/microsoft.public.vsnet.ide/2004/3/29/97325.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#000080 size=2&gt;What caught my eye was that, as mentioned in this newsgroup posting, we also noticed that the slow start-up problem only occurred when the developer's workstation was connected to the network. Visual Studio.NET would load without delay when we disconnected the network cable from his machine. The newsgroup posting pointed out that this is an issue with the MRU list (Most Recently Used list). We think that our developer may have tried to access/open a solution or a project across the network some time in the past. So Visual Studio.NET must've cached the file references in its Most Recently Used list. So everytime the Visual Studio.NET launched, it may have been trying to find those files on the network (which may no longer have existed). The recommended fix was to set the number of the display items in most recently used list to 1 (1 is the minimum number, default is 4 I believe) from the Tools-&amp;gt;Option menu to clear the MRU list.&amp;nbsp; However, after setting the MRU list to only display one item, the problem still remained! After further searching on "Visual Studio .NET MRU list", I found one of the &lt;A href="http://www.gotdotnet.com/team/ide/"&gt;Developer PowerToys&lt;/A&gt; (&lt;/FONT&gt;&lt;A href="http://www.gotdotnet.com/team/ide/"&gt;&lt;FONT face=Arial color=#000080 size=2&gt;http://www.gotdotnet.com/team/ide/&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial color=#000080 size=2&gt;) called &lt;A href="http://www.gotdotnet.com/community/workspaces/viewuploads.aspx?id=b9330ea5-096d-45b7-8a5b-17450d7a0d5a"&gt;VSTweak&lt;/A&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=#000080 size=2&gt;.&amp;nbsp; This nifty tool has a MRU Lists Manager that allows you to clear recent files and projects.&amp;nbsp; After clearing out the MRU lists, the Visual Studio .NET launched in a heartbeat without any delay.&amp;nbsp; Woo hoo!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#000080 size=2&gt;Hope this is of help for some developers out there.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=12730" width="1" height="1"&gt;</content><slash:comments>3</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/alexchang/commentrss.aspx?PostID=12730</wfw:commentRss></entry><entry><title>How to use Trusted Connection when SQL server and web Server are on two separate machines</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/alexchang/archive/2004/04/15/11495.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:11495</id><created>2004-04-15T09:47:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;&lt;FONT face=Arial color=#000080 size=2&gt;Recently, in our consideration to make the production server environment more secure, one of the things we looked into was securing the database connection information between the web server and SQL server.&amp;nbsp; I received much help from attending DevDays 2004 and also from doing some research on the Internet on this matter.&amp;nbsp; There are some options when it comes to securing the connection string between a database server and a web server.&amp;nbsp; I'll just list a few here:&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;FONT face=Arial color=#000080 size=2&gt;Use a trusted connection with integrated authentication.&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Arial color=#000080 size=2&gt;Use the Aspnet_setreg.exe utility to encrypt the connection string and store it in the registry.&amp;nbsp; You can refer to these two articles for detailed instructions on how to do this:&amp;nbsp; &lt;/FONT&gt;&lt;A href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;329290"&gt;&lt;FONT face=Arial color=#000080 size=2&gt;http://support.microsoft.com/default.aspx?scid=kb;EN-US;329290&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial color=#000080 size=2&gt; and &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT11.asp"&gt;&lt;FONT face=Arial color=#000080 size=2&gt;&lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT11.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT11.asp&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial color=#000080 size=2&gt;&lt;/FONT&gt;&lt;/A&gt; 
&lt;LI&gt;&lt;FONT face=Arial color=#000080 size=2&gt;Using DPAPI (Data Protection application programming interface) to secure the connection string.&amp;nbsp; You can refer to these articles: &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT08.asp"&gt;&lt;FONT face=Arial color=#000080 size=2&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT08.asp&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial color=#000080 size=2&gt; and &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsecure/html/windataprotection-dpapi.asp"&gt;&lt;FONT face=Arial color=#000080 size=2&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsecure/html/windataprotection-dpapi.asp&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial color=#000080 size=2&gt; and &lt;/FONT&gt;&lt;A href="http://www.codeproject.com/system/protected_data.asp"&gt;&lt;FONT face=Arial color=#000080 size=2&gt;http://www.codeproject.com/system/protected_data.asp&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial color=#000080 size=2&gt; &lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;FONT face=Arial color=#000080 size=2&gt;In this blog, I'll focus more on option 1 - using a trusted connection.&amp;nbsp; You see, it's very straightforward to configure a trusted connection when the SQL server and web server are on the same machine.&amp;nbsp; For Windows 2000 Server or XP Pro machines, you just need to make sure the local &amp;#8220;ASPNET&amp;#8221; account (under which ASP.NET application runs) has appropriate access to the database that your application will be using.&amp;nbsp; For Windows Server 2003, you need to make sure that the &amp;#8220;Network Services&amp;#8221; account (or &amp;#8220;IIS_WPG&amp;#8221; group &amp;#8211; of which the &amp;#8220;Network Services&amp;#8221; is a member) has the appropriate access to the database.&amp;nbsp; You can follow a step-by-step procedure to configure this here: &lt;/FONT&gt;&lt;A href="http://www.asp.net/faq/AspNetAndIIS6.aspx#4"&gt;&lt;FONT face=Arial color=#000080 size=2&gt;http://www.asp.net/faq/AspNetAndIIS6.aspx#4&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial color=#000080 size=2&gt; (under the section titled &amp;#8220;Supporting integrated authentication with SQL Server&amp;#8221;).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#000080 size=2&gt;The problem arises, however, when the database server and the web server are on two separate machines (assuming they are on the same network).&amp;nbsp; The issue lies in the fact that the local accounts/credentials (&amp;#8220;ASPNET&amp;#8221; in Windows 2000 Server and Windows XP Pro., &amp;#8220;Network Services&amp;#8221; in Windows Server 2003) under which ASP.NET worker process runs are local accounts (local to the web server).&amp;nbsp; Therefore the database server on a separate machine will not be able to see/recognize these accounts.&amp;nbsp; So if you try using the same steps mentioned above to configure a trusted connection between the web server and the SQL server, you will most likely see an error message such as &amp;#8220;Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.&amp;#8221; , when you try to launch your ASP.NET application.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#000080 size=2&gt;One solution is to set up a domain account with minimal access (the same level of access as the local &amp;#8220;ASPNET&amp;#8221; or &amp;#8220;Network Services&amp;#8221; account on the web server) and grant this account the appropriate access to the database on the SQL server that your web application will be accessing.&amp;nbsp; Then, you can use impersonation to make your ASP.NET application run under the domain account that you just created.&amp;nbsp; (Does anyone know of a way to set up the trusted connection without impersonation?&amp;nbsp; I would very much like to know how we can avoid using impersonation and any overhead associated with it.&amp;nbsp; Some postings mentioned making the local accounts &amp;#8220;ASPNET&amp;#8221; or &amp;#8220;Network Services&amp;#8221; on both servers to have the same password, but I don&amp;#8217;t think this is a good solution).&amp;nbsp; Here are some tips/steps on using impersonation for trusted connection with a domain account:&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;FONT face=Arial color=#000080 size=2&gt;When creating the domain account, make sure it has the proper level of access to run ASP.NET applications.&amp;nbsp; You can refer to &lt;A href="http://www.microsoft.com/resources/documentation/WindowsServ/2003/enterprise/proddocs/en-us/aaconaspnetrequiredaccesscontrollistsacls.asp?frame=true"&gt;this page&lt;/A&gt; for a list of directories and the permissions that this domain account must have to them.&amp;nbsp; For security purposes, don't give this domain account any more permission than you have to.&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Arial color=#000080 size=2&gt;Assign the domain account the necessary permission to the database (you can still follow the instructions at &lt;/FONT&gt;&lt;A href="http://www.asp.net/faq/AspNetAndIIS6.aspx#4"&gt;&lt;FONT face=Arial color=#000080 size=2&gt;http://www.asp.net/faq/AspNetAndIIS6.aspx#4&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial color=#000080 size=2&gt;.&amp;nbsp; Just make sure you choose the domain account that you just created).&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Arial color=#000080 size=2&gt;In order to turn on impersonation, there are two options: &lt;/FONT&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face=Arial color=#000080 size=2&gt;In the web.config file of your application, add the following line: &amp;lt;identity impersonate="true" userName="domain\user" password="password" /&amp;gt;&amp;nbsp; (put it somewhere between the &amp;lt;system.web&amp;gt;&amp;lt;/system.web&amp;gt; tags)&amp;nbsp; However this really defeats the purpose of using the trusted connection to avoid having to include the credential and the password in the connection string.&amp;nbsp; If you use this method, you will still need to encrypt the credential and the password in order to keep this information safe.&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Arial color=#000080 size=2&gt;(This is the better method in my opinion)&amp;nbsp; In the web.config file, add the following: &amp;lt;identity impersonate="true" /&amp;gt; (this time without the user name and password).&amp;nbsp; Then, from IIS Manager, right click on the virtual directory assigned to your application and select &amp;#8220;Properties&amp;#8221;.&amp;nbsp; Click on the &amp;#8220;Directory Security&amp;#8221; tab, then under &amp;#8220;Anonymous access and authentication control&amp;#8221; click &amp;#8220;Edit&amp;#8221;.&amp;nbsp; If you are going to allow anonymous access to the application (not requiring users to login with windows authentication each time they access this web application), make sure &amp;#8220;Anonymous access&amp;#8221; checkbox IS checked.&amp;nbsp; Then uncheck &amp;#8220;Allow IIS to control password&amp;#8221;.&amp;nbsp; In the &amp;#8220;User Name&amp;#8221; field, type in (or you can browse to) the domain account (domain\user) and type in the password for the domain account in the &amp;#8220;Password&amp;#8221; field (By default IIS uses IUSR_machinename for the anonymous account, you can refer to this page if you would like to find its default password in case you want to change it back later for some reason) .&amp;nbsp; Then under &amp;#8220;Authenticated Access&amp;#8221;, make sure NONE of the boxes are checked.&amp;nbsp; Press &amp;#8220;OK&amp;#8221; and &amp;#8220;OK&amp;#8221; to save the settings and exit IIS.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;&lt;FONT face=Arial color=#000080 size=2&gt;Then in web.config you can use either one of these connection strings:&lt;/FONT&gt; 
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face=Arial color=#000080 size=2&gt;"data source=yourservername;initial catalog=databasename;Integrated Security=SSPI"&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Arial color=#000080 size=2&gt;"server=yourservername; database=databasename;Trusted_Connection=true"&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;FONT face=Arial color=#000080 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT face=Arial color=#000080 size=2&gt;Hopefully, by using the tips and steps above, you should be able to get the trusted connection to work between the SQL server and the web server.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#000080 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT face=Arial color=#000080 size=2&gt;I hope this long-winded blog will be helpful to some.&amp;nbsp; I don&amp;#8217;t claim to be an expert in this, so as I mentioned earlier, if anyone has a better solution for configuring the trusted connection, I am all ears.&amp;nbsp; I really would like to know if there is anyway to use trusted connection without impersonation.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#000080 size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT face=Arial color=#000080 size=2&gt;Here are also some good references/discussions related to this topic:&lt;/FONT&gt;&lt;BR&gt;&lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskaccessingsqlserverusingmappedwindowsdomainuser.asp"&gt;&lt;FONT face=Arial color=#000080 size=2&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskaccessingsqlserverusingmappedwindowsdomainuser.asp&lt;/FONT&gt;&lt;/A&gt; &lt;A href="http://weblogs.asp.net/cschittko/archive/2004/03/05/85035.aspx"&gt;&lt;FONT face=Arial color=#000080 size=2&gt;http://weblogs.asp.net/cschittko/archive/2004/03/05/85035.aspx&lt;/FONT&gt;&lt;/A&gt; &lt;A href="http://support.microsoft.com/default.aspx?kbid=316989"&gt;&lt;FONT face=Arial color=#000080 size=2&gt;http://support.microsoft.com/default.aspx?kbid=316989&lt;/FONT&gt;&lt;/A&gt; &lt;A href="http://dotnetjunkies.com/Newsgroups/microsoft.public.dotnet.framework.aspnet.security/2004/3/22/75451.aspx"&gt;&lt;FONT face=Arial color=#000080 size=2&gt;http://dotnetjunkies.com/Newsgroups/microsoft.public.dotnet.framework.aspnet.security/2004/3/22/75451.aspx&lt;/FONT&gt;&lt;/A&gt; &lt;A href="http://dotnetjunkies.com/Newsgroups/microsoft.public.dotnet.framework.aspnet.security/2004/3/22/74067.aspx"&gt;&lt;FONT face=Arial color=#000080 size=2&gt;http://dotnetjunkies.com/Newsgroups/microsoft.public.dotnet.framework.aspnet.security/2004/3/22/74067.aspx&lt;/FONT&gt;&lt;/A&gt; &lt;A href="http://www.winnetmag.com/Article/ArticleID/9002/9002.html"&gt;&lt;FONT face=Arial color=#000080 size=2&gt;http://www.winnetmag.com/Article/ArticleID/9002/9002.html&lt;/FONT&gt;&lt;/A&gt; &lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetAP05.asp"&gt;&lt;FONT face=Arial color=#000080 size=2&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetAP05.asp&lt;/FONT&gt;&lt;/A&gt; &lt;A href="http://www.kamath.com/tutorials/tut002_iisanon.asp"&gt;&lt;FONT face=Arial color=#000080 size=2&gt;http://www.kamath.com/tutorials/tut002_iisanon.asp&lt;/FONT&gt;&lt;/A&gt; &lt;A href="http://www.microsoft.com/technet/community/columns/insider/iisi0102.mspx#XSLTsection124121120120"&gt;&lt;FONT face=Arial color=#000080 size=2&gt;http://www.microsoft.com/technet/community/columns/insider/iisi0102.mspx#XSLTsection124121120120&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#000080 size=2&gt;&lt;STRONG&gt;Update:&lt;/STRONG&gt; Frans Bouma &lt;A href="http://weblogs.asp.net/achang/archive/2004/04/15/113866.aspx#113915"&gt;mentioned&lt;/A&gt; that running web server on a domain may not be according to Microsoft's best practice for security.&amp;nbsp; Could someone confirm this?&amp;nbsp; Is there a better way then to configure a trusted connection when IIS and SQL server are on separate machines without the use of impersonation?&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=11495" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/alexchang/commentrss.aspx?PostID=11495</wfw:commentRss></entry><entry><title>Installing Sharepoint Services (WSS) on a sub-domain - Part II</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/alexchang/archive/2004/03/22/9758.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:9758</id><created>2004-03-22T23:57:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;Continuing from&amp;nbsp;my last &lt;A href="http://dotnetjunkies.com/WebLog/AlexChang/archive/2004/03/22/9747.aspx"&gt;blog&lt;/A&gt; (It should've really been titled &amp;#8220;Installing Sharepoint Services on a sub-domain&amp;#8221; to avoid any confusion that this may be a solution to a Project Server 2003 installation problem.&amp;nbsp; So I am renaming the title here.)&amp;nbsp; In part I of this blog, I posted some steps that we went through in preparing our DNS server and IIS for setting up a subdomain for the Windows Sharepoint Services.&amp;nbsp; So here are the rest of the steps&amp;nbsp;for the actual installation of the WSS with the DNS Server and IIS settings that we configured in &lt;A href="http://dotnetjunkies.com/WebLog/AlexChang/archive/2004/03/22/9747.aspx"&gt;Part I&lt;/A&gt;:&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;Click on the WSS installation File (STSV2.EXE).&amp;nbsp; You can download it from &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=E084D5CB-1161-46F2-A363-8E0C2250D990&amp;amp;displaylang=en"&gt;here&lt;/A&gt;.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;Read and check "I accept the terms in the License Agreement".&amp;nbsp; If agree, click "Next"&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;Choose "Server Farm" installation, click "Next".&amp;nbsp; At the next window, Click "Install"&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;After&amp;nbsp;the installer finishes, you should see the IIS restarting&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;After IIS has restarted, the "Configure Administratrive Virtual Server" window will come up.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;At the Application Pool section, Select "Use an existing application pool", then at the dropdown list, select "StsAdminAppPool(NT AUTHORITY\NETWORK SERVICE)" (This application pool was created during the installation).&amp;nbsp; At the bottom of the page, click "OK".&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;When you see the "Application Pool Changed" page, open a command prompt window and&amp;nbsp;enter "iisreset".&amp;nbsp; After IIS has been restarted, click "OK" on this page.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;At the "Set Configuration Database Server" page, under "Configuration Database" section, provide the name for the database server, and for "SQL Server database name:", put WSSDB.&amp;nbsp; check "Use Windows Authentication" (You can use a SQL connection user name and password if you can't use the trusted connection for the SQL server.)&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;Make sure "Connect to existing Configuration" is un-checked.&amp;nbsp; &lt;/FONT&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;Under the "Active Directory Account Creation" page, select "Users already have domain accounts, Do not create active directory accounts".&amp;nbsp; click "Ok"&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;You should now see the "Central Administration" page, Under "Virtual Server Configuration", click on Extend or upgrade virtual server.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;At the "Virtual Server List" page, click on the one that you created for sharepoint services (e.g. &lt;/FONT&gt;&lt;A href="http://sharepoint.mydomain.com/"&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;http://sharepoint.mydomain.com&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana color=#000080 size=2&gt; with the name "Windows Sharepoint Services")&amp;nbsp; If you don't see your virtual server listed, click on the "complete list" at the top.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;At the Extend Virtual Server page, under Provisioning Options, click on "Extend and create a content database")&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;At the "Extend and Create Content Database" page, under the "Application Pool" section, click "Create a new application pool".&amp;nbsp; Under "Application pool name:" type in "Sharepoint".&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;Under "Select a security account for this application", select "Predefined" and select "Network Service" in the dropdown list.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;Under the "Site Owner" section, provide an email of the site owner at the "E-mail" field. (e.g. &lt;/FONT&gt;&lt;A href="mailto:sharepoint@mydomain.com"&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;sharepoint@mydomain.com&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;)&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;Leave everything else as default, and click "OK" at the bottom of the page.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;You should see now the "Operation in Progress" page, with&amp;nbsp;a turning-gear icon and "Please wait while your changes are processed" message.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;After it finishes with the new settings, you should see the "Virtual Server Successfully Extended" page.&amp;nbsp; and the message: "New top-level Web site URL: &lt;/FONT&gt;&lt;A href="http://sharepoint.mydomain.com/"&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;http://sharepoint.mydomain.com&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;".&amp;nbsp; Click OK at the page.&amp;nbsp; You should be redirected to the "Virtual Server Settings" page.&amp;nbsp; You may close the browse at this point.&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;And that's it!&amp;nbsp; You should've succesfully installed Windows Sharepoint Services on a subdomain.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;If you are going on from here to install Project Server 2003, just following this &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=ca99b5e3-0478-4ac3-a230-c4f2d82096c1&amp;amp;DisplayLang=en"&gt;Project Server 2003 Installation Guide&lt;/A&gt;.&amp;nbsp; At the end of chapter 5 of this installation guide, it shows you how to run the Windows SharePoint Services Configuration Wizard that comes with Project Server 2003 in order to intergrate Project Server with WSS.&amp;nbsp;&amp;nbsp;Chapter 6 shows you how to configure the database and Chapter 7 takes you through the rest of installation process for Project Server 2003.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=9758" width="1" height="1"&gt;</content><slash:comments>1</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/alexchang/commentrss.aspx?PostID=9758</wfw:commentRss></entry><entry><title>Installing Sharepoint Services (WSS) with Project Server 2003 - Part I</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/alexchang/archive/2004/03/22/9747.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:9747</id><created>2004-03-22T19:44:00Z</created><content type="text/html" mode="escaped">&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;Recently, we purchased Project Server 2003 with the view to improve the various&amp;nbsp;project management tasks and activities that we have at the non-profit organization&amp;nbsp;where I work.&amp;nbsp; Two weeks ago, I slated some time to install it on one of our servers running Windows 2K3.&amp;nbsp; We chose also to install Windows Sharepoint Services (WSS) with&amp;nbsp;Project&amp;nbsp;Server in order&amp;nbsp;to take advantage of the&amp;nbsp;document collaboration and the issue tracking features that WSS has to offer.&amp;nbsp; Overall, the installation process was pretty straightforward.&amp;nbsp; The &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=ca99b5e3-0478-4ac3-a230-c4f2d82096c1&amp;amp;DisplayLang=en"&gt;Project Server 2003 Installation Guide&lt;/A&gt;&lt;/FONT&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;&amp;nbsp;and this &lt;A href="http://www.amazon.com/exec/obidos/tg/detail/-/0764542524/qid=1079811190/sr=1-3/ref=sr_1_3/104-5715798-6199139?v=glance&amp;amp;s=books"&gt;Project 2003 book&lt;/A&gt;&lt;/FONT&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;&amp;nbsp;that we have both give&amp;nbsp;very detailed step-by-step instructions for the installation.&amp;nbsp; After completing the installation however, we soon discovered that with the Sharepoint Services installed, we had a difficult time running other web applications and web pages that were already on the server before the installation.&amp;nbsp; We kept getting the 404 File not found error (and sometimes also the 403 access forbidden error).&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;After some research on the web, we found out that WSS has some custom HttpHandlers that intercept all the browser requests through its ISAPI filter (I just found an&amp;nbsp;&lt;A href="http://ipattern.com/simpleblog/PermLink.aspx?entryId=39"&gt;excellent&amp;nbsp;blog post&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;explaining this behavior and this &lt;A href="http://support.microsoft.com/?id=823265"&gt;knowledge base article&lt;/A&gt; also addresses this issue)&amp;nbsp; In order to allow the pre-existing web applications to work, you have to tell WSS to exclude the paths to the IIS virtual directories hosting your other web applications when it&amp;#8217;s handling all the incoming URLs.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;You can configure the excluded paths in the Sharepoint Central Administration under Administration Tools (the detailed steps are outlined in the &lt;A href="http://support.microsoft.com/?id=823265"&gt;KB article&lt;/A&gt; and also mentioned in Maxim&amp;#8217;s &lt;A href="http://ipattern.com/simpleblog/PermLink.aspx?entryId=39"&gt;article&lt;/A&gt;).&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;However, I was not able to add the root directory of the web server in the excluded path.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Even though in Sharepoint Central&amp;#8217;s Administration tool, under the &amp;#8220;Add a new path&amp;#8221; section, it says &amp;#8220;Note: To indicate the root path for this virtual server, type a slash (/).&amp;#8221;, it kept throwing an error when I tried adding the root path.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;So if you need to have a web application/web site running at the root directory of your wwwroot, you may be pulling your hair out at this point.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;We also found that we were not able to install/run Vault server on the same machine when Sharepoint Services is installed (even after we excluded the paths in WSS to Vault&amp;#8217;s virtual directories).&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;After a few hours of trying different configurations in IIS (application pools, permissions...etc), we finally gave up.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I then came across this &lt;A href="http://weblogs.asp.net/rmclaws/archive/2004/01/24/62615.aspx"&gt;article&lt;/A&gt; where Robert advised to install WSS on a separate DNS Sub-domain (e.g. &lt;/FONT&gt;&lt;A href="http://sharepoint.mydomain.com/"&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;http://sharepoint.mydomain.com&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;FONT color=#000080&gt;) to avoid all the problems that I just mentioned (see Tip#2 under Configuration in &lt;A href="http://weblogs.asp.net/rmclaws/archive/2004/01/24/62615.aspx"&gt;Robert&amp;#8217;s article&lt;/A&gt;).&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;We gave that a try with the following steps (sorry for the verboseness for those who already know how to do this like the back of their hand):&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;In the DNS management console running on the domain controller (or wherever you are running the DNS Server),&amp;nbsp;expand the&amp;nbsp;Forward Lookup Zones folder, right click on&amp;nbsp;the desired&amp;nbsp;domain and select &amp;#8220;New Host (A)&amp;#8221;.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;In the &amp;#8220;New Host&amp;#8221; window, put &amp;#8220;sharepoint&amp;#8221; as the new host name and also the IP address of the server where WSS is to be installed.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Click &amp;#8220;Add Host&amp;#8221;. &lt;/FONT&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;FONT color=#000080&gt;From IIS 6 manager on the server where&amp;nbsp;you plan to install Sharepoint Services, expand the server (local computer) tree, then right click on the &amp;#8220;Web Sites&amp;#8221; folder.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Select &amp;#8220;New&amp;#8221; and then &amp;#8220;Web Site&amp;#8230;&amp;#8221;.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;FONT color=#000080&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;/SPAN&gt;When the website creation wizard comes up, put &amp;#8220;Sharepoint Services&amp;#8221; for description, clicked &amp;#8220;Next&amp;#8221;.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Under &amp;#8220;Host header for this Web site (Default None):&amp;#8221;, put the sub-domain name for the WSS (in this example: sharepoint.mydomain.com).&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Leave IP address as &amp;#8220;(All Unassigned)&amp;#8221; and TCP port as &amp;#8220;80&amp;#8221;, click &amp;#8220;Next&amp;#8221;.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Under &amp;#8220;Enter the path to your home directory&amp;#8221;, provide a path (e.g. C:\Inetpub\wss&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;If the directory hasn&amp;#8217;t been created, create it now) to where the Sharepoint files will be stored when you extend the virtual server in WSS.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Click &amp;#8220;Next&amp;#8221; and then &amp;#8220;Next&amp;#8221; again.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Then you are done preparing the DNS and IIS.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;FONT color=#000080&gt;If you are running IIS 5 on a Windows 2000 Server, you can refer to &lt;A href="http://www.iisfaq.com/default.aspx?View=A129&amp;amp;P=24"&gt;this article&lt;/A&gt; on how to set up subdomains.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;If you don&amp;#8217;t have a DNS server,&amp;nbsp;you can&amp;nbsp;add an entry in the hosts file in your &lt;B&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana"&gt;&lt;FONT color=#000080&gt;\winnt(or windows)\system32\drivers\etc&lt;/FONT&gt; &lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-bidi-font-weight: bold"&gt;&lt;FONT color=#000080&gt;directory:&lt;/FONT&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;SPAN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-bidi-font-weight: bold"&gt;&lt;FONT color=#000080 size=2&gt;127.0.0.1&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Sharepoint.mydomain.com&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana color=#000080&gt;(Note: instead of 127.0.0.1, you can also use the actual LAN IP address of the server where WSS is to be installed).&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;If you are running IIS 5 on Windows XP Professional, you could find some help in &lt;A href="http://www.iisfaq.com/default.aspx?View=A391&amp;amp;P=126"&gt;this article&lt;/A&gt; (also &lt;A href="http://www.eggheadcafe.com/articles/20030615.asp"&gt;here&lt;/A&gt;).&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;In order to avoid making this too long-winded (I think it's too late :)&amp;nbsp; ), in part II of this blog, we'll go over the detailed steps of installing Windows Sharepoint Services with the DNS and IIS configurations that we just made.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Verdana color=#000080 size=2&gt;Hope&amp;nbsp;someone will find this helpful.&amp;nbsp; &amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=9747" width="1" height="1"&gt;</content><slash:comments>1</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/alexchang/commentrss.aspx?PostID=9747</wfw:commentRss></entry><entry><title>Blog Debut</title><link rel="alternate" type="text/html" href="http://dotnetjunkies.com/WebLog/alexchang/archive/2004/03/19/9532.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:9532</id><created>2004-03-19T09:45:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;&lt;FONT color=#000080&gt;Thanks to Donny Mack and the Dotnetjunkies, I've been given a blog space here.&amp;nbsp; So this marks the beginning of my blog journey. :)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000080&gt;A brief note&amp;nbsp;about myself:&amp;nbsp; I've been in web development since 2000, working with various web technologies such as ASP, PHP, and ASP.NET.&amp;nbsp; For the past year and half, I've been focusing mainly on building applications with ASP.NET.&amp;nbsp; Currently I'm working as a team lead/IT manager at a non-profit organization.&amp;nbsp; I've received a great amount of help from the ASP.NET community through&amp;nbsp;various weblogs,&amp;nbsp;so now I hope I can&amp;nbsp;contribute&amp;nbsp;something helpful back to the community.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000080&gt;Here are some of the things that I would like to blog about:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000080&gt;1. Various tips and helpful solutions that we have found and gathered in developing applications with ASP.NET 1.1 (a lot of hard-learned lessons :)&amp;nbsp; )&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000080&gt;2. Our experience of studying/testing what Whidbey has to offer (just received the alpha bit from attending the DevDay this past Monday).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000080&gt;3. Our experience of working with Rainbow Portal for our intranet development.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000080&gt;4. &amp;nbsp;Working with Sharepoint Services and Project Server 2003.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000080&gt;Glad to be here.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://dotnetjunkies.com/WebLog/aggbug.aspx?PostID=9532" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://dotnetjunkies.com/WebLog/alexchang/commentrss.aspx?PostID=9532</wfw:commentRss></entry></feed>