<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5407751878678380939</id><updated>2011-08-10T12:41:34.985-07:00</updated><category term='DELL'/><category term='SharePoint Server 2007'/><category term='Analysis Services 2005 based SSRS Report Configuration'/><category term='show/Hide a field'/><category term='SharePoint 2007'/><category term='Application Run Restrictions'/><category term='XPS M1330'/><category term='SharePoint 2010 Installation'/><category term='SQLExpress2005'/><category term='WSS 3.0 Event Receiver'/><category term='&quot;Excel Extended Properties&quot;'/><category term='SPEventReceiver'/><category term='EditForm.aspx'/><category term='SharePoint 2010'/><category term='SharePoint Designer 2007'/><category term='&quot;Excel Ole Db&quot;'/><category term='SharePoint User Name Resolution'/><category term='Asynchronous Post Back'/><category term='&quot;Display XML on IE&quot;'/><category term='Reporting Services 2005 Add-in Error'/><category term='SharePoint People and Groups.'/><category term='ATA/AHCI Controller'/><category term='&quot;Dynamics GP Transfer Items&quot;'/><category term='Reporting Services 2005 Add-in for SharePoint Technologies'/><category term='Matshita UJ 857G'/><category term='Remote Desktop Sessions'/><category term='SharePoint 2010 Installation on Windows 7'/><category term='NewForm.aspx'/><category term='Yahoo Messenger Restriction'/><category term='Disable an ASP.NET Button Control'/><category term='&quot;XML String On Browser&quot;'/><category term='MSN Messenger Restrictions'/><category term='SharePoint Alerts'/><category term='Send Email via Workflow'/><category term='Workflow Variables'/><title type='text'>What I know about Microsoft SharePoint</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-7468206408736128781</id><published>2011-02-08T15:12:00.000-08:00</published><updated>2011-02-08T15:12:20.616-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Alerts'/><title type='text'>MOSS Alerts are not working</title><content type='html'>I was facing this issue on the production server. Restart was ruled out by network admin so here are the steps that resolved my issue:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. 2 Web Front End Servers: WFE1 (primary with Central admin) and WFE2 (secondary). Clustered database environment on SAN.&lt;br /&gt;&lt;br /&gt;2. Select * from TimerLock - gives you one record and tells which server is actually responsible for relaying emails. In my case, it was WFE2.&lt;br /&gt;&lt;br /&gt;3. WFE2 timer service wasn't working fine, so I stopped the timer service on WFE2. &lt;br /&gt;&lt;br /&gt;4. Timeout to release the lock is 20 minutes - i read it but i need to find out where exactly I can see this value Or is there a way to reset it.&lt;br /&gt;&lt;br /&gt;5. After 20 minutes, TimerLock table record value was reset to WFE1 which eventually resolved my issues of not relaying emails. &lt;br /&gt;&lt;br /&gt;Assumptions here - &lt;br /&gt;Alerts are enabled. How to check (from command prompt)&lt;br /&gt;1. Go to: C:\Program Files\Comman Files\Microsoft Shared\Web Server Extensions\12\bin&lt;br /&gt;2. stsadm -o getproperty -pn alerts-enabled -url &lt;a href="http://portalwebsite/"&gt;http://portalwebsite/&lt;/a&gt;&lt;br /&gt;2a. Answer should be 'Yes'.&lt;br /&gt;3. stsadm -o getproperty -pn job-immediate-alerts -url &lt;a href="http://portalwebsite/"&gt;http://portalwebsite/&lt;/a&gt;&lt;br /&gt;3a. Answer should be 'Every 5 minutes...'&lt;br /&gt;4. Above commands are just for confirmation to make sure that alerts are enabled.&lt;br /&gt;5. Assuming the Timer Service domain user account has appropriate priviledges and access to website and content database. &lt;br /&gt;Hope this may help somebody.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-7468206408736128781?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/7468206408736128781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=7468206408736128781' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/7468206408736128781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/7468206408736128781'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2011/02/moss-alerts-are-not-working.html' title='MOSS Alerts are not working'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-5286027018575193835</id><published>2010-11-09T13:16:00.000-08:00</published><updated>2010-11-09T13:16:58.253-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WSS 3.0 Event Receiver'/><category scheme='http://www.blogger.com/atom/ns#' term='SPEventReceiver'/><title type='text'>Exception has been thrown by the target of an invocation.</title><content type='html'>While adding event receiver using&lt;span style="background-color: yellow;"&gt; &lt;span style="color: #134f5c;"&gt;issueList.EventReceivers.Add()&lt;/span&gt;&lt;/span&gt; I was getting following exception. &lt;br /&gt;&lt;br /&gt;&lt;span style="background-color: #f4cccc;"&gt;System.InvalidOperationException was unhandled&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #f4cccc;"&gt;Message="Exception has been thrown by the target of an invocation."&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #f4cccc;"&gt;Source="Microsoft.SharePoint"&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #f4cccc;"&gt;StackTrace:&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #f4cccc;"&gt;at Microsoft.SharePoint.SPEventReceiverDefinition.ValidAssembly()&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #f4cccc;"&gt;at Microsoft.SharePoint.SPEventReceiverDefinition.ValidReceiverFields()&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #f4cccc;"&gt;at Microsoft.SharePoint.SPEventReceiverDefinition.UpdateInternal(Boolean isMigration)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #f4cccc;"&gt;at Microsoft.SharePoint.SPEventReceiverDefinition.Update()&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #f4cccc;"&gt;at Microsoft.SharePoint.SPEventReceiverDefinitionCollection.Add(SPEventReceiverType receiverType, String assembly, String className)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #f4cccc;"&gt;at Company.WSS.DeployAndBindAssemblyToList.Program.RegisterEvents() in C:\Program Files\CustomPortal\Code\Company.WSS.DeployAndBindAssemblyToList\Program.cs:line 37&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #f4cccc;"&gt;at Ellison.WSS.DeployAndBindAssemblyToList.Program.Main(String[] args) in C:\Program Files\CustomPortal\Code\Company.WSS.DeployAndBindAssemblyToList\Program.cs:line 13&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #f4cccc;"&gt;at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #f4cccc;"&gt;at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #f4cccc;"&gt;at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #f4cccc;"&gt;at System.Threading.ThreadHelper.ThreadStart_Context(Object state)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #f4cccc;"&gt;at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #f4cccc;"&gt;at System.Threading.ThreadHelper.ThreadStart()&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: #f4cccc;"&gt;InnerException: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It was because of the fact that I was using log4Net assembly for logging various activities and it wasn't added into GAC. Once added into GAC, above error gone away.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-5286027018575193835?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/5286027018575193835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=5286027018575193835' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/5286027018575193835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/5286027018575193835'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2010/11/exception-has-been-thrown-by-target-of.html' title='Exception has been thrown by the target of an invocation.'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-5497098592783936705</id><published>2010-09-21T21:24:00.000-07:00</published><updated>2010-09-21T21:24:05.719-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Application Run Restrictions'/><category scheme='http://www.blogger.com/atom/ns#' term='MSN Messenger Restrictions'/><category scheme='http://www.blogger.com/atom/ns#' term='Yahoo Messenger Restriction'/><title type='text'>Yahoo Messenger: Restrictions: This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.</title><content type='html'>I am using official laptop, and I am local administrator to the machine. It is our network policy that nobody is allowed to use any type of messenger from office (be it MSN, Google, Yahoo etc). So whenever I connect to office domain in the office, some policy get set in my laptop which doesnt remove automatically whenever I try to connect from outside office premises. &lt;br /&gt;If I start Google Talk or Yahoo, I see following error:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is quite irritating and really frustrating. Policy can be changed however, it require lot of approval process again and again. So I thought let me find solution for myself.&lt;br /&gt;&lt;br /&gt;I was dead sure that some policy is set in Registry somewhere. I googled around and found the setting at this location:&lt;br /&gt;Computer\HKEY_CURRENT_USER\software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_THiKCkH6_sw/TJmEUmwAOWI/AAAAAAAAGck/pc-czIkFHSI/s1600/Delete+Restriction.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="161" qx="true" src="http://2.bp.blogspot.com/_THiKCkH6_sw/TJmEUmwAOWI/AAAAAAAAGck/pc-czIkFHSI/s640/Delete+Restriction.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;On the right side of this, I found all the entries which are actually restricted to run. Once I removed these entries, I was happy man :).&lt;br /&gt;&lt;br /&gt;My Machine Configuration: &lt;br /&gt;Dell Latitude D620, Windows 7 Ultimate 64-bit with 4GB RAM.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-5497098592783936705?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/5497098592783936705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=5497098592783936705' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/5497098592783936705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/5497098592783936705'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2010/09/yahoo-messenger-restrictions-this.html' title='Yahoo Messenger: Restrictions: This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_THiKCkH6_sw/TJmEUmwAOWI/AAAAAAAAGck/pc-czIkFHSI/s72-c/Delete+Restriction.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-5695571650869004450</id><published>2010-06-24T15:39:00.000-07:00</published><updated>2010-06-24T15:47:13.716-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Workflow Variables'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Designer 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='Send Email via Workflow'/><title type='text'>Usage of Workflow Variables using SharePoint Designer 2007</title><content type='html'>At one of my client's place, I have created a couple of workflows that sends out an email to a printing press automatically when employees requests business cards on the SharePoint Intranet Portal. Created a simple list with following fields - Data Type:&lt;br /&gt;1. Employee Name - String&lt;br /&gt;2. Title - Choice (List of Choices)&lt;br /&gt;3. Qty - Number&lt;br /&gt;4. Cell # - Single Line of text&lt;br /&gt;5. Office # - Choice (Drop down choice list)&lt;br /&gt;6. Extn. # - Number&lt;br /&gt;7. Fax # - Choice (Drop down choice List)&lt;br /&gt;8. Email - Single line of text&lt;br /&gt;&lt;br /&gt;Simple requirement, eh! &lt;br /&gt;So created a workflow using SharePoint Designer 2007 for this list. &lt;br /&gt;1. Created one workflow step with one action that is 'Send an Email'. Set the appropriate properties in the email body by selecting the values from the 'Current Item'. &lt;br /&gt;2. Looks good so far, however, upon submission of new item, workflow generates an email and then I noticed that some fields that were empty are printed as "?????". This looks weird. &lt;br /&gt;&lt;br /&gt;To fix the issue: &lt;br /&gt;1. I created Workflow Variables and set the default values to 'x' for all of them. &lt;br /&gt;2. Created workflow step for each variable and set the condition as:&lt;br /&gt;a. For Cell #, for example, &lt;br /&gt;Condition: If List:Cell # does not starts with x&lt;br /&gt;Action: Set Variable: CellNumber to List: Cell#&lt;br /&gt;&lt;br /&gt;Else IF - Click link 'Add 'ElseIf' Condition Branch'. &lt;br /&gt;Condition: &lt;empty&gt; &lt;br /&gt;Action: Set Variable: CellNumber to " " (without double quotes). Basically click spacebar once to put single space in the value.&lt;br /&gt;&lt;br /&gt;3. Do it for all the variables. Note. If the Field data type is number, for example, extension number, the condition will be:&lt;br /&gt;&lt;i&gt;If List: Ext # is greater than 0&lt;/i&gt;, &lt;br /&gt;4. In case of Choice type field, because choice type field values starts with a numeric value, then condition mentioned in step 2 is still valid. &lt;br /&gt;&lt;br /&gt;5. Upon setting all workflow steps and values for conditions, the final step is to modify the 'Send an Email' step. The only change here is that instead of using List values, user variables using 'Add Lookup to body' button. &lt;br /&gt;&lt;br /&gt;Reason of doing this drama:&lt;br /&gt;When I create a variable in SharePoint Designer, the default value is set to "?????". I dont know where to change this default value. Even if the list field value is empty in the list, when workflow runs, the default value shows up as "?????" and not empty.&lt;br /&gt;So it is required initialize the values by 'x', and then later resetting the value to " " (without double quotes and one space).&lt;br /&gt;&lt;br /&gt;And if you try to check the value of the variable to "?????" then the condition will not be true, which is surprising to me. So to fix the problem, I am setting the value to 'x' first and then later if the List: field Value is empty, then resetting the variable to ' ' so that in the email body the field value should display as ' ' (without quotes) which is what customer wants to display. &lt;br /&gt;&lt;br /&gt;Initial Workflow Email Output:&lt;br /&gt;Following request submitted for printing &lt;br /&gt;&lt;br /&gt;Employee Name : Test User &lt;br /&gt;Title : Client Relationship Manager &lt;br /&gt;Division  : Los Angeles &lt;br /&gt;Quantity : 500 &lt;br /&gt;Cell # : ????? &lt;br /&gt;Office #  : 323.923.3000 &lt;br /&gt;Ext. # : ????? &lt;br /&gt;Fax #  : 323.923.3020 &lt;br /&gt;Fax # (Res) : ????? &lt;br /&gt;Email  : ????? &lt;br /&gt;&lt;br /&gt;After Fixing the issue, it was:&lt;br /&gt;Following request submitted for printing &lt;br /&gt;&lt;br /&gt;Employee Name : Test User&lt;br /&gt;Title : Client Relationship Manager &lt;br /&gt;Division  : Los Angeles &lt;br /&gt;Quantity : 500 &lt;br /&gt;Cell # :  &lt;br /&gt;Office #  : 323.923.3000 &lt;br /&gt;Ext. # :  &lt;br /&gt;Fax #  : 323.923.3020 &lt;br /&gt;Fax # (Res) :  &lt;br /&gt;Email  :  &lt;br /&gt;&lt;br /&gt;Hope this helps somebody!! Send me email at &lt;U&gt;&lt;a href="mailto:atul.shukla@ignify.com" title="atul.shukla@ignify.com"&gt;Atul Shukla&lt;/a&gt;&lt;/U&gt; for questions or suggestions to improve the code. &lt;br /&gt;Thanks!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-5695571650869004450?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/5695571650869004450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=5695571650869004450' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/5695571650869004450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/5695571650869004450'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2010/06/usage-of-workflow-variables-using.html' title='Usage of Workflow Variables using SharePoint Designer 2007'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-2111219874313006819</id><published>2010-06-22T11:21:00.000-07:00</published><updated>2010-06-22T11:28:19.553-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Server 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint User Name Resolution'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint People and Groups.'/><title type='text'>The user does not exist or is not unique.</title><content type='html'>Past one week, I was struggling to get the solution of this problem related to SharePoint.&lt;br /&gt;Problem #1: Whenever I try to add a user to a SharePoint group, if the user exist in the site collection, then I get this specific error. &lt;br /&gt;Problem #2: Whenever I try to add a user to a SharePoint group, and if the user DOES NOT exist in the site collection, then I am unable to add the user at all because SharePoint in unable to communicate with Active Directory for name resolution. &lt;br /&gt;&lt;br /&gt;These two specific problems were giving me very hard time. Let me give a brief about the environment here:&lt;br /&gt;Web Front End (WFE) Server: 64-bit machine with 64-bit software. Windows Server 2008 R2, Office SharePoint Server 2007 Standard Edition with SP2 (version 6421).&lt;br /&gt;Database + Reporting Server: 64-bit machine with 32-bit software: Windows Server 2003 Enterprise Edition, SQL Server 2005 with SP2, Reporting Services (with SharePoint Integration Mode), Reporting Services SP2 is applied. &lt;br /&gt;Authentication Mechanism: Kerberos. [Very important here, because in windows NTLM authentication, AD link is working]&lt;br /&gt;&lt;br /&gt;After struggling for 10 days, I finally open up the ticket with Microsoft to get the solution, and it is fixed after spending more than 24 hours. I interacted with SharePoint Team, IIS Team, Directory Services team, and but this problem is not related to any of these, it is a feature of Windows Server 2008 (and R2 too) which does not work with SharePoint Server 2007 OR the applications that are built on Windows Server 2003 based application. It is a local policy in 2008 R2 that is required to be disabled (and machine restart is required after reset). &lt;br /&gt;This policy name is "Domain member: Digitally encrypt or sign secure channel data (always)". It is Enabled by default when you configure Windows Server 2008 R2. &lt;br /&gt;How to reach to this policy: Start -&gt; Run -&gt; type gpedit.msc.&lt;br /&gt;Browse to Computer Configuration -&gt; Windows Settings -&gt; Security Settings -&gt; Local Policies -&gt; Security Options. Under Security Options on the right hand side, you will find this policy. &lt;br /&gt;Double click to open the policy, Click 'Disable' radio option. Save the changes and restart the machine. &lt;br /&gt;&lt;br /&gt;Earlier to this solution, did following checks though:&lt;br /&gt;1. people picker property is correctly set.&lt;br /&gt;2. Domain Controller is receiving request and responding it back using Network Monitoring Tool.&lt;br /&gt;3. Port Qry UI - A tool that helps to check what ports are responding for kerberos Authentication mechanism.&lt;br /&gt;&lt;br /&gt;One very good article that is worth reading: http://support.microsoft.com/kb/823659.&lt;br /&gt;&lt;br /&gt;Hope this will help somebody who have Windows Server 2008 R2.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-2111219874313006819?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/2111219874313006819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=2111219874313006819' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/2111219874313006819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/2111219874313006819'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2010/06/user-does-not-exist-or-is-not-unique.html' title='The user does not exist or is not unique.'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-6860087644220832475</id><published>2010-06-10T11:02:00.000-07:00</published><updated>2010-06-10T11:55:25.737-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Reporting Services 2005 Add-in Error'/><category scheme='http://www.blogger.com/atom/ns#' term='Analysis Services 2005 based SSRS Report Configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='Reporting Services 2005 Add-in for SharePoint Technologies'/><title type='text'>Reporting Server 2005 Add-in for SharePoint Technologies Not setting up correctly on SharePoint Server 2007</title><content type='html'>I was trying to setup Reporting Services 2005 Add-In for SharePoint Technologies. Existing Production Environment is &lt;br /&gt;(1) Server1 - Web Server (64-bit) - Windows Server 2008 R2, Office SharePoint Server 2007, IIS 7.0 - 64-bit softwares are used in this box &lt;br /&gt;(2) Server2 - Database Server (32-bit) - Windows Server 2003 Ent Edition, SQL Server 2005 Ent Edition, Analysis, Integration &amp; Reporting Services - are installed. &lt;br /&gt;&lt;br /&gt;I thought of creating Reporting Services on Web Server (Server1) and with this thought, we installed SQL Server Reporting Services 2005 (32-bit) on Web Server. Initially configuration check was failing because 'Enable 32-bit Applications' setting was 'False' in IIS. I changed it to True and validation succeeded. Installation also completed without any further problems. Ran Reporting Services COnfiguration wizard to set the configuration settings, we gave Database Server name as Server2 and Instance name as MSSQLSERVER. It is done without any problem. Before setting up the SharePoint integration mode, we checked the SharePoint Portal server, and found that neither the portal nor the central admin page is accessible. Panic created because it was production portal web site. Checked all configurations, everything looks good, but still the problem persist. As soon as I disabled 'Enable 32-bit application' and set its value to 'False', Central Admin and Portal Web Site started working again. So conclusion came out that we can't install SSRS on Web Server because web server is running on 64-bit hardware and software, however, SQL Server database is running on 32-bit OS and softwares. So we decided to install SSRS on database server (as there is no separate box available for Reporting services). So we changed 'Enable 32-bit application' to true and then un-installed SSRS from Web Server. Restarted the web server, and changed 'Enable 32-bit application' back to 'False'. Portal web sites and central admin web site was running fine.&lt;br /&gt;&lt;br /&gt;Now we installed SSRS on Database server (Server2), and configured reporting services in there. We also installed WSS 3.0 (32-bit) on database server and add it to existing web farm. We configured reporting services into SharePoint Integration Mode, without any problem using domain service account. In fact, we logged to these machines using this service account. All configuration is done and accessible.&lt;br /&gt;&lt;br /&gt;Further we need to install Reporting Services 2005 Add-in for SharePoint Technologies on the web server. We installed (64-bit) version on Web Server (Server1). Double click installation was failing so adapted another suggested way. Downloaded SharePointRS_x64.msi locally, and then from command prompt, executed this command SharePointRS_x64.msi SKIPCA=1. This extract a file named rsCustomAction.exe to the %temp% location. From Command Prompt, executed command cd %temp% to go to Temp directory, and then executed rsCustomAction.exe -i. Installation completed without any problem. Given the log details: &lt;br /&gt;&lt;br /&gt;User: svcSharepoint&lt;br /&gt;Installing Report Server feature.&lt;br /&gt;Calling copyappbincontents command.&lt;br /&gt;&lt;br /&gt;copyappbincontents command completed successfully.&lt;br /&gt;Adding Report Server feature to farm.&lt;br /&gt;Installed Report Server feature.&lt;br /&gt;Activating Report Server feature to root level site collections.&lt;br /&gt;Activating feature in web app 'SharePoint - 90'&lt;br /&gt;Activating feature to root site collection: http://Server1&lt;br /&gt;Feature already activated in site collection http://Server1&lt;br /&gt;Activateing Report Server feature in all admin site collections.&lt;br /&gt;Activating feature in web app ''&lt;br /&gt;Activating feature to root site collection: http://Server1:24920&lt;br /&gt;Feature already activated in site collection http://Server1:24920&lt;br /&gt;Updating DocIcon.xml file&lt;br /&gt;DocIcon.xml file updated.&lt;br /&gt;Beginning install of cab files.&lt;br /&gt;Calling HCInstal for lcid '1033'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '3082'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '2070'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '2052'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '1055'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '1053'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '1049'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '1046'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '1045'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '1044'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '1043'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '1042'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '1041'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '1040'&lt;br /&gt;Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '1038'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '1036'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '1035'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '1032'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '1031'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '1030'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '1029'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Calling HCInstal for lcid '1028'&lt;br /&gt; Outcome code is: 4&lt;br /&gt;Cab files installed successfully.&lt;br /&gt;Stopping W3SVC service.&lt;br /&gt;Starting W3SVC service.&lt;br /&gt;&lt;br /&gt;After installing, followed the instructions to configure the settings in Central Administration - Application Management Tab. I found 'Reportion Services' section. Clicked Manage integration settings and gave values for Report Server Web Service URL as http://server2:8080/reportserver. Set the value of Authentication Mode as Trusted Account. In Grant Database Access section, I noticed that Report Server name is appearing as Server1 (which is my webserver and not report server). Changed this name to Server2. Click Ok pops up a dialog box to ask about the reporting services service account details. I inputed the correct service account details and click Ok. In Set server defaults, I did not make any changes.&lt;br /&gt;&lt;br /&gt;With these settings, I thought that I am done with my configuration settings. Further I created a simple SSRS report using Business Development Studio from Database Server (Server2) and published the reports directly to SharePoint Portal under Reports -&gt; Reports Library. Publishing succeeded without any problems. When I clicked the report RDL file, it gives me the following error:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;An unexpected error occurred while connecting to the report server. Verify that the report server is available and configured for SharePoint integrated mode. &lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Enabled the tracing on the web server, and access the portal directly from web server, i found this error:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;File not found.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Both webserver and database server are running under NTLM authentication. I ran the following script from command prompt:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;cscript adsutil.vbs set w3svc/NTAuthenticationProviders "NTLM"&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;So now the question I am asking to myself, where exactly it is searching for the report? When I further checked the configuration values set under 'Grant database access', I found that Server Name is still pointing to Web Server (Server1) instead of correct reporting services database that is running on Server2. So now I am stuck as none of the reports are accessible. And I have no clue what else I can check.&lt;br /&gt;&lt;br /&gt;--------------------------- &lt;br /&gt;I posted this description on SQL Server Reporting Services Forum, but didn't receive any response in few days. Finally opened a ticket with Microsoft and they resolved it. Here is the resolution.&lt;br /&gt;1. Checked if both Server1 and Server2 are running with same version of SharePoint. It was different. Server1 installed with Office SharePoint Search Server 2007 Enterprise Edition 64-bit, and Server2 installed with WSS3.0 (32-bit). So un-installed WSS3.0 from Server2 and installed Office SharePoint Search Server 2007 Enterprise Edition (32-bit as machine is 32-bit). Since reporting services add-in needs SharePoint Object Model to be installed/present on the machine, I configured this installation as 'Web Front-end Only' and attached it to existing web farm. Definitely I dont want this server to host any web application so opted the choice accordingly.&lt;br /&gt;2. Checking "NTLM" Authentication set on Report Server (Server2). He checked this option using this script from command prompt:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;C:\inetpub\AdminScripts&gt;cscript adsutil.vbs get w3svc/NTAuthenticationProviders &lt;/em&gt;&lt;br /&gt;&lt;br /&gt;With this command it is identified that IIS is configured with NTLM authentication. I had executed the check earlier and set it to NTLM using command:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;C:\inetpub\AdminScripts&gt;cscript adsutil.vbs set w3svc/NTAuthenticationProviders "NTLM"&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Further, check if Report Server IIS Web Site authentication is NTLM. To check that, use following command:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;C:\inetpub\AdminScripts&gt;cscript adsutil.vbs get w3svc/812193046/root/NTAuthenticationProviders&lt;/em&gt; Where 812193046 is website identifier related to my machine. &lt;br /&gt;&lt;br /&gt;Yours could be different so use it accordingly. If the value is not set or is not NTLM, use the following to set appropriately:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;C:\inetpub\AdminScripts&gt;cscript adsutil.vbs set w3svc/812193046/root/NTAuthenticationProviders "NTLM"&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;3. Checking Disable Loop Back Check registry entry on Web &amp; Report Server (Franky speaking, I do not know much about disabling Loop back check, however, it is required to set on web &amp; report server) - As I said, it is required to be set in Web front end &amp; Report Server machines. Here are the instructions. On the web front end, open registry using regedit from Start-&gt;Run. &lt;br /&gt;&lt;br /&gt;(b) Navigate to the path: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa and on the right side, if you do not find the name as DisableLoopbackCheck, then create one by:&lt;br /&gt;(a) Right Click white space, click New-&gt; DWORD (32-bit) Value (My WFE is 64-bit machine). Give the name as DisableLoopbackCheck (case-sensitive). The value should be 1 (Decimal). &lt;br /&gt;Do this change on Report Server machine too.&lt;br /&gt;&lt;br /&gt;4. Final changes are required in SharePoint Central administration -&gt; Operations -&gt; Global Configuration -&gt; Alternate Access Mapping. &lt;br /&gt;It is important to note that Reporting Services 2005 Add-in works ONLY with the website defined in Default Zone. &lt;br /&gt;In my situation there were two zones (a) Default zone, the internal url was http://server1 and (b) Intranet zone, it was http://portal.company.com/. &lt;br /&gt;I was trying to access the reports using http://portal.company.com/ and getting file not found error because of the said reason. I swapped default zone and intranet zone Internal URL. It is important to note that http://server1 internal URL must exist in any of the zone (other than default). &lt;br /&gt;&lt;br /&gt;With these changes, republished a SSRS report on to the portal and accessed it correctly. &lt;br /&gt;&lt;br /&gt;So one milestone achieved where SSRS reports are accessible directly from SharePoint Portal. Now the next task was to publish the Analysis Services based SSRS reports to Portal. Publishing is easy, however, those reports will not be accessible and you may notice this error:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;An unexpected error occurred while connecting to the report server. Verify that the report server is available and configured for SharePoint integrated mode. &lt;/em&gt;&lt;br /&gt;&lt;br /&gt;And if you try to access the report directly from Web Server (assuming that trace is on), you will see the following error:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;An unexpected error occurred while connecting to the report server. Verify that the report server is available and configured for SharePoint integrated mode. --&gt; Server was unable to process request. ---&gt; The request failed with HTTP status 401: Unauthorized.  &lt;/em&gt; &lt;br /&gt;&lt;br /&gt;With the error description, it is clear that current logged on user is not authorized to access cube data. It is by design that Analysis Services Cubes run under 'Windows Integrated Security'. So how to get pass by this problem, when NTLM security is set for Reporting Services 2005 with SharePoint. There is a solution for that. Follow the steps to check and set some settings:&lt;br /&gt;&lt;br /&gt;1. On Database server where report server database exist (in my case, report server is configured on database server {Server2}). Start SQL Server Surface Area Configuration. This option is available here: Start -&gt; All Programs -&gt; Microsoft SQL Server 2005 -&gt; Configuration Tools -&gt; SQL Server Surface Area Configuration.&lt;br /&gt;&lt;br /&gt;2. Click Surface Area Configuration for Features. Expand Reporting Services. This option is available under default instance of MSSQLSERVER. Click 'Windows Integrated Security' and clear the check box on the right with the option 'Enable Windows Integrated Security for report data source connections' (if selected). &lt;br /&gt;&lt;br /&gt;All set here with a change in the Cube based data source that you must create a new Report Data Source, say DataSource1. Other values are:&lt;br /&gt;a. Name (Required): DataSource1 (.rsds)&lt;br /&gt;b. Data Source Type: Microsoft SQL Server Analysis Services&lt;br /&gt;c. Connection String: Data Source=&lt;Server Name&gt;;Initial Catalog=&lt;Analysis Services Database Name&gt;. For example, if Analysis Services Database Name is AdventureWorks 2008 DW, then this value must be in double quotes while defining in Initial Catalog. Initial Catalog="AdventureWorks 2008 DW"&lt;br /&gt;d. Credentials: Click 'Stored credentials' and then define domain service account in user name as DomainName\DomainUserName, in password box, type valid domain user password. Make sure to select check boxes 'Use as Windows Credential'. Also, this domain service account user should have access to the cubes appropriately. If not it will not work. &lt;br /&gt;e. Availability: Make sure that 'enable this data source' check box is checked. If not, then this data source can't be used at run time for reports.&lt;br /&gt;f. Click Ok to save the changes.&lt;br /&gt;&lt;br /&gt;Appropriately set the Report data source as this newly created data source and you are all set.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-6860087644220832475?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/6860087644220832475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=6860087644220832475' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/6860087644220832475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/6860087644220832475'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2010/06/reporting-server-2005-add-in-for.html' title='Reporting Server 2005 Add-in for SharePoint Technologies Not setting up correctly on SharePoint Server 2007'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-1814410976947481935</id><published>2010-03-04T11:07:00.000-08:00</published><updated>2010-03-04T11:09:56.600-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010 Installation on Windows 7'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010 Installation'/><title type='text'>Installating SharePoint 2010 Beta in Windows 7</title><content type='html'>When SharePoint 2010 Beta was released for installation, I was very excited. And then when it was clearly mentioned that it can be installed on Windows 7, then I was more excited. It was because I faced lot of trouble installing SharePoint 2007 on Windows Vista. However, later I found customized solution/installer from Bamboo solutions that allows the installation on to Windows Vista. Pretty good work by Banboo Solutions.&lt;br /&gt;&lt;br /&gt;There are lots of MSDN articles available that will instruct you (step by step) to install SharePoint 2010 (Foundation and/or Server) on Windows 7 (Home Premium/Professional/Ultimate). The one MSDN article that I referred was http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx. Everything is good here.&lt;br /&gt;&lt;br /&gt;Home Laptop: Intel Core 2 Duo, Dell XPS with 4GB RAM (Maximum). &lt;br /&gt;&lt;br /&gt;SharePoint 2010 Foundation: Installation goes smoothly. With this installation I thought that SharePoint installation is piece of cake and I can install SharePoint 2010 Server on office machine.&lt;br /&gt;&lt;br /&gt;Home machine is WorkGroup machine and Office laptop is actually domain connected machine. This is important point here.&lt;br /&gt;&lt;br /&gt;Office Laptop: Dell Latitude D620 with 4GB Of maximum RAM.&lt;br /&gt;&lt;br /&gt;Downloaded SharePoint 2010 Server software and followed the instructions given in the MSDN web site. Prior to this installation, I did install SQL Server 2008 Enterprise Edition (64-bit). SharePoint 2010 Server installation was smooth. The challenge started when tried to do configuration. Configuration was failing at step 2 with one reason on other. I was freaked out and was thinking the root cause of the failure. I tried so many times, but failed at step 2 of 10 all the time. hmm!!!&lt;br /&gt;&lt;br /&gt;Then I recalled by SharePoint 2007 configuration pre-requisite, it says that do the installation with a domain service account. Now I am using office laptop which is not actually connected to domain, however, I am trying to install the application with domain account. What I thought was that if I have Local machine service account which is not actually domain service account, it will definitely work. WIth this thought, I un-installed SharePoint 2010 Server first using my domain account.&lt;br /&gt;&lt;br /&gt;Created a local account and make it local admin to the box. Logged off from domain account and then log back again using local service account.&lt;br /&gt;&lt;br /&gt;Started SharePoint 2010 Server installation, completed successfully.&lt;br /&gt;&lt;br /&gt;Started SharePoint Configuration using configuration wizard. Chose 'Standalone' installation (with my fingers crossed). Step 2 configuration going on... going on... and after 5 minutes or so, step 2 installation completed and it continued till step 8 of 10 without any problems. I was sure that now installation will complete without any problem, however, my assumption was wrong and it failed at step 8. Never mind. I thought of checking the SharePoint Configuration and Content databases if created successfully, and it did.&lt;br /&gt;&lt;br /&gt;Started SharePoint 2010 Central Administration, and bingo ... you will see the central administration is running without any problem. Default website is not accessible because step 8 was failed. So you need to create the default website by yourself. I did create the default website that runs on http://machineName/.&lt;br /&gt;&lt;br /&gt;Couple of Important Points here:&lt;br /&gt;&lt;br /&gt;1. Create local machine service account with 'never expired' password policy.&lt;br /&gt;&lt;br /&gt;2. Add this local machine service account in local administrator group.&lt;br /&gt;&lt;br /&gt;3. Logon to machine using this service account.&lt;br /&gt;&lt;br /&gt;4. Install SharePoint 2010 (Server/Foundation) and complete the configuration. Make sure to use 'Standalone' option. I haven't tried another option.&lt;br /&gt;&lt;br /&gt;5. If installation continues and pass step 7 of 10, no worries. Step 8 till 10 is basically for (I guess) to create default site and related configurations.&lt;br /&gt;&lt;br /&gt;6. Installation using domain account doesnt work unless you are actually connected to domain. &lt;br /&gt;&lt;br /&gt;Good Luck and Enjoy SharePoint 2010!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-1814410976947481935?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/1814410976947481935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=1814410976947481935' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/1814410976947481935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/1814410976947481935'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2010/03/installating-sharepoint-2010-beta-in.html' title='Installating SharePoint 2010 Beta in Windows 7'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-7640091638899098532</id><published>2010-02-08T16:55:00.000-08:00</published><updated>2010-02-08T17:15:22.726-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Disable an ASP.NET Button Control'/><category scheme='http://www.blogger.com/atom/ns#' term='Asynchronous Post Back'/><title type='text'>Disable ASP.NET Button while processing in Background</title><content type='html'>Today, I was stuck in a simple scenario, where I wanted to restrict end user to click a button only once. Looked simple, and while starting implementation, doesn't found it simple enough. &lt;br /&gt;&lt;br /&gt;I asked my friends and different people gave me different opinions and options. I was looking for the good option without putting extra code. &lt;br /&gt;&lt;br /&gt;So here is the Default2.aspx code.&lt;br /&gt;&lt;br /&gt;&amp;lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&amp;gt;&lt;br /&gt;&amp;lt;head runat="server"&amp;gt;&lt;br /&gt;    &amp;lt;title&amp;gt;Background Processing while disabling main button&amp;lt;/title&amp;gt;&lt;br /&gt;    &amp;lt;script type="text/javascript" language="javascript"&amp;gt;&lt;br /&gt;    function disableBtn(btnID, newText) {&lt;br /&gt; &lt;br /&gt;        var btn = document.getElementById(btnID);&lt;br /&gt;        setTimeout("setImage('"+btnID+"')", 10);&lt;br /&gt;        btn.disabled = true;&lt;br /&gt;        btn.value = newText;&lt;br /&gt;    }&lt;br /&gt;        //using absolute url for image to avoid complication&lt;br /&gt;    function setImage(btnID) {&lt;br /&gt;            var btn = document.getElementById(btnID);&lt;br /&gt;            btn.style.background = 'url(http://images.ysatech.com/ajax-loader.gif)';&lt;br /&gt;    }&lt;br /&gt;    &amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;    &amp;lt;form id="form1" runat="server"&amp;gt;&lt;br /&gt;    &amp;lt;div&amp;gt;&lt;br /&gt;        &amp;lt;asp:Button ID="btnOne" runat="server" Text="Process" OnClientClick="disableBtn(this.id, 'Processing...')" &lt;br /&gt;         UseSubmitBehavior="false" OnClick="btnOne_Click"/&amp;gt;&lt;br /&gt;        &amp;lt;br /&amp;gt;&lt;br /&gt;        &amp;lt;br /&amp;gt;&lt;br /&gt;        &amp;lt;asp:Label ID="Label1" runat="server" Text="Label"&amp;gt;&amp;lt;/asp:Label&amp;gt;&lt;br /&gt;    &amp;lt;/div&amp;gt;&lt;br /&gt;    &amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;br /&gt;And then Default2.aspx.cs code here:&lt;br /&gt;using System;&lt;br /&gt;using System.Collections;&lt;br /&gt;using System.Configuration;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Linq;&lt;br /&gt;using System.Web;&lt;br /&gt;using System.Web.Security;&lt;br /&gt;using System.Web.UI;&lt;br /&gt;using System.Web.UI.HtmlControls;&lt;br /&gt;using System.Web.UI.WebControls;&lt;br /&gt;using System.Web.UI.WebControls.WebParts;&lt;br /&gt;using System.Xml.Linq;&lt;br /&gt;&lt;br /&gt;public partial class Default2 : System.Web.UI.Page&lt;br /&gt;{&lt;br /&gt;    protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;    {&lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt;    protected void btnOne_Click(object sender, EventArgs e)&lt;br /&gt;    {&lt;br /&gt;        System.Threading.Thread.Sleep(5000);&lt;br /&gt;        Label1.Text = DateTime.Now.ToLongDateString();&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Special Thanks to Bryian.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-7640091638899098532?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/7640091638899098532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=7640091638899098532' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/7640091638899098532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/7640091638899098532'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2010/02/disable-button-while-processing-in.html' title='Disable ASP.NET Button while processing in Background'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-2777464791460931005</id><published>2009-06-05T17:07:00.000-07:00</published><updated>2009-06-08T11:09:49.120-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='&quot;Display XML on IE&quot;'/><category scheme='http://www.blogger.com/atom/ns#' term='&quot;XML String On Browser&quot;'/><title type='text'>Display XML string on Browser</title><content type='html'>Initially I thought that it is very simple task. I was surprised myself that it is not so simple as I thought.&lt;br /&gt;&lt;br /&gt;My requirement: XMLs are stored in SQL Server 2005 database in XML data type field. On web page, I wanted to display a hyperlink and when user click to this hyperlink, then the xml should display for the selected ID.&lt;br /&gt;&lt;br /&gt;My Solution:&lt;br /&gt;Created a sample web application, here is the code snippet of Default.aspx:&lt;br /&gt;&amp;lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ShowXmlOnPage._Default" %&amp;gt;&lt;br /&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "&amp;lt;a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd &amp;gt;"&amp;gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;&amp;lt;/a&amp;gt;;&lt;br /&gt;&amp;lt;html xmlns="&amp;lt;a href="http://www.w3.org/1999/xhtml"&amp;gt;http://www.w3.org/1999/xhtml&amp;lt;/a&amp;gt;" &amp;gt;&amp;lt;head runat="server"&amp;gt;    &amp;lt;title&amp;gt;Untitled Page&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;    &lt;br /&gt;&amp;lt;form id="form1" runat="server"&amp;gt;    &lt;br /&gt;&amp;lt;div&amp;gt;        &lt;br /&gt;&amp;lt;/div&amp;gt;    &lt;br /&gt;&amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;br /&gt;And then subsequent code behind page(Default.aspx.cs) is:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Collections;&lt;br /&gt;using System.Configuration;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Linq;&lt;br /&gt;using System.Web;&lt;br /&gt;using System.Web.Security;&lt;br /&gt;using System.Web.UI;&lt;br /&gt;using System.Web.UI.HtmlControls;&lt;br /&gt;using System.Web.UI.WebControls;&lt;br /&gt;using System.Web.UI.WebControls.WebParts;&lt;br /&gt;using System.Xml;&lt;br /&gt;using System.Xml.Xsl;&lt;br /&gt;&lt;br /&gt;namespace ShowXmlOnPage&lt;br /&gt;{&lt;br /&gt;public partial class _Default : System.Web.UI.Page&lt;br /&gt;{&lt;br /&gt;protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;{&lt;br /&gt;System.Xml.XmlDocument doc = new System.Xml.XmlDocument();&lt;br /&gt;doc.Load(MapPath("Vendor.xml"));&lt;br /&gt;Response.Write(LoadXmldocument(doc));&lt;br /&gt;}&lt;br /&gt;private string LoadXmldocument(XmlDocument xmlDocument)&lt;br /&gt;{&lt;br /&gt;System.IO.Stream s = System.IO.File.OpenRead(MapPath("defaultss.xsl"));&lt;br /&gt;System.Xml.XmlReader reader = System.Xml.XmlReader.Create(s);&lt;br /&gt;XslCompiledTransform transform = new XslCompiledTransform(true);&lt;br /&gt;transform.Load(reader);&lt;br /&gt;System.Text.StringBuilder sb = new System.Text.StringBuilder();&lt;br /&gt;XmlWriter writer = XmlWriter.Create(sb);&lt;br /&gt;transform.Transform(xmlDocument, writer);&lt;br /&gt;return sb.ToString();&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;The .NET Solution file require a couple of other files too.&lt;br /&gt;1. Vendor.xml file - Here is the XML file:&lt;br /&gt;&amp;lt;?xml version="1.0" encoding="utf-16" ?&amp;gt;&amp;lt;Response&amp;gt; &amp;lt;Success&amp;gt; &amp;lt;Operation&amp;gt;PlaceOrderCredit,PlaceSalesOrderPOs,Payment&amp;lt;/Operation&amp;gt; &amp;lt;SORefNumber /&amp;gt; &amp;lt;PONumber /&amp;gt; &amp;lt;PONumber /&amp;gt; &amp;lt;SalesReturnRefNumber /&amp;gt; &amp;lt;CreditRefNumber /&amp;gt; &amp;lt;RMARefNumber /&amp;gt; &amp;lt;PaymentRefNumber /&amp;gt; &amp;lt;/Success&amp;gt; &amp;lt;Failure&amp;gt; &amp;lt;Operation&amp;gt;PlaceOrderCredit,PlaceSalesOrderPOs,Payment&amp;lt;/Operation&amp;gt; &amp;lt;SORefNumber /&amp;gt; &amp;lt;PONumber /&amp;gt; &amp;lt;PONumber /&amp;gt; &amp;lt;SalesReturnRefNumber /&amp;gt; &amp;lt;CreditRefNumber /&amp;gt; &amp;lt;RMARefNumber /&amp;gt; &amp;lt;PaymentRefNumber /&amp;gt; &amp;lt;ErrorMessage /&amp;gt; &amp;lt;/Failure&amp;gt;&amp;lt;/Response&amp;gt;&lt;br /&gt;&lt;response&gt;&lt;br /&gt;2. defaultss.xsl - This file I downloaded from "&lt;a href="http://blorgh.files.wordpress.com/2006/10/defaultss.txt"&gt;http://blorgh.files.wordpress.com/2006/10/defaultss.txt&lt;/a&gt;". Thanks to the author who has modified this xsl file. Save the file as "defaultss.xsl" - that is what I referenced in the code.&lt;br /&gt;&lt;br /&gt;And that's it. This is the sample application where Vendor.xml is physically present in the solution folder. It is required to have defaultss.xsl present in the web folder too.&lt;br /&gt;&lt;br /&gt;Happy Coding!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-2777464791460931005?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/2777464791460931005/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=2777464791460931005' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/2777464791460931005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/2777464791460931005'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2009/06/display-xml-string-on-browser.html' title='Display XML string on Browser'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-1192029567505170467</id><published>2009-05-20T16:26:00.000-07:00</published><updated>2009-05-20T16:35:24.093-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='&quot;Excel Ole Db&quot;'/><category scheme='http://www.blogger.com/atom/ns#' term='&quot;Excel Extended Properties&quot;'/><category scheme='http://www.blogger.com/atom/ns#' term='&quot;Dynamics GP Transfer Items&quot;'/><title type='text'>Loading excel data column (alpha-numeric) using OLE DB adapter</title><content type='html'>&lt;u&gt;Problem&lt;/u&gt;: One of the excel data column has alpha-numeric data stored. While loading the data using Ole DB adapter, adapter preset the data type to numeric and subsequently doesn't read the alpha numeric content.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Solution&lt;/u&gt;: While defining the connection string, define it as:&lt;br /&gt;string connectionString = "Provider=Microsoft.Jet.OleDb.4.0;&lt;strong&gt;Extended Properties='Excel 8.0;HDR=Yes;IMEX=1'&lt;/strong&gt;;";       &lt;br /&gt;connectionString += "data source='C:\Temp\FileTobeProcessed.xls';";&lt;br /&gt;&lt;br /&gt;we generally define the extended properties = 'Excel 8.0;' only and forget to add, if excel file has header, or treat the column data type as alpha-numeric (add &lt;strong&gt;IMEX=1&lt;/strong&gt; in extended properties).&lt;br /&gt;&lt;br /&gt;It helped me a lot of places, mostly, when I used Dynamics GP eConnect to transfer Items from One bin location to another, and item number data was alpha-numeric.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-1192029567505170467?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/1192029567505170467/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=1192029567505170467' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/1192029567505170467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/1192029567505170467'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2009/05/loading-excel-data-column-alpha-numeric.html' title='Loading excel data column (alpha-numeric) using OLE DB adapter'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-2598035292692765105</id><published>2009-03-03T01:07:00.000-08:00</published><updated>2009-03-03T01:14:01.039-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Matshita UJ 857G'/><title type='text'>MATSHITA DVD +- RW UJ 857G Driver Problem/Solution</title><content type='html'>I have DELL XPS 1330 with MATSHITA DVD UJ 857G DVD Drive. Because of nVidia problems, the mother board is replaced three times (thanks GOD that I took 3 years warranty on it), so I didnt pay a single penny so far on repairs.&lt;br /&gt;Now I formatted it with Vista Ultimate 64bit and later I found that Vista is not detecting drivers for DVD.&lt;br /&gt;I searched a lot but didnt find any suitable driver.&lt;br /&gt;In device manager for the drive, I was getting error 32, and googled it based on the error description,and then I found the following posting:&lt;br /&gt;&lt;a href="http://www.pchell.com/hardware/cd_drive_error_code_39.shtml"&gt;http://www.pchell.com/hardware/cd_drive_error_code_39.shtml&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It talks about error 39, still I did the same what the post says... and deleted entry LowerFilters - PxHlpa64. Restarted the computer, and noticed that drive is working just fine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-2598035292692765105?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/2598035292692765105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=2598035292692765105' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/2598035292692765105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/2598035292692765105'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2009/03/matshita-dvd-rw-uj-857g-driver.html' title='MATSHITA DVD +- RW UJ 857G Driver Problem/Solution'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-7628899015327922796</id><published>2009-01-06T23:17:00.000-08:00</published><updated>2009-01-06T23:40:07.854-08:00</updated><title type='text'>Read QueryString Parameter and use in CAML to display specific blog category Posts</title><content type='html'>Well, SharePoint is full of challenges, and one day before I was stuck on this problem. I modified Blog Category page, and hence the page became customized. Now when I click a specific blog category, the page was displaying all the posts having no category defined. I was confused what is happening. Apparently I looked the CAML Query in 'SelectCommand' attribute and found the CAML as:&lt;br /&gt;&amp;lt;View&amp;gt;&amp;lt;Query&amp;gt;&amp;lt;OrderBy&amp;gt;&amp;lt;FieldRef Name=&amp;quot;PublishedDate&amp;quot; Ascending=&amp;quot;FALSE&amp;quot;/&amp;gt;&amp;lt;FieldRef Name=&amp;quot;ID&amp;quot; Ascending=&amp;quot;FALSE&amp;quot;/&amp;gt;&amp;lt;/OrderBy&amp;gt;&amp;lt;Where&amp;gt;&amp;lt;Eq&amp;gt;&amp;lt;FieldRef Name=&amp;quot;PostCategory&amp;quot;/&amp;gt;&amp;lt;Value Type=&amp;quot;&amp;quot;&amp;gt;&amp;lt;GetVar Scope=&amp;quot;Request&amp;quot; Name=&amp;quot;Name&amp;quot;/&amp;gt;&amp;lt;/Value&amp;gt;&amp;lt;/Eq&amp;gt;&amp;lt;/Where&amp;gt;&amp;lt;/Query&amp;gt;&amp;lt;/View&amp;gt;&amp;quot;&lt;br /&gt;&lt;br /&gt;Looked Ok to me! What is wrong in there. Noticed that how &amp;lt;GetVar&amp;gt; is working here. I thought of modifying the CAML query, but thought to investigate further using SharePoint Designer. BTW, here I am modifying WebPartPages:DataFormWebPart that has my custom formatting.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Now clicked this DataFormWebPart and a left arrow appears on the right of the same window, click it. &lt;/li&gt;&lt;li&gt;The window is titled as 'Common Data View Tasks'. &lt;/li&gt;&lt;li&gt;Click the top option - Filter. &lt;/li&gt;&lt;li&gt;When you click this 'Filter' option, 'Filter Criteria' window will open. &lt;/li&gt;&lt;li&gt;Click 'Click here to add a new clause...'. &lt;/li&gt;&lt;li&gt;Select the Field Name - In my case it was 'Category'.&lt;/li&gt;&lt;li&gt;Select Comparison value as 'Equals'&lt;/li&gt;&lt;li&gt;Select Value field and drop down option, click the last option...Create a new parameter. As soon as you click this new parameter option from drop down list, a new window will open titled as 'Data View Properties'. &lt;/li&gt;&lt;li&gt;Under Parameters, Type 'CategoryName' for 'Param1'. You can name anything here. &lt;/li&gt;&lt;li&gt;For Source Column, on the right side, select 'Query String' from the 'Parameter Source' drop down combo box.&lt;/li&gt;&lt;li&gt;As soon as you select 'Query String' from drop down, two new text boxes will appear. One is to define the query string variable name. Category page, by default, has 'Name' as Query String value. So Type 'Name' in Query String Variable Text Box. &lt;/li&gt;&lt;li&gt;Leave 'Default Value' text box empty.&lt;/li&gt;&lt;li&gt;Click Ok to close 'Data View Properties' window.&lt;/li&gt;&lt;li&gt;Click Ok to close 'Filter Criteria' window.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;You are done here.&lt;/p&gt;&lt;p&gt;And finally when you look back your CAML query, it will look like the following:&lt;/p&gt;&lt;p&gt;&amp;lt;View&amp;gt;&amp;lt;Query&amp;gt;&amp;lt;OrderBy&amp;gt;&amp;lt;FieldRef Name=&amp;quot;PublishedDate&amp;quot; Ascending=&amp;quot;FALSE&amp;quot;/&amp;gt;&amp;lt;FieldRef Name=&amp;quot;ID&amp;quot; Ascending=&amp;quot;FALSE&amp;quot;/&amp;gt;&amp;lt;/OrderBy&amp;gt;&amp;lt;Where&amp;gt;&amp;lt;Eq&amp;gt;&amp;lt;FieldRef Name=&amp;quot;PostCategory&amp;quot;/&amp;gt;&amp;lt;Value Type=&amp;quot;Text&amp;quot;&amp;gt;{CategoryName}&amp;lt;/Value&amp;gt;&amp;lt;/Eq&amp;gt;&amp;lt;/Where&amp;gt;&amp;lt;/Query&amp;gt;&amp;lt;/View&amp;gt;&lt;/p&gt;&lt;p&gt;And when I ran my category page again for a specific category, filtering was happening correctly.&lt;/p&gt;&lt;p&gt;I am relieved!!&lt;/p&gt;&lt;p&gt;References that I used:&lt;/p&gt;&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa218649.aspx"&gt;http://msdn.microsoft.com/en-us/library/aa218649.aspx&lt;/a&gt; - This I looked to understand the parameter binding relationship and from here I got the clue to look for 'Query String' option as one of the ParameterBindings Name is 'filterParam'.  It is interesting article though.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-7628899015327922796?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/7628899015327922796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=7628899015327922796' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/7628899015327922796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/7628899015327922796'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2009/01/read-querystring-parameter-and-use-in.html' title='Read QueryString Parameter and use in CAML to display specific blog category Posts'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-4570532924346980047</id><published>2008-11-04T17:28:00.001-08:00</published><updated>2009-01-13T09:51:04.827-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='EditForm.aspx'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='NewForm.aspx'/><category scheme='http://www.blogger.com/atom/ns#' term='show/Hide a field'/><title type='text'>Calendar: New Event - Hide 'Workspace' from NewForm or EditForm page</title><content type='html'>&lt;span style="font-family:arial;"&gt;Somebody asked me about hiding a field called 'Workspace' from Calendar: New Event or Edit existing event.&lt;br /&gt;I was wondering that there should be some decent way to hide any field available on 'New' or 'Edit' page.&lt;br /&gt;I googled around, and I found couple of responses, forexample,&lt;br /&gt;1. Modifying the NewForm.aspx page in SharePoint Designer 2007, hiding existing List Form Web Part, and then adding Custom List Form. Then delete the Workspace row from the form.&lt;br /&gt;&lt;br /&gt;Let me talk about the dis-advantages of this option:&lt;br /&gt;&lt;span style="color:#ff6666;"&gt;a.&lt;/span&gt; Attach File will NOT work. You need to investigate further to make it work. Still painful process.&lt;br /&gt;&lt;span style="color:#ff6666;"&gt;b.&lt;/span&gt; Try to create a 'Recurring' event, it will not work as expected.&lt;br /&gt;&lt;br /&gt;Considering these advantages, I thought that this is very tedious process, and one has to make the changes to all calendar lists. And then this change is required to be done on NewForm.aspx and EditForm.aspx. How about that? So it is really very painful process.&lt;br /&gt;&lt;br /&gt;2. Another option is again, modifying the NewForm.aspx or EditForm.aspx, and add following script (However, it didnt work for me though), but it is worth adding it here, just in case, if people are trying to solve the problemin this manner.&lt;br /&gt;&amp;lt;script language='javascript' type='text/javascript' &amp;gt;&lt;br /&gt;var toolbar = document.getElementByName("&amp;lt;name attribute value&amp;gt;&lt;name&gt;"); toolbar.parentNode.parentNode.parentNode.style.display = 'none'; toolbar.parentNode.parentNode.style.display = 'none';&lt;br /&gt;&amp;lt;script&amp;gt;&lt;br /&gt;&lt;br /&gt;This can be added in asp:content ContentPlaceHolderId="PlaceHolderTitleAreaClass".&lt;br /&gt;Once again as I said that it didnt work for me, but it can be done this way too.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;3. Recommended way.&lt;/strong&gt;&lt;/span&gt; First thing is that it is a feature, and can be found (12 Hive folder) at &lt;span style="color:#990000;"&gt;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\Template\Features\EventsList&lt;/span&gt;. Yes, it is event list feature. Now the modifications are required in schema.xml that can be found under Events folder (folder location, once again, is ..\12\TEMPLATE\FEATURES\EventsList\Events). This file can be modified in notepad.exe.&lt;br /&gt;While looking into the Calendar List Settings in Internet Explorer, I noticed that this field 'Workspace' is of type 'Cross Project Link'. This is important to remember, and search 'CrossProjectLink' in schema.xml file. I noticed there is only one instance of it.&lt;br /&gt;Secondly, the field is SharePoint field so looked for the corresponding class which is SPField. I looked into SPField Class Members on &lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfield_members.aspx"&gt;&lt;span style="font-family:arial;"&gt;MSDN&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt; and found a couple of interesting properties (and used two of them), for example, &lt;span style="color:#009900;"&gt;ShowInDisplayForm, ShowInEditForm, ShowInListSettings, ShowInNewForm, ShowInVersionHistory, ShowInViewForms&lt;/span&gt;. I was interested in ShowInEditForm and ShowInNewForm properties only. So in schema.xml file, for Field of Type="CrossProjectLink", added these two properties as attributes, and set the value="FALSE".&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;IMPORTANT:&lt;/span&gt; attribute value should be set as ShowInNewForm="FALSE" (case sensitive). If you set the value as ShowInNewForm="false", it will not work, so be careful here.&lt;br /&gt;My final &amp;lt;Field&amp;gt; is looked like:&lt;br /&gt;&amp;lt;Field ID="{08fc65f9-48eb-4e99-bd61-5946c439e691}" Type="CrossProjectLink" Name="WorkspaceLink" Format="EventList" DisplayName="$Resources:core,Workspace;" DisplayImage="mtgicon.gif" HeaderImage="mtgicnhd.gif" ClassInfo="Icon" Title="$Resources:core,Meeting_Workspace;" Filterable="TRUE" Sealed="TRUE" SourceID="&lt;/span&gt;&lt;a href="http://schemas.microsoft.com/sharepoint/v3"&gt;&lt;span style="font-family:arial;"&gt;http://schemas.microsoft.com/sharepoint/v3&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;" StaticName="WorkspaceLink" &lt;span style="color:#ff6666;"&gt;ShowInEditForm="FALSE" ShowInNewForm="FALSE"&lt;/span&gt;&amp;gt;&lt;br /&gt;As mentioned, I added only two attributes.&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;Save the schema.xml file.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now the task is to publish the feature with changes. And since the feature is already installed and activated, so it is mandatory to de-activate it and then un-install it.&lt;br /&gt;&lt;br /&gt;To smoothen the process I wrote two batch files one each for de-activate, un-install and install, activate:&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;script for &lt;span style="color:#ff6600;"&gt;uninstallfeature.bat&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;path="C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN"&lt;br /&gt;cd\&lt;br /&gt;cd "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN"&lt;br /&gt;stsadm.exe -o deactivatefeature -filename EventsList\Feature.xml -url &lt;/span&gt;&lt;a href="http://moss2007:8551/sites/Demo1"&gt;&lt;span style="font-family:arial;"&gt;http://moss2007:8551/sites/Demo1&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;stsadm.exe -o uninstallfeature -filename EventsList\Feature.xml -force&lt;br /&gt;cd\&lt;br /&gt;&lt;br /&gt;It is straight forward to understand, however, if you want instructions for the same, can send me request.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;script for &lt;span style="color:#ff0000;"&gt;installfeature.bat&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;path="C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN"&lt;br /&gt;cd\&lt;br /&gt;cd "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN"&lt;br /&gt;stsadm.exe -o installfeature -filename EventsList\Feature.xml&lt;br /&gt;stsadm.exe -o activatefeature -filename EventsList\Feature.xml -url &lt;/span&gt;&lt;a href="http://moss2007:8551/sites/demo1"&gt;&lt;span style="font-family:arial;"&gt;http://moss2007:8551/sites/demo1&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;cd\&lt;br /&gt;&lt;br /&gt;URL is required to install the feature, in this script, I am deploying the feature for a specific website.&lt;br /&gt;Dont forget to do &lt;span style="color:#ff0000;"&gt;IISRESET&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;I am done&lt;/strong&gt;, and when I tried to create or edit a calendar event, I don't see 'Workspace' option in there. I double checked that attach file is working, and I am able to create a 'Recurring' event too.&lt;br /&gt;It is really very useful tip for me, so thought let me add it here for future reference too. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;color:#ff6666;"&gt;Update as on 01/13/2009:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;1. The approach described here is applicable for a website. For example, if there are different calendars for different locations or divisions for an organization, then this approach can be used to hide a field in all calendars in that website. However, if the requirement is to show/hide 'Workspace' field for a specific list, there is a tool available in &lt;a href="http://www.codeplex.com/spm"&gt;http://www.codeplex.com/spm&lt;/a&gt; [Thanks for Boris]. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-4570532924346980047?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/4570532924346980047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=4570532924346980047' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/4570532924346980047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/4570532924346980047'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2008/11/calendar-new-event-hide-workspace-from.html' title='Calendar: New Event - Hide &apos;Workspace&apos; from NewForm or EditForm page'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-835180266174048560</id><published>2008-10-13T11:35:00.000-07:00</published><updated>2008-10-13T11:47:29.681-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQLExpress2005'/><title type='text'>SQL Express 2005 - changing sa password from osql command</title><content type='html'>I installed MOSS 2007 on stand alone system, and by default it installed with SQL Express 2005. Now I wanted to connect to it from osql command using 'sa' account, I tried to connect to it using sa and 'null' password but failed with error 'Login failed for user 'sa''.&lt;br /&gt;I googled and found very interesting support article &lt;a href="http://support.microsoft.com/kb/322336"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The steps to change the 'sa' password from command prompt is given here.&lt;br /&gt;1. Goto Command Prompt.&lt;br /&gt;2. Type: osql -E -S servername\instancename [and press Enter]. This option will work only if you are logged on as administrator on the machine or using the account that you used while installing sharepoint. Otherwise this option will not work. It worked for me because I am the administrator on my machine and same account was used to install MOSS.&lt;br /&gt;3. After successfully connected to SQL instance you will see sql prompt as "&gt;".&lt;br /&gt;4. Type:&lt;br /&gt;1&gt;sp_password @old=null, @new='pass123#$', @loginame='sa'&lt;br /&gt;2&gt;go&lt;br /&gt;1&gt;&lt;br /&gt;Important: @loginame (this is correct, there is no double "n" in login name... )&lt;br /&gt;You must see 1&gt; once password is changed successfully. Quit from windows authentication, and try connecting using the new 'sa' password.&lt;br /&gt;1&gt;quit&lt;br /&gt;C:\&gt;&lt;br /&gt;C:\&gt;osql -S servername\OfficeServers -U sa -P pass123#$ [and Press Enter]. You should be able to see the SQL Prompt which is:&lt;br /&gt;1&gt;&lt;br /&gt;&lt;br /&gt;Hoping it is useful for someone as it was for me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-835180266174048560?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/835180266174048560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=835180266174048560' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/835180266174048560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/835180266174048560'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2008/10/sql-express-2005-changing-sa-password.html' title='SQL Express 2005 - changing sa password from osql command'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-1359295832271390428</id><published>2008-07-14T12:41:00.001-07:00</published><updated>2008-07-14T12:46:51.826-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Remote Desktop Sessions'/><title type='text'>Who is connected to a server using Remote Desktop (command line command)</title><content type='html'>I was trying to connect to a machine, and then I get 'terminal server connection exceeded...' notification.&lt;br /&gt;I was wondering if there is a way to find out who is connected to the machine so that i can send an email who is in 'Disconnected' mode or something.&lt;br /&gt;I took the help of a network administrator, and he gave me one simple command that I ran from command line and it gave me the list of all sessions connected/disconnected to the machine.&lt;br /&gt;Here you go:&lt;br /&gt;C:\&gt;qwinsta /server:urservername [press enter]&lt;br /&gt;&lt;br /&gt;If you want to remove any instance/session, then run the following:&lt;br /&gt;C:\&gt;rwinsta /server:urservername ID# [press enter]&lt;br /&gt;&lt;br /&gt;I like to mention it here though.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-1359295832271390428?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/1359295832271390428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=1359295832271390428' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/1359295832271390428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/1359295832271390428'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2008/07/who-is-connected-to-server-using-remote.html' title='Who is connected to a server using Remote Desktop (command line command)'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-8623451623134414236</id><published>2008-07-14T12:16:00.000-07:00</published><updated>2008-07-14T12:31:35.560-07:00</updated><title type='text'>Read AppSettings Section from MyApp.dll.config</title><content type='html'>Its been long time, when I was struggling to read DLL Configuration file settings, and finally I found the solution. My app.config content is as :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;configuration&amp;gt;&lt;br /&gt;&amp;lt;configSections&amp;gt;&lt;br /&gt;&amp;lt;section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler"/&amp;gt;&lt;br /&gt;&amp;lt;sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" &amp;gt;&amp;lt;section name="Lab3.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /&amp;gt;&lt;br /&gt;&amp;lt;/sectionGroup&amp;gt;&lt;br /&gt;&amp;lt;/configSections&amp;gt;&lt;br /&gt;&amp;lt;log4net debug="true"&amp;gt;&lt;br /&gt;&amp;lt;appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender,log4net"&amp;gt;&lt;br /&gt;&amp;lt;param name="File" value="C:\\AppConfig\\Log.txt"/&amp;gt;&lt;br /&gt;&amp;lt;param name="AppendToFile" value="true"/&amp;gt;&lt;br /&gt;&amp;lt;param name="RollingStyle" value="Composite"/&amp;gt;&lt;br /&gt;&amp;lt;param name="DatePattern" value="yyyyMMdd"/&amp;gt;&lt;br /&gt;&amp;lt;param name="MaxSizeRollBackups" value="10"/&amp;gt;&lt;br /&gt;&amp;lt;param name="MaximumFileSize" value="50KB"/&amp;gt;&lt;br /&gt;&amp;lt;layout type="log4net.Layout.PatternLayout,log4net"&amp;gt;&lt;br /&gt;&amp;lt;param name="ConversionPattern" value="%d %-5p %c [%x] - %m%n"/&amp;gt;&lt;br /&gt;&amp;lt;/layout&amp;gt;&lt;br /&gt;&amp;lt;/appender&amp;gt;&lt;br /&gt;&amp;lt;root&amp;gt;&lt;br /&gt;&amp;lt;priority value="ALL"/&amp;gt;&lt;br /&gt;&amp;lt;appender-ref ref="RollingLogFileAppender"/&amp;gt;&lt;br /&gt;&amp;lt;/root&amp;gt;&lt;br /&gt;&amp;lt;/log4net&amp;gt;&lt;br /&gt;&amp;lt;appSettings&amp;gt;&lt;br /&gt;&amp;lt;add key="UserName" value="MyUserName"/&amp;gt;&lt;br /&gt;&amp;lt;/appSettings&amp;gt;&lt;br /&gt;&amp;lt;applicationSettings&amp;gt;&lt;br /&gt;&amp;lt;MyApp.Properties.Settings&amp;gt;&lt;br /&gt;&amp;lt;setting name="MyApp_SampleWS_Service1" serializeAs="String"&amp;gt;&lt;br /&gt;&amp;lt;value&amp;gt;http://localhost/SampleWebService/Service1.asmx&amp;lt;/value&amp;gt;&lt;br /&gt;&amp;lt;/setting&amp;gt;&lt;br /&gt;&amp;lt;/Lab3.Properties.Settings&amp;gt;&lt;br /&gt;&amp;lt;/applicationSettings&amp;gt;&lt;br /&gt;&amp;lt;/configuration&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The assembly (MyApp.dll) is deployed in GAC, and the once compiled, I copied MyApp.dll.config from build folder to C:\AppConfig. This path is hardcoded in the code so that it can be picked up easily by the code.&lt;br /&gt;This app.config has three major parts:&lt;br /&gt;1. Log4Net - to write log details in a text file.&lt;br /&gt;2. AppSettings&lt;br /&gt;3. WebService Reference.&lt;br /&gt;&lt;br /&gt;The piece of code that reads this config file from C:\AppConfig location:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ExeConfigurationFileMap fileMap = new ExeConfigurationFileMap();&lt;br /&gt;fileMap.ExeConfigFilename = @"C:\AppConfig" + @"\MyApp.dll.config";&lt;br /&gt;if (!File.Exists(fileMap.ExeConfigFilename))&lt;br /&gt;{&lt;br /&gt;logger.Info("File " + fileMap.ExeConfigFilename + " does not found.");&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;assemblyConfig = ConfigurationManager.OpenMappedExeConfiguration(fileMap, ConfigurationUserLevel.None);&lt;br /&gt;AppSettingsSection appSettings = assemblyConfig.AppSettings;&lt;br /&gt;logger.Info("App Settings found");&lt;br /&gt;logger.Info("Key=UserName, Value=" + appSettings.Settings["UserName"].Value);&lt;br /&gt;logger.Info("End of Information");&lt;br /&gt;&lt;br /&gt;And two static variable declarations:&lt;br /&gt;&lt;br /&gt;private static ILog logger = LogManager.GetLogger("Atul.Sample.ConfigSample");&lt;br /&gt;private static Configuration assemblyConfig;&lt;br /&gt;&lt;br /&gt;Add following line of code in AssemblyInfo.cs too to make log4net working correctly.&lt;br /&gt;&lt;br /&gt;[assembly: log4net.Config.XmlConfigurator(ConfigFile = @"C:\AppConfig\MyApp.dll.config", Watch = true)]&lt;br /&gt;&lt;br /&gt;Once again, make sure to copy 'MyApp.dll.config' in the C:\AppConfig location to make it work correctly.&lt;br /&gt;&lt;br /&gt;Assumption is that your assembly is 'strongly named' as this is required for deployment in GAC.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-8623451623134414236?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/8623451623134414236/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=8623451623134414236' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/8623451623134414236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/8623451623134414236'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2008/07/read-appsettings-section-from.html' title='Read AppSettings Section from MyApp.dll.config'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-2470637558993547659</id><published>2008-07-10T09:37:00.000-07:00</published><updated>2008-07-10T11:13:07.313-07:00</updated><title type='text'>Installing MOSS 2007 on Windows Vista home edition (32Bit)</title><content type='html'>&lt;div&gt;&lt;div&gt;First of all, thanks to the authors of the website who published ways to install Windows Sharepoint Services 3.0 on Windows Vista Operating System.&lt;br /&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;The URL is&lt;/div&gt;&lt;div&gt;&lt;a href="http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2008/05/21/how-to-install-windows-sharepoint-services-3-0-sp1-on-vista-x64-x86.aspx"&gt;http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2008/05/21/how-to-install-windows-sharepoint-services-3-0-sp1-on-vista-x64-x86.aspx&lt;/a&gt;&lt;/div&gt;&lt;div&gt;Hats off to the URL content authors!!! &lt;/div&gt;&lt;div&gt;&lt;br /&gt; &lt;/div&gt;&lt;div&gt;I applied the steps mentioned in the URL. I have windows vista home premium 32bit operating system. However, URL doesn't claim that they have tested installation on Home Premium, however, I did. And I have installed it successfully.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;I have SQL 2005 Developer Edition as well as SQL Express. Also have Visual Studio 2008 with .NET framework 2.0, 3.0 and 3.5. &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Why I looked these options, because initially I wanted to run virtual PC 2005 or 2007 so that I can run virtual Hard Disk for MOSS 2007. As per the installation instructions, it doesn't support installation on Vista Home, and thanks to google that helped me to find bamboo solutions. &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;So, I downloaded the files per the URL instructions, and run the installation. While configuring the Sharepoint Services Database, I used SQL Server 2005 default named instance but configuration failed with some errors. Actually I deviated the installation per given the instructions in the URL. Once it failed, I followed the same instructions (installing it on SQL Express instead of regular SQL Default instance), and installation completed smoothly. &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Now the challenge starts. I successfully start the Sharepoint services &lt;a href="http://servername:8260/"&gt;http://servername:8260/&lt;/a&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;First task is to create a web application, and created it successfully however, when I started the URL it failed with two different errors:&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;1. Internet Server Error - error on the web.config file. &lt;/div&gt;&lt;div&gt;2. Access Denied.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Please note that I opted Anonymous and Windows Authentication. However, Vista Home doesnt support Windows Authentication, it does support Basic Authentication. So once again I looked into the same URL for possible reasons how to make the website work, but in vain. People were talking about UAC (User Access Control) settings, though I did change it but in vain. So I reverted back all changes. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I tried all options:&lt;/div&gt;&lt;div&gt;1. Changing UAC Settings.&lt;/div&gt;&lt;div&gt;2. Changed Authentication mode in IIS 7.0. 'Basic Authentication' is enabled.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://bp1.blogger.com/_THiKCkH6_sw/SHZOCNvxFOI/AAAAAAAADBo/_DNki1BAc4E/s1600-h/IIS+Authentication.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5221446617939383522" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://bp1.blogger.com/_THiKCkH6_sw/SHZOCNvxFOI/AAAAAAAADBo/_DNki1BAc4E/s320/IIS+Authentication.jpg" border="0" /&gt;&lt;/a&gt;&lt;a href="http://bp2.blogger.com/_THiKCkH6_sw/SHZOCV25nuI/AAAAAAAADBw/onhbes1DvEc/s1600-h/IIS+Authentication+Enable.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5221446620116786914" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://bp2.blogger.com/_THiKCkH6_sw/SHZOCV25nuI/AAAAAAAADBw/onhbes1DvEc/s320/IIS+Authentication+Enable.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://bp2.blogger.com/_THiKCkH6_sw/SHZOCV25nuI/AAAAAAAADBw/onhbes1DvEc/s1600-h/IIS+Authentication+Enable.jpg"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://bp2.blogger.com/_THiKCkH6_sw/SHZOCV25nuI/AAAAAAAADBw/onhbes1DvEc/s1600-h/IIS+Authentication+Enable.jpg"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://bp2.blogger.com/_THiKCkH6_sw/SHZOCV25nuI/AAAAAAAADBw/onhbes1DvEc/s1600-h/IIS+Authentication+Enable.jpg"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Even completed these steps didnt help me much, so was thinking that what exactly am I missing. And finally I get a breakthrough in the central administration itself. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://bp1.blogger.com/_THiKCkH6_sw/SHZOrO65P0I/AAAAAAAADB4/9Bg9win9dPc/s1600-h/Central+Admin+Page.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5221447322629128002" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://bp1.blogger.com/_THiKCkH6_sw/SHZOrO65P0I/AAAAAAAADB4/9Bg9win9dPc/s320/Central+Admin+Page.jpg" border="0" /&gt;&lt;/a&gt;&lt;a href="http://bp2.blogger.com/_THiKCkH6_sw/SHZOra-lPyI/AAAAAAAADCA/lWdSxTpSrlI/s1600-h/Authentication+Provider+-+Change+Zone+Authentication.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5221447325865819938" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://bp2.blogger.com/_THiKCkH6_sw/SHZOra-lPyI/AAAAAAAADCA/lWdSxTpSrlI/s320/Authentication+Provider+-+Change+Zone+Authentication.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Click Save to save settings on Authentication Provider page.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Once I changed the option, it solved the problem and I was able to run my team site successfully.&lt;/div&gt;&lt;a href="http://bp1.blogger.com/_THiKCkH6_sw/SHZPzjmv-eI/AAAAAAAADCI/LmciE3R51_w/s1600-h/TeamSite.jpg"&gt;&lt;/a&gt;&lt;div&gt;&lt;a href="http://bp1.blogger.com/_THiKCkH6_sw/SHZQhoIrtdI/AAAAAAAADCQ/YppSPz5APlQ/s1600-h/TeamSite.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5221449356622411218" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://bp1.blogger.com/_THiKCkH6_sw/SHZQhoIrtdI/AAAAAAAADCQ/YppSPz5APlQ/s320/TeamSite.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-2470637558993547659?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/2470637558993547659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=2470637558993547659' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/2470637558993547659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/2470637558993547659'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2008/07/installing-moss-2007-on-windows-vista.html' title='Installing MOSS 2007 on Windows Vista home edition (32Bit)'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_THiKCkH6_sw/SHZOCNvxFOI/AAAAAAAADBo/_DNki1BAc4E/s72-c/IIS+Authentication.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-462901943480955149</id><published>2008-06-13T18:13:00.000-07:00</published><updated>2008-06-13T18:33:25.777-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DELL'/><category scheme='http://www.blogger.com/atom/ns#' term='XPS M1330'/><category scheme='http://www.blogger.com/atom/ns#' term='ATA/AHCI Controller'/><title type='text'>Installing Windows Vista Ultimate 64-bit on DELL XPS M1330</title><content type='html'>Well, I am not doing something new here. I bought DELL XPS M1330 last year. It came with following configuration:&lt;br /&gt;Intel Core 2 Duo T7500 (2.2GHz)&lt;br /&gt;3GB RAM, 160GB HDD (7200rpm)&lt;br /&gt;nVidia 8400M GS 128MB Graphics Card,&lt;br /&gt;Intel 4965 Wireless card&lt;br /&gt;9Cell battery&lt;br /&gt;Pre-Installed Windows Vista Home Premium 32-bit.&lt;br /&gt;&lt;br /&gt;Well, I did buy Windows Vista Ultimate (32 and 64-bit), so upgraded the machine without any problems though, to Vista Ultimate 32bit.  It worked pretty well, and smoothly. Surprisingly Windows Vista does search all the updated drivers automatically, if the machine is connected to internet and install the most appropriate one automatically.&lt;br /&gt;&lt;br /&gt;So long story short, I always wanted to have or to feel 64-bit taste. And one crazy day, I made a decision and started the installation. As soon as I completed the first stage of 64-bit installation of Vista Ultimate, I didn't get any success as I was getting BSOD (blue screen). I was unable to look into the error too because machine restarts within seconds as soon as it displays the error. So I spoke to DELL technical support and spent more than 24 hours (in three days) and issue was ATA/AHCI settings in BIOS. Frankly speaking, I really dont know what is the difference, but expert suggest that it should be AHCI.&lt;br /&gt;I followed the instructions given in the following post, and believe me, it is very good and informative, though you will get lot of new information too, here you go:&lt;br /&gt;&lt;a href="http://forum.notebookreview.com/showthread.php?t=158277"&gt;http://forum.notebookreview.com/showthread.php?t=158277&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also, I refer following websites while investigating on the issues:&lt;br /&gt;&lt;a href="http://support.intel.com/support/chipsets/imsm/sb/cs-020644.htm"&gt;http://support.intel.com/support/chipsets/imsm/sb/cs-020644.htm&lt;/a&gt; - This website will explain about the chipset installed on your machine and also gives you insight what needs to installed, version etc.&lt;br /&gt;&lt;br /&gt;I followed the steps given in the following post:&lt;br /&gt;&lt;a href="http://forum.notebookreview.com/showthread.php?t=164159"&gt;http://forum.notebookreview.com/showthread.php?t=164159&lt;/a&gt;. Before that I installed Vista Ultimate 64-bit in ATA mode (Flash Cache Mode was OFF). And then followed the instructions given in this post. Did the change in the BIOS (as given) and it worked without any problems. And then I followed the instructions as per the first post (&lt;a href="http://forum.notebookreview.com/showthread.php?t=158277"&gt;http://forum.notebookreview.com/showthread.php?t=158277&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;I was very frustrated earlier while talking to Dell technical support, but patiently executing all the troubleshooting steps as they were telling.&lt;br /&gt;&lt;br /&gt;Now this laptop is working fine, and windows update is going on right now, while writing down this post using another computer :).&lt;br /&gt;&lt;br /&gt;Now the next step is to upgrade the RAM from 3 GB to 4 GB to fully utilize the 64-bit environment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-462901943480955149?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/462901943480955149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=462901943480955149' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/462901943480955149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/462901943480955149'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2008/06/installing-windows-vista-ultimate-64.html' title='Installing Windows Vista Ultimate 64-bit on DELL XPS M1330'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-2619660749075466559</id><published>2008-01-28T13:27:00.000-08:00</published><updated>2008-01-28T13:39:46.798-08:00</updated><title type='text'>HTTP Error 500.19 - Internal Server Error</title><content type='html'>This is the problem I faced when I copied IIS 6.0 web application on to IIS 7.0. The steps that I executed are:&lt;br /&gt;1. Copied the web application on to a different folder, C:\Users\Name\....\myWebSite.&lt;br /&gt;2. In IIS 7.0, created a new 'Application' (please note that I haven't created virtual directory).&lt;br /&gt;3. The physical folder location is same as defined in step 1 above.&lt;br /&gt;&lt;br /&gt;I thought that I am done with my configuration, but when I tried to open 'Default.aspx' in the browser, I get this error.&lt;br /&gt;Description: The requested page cannot be accessed because the related configuration data for the page is invalid.&lt;br /&gt;Error Code: 0x80070005&lt;br /&gt;Notification: BeginRequest&lt;br /&gt;Module: IIS Web Core&lt;br /&gt;Requested URL: &lt;a href="http://localhost/MyWeb/Default.aspx"&gt;http://localhost/MyWeb/Default.aspx&lt;/a&gt;&lt;br /&gt;Physical Path: C:\Users\LoggedOnUser\...\Default.aspx&lt;br /&gt;Logon User: Not yet determined&lt;br /&gt;Logon Method: Not yet determined&lt;br /&gt;Handler: Not yet determined&lt;br /&gt;Config Error: Cannot read configuration file&lt;br /&gt;Config File: &lt;a href="file:///?\C:\Users\loggedOnUser\...\web.config"&gt;file:///?\C:\Users\loggedOnUser\...\web.config&lt;/a&gt;&lt;br /&gt;Config Source:&lt;br /&gt;-1:&lt;br /&gt;0:&lt;br /&gt;&lt;br /&gt;More Information... This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;Server Version Information: Internet Information Services 7.0.&lt;br /&gt;&lt;br /&gt;Seeing this error, it striked in my mind that definitely it is related to configuration settings in IIS 7.0. I checked the following settings:&lt;br /&gt;1. Authentication - It was disabled for 'Windows Authentication'. I enabled it for the web application.&lt;br /&gt;2. But then also, when I tried to open the default page, i get the same error.&lt;br /&gt;I was thinking that why it is not working, then thought to do some hit and trial versions. The very first step I did is to create a new application pool and instead of using 'NetworkService' as Identity, I set the identity to machineName\userName, in my case because I am not the domain user, so I used machineName\LocalAdministrator. And finally, I set the application pool of the web application to this new application pool.&lt;br /&gt;&lt;br /&gt;Bingo! It worked!&lt;br /&gt;I need to explore more of IIS 7.0 features, and actual differences / advantages.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-2619660749075466559?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/2619660749075466559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=2619660749075466559' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/2619660749075466559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/2619660749075466559'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2008/01/http-error-50019-internal-server-error.html' title='HTTP Error 500.19 - Internal Server Error'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-2212794302333293119</id><published>2008-01-10T21:45:00.000-08:00</published><updated>2008-01-10T21:54:29.512-08:00</updated><title type='text'>Required file alink.dll with IAlink3 could not be found</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;I copied the VS.NET 2005 application from a machine running Windows XP Professional on to another machine with configuration [Dell XPS Intel core 2 Duo, 2.2 GHz processor with 3GB RAM and 160GB HDD (7200rpm)] and Windows Vista Ultimate operating system. Well when I copied the files on to the local XPS machine the challenge was to execute the console application. The very first error I was facing (a) Required file alink.dll with IAlink3 could not be found. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Problem: Required file alink.dll with IAlink3 could not be found.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Solution: I thought that definitely it is something related to either operating system or orcus (VS.NET Studio 2008). As usual the very first thing a developer does is to look for a probable solution in google, and thats what I did too. The very first link was talked pretty well about the solution.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;The URL is: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;a href="http://codebetter.com/blogs/sam.gentile/archive/2007/04/29/workaround-for-orcas-beta-1-compile-problem-required-file-alink-dll-with-ialink3-could-not-be-found.aspx"&gt;http://codebetter.com/blogs/sam.gentile/archive/2007/04/29/workaround-for-orcas-beta-1-compile-problem-required-file-alink-dll-with-ialink3-could-not-be-found.aspx&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;In this if this URL is out of service or content is not available, the details are given here too (courtsey to the URL author).&lt;br /&gt;URL Content&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Required file 'alink.dll with IAlink3' could not be found.&lt;br /&gt;I am very grateful to two very fine Microsoft gentlemen that heeded my cry and came to my aid. The first was Tim Ng, who pointed me to the existing forum thread where the problem and a first workaround was posted by Pat Long:&lt;br /&gt;The MSUs are located on the Install CD under \WCU\dotNetFramework\dotNetMSP\x86 and they are called&lt;br /&gt;Windows6.0-KB110806-x86.msuWindows6.0-KB929300-x86.msuWindows6.0-kb930264-x86.msuThey needed to be run manually in order. The problem was when I tried to run the 3rd update it would always fail. At that point, Tim brought in another Softie, Jared Parsons, who came up with the solution and the workaround. We're still working on the issue but if you encounter this problem, the following will get you working!&lt;br /&gt;&lt;br /&gt;Another update. This error message occurs because the C# compiler is trying to embed a Vista manifest into your DLL. I believe you can also work around this problem by doing the following.&lt;br /&gt;Navigate to the properties page for the project. At the bottom of the Application tab (should be selected) there is an label called "Manifest" and a combo box underneath that says "Embed manifest with default settings". Switch that to "Create Application without a manifest". I know that will work around the warning in VB and I'm pretty sure it will with C# as well.&lt;br /&gt;Thanks Guys!!!!&lt;br /&gt;-----------------------------------------------&lt;br /&gt;I read this post and then recalled that Gosh! I dont have the operating system DVD handy. A sudden thought "Am I stuck?". Can't I proceed without it. Then I read further in the given solution where it talks about the "vista manifest". I just changed the manifest option from "Embed manifest with default settings" to "Create application without a manifest", and compiled my application (which was an exe). Bingo! Application ran without any problem.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Now my next action item is to investigate on this "Manifest" option, what is the difference and what are the advantages and disadvantages.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-2212794302333293119?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/2212794302333293119/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=2212794302333293119' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/2212794302333293119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/2212794302333293119'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2008/01/required-file-alinkdll-with-ialink3.html' title='Required file alink.dll with IAlink3 could not be found'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5407751878678380939.post-817089556791024865</id><published>2007-12-31T13:55:00.001-08:00</published><updated>2007-12-31T14:05:56.159-08:00</updated><title type='text'>Accident on highway 46 during christmas</title><content type='html'>I went to San Francisco by drive during this Christmas from Los Angeles. It was very good drive though, enjoyed a lot. Took a few days to overcome from the tiredness. After few days come to know about an accident in which 5 travelers burned to death on Highway 46 somewhere near SFO (doesnt know the exact place - read on news posts). I didnt know who were the travelers but they were four adults and one infant. They must be traveling with their seat belts ON, and when they met an accident, their car hit the railing, overturned and then they didnt get chance to get out from it. It felt me so bad that I was scared to drive on the road on that day. Death is the only truth, but it should come in proper and painless manner.&lt;br /&gt;I pray GOD to give piece to their soul.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5407751878678380939-817089556791024865?l=atulsh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://atulsh.blogspot.com/feeds/817089556791024865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5407751878678380939&amp;postID=817089556791024865' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/817089556791024865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5407751878678380939/posts/default/817089556791024865'/><link rel='alternate' type='text/html' href='http://atulsh.blogspot.com/2007/12/accident-on-highway-46-during-christmas.html' title='Accident on highway 46 during christmas'/><author><name>Atul</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp2.blogger.com/_THiKCkH6_sw/SFMgGcr8kRI/AAAAAAAAC4w/DWa-G6xWWe0/S220/134348.jpg'/></author><thr:total>0</thr:total></entry></feed>
