<?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-11258457</id><updated>2012-01-04T23:20:37.910-05:00</updated><category term='object oriented programming'/><category term='Excel Services'/><category term='Upgrade SQL'/><category term='tips and tricks'/><category term='Web Services'/><category term='SSRS'/><category term='SQL Server 2005'/><category term='Settings.Settings'/><category term='parameters'/><category term='SharePoint 2010'/><category term='SharePoint Errors'/><category term='OO'/><category term='InfoPath'/><title type='text'>Moojjoo Blog</title><subtitle type='html'>The following blog was created in order to maintain an ongoing log of C# .NET Web development, SQL Server, SQL Reporting, SharePoint, VBA and all other Microsoft Technology notes to help me and others in solving headache type problems.  You know the ones you get from banging your head against the key board for an hour or more on finding the solution.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default?start-index=101&amp;max-results=100'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>117</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-11258457.post-453731574905458902</id><published>2011-09-14T11:50:00.000-04:00</published><updated>2011-09-14T11:50:06.299-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><title type='text'>SharePoint 2010 Day at Microsoft Campus in Charlotte</title><content type='html'>Getting questions answered and great overview of SharePoint 2010 for the current MOSS 2007 to SharePoint 2010 project I am currently working on in my current contract.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-453731574905458902?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/453731574905458902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=453731574905458902' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/453731574905458902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/453731574905458902'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2011/09/sharepoint-2010-day-at-microsoft-campus.html' title='SharePoint 2010 Day at Microsoft Campus in Charlotte'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-4825197179235744331</id><published>2011-09-02T12:43:00.002-04:00</published><updated>2011-09-02T23:55:48.749-04:00</updated><title type='text'>SharePoint 2007 &amp; 2010 Index and Search sizes</title><content type='html'>&lt;div dir="LTR"&gt;&lt;span lang="en-us"&gt;&lt;/span&gt;&lt;span lang="en-us"&gt;&lt;/span&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family: Calibri;"&gt;If you need to review sizing of current implementation of SharePoint Index and Search&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir="LTR"&gt;&lt;span lang="en-us"&gt;&lt;/span&gt;&lt;span lang="en-us"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir="LTR"&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family: Calibri;"&gt;Go to &amp;gt; Central admin &amp;gt; Operatio&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;ns &amp;gt; Services on Server&lt;/span&gt; &lt;span style="font-family: Calibri;"&gt;&amp;gt; Office SharePoint Server Search Service Settings&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir="LTR"&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family: Calibri;"&gt;Copy the Default index file location : Run paste&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir="LTR"&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family: Calibri;"&gt;Select and review properties that will&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt; provide the&lt;/span&gt;&lt;/span&gt;&lt;span lang="en-us"&gt;&lt;/span&gt;&lt;span lang="en-us"&gt;&lt;/span&gt;&lt;span lang="en-us"&gt; &lt;span style="font-family: Calibri;"&gt;size of index&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir="LTR"&gt;&lt;span lang="en-us"&gt;&lt;span style="font-family: Calibri;"&gt;Next for Search simply navigate on SQL Server and right click on Search DB and review properties.&lt;/span&gt;&lt;/span&gt;&lt;span lang="en-us"&gt;&lt;/span&gt;&lt;span lang="en-us"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir="LTR"&gt;&lt;span lang="en-us"&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-4825197179235744331?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/4825197179235744331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=4825197179235744331' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/4825197179235744331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/4825197179235744331'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2011/09/sharepoint-2007-2010-index-and-search.html' title='SharePoint 2007 &amp; 2010 Index and Search sizes'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-3913555888868859877</id><published>2011-08-31T01:51:00.001-04:00</published><updated>2011-09-02T23:56:35.079-04:00</updated><title type='text'>MOSS 2007 on Windows Server 2008 R2</title><content type='html'>I ran into a solution for getting Central Admin to display on Windows Server 2008 R2 today.&amp;nbsp;&amp;nbsp; Basically you have to open IIS 7.0 and ensure that the Physical Path is correct.&amp;nbsp; For some reason the install had an incorrect physical path.&amp;nbsp;&amp;nbsp; I fixed it and everything worked.&lt;br /&gt;&lt;br /&gt;Next was installing MOSS 2007 SP2 slip stream on the rest of the farm.&amp;nbsp;&amp;nbsp; Ensure you open the port that Central Admin is installed on or you will not be able to access.&amp;nbsp;&amp;nbsp; LESSONS LEARNED FROM MOOJJOO&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-3913555888868859877?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/3913555888868859877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=3913555888868859877' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3913555888868859877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3913555888868859877'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2011/08/moss-2007-on-windows-server-2008-r2.html' title='MOSS 2007 on Windows Server 2008 R2'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-12980726507793475</id><published>2011-03-26T22:08:00.001-04:00</published><updated>2011-03-26T22:08:00.631-04:00</updated><title type='text'>Setup new URL</title><content type='html'>dotnet.mmwebs.com going to see if I can access blogger from work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-12980726507793475?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/12980726507793475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=12980726507793475' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/12980726507793475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/12980726507793475'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2011/03/setup-new-url.html' title='Setup new URL'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-2294245044806480417</id><published>2010-11-19T11:08:00.002-05:00</published><updated>2010-11-19T11:08:23.284-05:00</updated><title type='text'>Add JavaScript to handle two scripts in ASP.NET</title><content type='html'>protected void ApplyJavaScriptForPostToIris()&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;System.Text.StringBuilder sbValid = new System.Text.StringBuilder();&lt;br /&gt;&lt;br /&gt;sbValid.Append("if (confirm('Are you sure you want to post this file to app') == true){"); &lt;br /&gt;&lt;br /&gt;sbValid.Append("this.disabled = true;");&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;sbValid.Append("} else { return false;}");&lt;br /&gt;&lt;br /&gt;sbValid.Append(this.ClientScript.GetPostBackEventReference(this.btnPostToIRIS, "") + ";");&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;this.btnPostToIRIS.Attributes.Add("onclick", sbValid.ToString());&lt;br /&gt;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-2294245044806480417?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/2294245044806480417/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=2294245044806480417' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2294245044806480417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2294245044806480417'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2010/11/add-javascript-to-handle-two-scripts-in.html' title='Add JavaScript to handle two scripts in ASP.NET'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-1906583762991222248</id><published>2010-11-09T09:47:00.000-05:00</published><updated>2010-11-09T09:47:27.711-05:00</updated><title type='text'>Looping through SQL Server ...   This has to be saved. To many hours spent.</title><content type='html'>I know I will have to do this again....&lt;br /&gt;&lt;br /&gt;This article describes various methods that you can use to simulate a cursor-like FETCH-NEXT logic in a stored procedure, trigger, or Transact-SQL batch. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Use Transact-SQL Statements to Iterate Through a Result Set&lt;br /&gt;&lt;br /&gt;There are three methods you can use to iterate through a result set by using Transact-SQL statements. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;One method is the use of temp tables. With this method, you create a "snapshot" of the initial SELECT statement and use it as a basis for "cursoring." For example: &lt;br /&gt;&lt;br /&gt;/********** example 1 **********/ &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;declare @au_id char( 11 )&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;set rowcount 0&lt;br /&gt;&lt;br /&gt;select * into #mytemp from authors&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;set rowcount 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select @au_id = au_id from #mytemp&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;while @@rowcount &amp;lt;&amp;gt; 0&lt;br /&gt;&lt;br /&gt;begin&lt;br /&gt;&lt;br /&gt;set rowcount 0&lt;br /&gt;&lt;br /&gt;select * from #mytemp where au_id = @au_id&lt;br /&gt;&lt;br /&gt;delete #mytemp where au_id = @au_id&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;set rowcount 1&lt;br /&gt;&lt;br /&gt;select @au_id = au_id from #mytemp&lt;br /&gt;&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;set rowcount 0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A second method is to use the min function to "walk" a table one row at a time. This method catches new rows that were added after the stored procedure begins execution, provided that the new row has a unique identifier greater than the current row that is being processed in the query. For example: &lt;br /&gt;&lt;br /&gt;/********** example 2 **********/ &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;declare @au_id char( 11 )&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select @au_id = min( au_id ) from authors&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;while @au_id is not null&lt;br /&gt;&lt;br /&gt;begin&lt;br /&gt;&lt;br /&gt;select * from authors where au_id = @au_id&lt;br /&gt;&lt;br /&gt;select @au_id = min( au_id ) from authors where au_id &amp;gt; @au_id&lt;br /&gt;&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;NOTE: Both example 1 and 2 assume that a unique identifier exists for each row in the source table. In some cases, no unique identifier may exist. If that is the case, you can modify the temp table method to use a newly created key column. For example: &lt;br /&gt;&lt;br /&gt;/********** example 3 **********/ &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;set rowcount 0&lt;br /&gt;&lt;br /&gt;select NULL mykey, * into #mytemp from authors&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;set rowcount 1&lt;br /&gt;&lt;br /&gt;update #mytemp set mykey = 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;while @@rowcount &amp;gt; 0&lt;br /&gt;&lt;br /&gt;begin&lt;br /&gt;&lt;br /&gt;set rowcount 0&lt;br /&gt;&lt;br /&gt;select * from #mytemp where mykey = 1&lt;br /&gt;&lt;br /&gt;delete #mytemp where mykey = 1&lt;br /&gt;&lt;br /&gt;set rowcount 1&lt;br /&gt;&lt;br /&gt;update #mytemp set mykey = 1&lt;br /&gt;&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;set rowcount 0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- ================================================&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- Template generated from Template Explorer using:&lt;br /&gt;&lt;br /&gt;-- Create Procedure (New Menu).SQL&lt;br /&gt;&lt;br /&gt;--&lt;br /&gt;&lt;br /&gt;-- Use the Specify Values for Template Parameters &lt;br /&gt;&lt;br /&gt;-- command (Ctrl-Shift-M) to fill in the parameter &lt;br /&gt;&lt;br /&gt;-- values below.&lt;br /&gt;&lt;br /&gt;--&lt;br /&gt;&lt;br /&gt;-- This block of comments will not be included in&lt;br /&gt;&lt;br /&gt;-- the definition of the procedure.&lt;br /&gt;&lt;br /&gt;-- ================================================&lt;br /&gt;&lt;br /&gt;SET ANSI_NULLS ON&lt;br /&gt;&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;SET QUOTED_IDENTIFIER ON&lt;br /&gt;&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;-- =============================================&lt;br /&gt;&lt;br /&gt;-- Author: Robert Dannelly&lt;br /&gt;&lt;br /&gt;-- Create date: 11/09/2010&lt;br /&gt;&lt;br /&gt;-- Description: Resubmission Validation&lt;br /&gt;&lt;br /&gt;-- =============================================&lt;br /&gt;&lt;br /&gt;CREATE PROCEDURE ResubmissionValidation &lt;br /&gt;&lt;br /&gt;-- Add the parameters for the stored procedure here&lt;br /&gt;&lt;br /&gt;@ImportID int&lt;br /&gt;&lt;br /&gt;AS&lt;br /&gt;&lt;br /&gt;BEGIN&lt;br /&gt;&lt;br /&gt;-- SET NOCOUNT ON added to prevent extra result sets from&lt;br /&gt;&lt;br /&gt;-- interfering with SELECT statements.&lt;br /&gt;&lt;br /&gt;SET NOCOUNT ON;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- Insert statements for procedure here&lt;br /&gt;&lt;br /&gt;DECLARE @ResubmissionTest TABLE&lt;br /&gt;&lt;br /&gt;(&lt;br /&gt;&lt;br /&gt;[ImportMetricID] [int] NULL,&lt;br /&gt;&lt;br /&gt;[ImportID] [int] NULL,&lt;br /&gt;&lt;br /&gt;[MetricInstanceID] [int] NULL,&lt;br /&gt;&lt;br /&gt;[MetricValue] [varchar](100) NULL,&lt;br /&gt;&lt;br /&gt;[NDTR] [varchar](20) NULL,&lt;br /&gt;&lt;br /&gt;[MetricValueDate] [datetime] NULL,&lt;br /&gt;&lt;br /&gt;[Narrative] [varchar](300) NULL,&lt;br /&gt;&lt;br /&gt;[Resubmission] [varchar](50) NULL,&lt;br /&gt;&lt;br /&gt;[ImportMetricStatus] [varchar](50) NULL,&lt;br /&gt;&lt;br /&gt;[ImportFailureMsg] [varchar](200) NULL,&lt;br /&gt;&lt;br /&gt;[CurrentMetricValue] [varchar](50) NULL&lt;br /&gt;&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;INSERT INTO @ResubmissionTest (ImportMetricID, ImportID, MetricInstanceID, MetricValue, NDTR, MetricValueDate, Narrative,&lt;br /&gt;&lt;br /&gt;Resubmission, ImportMetricStatus, ImportFailureMsg, CurrentMetricValue)&lt;br /&gt;&lt;br /&gt;SELECT ImportMetricID, ImportID, MetricInstanceID, MetricValue, NDTR, MetricValueDate, Narrative,&lt;br /&gt;&lt;br /&gt;Resubmission, ImportMetricStatus, ImportFailureMsg, CurrentMetricValue FROM tblImportMetric WHERE ImportID = @ImportID --Need to change to Variable&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- This is used for Testing RBD&lt;br /&gt;&lt;br /&gt;--SELECT * FROM @ResubmissionTest&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DECLARE @ImportMetric_ID char(11), @Resubmission varchar(10)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SELECT @ImportMetric_ID = min(ImportMetricID) FROM @ResubmissionTest&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Begin LOOP &lt;br /&gt;&lt;br /&gt;WHILE @ImportMetric_ID is not null&lt;br /&gt;&lt;br /&gt;BEGIN&lt;br /&gt;&lt;br /&gt;DECLARE @MetricInstanceID int,&lt;br /&gt;&lt;br /&gt;@MetricValueDate DateTime&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SELECT @MetricInstanceID MetricInstanceID FROM @ResubmissionTest WHERE ImportMetricID = @ImportMetric_ID&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SELECT @MetricValueDate MetricValueDate FROM @ResubmissionTest WHERE ImportMetricID = @ImportMetric_ID&lt;br /&gt;&lt;br /&gt;-- Be sure to change the values to @MetricInstanceID AND @MetricValueDate&lt;br /&gt;&lt;br /&gt;EXECUTE ImportCheckResubmission @MetricInstanceID, @MetricValueDate, @Resubmission OUTPUT&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IF @Resubmission = 'Yes'&lt;br /&gt;&lt;br /&gt;BEGIN&lt;br /&gt;&lt;br /&gt;UPDATE @ResubmissionTest&lt;br /&gt;&lt;br /&gt;SET ImportFailureMsg = 'There is an existing value for this metric and interval. Please indicate if it is a resubmission.'&lt;br /&gt;&lt;br /&gt;WHERE ImportMetricID = @ImportMetric_ID&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SELECT @ImportMetric_ID = min(ImportMetricID) FROM @ResubmissionTest WHERE ImportMetricID &amp;gt; @ImportMetric_ID&lt;br /&gt;&lt;br /&gt;END &lt;br /&gt;&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DELETE FROM tblImportMetric WHERE ImportID = @ImportID&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;INSERT INTO tblImportMetric (ImportID, MetricInstanceID, MetricValue, NDTR, MetricValueDate, Narrative,&lt;br /&gt;&lt;br /&gt;Resubmission, ImportMetricStatus, ImportFailureMsg, CurrentMetricValue)&lt;br /&gt;&lt;br /&gt;SELECT ImportID, MetricInstanceID, MetricValue, NDTR, MetricValueDate, Narrative,&lt;br /&gt;&lt;br /&gt;Resubmission, ImportMetricStatus, ImportFailureMsg, CurrentMetricValue FROM @ResubmissionTest WHERE ImportID = @ImportID --Need to change to Variable&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--This is used for Testing&lt;br /&gt;&lt;br /&gt;--SELECT * FROM tblImportMetric&lt;br /&gt;&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;GO&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-1906583762991222248?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/1906583762991222248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=1906583762991222248' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/1906583762991222248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/1906583762991222248'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2010/11/looping-through-sql-server-this-has-to.html' title='Looping through SQL Server ...   This has to be saved. To many hours spent.'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-4414510092645532853</id><published>2010-11-04T11:36:00.004-04:00</published><updated>2010-11-04T11:37:14.500-04:00</updated><title type='text'>Demystify SQL Debugging with with Visual Studio</title><content type='html'>Here is what I did to fix this issue "FINALLY"&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.asp.net/data-access/tutorials/debugging-stored-procedures-vb"&gt;http://www.asp.net/data-access/tutorials/debugging-stored-procedures-vb&lt;/a&gt;&lt;br /&gt;#1 Connect using Windows Authentication as the same account on the local machine that must have sysadmin rights in the Instance of SQL Server.&lt;br /&gt;#2 They use Server Explorer and connect with that same account and then once connect right click on the DB and check "Application Debuggin. I am posting this to my blog.&lt;br /&gt;Great posts. By the way I feel the pain of remote individuals, my answer tell you management that if you want fast, rapid code to fork up the dough for SQL Developer Edition and do all you coding locally with a quality source control.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Robert.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-4414510092645532853?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/4414510092645532853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=4414510092645532853' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/4414510092645532853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/4414510092645532853'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2010/11/demystify-sql-debugging-with-with.html' title='Demystify SQL Debugging with with Visual Studio'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-6813634743684005390</id><published>2010-11-04T09:08:00.000-04:00</published><updated>2010-11-04T09:08:36.537-04:00</updated><title type='text'>GridView</title><content type='html'>HTML:&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-6813634743684005390?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/6813634743684005390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=6813634743684005390' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/6813634743684005390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/6813634743684005390'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2010/11/gridview.html' title='GridView'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-9190771474967425773</id><published>2010-10-19T13:05:00.002-04:00</published><updated>2010-10-22T12:11:05.595-04:00</updated><title type='text'>Add Using for Controls or lookup very useful</title><content type='html'>In VS 2008, when the caret is on the name of the class which doesnt have a using statement in the file, SHIFT+ALT+F10 will bring up a context menu to add the using statement.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-9190771474967425773?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/9190771474967425773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=9190771474967425773' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/9190771474967425773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/9190771474967425773'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2010/10/add-using-for-controls-or-lookup-very.html' title='Add Using for Controls or lookup very useful'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-2896675377184817431</id><published>2010-10-19T11:09:00.002-04:00</published><updated>2010-10-19T11:11:20.298-04:00</updated><title type='text'>Reboot Remotely</title><content type='html'>&lt;div class="WordSection1"&gt;&lt;div class="MsoNormal" style="line-height: 15.6pt;"&gt;&lt;span style="color: #333333; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9pt;"&gt;When you work in distributed environment you probably use remote desktop session as you primary method of sql server machines administration. When critical windows updates are installed or when you install system or sql server service pack installation wizard promts you to restart the box in order to complete the installation. And it happens from time to time that this&amp;nbsp; machine hangs on reboot process for some reason and you can no longer connect it via remote desktop. If it was you local computer you could enter into your server room and press the reset button but if it stand thousands miles away from you it becomes a real problem. &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 15.6pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; vertical-align: bottom;"&gt;&lt;b&gt;&lt;span style="color: #666666; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.5pt;"&gt;How to restart or shutdown remote machine&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 15.6pt; margin-bottom: 3.75pt; text-align: justify;"&gt;&lt;span style="color: #333333; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9pt;"&gt;If you can &lt;/span&gt;&lt;b&gt;&lt;span style="color: #333333; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9pt;"&gt;ping &lt;/span&gt;&lt;/b&gt;&lt;span style="color: #333333; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9pt;"&gt;this machine from other computer and you have administrators rights on that machine you may use windows utility.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 15.6pt; margin-bottom: 3.75pt; text-align: justify;"&gt;&lt;span style="color: #333333; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9pt;"&gt;On a computer that has connection to the server which needs to be restarted or shutdown go to Start -&amp;gt; Run and type &lt;/span&gt;&lt;b&gt;&lt;span style="color: #333333; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9pt;"&gt;shutdown -i&lt;/span&gt;&lt;/b&gt;&lt;span style="color: #333333; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9pt;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 15.6pt; margin-bottom: 3.75pt; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 15.6pt; margin-bottom: 3.75pt; text-align: justify;"&gt;&lt;span style="color: #333333; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9pt;"&gt;This window will show up. Press &lt;/span&gt;&lt;b&gt;&lt;span style="color: #333333; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9pt;"&gt;Add &lt;/span&gt;&lt;/b&gt;&lt;span style="color: #333333; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9pt;"&gt;and type either IP or DNS of remote server.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 15.6pt; margin-bottom: 3.75pt; text-align: justify;"&gt;&lt;span style="color: #333333; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9pt;"&gt;Select shutdown or restart and press OK. That 's it. For your convenience you may run from command line constanct ping&amp;nbsp; (ping servername -t) when the server actually stopped to respond to pings and when it started again.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 15.6pt; text-align: justify;"&gt;&lt;span style="color: #333333; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9pt;"&gt;Alternatively you can go to command prompt (start -&amp;gt; run -&amp;gt; cmd) on your workstation and Type&lt;/span&gt;&lt;b&gt;&lt;span style="color: #333333; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9pt;"&gt;shutdown -r -m \\x.x.x.x&lt;/span&gt;&lt;/b&gt;&lt;span style="color: #333333; font-family: &amp;quot;Helvetica&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9pt;"&gt;&lt;br /&gt;Replace x.x.x.x with the IP address or computer name of the remote machine. -r option is for restart, don't use -r if want to just shut down the system. &amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-2896675377184817431?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/2896675377184817431/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=2896675377184817431' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2896675377184817431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2896675377184817431'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2010/10/reboot-remotely.html' title='Reboot Remotely'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-7675896002228956416</id><published>2010-08-05T08:32:00.001-04:00</published><updated>2010-08-05T08:32:12.599-04:00</updated><title type='text'>SharePoint Site Collection Administration</title><content type='html'>Lesson learned.   If you are ever asked to maintain a SharePoint site the first thing to do is say, "Grant me Site Collection Admin Rights".  Why?  Because if you are testing security and you do not know who the Site Collection Admin are then if you remove security the individuals in that role will still have access.   (Nice 2 hour lesson learned)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-7675896002228956416?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/7675896002228956416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=7675896002228956416' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/7675896002228956416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/7675896002228956416'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2010/08/sharepoint-site-collection.html' title='SharePoint Site Collection Administration'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-2130434372444394382</id><published>2010-06-17T16:06:00.000-04:00</published><updated>2010-06-17T16:06:06.409-04:00</updated><title type='text'>AJAX Install</title><content type='html'>If you develop ASP.NET applications with AJAX here is a step by step guide so you do not bang your head.&lt;br /&gt;&lt;br /&gt;1)  Download the latest version from CodePlex for AJAX.&lt;br /&gt;2)  Extract to a location of your choice&lt;br /&gt;3)  Add the AjaxControlToolkit.dll &amp; AjaxControlToolkit.pdb to you Web layer project /bin folder&lt;br /&gt;4)  Create a new Tab in your Toolbox and point to the new AjaxControlToolkit.dll&lt;br /&gt;5)  Create a reference to your AjaxControlToolkit.dll&lt;br /&gt;6)  Finally ensure the line in your Web.config is that same version as your dll assembly - &lt;add assembly="AjaxControlToolkit, Version=3.5.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"/&gt;  (Simply right click the dll and look at the properties for assembly info.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-2130434372444394382?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/2130434372444394382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=2130434372444394382' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2130434372444394382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2130434372444394382'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2010/06/ajax-install.html' title='AJAX Install'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-5863637491860322768</id><published>2010-04-16T10:39:00.001-04:00</published><updated>2010-04-16T10:39:08.250-04:00</updated><title type='text'>Visual Studio 2010</title><content type='html'>Microsoft has released Microsoft Visual Studio 2010.  I think it is time for me to upgrade to Windows 7 and start using there new tool set in order to keep up with the times.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-5863637491860322768?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/5863637491860322768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=5863637491860322768' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/5863637491860322768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/5863637491860322768'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2010/04/visual-studio-2010.html' title='Visual Studio 2010'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-4748520924995123977</id><published>2010-04-16T10:32:00.003-04:00</published><updated>2010-04-16T10:34:01.535-04:00</updated><title type='text'>SharePoint and SQL Sever Reporting Integration</title><content type='html'>Well, I must tell you that I had to reach out to Microsoft yesterday and use 1 of my support calls with my MSDN Subscriptions.   I have been tasked with integrated SQL Server Reporting Services with MOSS 2007.&lt;br /&gt;&lt;br /&gt;This will be the first implmentation at my company and I very excited to have a fantastic presentation for my upper managment.&lt;br /&gt;&lt;br /&gt;A lot of work has been put into this and I plan to sell this great feature.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-4748520924995123977?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/4748520924995123977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=4748520924995123977' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/4748520924995123977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/4748520924995123977'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2010/04/sharepoint-and-sql-sever-reporting.html' title='SharePoint and SQL Sever Reporting Integration'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-1039733595902869822</id><published>2010-04-01T14:18:00.002-04:00</published><updated>2010-04-01T14:19:54.769-04:00</updated><title type='text'>New Trick Envrionment Variables</title><content type='html'>public static string SecurePath = Environment.GetEnvironmentVariable("SECURED_APP_PATH");&lt;br /&gt;&lt;br /&gt;You can right click on your computer &gt; Advanced Tab &gt; set the variables.  Warning they will not take effect till a reboot.&lt;br /&gt;&lt;br /&gt;This would not worth using for a hosted appllication when you do not have access to the server.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-1039733595902869822?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/1039733595902869822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=1039733595902869822' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/1039733595902869822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/1039733595902869822'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2010/04/new-trick-envrionment-variables.html' title='New Trick Envrionment Variables'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-2694515366386694643</id><published>2010-03-08T15:23:00.007-05:00</published><updated>2010-03-25T11:57:45.173-04:00</updated><title type='text'>Time to build the app</title><content type='html'>I am ready to build the app for retirement.   1 to 2 hours a day.&lt;br /&gt;&lt;br /&gt;Define - 20 more hours&lt;br /&gt;  - Design DB (Completed)&lt;br /&gt;  - Design Workflow (Completed)&lt;br /&gt;  - Design UI(s) All screens (Completed)&lt;br /&gt;  - Design Objects (Completed)&lt;br /&gt;Measure - 10 hours (2-6 Months, but will be done before I am 40 :-)  )&lt;br /&gt;Analyze - 40 hours (Done)&lt;br /&gt;Improve (Build) - (In Process)&lt;br /&gt;  - Database Development (8 Hours Completed)&lt;br /&gt;  - Application (Web to start in Progress 2-6 months &lt;br /&gt;    * Web UI&lt;br /&gt;    * Business Layer&lt;br /&gt;    * Data Layer (Completed)&lt;br /&gt;    * Test Test Test fix fix fix test test test&lt;br /&gt;    * Demo to friends and family (Huge Milestone - break out Beer and Wine)&lt;br /&gt;&lt;br /&gt;Control - Will know after Improve Phase)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-2694515366386694643?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/2694515366386694643/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=2694515366386694643' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2694515366386694643'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2694515366386694643'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2010/03/time-to-build-app.html' title='Time to build the app'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-9122945771062859713</id><published>2010-02-19T20:38:00.004-05:00</published><updated>2010-02-19T20:42:37.635-05:00</updated><title type='text'>Trace.axd</title><content type='html'>One thing I am going to remember is Trace with ASP.NET...   It is so powerfull to watch Application, Session and ViewState.&lt;br /&gt;&lt;br /&gt;&amp;lt;trace enabled="true" requestLimit="40" localOnly="false" /&amp;gt;&lt;br /&gt;&lt;br /&gt;Very important when troubleshooting:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/y13fw6we%28VS.71%29.aspx"&gt;http://msdn.microsoft.com/en-us/library/y13fw6we%28VS.71%29.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-9122945771062859713?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/9122945771062859713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=9122945771062859713' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/9122945771062859713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/9122945771062859713'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2010/02/traceaxd.html' title='Trace.axd'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-8293472000556258175</id><published>2010-02-04T17:04:00.003-05:00</published><updated>2010-02-04T17:07:11.536-05:00</updated><title type='text'>Kill Task in XP</title><content type='html'>c:\&gt;taskkill /pid 3252 /F&lt;br /&gt;&lt;br /&gt;Force kill aspnetwp.exe....&lt;br /&gt;&lt;br /&gt;Than stop the IIS and then delete temporary files.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-8293472000556258175?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/8293472000556258175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=8293472000556258175' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/8293472000556258175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/8293472000556258175'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2010/02/kill-task-in-xp.html' title='Kill Task in XP'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-2246811411220117385</id><published>2010-01-11T09:10:00.001-05:00</published><updated>2010-01-11T09:10:30.310-05:00</updated><title type='text'>Ctrl-Alt-Del on remote desktop aka server</title><content type='html'>In order to send Ctrl-Alt-Del keystrokes to remote computer connected via Remote Desktop client, just press the following workaround keyboard shortcuts specially used in Remote Desktop environment:&lt;br /&gt;&lt;br /&gt;Ctrl+Alt+End&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-2246811411220117385?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/2246811411220117385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=2246811411220117385' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2246811411220117385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2246811411220117385'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2010/01/ctrl-alt-del-on-remote-desktop-aka.html' title='Ctrl-Alt-Del on remote desktop aka server'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-3335540987498534311</id><published>2009-10-30T11:24:00.001-04:00</published><updated>2009-10-30T11:24:20.544-04:00</updated><title type='text'>Database Design and Audit</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;When developing ASP.NET application that use a APP Pool and identity to make all calls to the back end database in order to have a trigger based solution for auditing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;I would recommend all your tables have updatedDT and updateBY columns in all the tables you want to audit.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-3335540987498534311?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/3335540987498534311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=3335540987498534311' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3335540987498534311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3335540987498534311'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2009/10/database-design-and-audit.html' title='Database Design and Audit'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-3871110351701377629</id><published>2009-09-15T14:22:00.006-04:00</published><updated>2009-10-07T17:32:55.690-04:00</updated><title type='text'>Leading a Development Team</title><content type='html'>New idea for a Development Team lead.&lt;br /&gt;&lt;br /&gt;Depending on the scope of the technical requirements, it is the job of the team lead to review all documentation.  PERIOD.  From the technical specs the DEV LEAD develops the HLD/LLD specs, make estimates on the Business Analysis for each HLD/LLD.&lt;br /&gt;&lt;br /&gt;Next, grant the developer the proper time to analyze the HLD/LLD requirements written by the tech lead.  Tech Lead should read the HLD/LLD to ensure they are complete and time the review time and add 1 hour to allow developer the time needed to read the documentation and allow time the developer to ask questions to close gaps on missing requirements.&lt;br /&gt;&lt;br /&gt;Once the business and the tech lead sort out these issues a developer should not code until all gaps are filled.&lt;br /&gt;&lt;br /&gt;If you do, you will be doing rework on the project, thus costing time which as we all know == MONEY.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-3871110351701377629?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/3871110351701377629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=3871110351701377629' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3871110351701377629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3871110351701377629'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2009/09/leading-development-team.html' title='Leading a Development Team'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-4766581846433796110</id><published>2009-07-22T11:55:00.000-04:00</published><updated>2009-07-22T11:56:13.916-04:00</updated><title type='text'>Team work</title><content type='html'>Team work is the key important part of any project along with communication.  Always communicate and work hard and do your best.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-4766581846433796110?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/4766581846433796110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=4766581846433796110' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/4766581846433796110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/4766581846433796110'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2009/07/team-work.html' title='Team work'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-7346618068549397982</id><published>2009-04-29T11:09:00.000-04:00</published><updated>2009-04-29T11:10:07.275-04:00</updated><title type='text'>Assignments</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;DUhG&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;If you see that something does not work in Visual Studio because it is not set as an assignment on a property.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;Include the = symbol.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;Example&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;li.select;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;Will not work&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;li.select = true; //will.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;span style='font-size:10.0pt;font-family:"Arial","sans-serif"'&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-7346618068549397982?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/7346618068549397982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=7346618068549397982' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/7346618068549397982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/7346618068549397982'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2009/04/assignments.html' title='Assignments'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-747211605261594536</id><published>2009-03-31T09:15:00.000-04:00</published><updated>2009-03-31T09:16:07.553-04:00</updated><title type='text'>Change My Documents</title><content type='html'>&lt;div class=Section1&gt;  &lt;h1 style='background:white'&gt;&lt;span style='font-family:"Arial","sans-serif"; color:black'&gt;Ability to change the My Documents path is restricted.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;  &lt;p class=MsoNormal style='background:white'&gt;&lt;b&gt;&lt;span style='font-size:10.5pt; font-family:"Arial","sans-serif";color:#333333'&gt;This setting can restrict the ability to change the current path of My Documents folder.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='background:white'&gt;&lt;span style='font-size:9.0pt; font-family:"Arial","sans-serif";color:black'&gt;&lt;a href="http://www.liutilities.com/products/campaigns/tweaklib/rb/"&gt;&lt;b&gt;Click here to run a free scan for registry errors&lt;/b&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='background:white'&gt;&lt;strong&gt;&lt;span style='font-size: 9.0pt;font-family:"Arial","sans-serif";color:black'&gt;Description:&lt;/span&gt;&lt;/strong&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'&gt;&lt;br clear=all&gt; Every user on a computer has some files and folders of personal use. The my documents folder is the users personal folder where he normally saves all his documents, pictures, music and other personal files. If more than one user account is created on the computer, windows creates the my documents folder for each account. This setting disables the users ability to change the default location/path of the my documents folder. The user can invoke the my documents properties dialog by right-clicking the folder, but the access to change the folder location is denied. For this, go to start &amp;gt; run menu, enter regedit and navigate to the registry path listed below. You can create a dword value disablepersonaldirchange, if this value does not exist. Now, right-click and modify the value to 1 which can restrict change in folder path. However, if you want to enable the changes, delete the value name disablepersonaldirchange. The changes take effect after a restart or logoff.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='background:white'&gt;&lt;strong&gt;&lt;span style='font-size: 9.0pt;font-family:"Arial","sans-serif";color:black'&gt;Level:&lt;/span&gt;&lt;/strong&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'&gt; Recommended For Experts Only&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h3 style='background:white'&gt;&lt;span style='font-family:"Arial","sans-serif"; color:black'&gt;Registry Entries&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;  &lt;p class=MsoNormal style='background:white'&gt;&lt;span style='font-size:9.0pt; font-family:"Arial","sans-serif";color:black'&gt;&lt;a href="http://www.liutilities.com/products/campaigns/tweaklib/rb/"&gt;&lt;b&gt;Click here to run a free scan for registry errors&lt;/b&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div style='mso-element:para-border-div;border:solid white 2.25pt;padding:0in 0in 0in 0in; background:#E7F4FB;margin-left:-.25in;margin-right:0in'&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.25in;text-indent:-.25in;mso-list:l0 level1 lfo1;background:#E7F4FB; border:none;padding:0in'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:10.0pt; font-family:Symbol;color:black'&gt;&lt;span style='mso-list:Ignore'&gt;&amp;middot;&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif"; color:black'&gt;Path: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\] &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.25in;text-indent:-.25in;mso-list:l0 level1 lfo1;background:#E7F4FB; border:none;padding:0in'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:10.0pt; font-family:Symbol;color:black'&gt;&lt;span style='mso-list:Ignore'&gt;&amp;middot;&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif"; color:black'&gt;Location: Current User &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.25in;text-indent:-.25in;mso-list:l0 level1 lfo1;background:#E7F4FB; border:none;padding:0in'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:10.0pt; font-family:Symbol;color:black'&gt;&lt;span style='mso-list:Ignore'&gt;&amp;middot;&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif"; color:black'&gt;Value Name: DisablePersonalDirChange &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.25in;text-indent:-.25in;mso-list:l0 level1 lfo1;background:#E7F4FB; border:none;padding:0in'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:10.0pt; font-family:Symbol;color:black'&gt;&lt;span style='mso-list:Ignore'&gt;&amp;middot;&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif"; color:black'&gt;Data Type: DWORD (DWORD Value) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.25in;text-indent:-.25in;mso-list:l0 level1 lfo1;background:#E7F4FB; border:none;padding:0in'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:10.0pt; font-family:Symbol;color:black'&gt;&lt;span style='mso-list:Ignore'&gt;&amp;middot;&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif"; color:black'&gt;Enabled Value: 1 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.25in;text-indent:-.25in;mso-list:l0 level1 lfo1;background:#E7F4FB; border:none;padding:0in'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:10.0pt; font-family:Symbol;color:black'&gt;&lt;span style='mso-list:Ignore'&gt;&amp;middot;&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif"; color:black'&gt;Disabled Value: 0 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.25in;text-indent:-.25in;mso-list:l0 level1 lfo1;background:#E7F4FB; border:none;padding:0in'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:10.0pt; font-family:Symbol;color:black'&gt;&lt;span style='mso-list:Ignore'&gt;&amp;middot;&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif"; color:black'&gt;Action Type: Add an Entry &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;p class=MsoNormal style='background:white'&gt;&lt;span style='font-size:9.0pt; font-family:"Arial","sans-serif";color:black'&gt;&lt;br clear=all&gt; &lt;br&gt; &lt;br&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h3 style='background:white'&gt;&lt;span style='font-family:"Arial","sans-serif"; color:black'&gt;Screenshots&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;  &lt;p class=MsoNormal style='background:white'&gt;&lt;span style='font-size:9.0pt; font-family:"Arial","sans-serif";color:black'&gt;&lt;a href="http://www.liutilities.com/products/campaigns/tweaklib/rb/"&gt;&lt;b&gt;Click here to run a free scan for registry errors&lt;/b&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal align=center style='text-align:center;background:white'&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'&gt;&lt;img border=0 width=277 height=148 id="Picture_x0020_1" src="cid:image001.png@01C9B1E1.43D1A320" alt="http://www.liutilities.com/products/registrybooster/tweaklibrary/tweaks/10105/regedit.png"&gt;&lt;/span&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal align=center style='text-align:center;background:white'&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'&gt;First, click the Start button, and select Run. In the resulting dialog box, type &amp;quot;regedit&amp;quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal align=center style='text-align:center;background:white'&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'&gt;&lt;img border=0 width=412 height=253 id="Picture_x0020_2" src="cid:image002.png@01C9B1E1.43D1A320" alt="http://www.liutilities.com/products/registrybooster/tweaklibrary/tweaks/10105/10105_1.png"&gt;&lt;/span&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal align=center style='text-align:center;background:white'&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'&gt;Second, go to [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\] and create a DWORD value &amp;quot;DisablePersonalDirChange.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal align=center style='text-align:center;background:white'&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'&gt;&lt;img border=0 width=412 height=253 id="Picture_x0020_3" src="cid:image003.png@01C9B1E1.43D1A320" alt="http://www.liutilities.com/products/registrybooster/tweaklibrary/tweaks/10105/10105_2.png"&gt;&lt;/span&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal align=center style='text-align:center;background:white'&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'&gt;Third, right-click on &amp;quot;DisablePersonalDirChange&amp;quot; and select 'Modify'.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal align=center style='text-align:center;background:white'&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'&gt;&lt;img border=0 width=259 height=159 id="Picture_x0020_4" src="cid:image004.png@01C9B1E1.43D1A320" alt="http://www.liutilities.com/products/registrybooster/tweaklibrary/tweaks/10105/10105_data.png"&gt;&lt;/span&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal align=center style='text-align:center;background:white'&gt;&lt;span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'&gt;Finally, set the &amp;quot;Value Data&amp;quot; to 1in the textbox provided and click on 'OK' to enable &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-747211605261594536?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/747211605261594536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=747211605261594536' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/747211605261594536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/747211605261594536'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2009/03/change-my-documents.html' title='Change My Documents'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-2917072712434819142</id><published>2009-01-26T18:40:00.000-05:00</published><updated>2009-01-26T18:41:01.626-05:00</updated><title type='text'>For Loop</title><content type='html'>for (initializer; condition; iterator) {&lt;br /&gt;  // code to execute while condition is true&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-2917072712434819142?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/2917072712434819142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=2917072712434819142' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2917072712434819142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2917072712434819142'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2009/01/for-loop.html' title='For Loop'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-3640734282246889579</id><published>2009-01-12T13:40:00.001-05:00</published><updated>2009-01-12T13:40:11.248-05:00</updated><title type='text'>Enable Remote Connections in SQL Express</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;Read the following article &lt;a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;914277"&gt;http://support.microsoft.com/default.aspx?scid=kb;EN-US;914277&lt;/a&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='line-height:18.0pt'&gt;&lt;span style='font-size:8.5pt; font-family:"Verdana","sans-serif";color:black'&gt;To enable remote connections on the instance of SQL Server 2005 and to turn on the SQL Server Browser service, use the SQL Server 2005 Surface Area Configuration tool. The Surface Area Configuration tool is installed when you install SQL Server 2005. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='line-height:18.0pt'&gt;&lt;span style='font-size:8.5pt; font-family:"Verdana","sans-serif";color:black'&gt;&lt;a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;914277#top"&gt;&lt;span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext; text-decoration:none'&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:#07679A'&gt;&lt;img border=0 width=10 height=10 id="Picture_x0020_1" src="cid:image001.gif@01C974B0.19D69850" alt="http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif"&gt;&lt;/span&gt;&lt;/span&gt;Back to the top&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:11.25pt;margin-right:0in; margin-bottom:3.75pt;margin-left:0in;line-height:18.0pt'&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'&gt;Enable remote connections for SQL Server 2005 Express or SQL Server 2005 Developer Edition&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='line-height:18.0pt'&gt;&lt;span style='font-size:8.5pt; font-family:"Verdana","sans-serif";color:black'&gt;You must enable remote connections for each instance of SQL Server 2005 that you want to connect to from a remote computer. To do this, follow these steps: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.5in;text-indent:-.25in;line-height:18.0pt;mso-list:l4 level1 lfo1'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt;&lt;span style='mso-list:Ignore'&gt;1.&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:black'&gt;Click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Start&lt;/span&gt;&lt;/strong&gt;, point to &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Programs&lt;/span&gt;&lt;/strong&gt;, point to &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Microsoft SQL Server 2005&lt;/span&gt;&lt;/strong&gt;, point to &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Configuration Tools&lt;/span&gt;&lt;/strong&gt;, and then click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;SQL Server Surface Area Configuration&lt;/span&gt;&lt;/strong&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.5in;text-indent:-.25in;line-height:18.0pt;mso-list:l4 level1 lfo1'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt;&lt;span style='mso-list:Ignore'&gt;2.&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:black'&gt;On the &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;SQL Server 2005 Surface Area Configuration&lt;/span&gt;&lt;/strong&gt; page, click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Surface Area Configuration for Services and Connections&lt;/span&gt;&lt;/strong&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.5in;text-indent:-.25in;line-height:18.0pt;mso-list:l4 level1 lfo1'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt;&lt;span style='mso-list:Ignore'&gt;3.&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:black'&gt;On the &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Surface Area Configuration for Services and Connections&lt;/span&gt;&lt;/strong&gt; page, expand &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Database Engine&lt;/span&gt;&lt;/strong&gt;, click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Remote Connections&lt;/span&gt;&lt;/strong&gt;, click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Local and remote connections&lt;/span&gt;&lt;/strong&gt;, click the appropriate protocol to enable for your environment, and then click &lt;strong&gt;&lt;span style='font-family: "Verdana","sans-serif"'&gt;Apply&lt;/span&gt;&lt;/strong&gt;. &lt;br&gt; &lt;br&gt; &lt;b&gt;Note&lt;/b&gt; Click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;OK&lt;/span&gt;&lt;/strong&gt; when you receive the following message: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.5in;line-height:18.0pt'&gt;&lt;span style='font-size:8.5pt;font-family: "Verdana","sans-serif";color:black'&gt;Changes to Connection Settings will not take effect until you restart the Database Engine service.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.5in;text-indent:-.25in;line-height:18.0pt;mso-list:l4 level1 lfo1'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt;&lt;span style='mso-list:Ignore'&gt;4.&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:black'&gt;On the &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Surface Area Configuration for Services and Connections&lt;/span&gt;&lt;/strong&gt; page, expand &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Database Engine&lt;/span&gt;&lt;/strong&gt;, click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Service&lt;/span&gt;&lt;/strong&gt;, click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Stop&lt;/span&gt;&lt;/strong&gt;, wait until the MSSQLSERVER service stops, and then click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Start&lt;/span&gt;&lt;/strong&gt; to restart the MSSQLSERVER service.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='line-height:18.0pt'&gt;&lt;span style='font-size:8.5pt; font-family:"Verdana","sans-serif";color:black'&gt;&lt;a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;914277#top"&gt;&lt;span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext; text-decoration:none'&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:#07679A'&gt;&lt;img border=0 width=10 height=10 id="Picture_x0020_2" src="cid:image001.gif@01C974B0.19D69850" alt="http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif"&gt;&lt;/span&gt;&lt;/span&gt;Back to the top&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:11.25pt;margin-right:0in; margin-bottom:3.75pt;margin-left:0in;line-height:18.0pt'&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'&gt;Enable the SQL Server Browser service&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='line-height:18.0pt'&gt;&lt;span style='font-size:8.5pt; font-family:"Verdana","sans-serif";color:black'&gt;If you are running SQL Server 2005 by using an instance name and you are not using a specific TCP/IP port number in your connection string, you must enable the SQL Server Browser service to allow for remote connections. For example, SQL Server 2005 Express is installed with a default instance name of &lt;var&gt;&lt;span style='font-family: "Verdana","sans-serif"'&gt;Computer Name&lt;/span&gt;&lt;/var&gt;\SQLEXPRESS. You are only required to enable the SQL Server Browser service one time, regardless of how many instances of SQL Server 2005 you are running. To enable the SQL Server Browser service, follow these steps.&lt;br&gt; &lt;br&gt; &lt;b&gt;Important&lt;/b&gt; These steps may increase your security risk. These steps may also make your computer or your network more vulnerable to attack by malicious users or by malicious software such as viruses. We recommend the process that this article describes to enable programs to operate as they are designed to, or to implement specific program capabilities. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this process in your particular environment. If you choose to implement this process, take any appropriate additional steps to help protect your system. We recommend that you use this process only if you really require this process. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.5in;text-indent:-.25in;line-height:18.0pt;mso-list:l6 level1 lfo2'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt;&lt;span style='mso-list:Ignore'&gt;1.&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:black'&gt;Click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Start&lt;/span&gt;&lt;/strong&gt;, point to &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Programs&lt;/span&gt;&lt;/strong&gt;, point to &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Microsoft SQL Server 2005&lt;/span&gt;&lt;/strong&gt;, point to &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Configuration Tools&lt;/span&gt;&lt;/strong&gt;, and then click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;SQL Server Surface Area Configuration&lt;/span&gt;&lt;/strong&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.5in;text-indent:-.25in;line-height:18.0pt;mso-list:l6 level1 lfo2'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt;&lt;span style='mso-list:Ignore'&gt;2.&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:black'&gt;On the &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;SQL Server 2005 Surface Area Configuration&lt;/span&gt;&lt;/strong&gt; page, click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Surface Area Configuration for Services and Connections&lt;/span&gt;&lt;/strong&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.5in;text-indent:-.25in;line-height:18.0pt;mso-list:l6 level1 lfo2'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt;&lt;span style='mso-list:Ignore'&gt;3.&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:black'&gt;On the &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Surface Area Configuration for Services and Connections&lt;/span&gt;&lt;/strong&gt; page, click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;SQL Server Browser&lt;/span&gt;&lt;/strong&gt;, click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Automatic&lt;/span&gt;&lt;/strong&gt; for &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Startup type&lt;/span&gt;&lt;/strong&gt;, and then click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Apply&lt;/span&gt;&lt;/strong&gt;. &lt;br&gt; &lt;br&gt; &lt;b&gt;Note&lt;/b&gt; When you click the &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Automatic&lt;/span&gt;&lt;/strong&gt; option, the SQL Server Browser service starts automatically every time that you start Microsoft Windows. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.5in;text-indent:-.25in;line-height:18.0pt;mso-list:l6 level1 lfo2'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt;&lt;span style='mso-list:Ignore'&gt;4.&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:black'&gt;Click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Start&lt;/span&gt;&lt;/strong&gt;, and then click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;OK&lt;/span&gt;&lt;/strong&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='line-height:18.0pt'&gt;&lt;b&gt;&lt;span style='font-size:8.5pt; font-family:"Verdana","sans-serif";color:black'&gt;Note&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt; When you run the SQL Server Browser service on a computer, the computer displays the instance names and the connection information for each instance of SQL Server that is running on the computer. This risk can be reduced by not enabling the SQL Server Browser service and by connecting to the instance of SQL Server directly through an assigned TCP port. Connecting directly to an instance of SQL Server through a TCP port is beyond the scope of this article. For more information about the SQL Server Browser server and connecting to an instance of SQL Server, see the following topics in SQL Server Books Online: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ul type=disc&gt;  &lt;li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:      auto;line-height:18.0pt;mso-list:l2 level1 lfo3'&gt;&lt;span style='font-size:      8.5pt;font-family:"Verdana","sans-serif"'&gt;SQL Server Browser Service &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:      auto;line-height:18.0pt;mso-list:l2 level1 lfo3'&gt;&lt;span style='font-size:      8.5pt;font-family:"Verdana","sans-serif"'&gt;Connecting to the SQL Server      Database Engine &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:      auto;line-height:18.0pt;mso-list:l2 level1 lfo3'&gt;&lt;span style='font-size:      8.5pt;font-family:"Verdana","sans-serif"'&gt;Client Network Configuration&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p class=MsoNormal style='line-height:18.0pt'&gt;&lt;span style='font-size:8.5pt; font-family:"Verdana","sans-serif";color:black'&gt;&lt;a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;914277#top"&gt;&lt;span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext; text-decoration:none'&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:#07679A'&gt;&lt;img border=0 width=10 height=10 id="Picture_x0020_3" src="cid:image001.gif@01C974B0.19D69850" alt="http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif"&gt;&lt;/span&gt;&lt;/span&gt;Back to the top&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:11.25pt;margin-right:0in; margin-bottom:3.75pt;margin-left:0in;line-height:18.0pt'&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'&gt;Create exceptions in Windows Firewall&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='line-height:18.0pt'&gt;&lt;span style='font-size:8.5pt; font-family:"Verdana","sans-serif";color:black'&gt;These steps apply to the version of Windows Firewall that is included in Windows XP Service Pack 2 (SP2) and in Windows Server 2003. If you are using a different firewall system, see your firewall documentation for more information. &lt;br&gt; &lt;br&gt; If you are running a firewall on the computer that is running SQL Server 2005, external connections to SQL Server 2005 will be blocked unless SQL Server 2005 and the SQL Server Browser service can communicate through the firewall. You must create an exception for each instance of SQL Server 2005 that you want to accept remote connections and an exception for the SQL Server Browser service.&lt;br&gt; &lt;br&gt; SQL Server 2005 uses an instance ID as part of the path when you install its program files. To create an exception for each instance of SQL Server, you must identify the correct instance ID. To obtain an instance ID, follow these steps: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.5in;text-indent:-.25in;line-height:18.0pt;mso-list:l5 level1 lfo4'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt;&lt;span style='mso-list:Ignore'&gt;1.&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:black'&gt;Click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Start&lt;/span&gt;&lt;/strong&gt;, point to &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Programs&lt;/span&gt;&lt;/strong&gt;, point to &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Microsoft SQL Server 2005&lt;/span&gt;&lt;/strong&gt;, point to &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Configuration Tools&lt;/span&gt;&lt;/strong&gt;, and then click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;SQL Server Configuration Manager&lt;/span&gt;&lt;/strong&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.5in;text-indent:-.25in;line-height:18.0pt;mso-list:l5 level1 lfo4'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt;&lt;span style='mso-list:Ignore'&gt;2.&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:black'&gt;In SQL Server Configuration Manager, click the SQL Server Browser service in the right pane, right-click the instance name in the main window, and then click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Properties&lt;/span&gt;&lt;/strong&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.5in;text-indent:-.25in;line-height:18.0pt;mso-list:l5 level1 lfo4'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt;&lt;span style='mso-list:Ignore'&gt;3.&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:black'&gt;On the &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;SQL Server Browser Properties&lt;/span&gt;&lt;/strong&gt; page, click the &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Advanced&lt;/span&gt;&lt;/strong&gt; tab, locate the instance ID in the property list, and then click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;OK&lt;/span&gt;&lt;/strong&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='line-height:18.0pt'&gt;&lt;span style='font-size:8.5pt; font-family:"Verdana","sans-serif";color:black'&gt;To open Windows Firewall, click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Start&lt;/span&gt;&lt;/strong&gt;, click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Run&lt;/span&gt;&lt;/strong&gt;, type &lt;b&gt;firewall.cpl&lt;/b&gt;, and then click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;OK&lt;/span&gt;&lt;/strong&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom: 3.75pt;margin-left:0in;line-height:18.0pt'&gt;&lt;b&gt;&lt;span style='font-size:9.0pt; font-family:"Verdana","sans-serif";color:black'&gt;Create an exception for SQL Server 2005 in Windows Firewall&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='line-height:18.0pt'&gt;&lt;span style='font-size:8.5pt; font-family:"Verdana","sans-serif";color:black'&gt;To create an exception for SQL Server 2005 in Windows Firewall, follow these steps: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.5in;text-indent:-.25in;line-height:18.0pt;mso-list:l3 level1 lfo5'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt;&lt;span style='mso-list:Ignore'&gt;1.&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:black'&gt;In Windows Firewall, click the &lt;strong&gt;&lt;span style='font-family: "Verdana","sans-serif"'&gt;Exceptions&lt;/span&gt;&lt;/strong&gt; tab, and then click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Add Program&lt;/span&gt;&lt;/strong&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.5in;text-indent:-.25in;line-height:18.0pt;mso-list:l3 level1 lfo5'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt;&lt;span style='mso-list:Ignore'&gt;2.&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:black'&gt;In the Add a Program window, click &lt;strong&gt;&lt;span style='font-family: "Verdana","sans-serif"'&gt;Browse&lt;/span&gt;&lt;/strong&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.5in;text-indent:-.25in;line-height:18.0pt;mso-list:l3 level1 lfo5'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt;&lt;span style='mso-list:Ignore'&gt;3.&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:black'&gt;Click the C:\Program Files\Microsoft SQL Server\&lt;var&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;MSSQL.1&lt;/span&gt;&lt;/var&gt;\MSSQL\Binn\sqlservr.exe executable program, click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Open&lt;/span&gt;&lt;/strong&gt;, and then click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;OK&lt;/span&gt;&lt;/strong&gt;. &lt;br&gt; &lt;br&gt; &lt;b&gt;Note&lt;/b&gt; The path may be different depending on where SQL Server 2005 is installed. &lt;var&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;MSSQL.1&lt;/span&gt;&lt;/var&gt; is a placeholder for the instance ID that you obtained in step 3 of the previous procedure. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.5in;text-indent:-.25in;line-height:18.0pt;mso-list:l3 level1 lfo5'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt;&lt;span style='mso-list:Ignore'&gt;4.&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:black'&gt;Repeat steps 1 through 3 for each instance of SQL Server 2005 that needs an exception. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom: 3.75pt;margin-left:0in;line-height:18.0pt'&gt;&lt;b&gt;&lt;span style='font-size:9.0pt; font-family:"Verdana","sans-serif";color:black'&gt;Create an exception for the SQL Server Browser service in Windows Firewall&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='line-height:18.0pt'&gt;&lt;span style='font-size:8.5pt; font-family:"Verdana","sans-serif";color:black'&gt;To create an exception for the SQL Server Browser service in Windows Firewall, follow these steps: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.5in;text-indent:-.25in;line-height:18.0pt;mso-list:l0 level1 lfo6'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt;&lt;span style='mso-list:Ignore'&gt;1.&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:black'&gt;In Windows Firewall, click the &lt;strong&gt;&lt;span style='font-family: "Verdana","sans-serif"'&gt;Exceptions&lt;/span&gt;&lt;/strong&gt; tab, and then click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Add Program&lt;/span&gt;&lt;/strong&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.5in;text-indent:-.25in;line-height:18.0pt;mso-list:l0 level1 lfo6'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt;&lt;span style='mso-list:Ignore'&gt;2.&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:black'&gt;In the Add a Program window, click &lt;strong&gt;&lt;span style='font-family: "Verdana","sans-serif"'&gt;Browse&lt;/span&gt;&lt;/strong&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.5in;text-indent:-.25in;line-height:18.0pt;mso-list:l0 level1 lfo6'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt;&lt;span style='mso-list:Ignore'&gt;3.&lt;span style='font:7.0pt "Times New Roman"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:black'&gt;Click the C:\Program Files\Microsoft SQL Server\90\Shared\sqlbrowser.exe executable program, click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;Open&lt;/span&gt;&lt;/strong&gt;, and then click &lt;strong&gt;&lt;span style='font-family:"Verdana","sans-serif"'&gt;OK&lt;/span&gt;&lt;/strong&gt;. &lt;br&gt; &lt;br&gt; &lt;b&gt;Note&lt;/b&gt; The path may be different depending on where SQL Server 2005 is installed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='line-height:18.0pt'&gt;&lt;span style='font-size:8.5pt; font-family:"Verdana","sans-serif";color:black'&gt;&lt;a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;914277#top"&gt;&lt;span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext; text-decoration:none'&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif"; color:#07679A'&gt;&lt;img border=0 width=10 height=10 id="Picture_x0020_4" src="cid:image001.gif@01C974B0.19D69850" alt="http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif"&gt;&lt;/span&gt;&lt;/span&gt;Back to the top&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div class=MsoNormal align=center style='mso-margin-top-alt:7.5pt;margin-right: 0in;margin-bottom:7.5pt;margin-left:0in;text-align:center;line-height:18.0pt'&gt;&lt;span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'&gt;  &lt;hr size=2 width="100%" noshade style='color:#DDDDDD' align=center&gt;  &lt;/span&gt;&lt;/div&gt;  &lt;p class=MsoNormal style='mso-margin-top-alt:3.75pt;margin-right:0in; margin-bottom:3.75pt;margin-left:0in;line-height:18.0pt'&gt;&lt;b&gt;&lt;span style='font-size:9.5pt;font-family:"Verdana","sans-serif";color:black'&gt;APPLIES TO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;ul type=disc&gt;  &lt;li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:      auto;line-height:18.0pt;mso-list:l1 level1 lfo7'&gt;&lt;span style='font-size:      8.5pt;font-family:"Verdana","sans-serif"'&gt;Microsoft SQL Server 2005 Developer      Edition &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:      auto;line-height:18.0pt;mso-list:l1 level1 lfo7'&gt;&lt;span style='font-size:      8.5pt;font-family:"Verdana","sans-serif"'&gt;Microsoft SQL Server 2005      Express Edition&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-3640734282246889579?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/3640734282246889579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=3640734282246889579' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3640734282246889579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3640734282246889579'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2009/01/enable-remote-connections-in-sql.html' title='Enable Remote Connections in SQL Express'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-2817847110996263461</id><published>2009-01-02T09:10:00.001-05:00</published><updated>2009-01-02T09:10:38.786-05:00</updated><title type='text'>Happy New Year</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;Happy New Year to all and I am looking forward to a happy, prosperous, healthy and knowledge filled year.&amp;nbsp; I wish everyone goodness and joy.&amp;nbsp; Remember to focus on your family and loved ones.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;This year I will be looking to achieve a weekly blog post to reflect on the week.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;Moojjoo&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-2817847110996263461?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/2817847110996263461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=2817847110996263461' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2817847110996263461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2817847110996263461'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2009/01/happy-new-year.html' title='Happy New Year'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-1063407482496759345</id><published>2008-12-21T00:49:00.001-05:00</published><updated>2008-12-21T00:49:37.092-05:00</updated><title type='text'>12/21/2008 - Code thoughts</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;I have been wondering what a laptop is like with just ubuntu.&amp;nbsp; I am a .NET guy and I would have to convert to Apache, PHP, mySQL.&amp;nbsp; Which are all free.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;__________________________________________&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;Robert B. Dannelly, Jr. MCTS&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;a href="http://www.mmwebs.com/"&gt;http://www.mmwebs.com/&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;a href="http://moojjoo.blogspot.com/"&gt;http://moojjoo.blogspot.com/&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-1063407482496759345?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/1063407482496759345/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=1063407482496759345' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/1063407482496759345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/1063407482496759345'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2008/12/12212008-code-thoughts.html' title='12/21/2008 - Code thoughts'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-5299115227215984099</id><published>2008-12-19T23:43:00.000-05:00</published><updated>2008-12-19T23:44:14.826-05:00</updated><title type='text'>Configure Firefox to work with localhost.</title><content type='html'>Here is the Solution for Other Users&lt;br /&gt;Firefox - Enter username and password for "" at http://localhost - Solution &lt;br /&gt;IIS uses Integrated Authentication and by default IE has the ability to use your windows user account...but don't worry, so does Firefox but you'll have to make a quick configuration change.&lt;br /&gt;&lt;br /&gt;1) Open up Firefox and type in about:config as the url&lt;br /&gt;&lt;br /&gt;2) In the Filter Type in ntlm&lt;br /&gt;&lt;br /&gt;3) Double click "network.automatic-ntlm-auth.trusted-uris" and type in localhost and hit enter&lt;br /&gt;&lt;br /&gt;4) Write Thank You To Blogger&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As Always, Hope this helped you out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-5299115227215984099?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/5299115227215984099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=5299115227215984099' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/5299115227215984099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/5299115227215984099'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2008/12/configure-firefox-to-work-with.html' title='Configure Firefox to work with localhost.'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-7251963300395356720</id><published>2008-12-10T15:24:00.002-05:00</published><updated>2008-12-10T15:29:19.079-05:00</updated><title type='text'>Christmas is coming</title><content type='html'>&lt;span style="font-family:Verdana; color:#000000; font-size:10pt;"&gt;&lt;div&gt;Christmas is coming, SANTA, SANTA....&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-7251963300395356720?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/7251963300395356720/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=7251963300395356720' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/7251963300395356720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/7251963300395356720'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2008/12/christmas-is-coming.html' title='Christmas is coming'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-4876280897969237915</id><published>2008-12-10T15:23:00.003-05:00</published><updated>2008-12-10T15:35:32.869-05:00</updated><title type='text'>December post</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;Well, I must say life has been busy for November I got handed over 43 servers for a true dev to prod environment of SharePoint. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-4876280897969237915?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/4876280897969237915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=4876280897969237915' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/4876280897969237915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/4876280897969237915'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2008/12/december-post.html' title='December post'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-7679679998195609580</id><published>2008-10-15T09:52:00.001-04:00</published><updated>2008-10-15T09:54:27.337-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tips and tricks'/><title type='text'>Outlook notes on desktop</title><content type='html'>Credit to &lt;a href="http://www.onetipaday.com/2006/10/15/how-to-save-put-outlook-notes-on-your-desktop"&gt;http://www.onetipaday.com/2006/10/15/how-to-save-put-outlook-notes-on-your-desktop&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I often use the Microsoft Outlook Notes to store To-Do lists that are not related to work. I discovered this great tip a few months which allows me to put my notes on my desktop, and I love it as it means I can access my notes without having to open up Outlook.&lt;br /&gt;&lt;br /&gt;To create a note in Outlook:&lt;br /&gt;&lt;br /&gt;1. On the File menu, point to New, and then click Note.&lt;br /&gt;2. Type the text of the note.&lt;br /&gt;3. To close the note, click the × in the upper-right corner of the note.&lt;br /&gt;&lt;br /&gt;Then to put the notes on your desktop do the following:&lt;br /&gt;&lt;br /&gt;1. Right-click the desktop, point to New, and click Shortcut.&lt;br /&gt;2. In the Type the location of the item box, type the following path: “C:\Program Files\Microsoft Office\OfficeXX\OUTLOOK.EXE” /c ipm.stickynote  (note OfficeXX - XX needs to be replaced with your version of Office.&lt;br /&gt;3. Click Next, name the shortcut, and then click Finish.&lt;br /&gt;&lt;br /&gt;Now, when you double-click the shortcut, an Outlook note will appear on your desktop.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-7679679998195609580?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/7679679998195609580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=7679679998195609580' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/7679679998195609580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/7679679998195609580'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2008/10/outlook-notes-on-desktop.html' title='Outlook notes on desktop'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-8609914041526904105</id><published>2008-10-15T09:45:00.001-04:00</published><updated>2008-10-15T09:50:56.659-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Errors'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel Services'/><title type='text'>Excel Services Event ID: 5226</title><content type='html'>If you have installed SharePoint per default configurations you will most likely not get issues like this, but in most enterprise installs logs and temp files are relocated.  To fix the error below.  Please review error then read below for solution.&lt;br /&gt;&lt;br /&gt;Event Type: Error&lt;br /&gt;Event Source: Office SharePoint Server&lt;br /&gt;Event Category: Excel Calculation Services &lt;br /&gt;Event ID: 5226&lt;br /&gt;Date:  10/15/2008&lt;br /&gt;Time:  9:32:36 AM&lt;br /&gt;User:  N/A&lt;br /&gt;Computer: CR2RCHIISIME&lt;br /&gt;Description:&lt;br /&gt;Unable to create or access workbook cache at D:\Temp\Excel Server\FileCache\BaselII-CIT-SSP-423345403\Charts. Excel Services is unable to function without a workbook cache.&lt;br /&gt;&lt;br /&gt;For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Solution I manually created the D:\Temp\Excel Server\FileCache\BaselII-CIT-SSP-423345403\Charts directory then on the Security tab for the Temp directory, the WSS_ADMIN_WPG Windows group should have Full Control and the WSS_WPG Windows group should have Read &amp; Execute, List Folder Contents, and Read permissions or higher on the folder. If they do not, assign these permissions by using the procedure in the "Assign sufficient permissions" section. &lt;br /&gt;&lt;br /&gt;Also, this solution works if you get Trace Log errors.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-8609914041526904105?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/8609914041526904105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=8609914041526904105' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/8609914041526904105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/8609914041526904105'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2008/10/excel-services-event-id-5226.html' title='Excel Services Event ID: 5226'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-3171029263710529084</id><published>2008-08-01T08:17:00.000-04:00</published><updated>2008-08-01T08:18:58.788-04:00</updated><title type='text'>Date in Task Bar</title><content type='html'>Got this from Windows XP site.  Worth re-post &lt;br /&gt;&lt;br /&gt;To display the date as well as the time, you need to make the taskbar "taller" by dragging the top edge upward. This procedure is fairly simple but it does require reasonably precise mouse handling. If you are new to computing and still developing your mouse-skills, expanding the taskbar, or returning it to the default height, may prove to be a little problematical. If you are not yet confident with fiddly mouse manipulation, I would suggest that you postpone using this tip until you gain more mousing experience.&lt;br /&gt;&lt;br /&gt;Here's how to expand the taskbar:&lt;br /&gt;&lt;br /&gt;The taskbar needs to be "unlocked" before you can expand it. To check, right-click the taskbar and ensure that "Lock the Taskbar" is not ticked. If there is a tick, click "Lock the Taskbar" to untick it.&lt;br /&gt;&lt;br /&gt;Close any running programs so that the taskbar is uncluttered and easier to manipulate.&lt;br /&gt;&lt;br /&gt;Move your mouse to the top edge of the taskbar until the cursor turns into a doubled-ended arrow.&lt;br /&gt;&lt;br /&gt;With the doubled-ended arrow displayed, hold down the left mouse button and drag the taskbar upward until it is about twice the normal height.&lt;br /&gt;&lt;br /&gt;The day and date should now be displayed below the Notification Area clock.&lt;br /&gt;&lt;br /&gt;If desired, you can now re-lock the taskbar. &lt;br /&gt;The expanded taskbar not only permanently displays the day and date, it also provides extra display space for taskbar and notification area icons. Of course, the downside of an expanded taskbar is that you have less screen display area for programs and files.&lt;br /&gt;&lt;br /&gt;To return the taskbar to its original height, follow the procedure outlined above but reverse the drag direction specified in step 4. That is, with the doubled-ended arrow displayed, hold down the left mouse button and drag the taskbar towards the bottom of the screen until it is the normal height.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-3171029263710529084?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/3171029263710529084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=3171029263710529084' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3171029263710529084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3171029263710529084'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2008/08/date-in-task-bar.html' title='Date in Task Bar'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-6398941592267357686</id><published>2008-07-29T15:33:00.002-04:00</published><updated>2008-07-29T15:36:12.090-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SSRS'/><title type='text'>SQL Server Reporting Services Datasource Security</title><content type='html'>&lt;a href="http://technet.microsoft.com/en-us/library/ms160330.aspx"&gt;http://technet.microsoft.com/en-us/library/ms160330.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Stored Credentials&lt;/strong&gt;&lt;br /&gt;You can store the credentials used to access an external data source. Credentials are stored in reversible encryption in the report server database. You can specify one set of stored credentials for each data source used in a report. The credentials you provide retrieve the same data for every user who runs the report.&lt;br /&gt;&lt;br /&gt;Stored credentials are recommended as part of a strategy for accessing remote database servers. Stored credentials are required if you want to support subscriptions, or schedule report history generation or report snapshot refreshes. When a report runs as as a background process, the report server is the agent that executes the report. Because there is no user context in place, the report server must get credential information from the report server database in order to connect to a data source.&lt;br /&gt;&lt;br /&gt;The user name and password that you specify can be Windows credentials or a database login. If you specify Windows credentials, the report server passes the credentials to Windows for subsequent authentication. Otherwise, the credentials are passed to the database server for authentication.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Windows Integrated Security&lt;/strong&gt;&lt;br /&gt;When you use the Windows Integrated Security option, the report server passes the security token of the user accessing the report to the server hosting the external data source. In this case, the user is not prompted to type a user name or password.&lt;br /&gt;&lt;br /&gt;This approach is recommended if Kerberos is enabled. If Kerberos is not enabled, you should only use this approach if all the servers that you want to access are located on the same computer. &lt;br /&gt;&lt;br /&gt;In other words each user would need to be added access to the Database Hosted on SQL Server&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-6398941592267357686?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/6398941592267357686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=6398941592267357686' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/6398941592267357686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/6398941592267357686'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2008/07/sql-server-reporting-services.html' title='SQL Server Reporting Services Datasource Security'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-945746087818493977</id><published>2008-07-02T11:36:00.001-04:00</published><updated>2008-07-02T11:36:58.376-04:00</updated><title type='text'>SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified or Named Pipes Provider, error: 40 - Could not open a connection to SQL S</title><content type='html'>The problem was that the remote connection needed to utilize Named Pipes, but in order to utilize Named Pipes both the machine hosting the instance of SQL and the my local machine must have the alias:&lt;br /&gt;&lt;br /&gt;With Supports instruction I went to SQL Server configuration Manager, expanded SQL Native Client Configuration and right clicked Aliases and created the alias on the machine and did the same for my personal machine and what do you know, it worked.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-945746087818493977?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/945746087818493977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=945746087818493977' title='20 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/945746087818493977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/945746087818493977'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2008/07/sql-network-interfaces-error-26-error.html' title='SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified or Named Pipes Provider, error: 40 - Could not open a connection to SQL S'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>20</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-3412141122215666682</id><published>2008-07-01T22:10:00.001-04:00</published><updated>2008-07-01T22:10:57.125-04:00</updated><title type='text'>How to determine what ports are open</title><content type='html'>start -&gt; run -&gt; cmd&lt;br /&gt;netstat -na&lt;br /&gt;&lt;br /&gt;look for :3306 and LISTEN on the same line...&lt;br /&gt;&lt;br /&gt;OR..also from command prompt&lt;br /&gt;&lt;br /&gt;telnet localhost 3306&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-3412141122215666682?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/3412141122215666682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=3412141122215666682' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3412141122215666682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3412141122215666682'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2008/07/how-to-determine-what-ports-are-open.html' title='How to determine what ports are open'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-9099040234330349086</id><published>2008-06-27T12:59:00.000-04:00</published><updated>2008-06-27T13:09:30.006-04:00</updated><title type='text'>Vitual PC 2007</title><content type='html'>Well, it has been a while since I have blogged due to the project I am working on at work.  The project MOSS 2007 from dev, test, and prod.&lt;br /&gt;&lt;br /&gt;Before dev there is a place called pre-dev, where developers like myself need a place to develop, so this past March I attended the SharePoint 2007 conference where I met some great resources and obtained a VHD of MOSS 2007 and learned that most developer's develop in this fashion by downloading and installing the software from the MSDN Subscription, and routing code to a source control server.&lt;br /&gt;&lt;br /&gt;Well I installed and could not get it to run, due to my lack of knowledge of Virtual PC 2007.  I have a laptop with 1 gig of RAM and a external HD with 500 gig so I installed the VHD and fired up the Virtual PC, but I kept getting an error.  Not enough memory on the host machine.&lt;br /&gt;&lt;br /&gt;I thought to myself, "That is strange 1 gig should be enough memory to get my image up and running."  Well it turns out I had to much memory allocated to the VM, so I set it back to 512mb and bam...  The VM started to run, but it is also running dog slow, so in closing have 2 gig of RAM so you can allocate 1 gig to the VM.&lt;br /&gt;&lt;br /&gt;Hope this helps out my fellow developers.&lt;br /&gt;&lt;br /&gt;OUT...  Moojjoo&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-9099040234330349086?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/9099040234330349086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=9099040234330349086' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/9099040234330349086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/9099040234330349086'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2008/06/vitual-pc-2007.html' title='Vitual PC 2007'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-2937000076723464319</id><published>2008-03-26T17:14:00.008-04:00</published><updated>2008-03-27T23:05:26.789-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Upgrade SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server 2005'/><title type='text'>Upgrading from SQL Express 2005 to SQL 2005 Developer Edition</title><content type='html'>&lt;span style="font-family:Arial;"&gt;&lt;strong&gt;Upgrading from SQL Express 2005 to SQL 2005 Developer Edition&lt;em&gt; (2 hours)&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Note: First ensure you have access to the following key in the registry&lt;/em&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;You are most likely an admin if you are installing Developer Edition of SQL 2005 so be sure the following setting is set.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Go to Start &gt; Run &gt; enter regedit&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;SYSTEM\CurrentControlSet\Control\WMI\Security ß Give Admins Full Contrl (Be sure to change this back so you don’t get yourself into trouble) &lt;/span&gt;&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5182422396533384002" alt="" src="http://bp1.blogger.com/_Us4mpKtyJYM/R-uptkVmo0I/AAAAAAAAACM/KmGQDJGP_lk/s320/SQLExpress1a.jpg" border="0" /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5182422495317631826" alt="" src="http://bp0.blogger.com/_Us4mpKtyJYM/R-upzUVmo1I/AAAAAAAAACU/YsFYaUCrsyw/s320/SQLExpress1b.jpg" border="0" /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Next slap the DVD or CD’s into your Rom Drive&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Start &gt; Run &gt; cmd&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5182405912448901874" alt="" src="http://bp3.blogger.com/_Us4mpKtyJYM/R-uauEVmovI/AAAAAAAAABk/3M8WHBJsRTs/s320/SQLExpress1.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;Follow the prompts&gt;&lt;br&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5182406290406023938" alt="" src="http://bp3.blogger.com/_Us4mpKtyJYM/R-ubEEVmowI/AAAAAAAAABs/TVGyuaZ9gyo/s320/SQLExpress2.jpg" border="0" /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5182406393485239058"  alt="" src="http://bp3.blogger.com/_Us4mpKtyJYM/R-ubKEVmoxI/AAAAAAAAAB0/yM7nKsCz1iE/s320/SQLExpress3.jpg" border="0" /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5182423225462072162" alt="" src="http://bp2.blogger.com/_Us4mpKtyJYM/R-uqd0Vmo2I/AAAAAAAAACc/d0pFBhe3eYw/s320/SQLExpress4.jpg" border="0" /&gt; &lt;br&gt;&lt;br /&gt;&lt;br /&gt;User your UID, PWD and Domain&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Your good to go when you see:&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5182406827276935986" alt="" src="http://bp0.blogger.com/_Us4mpKtyJYM/R-ubjUVmozI/AAAAAAAAACE/EntbqZfpnss/s320/SQLExpress5.jpg" border="0" /&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Don't forget Service Pack 2&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-2937000076723464319?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/2937000076723464319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=2937000076723464319' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2937000076723464319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2937000076723464319'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2008/03/upgrading-from-sql-express-2005-to-sql.html' title='Upgrading from SQL Express 2005 to SQL 2005 Developer Edition'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_Us4mpKtyJYM/R-uptkVmo0I/AAAAAAAAACM/KmGQDJGP_lk/s72-c/SQLExpress1a.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-3590668480777475892</id><published>2008-03-04T18:00:00.001-05:00</published><updated>2008-03-04T19:18:20.242-05:00</updated><title type='text'>MCTS - SharePoint Developer</title><content type='html'>Passed the Microsoft Exam &lt;a href="http://www.microsoft.com/learning/exams/70-541.mspx"&gt;SharePoint 2007 Developer&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I am now officially and Microsoft Certified Technical Specialist.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-3590668480777475892?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/3590668480777475892/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=3590668480777475892' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3590668480777475892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3590668480777475892'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2008/03/mcp-sharepoint-developer.html' title='MCTS - SharePoint Developer'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-1388476667986374057</id><published>2008-02-20T09:47:00.000-05:00</published><updated>2008-02-20T09:49:45.782-05:00</updated><title type='text'>Back versus Attaching to MDF</title><content type='html'>Chintal my new programming parnter taught an old dog a new trick today.  Instead of backing up and restoring databases simply open Windows Explorer and copy the .MDF and .LDF and zip move, copy, cut and attach back with SQL Server Management Studio SSMS.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-1388476667986374057?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/1388476667986374057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=1388476667986374057' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/1388476667986374057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/1388476667986374057'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2008/02/back-versus-attaching-to-mdf.html' title='Back versus Attaching to MDF'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-3967686313725221983</id><published>2008-02-14T11:00:00.001-05:00</published><updated>2008-02-14T11:00:46.890-05:00</updated><title type='text'>Working with Infrastructure in the Enterprise as a Programmer Analyst</title><content type='html'>For 10 years I have been working as an analyst first then putting on the programmer hat and developing applications.  In corporate America you need to concentrate on your ability to work with your infrastructure architects and be very open minded.  I have learned that you must take time to explain in great detail what your solution design is doing.  Most web solutions involve web servers and database servers along with needing separate environments for development, user acceptance testing and production.  Your solution may be Intranet or Internet, but the key to working with your infrastructure architect is to document, document, document.  Use applications such as Visio to convey to them what you are trying to accomplish in the form of a picture (Remember a picture speaks a thousand words).  It will save you your sanity and provide a great working relationship with your architect.  Humans are not mind readers so document and draw your solution with time and patience.  And last, but not least be sure to consult with your architect and have your environments built before coding a solution and ensure all the environment mirror one another, that way you will not freak out when your app works in one environment and not the other.  &lt;br /&gt; &lt;br /&gt;Words of Wisdom from an individual who loves what they do, but has pulled a bit of hair out learning the ropes.  &lt;br /&gt; &lt;br /&gt;Thanks to my mentors&lt;br /&gt; &lt;br /&gt;Doug Cain&lt;br /&gt;Larry Leonard&lt;br /&gt;Eddie Clodfelter&lt;br /&gt;Troy Tucker&lt;br /&gt;Robert Petree&lt;br /&gt;Shaun Todd&lt;br /&gt;Saran&lt;br /&gt;Garry Blanks&lt;br /&gt;Kelly O'Donnell&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-3967686313725221983?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/3967686313725221983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=3967686313725221983' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3967686313725221983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3967686313725221983'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2008/02/working-with-infrastructure-in.html' title='Working with Infrastructure in the Enterprise as a Programmer Analyst'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-5195007576023749014</id><published>2008-02-04T21:20:00.000-05:00</published><updated>2008-02-04T21:21:21.455-05:00</updated><title type='text'>Start explorer in C:</title><content type='html'>Start Windows Explorer In The C Drive&lt;br /&gt;In the Explorer property sheet use this path and switches in the target:&lt;br /&gt;&lt;br /&gt;C:\windows\explorer.exe /n,/e,c:\&lt;br /&gt;&lt;br /&gt;Since the first days Windows Explorer appeared, the list of switches reproduced below has been floating around the internet. I'm not sure who was the first to assemble the list but here it is in its entirety. Play around with it and see if one of the views is what you're seeking. Just copy and paste the bold text into the Target line on the Property Sheet of Windows Explorer. If it's not what you expected you can always switch back to the default view by using C:\WINDOWS\explorer.exe in the Target line.&lt;br /&gt;&lt;br /&gt;"My Computer" highlighted in left side with all drives visible but not expanded and C: highlighted in right side: %SystemRoot%\explorer.exe /e,/select,c:&lt;br /&gt;&lt;br /&gt;Desktop highlighted and nothing expanded: %SystemRoot%\explorer.exe /e,/n,/select,/root,c:&lt;br /&gt;&lt;br /&gt;All drives visible and the system drive highlighted and expanded in full screen: %SystemRoot%\explorer.exe /e,/select&lt;br /&gt;&lt;br /&gt;All drives visible and the system drive expanded in small screen: %SystemRoot%\explorer.exe /e,/select,%systemroot%&lt;br /&gt;&lt;br /&gt;Only Windows Directory visible highlighted and expanded: %SystemRoot%\explorer.exe /e,/root,%systemroot%&lt;br /&gt;&lt;br /&gt;All drives visible but only C: highlighted and expanded: %SystemRoot%\explorer.exe /e,c:&lt;br /&gt;&lt;br /&gt;Nothing expanded and My Computer highlighted in right side: %SystemRoot%\explorer.exe /n,/e,/select,&lt;br /&gt;&lt;br /&gt;Opens the Windows folder as a folder: %SystemRoot%\explorer.exe %systemroot%&lt;br /&gt;&lt;br /&gt;Opens as "My Computer": %SystemRoot%\explorer.exe %systemroot%,&lt;br /&gt;&lt;br /&gt;This opens the Desktop folder with "My Computer" highlighted: %SystemRoot%\explorer.exe %systemroot%,/select,&lt;br /&gt;&lt;br /&gt;"Desktop" highlighted in the left side and no drives visible:&lt;br /&gt;%systemroot%\explorer.exe /e,/root,::{20D04FE0-3AEA-1069-A2D8-08002B30309D},/select&lt;br /&gt;&lt;br /&gt;"My Computer" highlighted in left side and all drives visible but none expanded:&lt;br /&gt;%systemroot%\explorer.exe /e,/root,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}&lt;br /&gt;&lt;br /&gt;"Desktop" in left side highlighted and "My Computer" highlighted in right side and no drives visible:&lt;br /&gt;%systemroot%\explorer.exe /e,/select,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-5195007576023749014?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/5195007576023749014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=5195007576023749014' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/5195007576023749014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/5195007576023749014'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2008/02/start-explorer-in-c.html' title='Start explorer in C:'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-454492752134978094</id><published>2008-01-02T09:34:00.001-05:00</published><updated>2008-01-02T09:34:58.318-05:00</updated><title type='text'>Kill Instance of Application</title><content type='html'>&lt;DIV&gt;&lt;SPAN class=531053014-02012008&gt;&lt;FONT face=Arial size=2&gt;Recently I was  receiving an issue with an application I am supporting.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;SPAN class=531053014-02012008&gt;&lt;FONT face=Arial  size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;SPAN class=531053014-02012008&gt;&lt;FONT face=Arial  size=2&gt;&lt;U&gt;Problem&lt;/U&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;SPAN class=531053014-02012008&gt;&lt;FONT face=Arial size=2&gt;The application is a  .NET Console application that using Microsoft Word to create reports. The  problem is that an exception error would occur if Microsoft Word (WINWORD =  Instance Name) was running.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;SPAN class=531053014-02012008&gt;&lt;FONT face=Arial  size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;SPAN class=531053014-02012008&gt;&lt;FONT face=Arial  size=2&gt;&lt;U&gt;Solution&lt;/U&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;SPAN class=531053014-02012008&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial color=#008000  size=2&gt; &lt;P&gt;// Code to kill Word issues if WINWORD is running on the current  machine&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT face=Arial&gt;// if word is running the  reports will throw an exception so &lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT face=Arial&gt;// we must ensure the  Microsoft Word application is not running&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;P&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#2b91af size=2&gt;Process&lt;/FONT&gt;&lt;FONT  size=2&gt;[] wordProcess = System.Diagnostics.&lt;/FONT&gt;&lt;FONT color=#2b91af  size=2&gt;Process&lt;/FONT&gt;&lt;FONT size=2&gt;.GetProcessesByName(&lt;/FONT&gt;&lt;FONT color=#a31515  size=2&gt;"WINWORD"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT size=2&gt;);&lt;BR&gt;&lt;/FONT&gt;&lt;FONT  color=#0000ff size=2&gt;if&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;  (wordProcess.Length &amp;lt;= 1)&lt;BR&gt;{&lt;/FONT&gt;&lt;/P&gt; &lt;P&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff size=2&gt;&lt;SPAN  class=531053014-02012008&gt;&lt;FONT  color=#000000&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;foreach&lt;/FONT&gt;&lt;FONT size=2&gt; (&lt;/FONT&gt;&lt;FONT  color=#2b91af size=2&gt;Process&lt;/FONT&gt;&lt;FONT size=2&gt; p &lt;/FONT&gt;&lt;FONT color=#0000ff  size=2&gt;in&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt; wordProcess)&lt;/FONT&gt;&lt;/P&gt; &lt;P&gt;&lt;FONT face=Arial&gt;{&lt;/FONT&gt;&lt;/P&gt; &lt;P&gt;&lt;FONT face=Arial&gt;p.Kill();&lt;/FONT&gt;&lt;/P&gt; &lt;P&gt;&lt;FONT face=Arial&gt;}&lt;/FONT&gt;&lt;/P&gt; &lt;P&gt;&lt;FONT face=Arial&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-454492752134978094?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/454492752134978094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=454492752134978094' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/454492752134978094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/454492752134978094'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2008/01/kill-instance-of-application.html' title='Kill Instance of Application'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-8370785517385244252</id><published>2007-12-20T12:44:00.000-05:00</published><updated>2007-12-21T09:09:41.877-05:00</updated><title type='text'>Year End</title><content type='html'>&lt;DIV&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Arial size=2&gt;Well,  another year is coming to an end and what a year it has been.&lt;SPAN  style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I have seen my Wife and daughter grow to  be best little buddies.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Also my  daughter learning and an incredible pace.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;  &lt;/SPAN&gt;As for my life in the development world I took on a new job.&lt;/FONT&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns =  "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Arial  size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Arial size=2&gt;Switched  from R.J. Reynolds to Bank of &lt;?xml:namespace prefix = st1 ns =  "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:country-region  w:st="on"&gt;&lt;st1:place w:st="on"&gt;America&lt;/st1:place&gt;&lt;/st1:country-region&gt; in  July.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This was a great move with  more challenging work.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This year I  can add to my resume that I am a Microsoft SharePoint 2007 Guru, Microsoft  InfoPath Developer, .NET Web Service Developer, along with SQL Server Reporting Services.&lt;/FONT&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Arial  size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Arial size=2&gt;Visual  Studio 2008, so that will be my new challenge next  year.&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-8370785517385244252?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/8370785517385244252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=8370785517385244252' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/8370785517385244252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/8370785517385244252'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/12/year-end.html' title='Year End'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-8271960104503470607</id><published>2007-12-18T11:14:00.000-05:00</published><updated>2007-12-20T12:40:19.142-05:00</updated><title type='text'>InfoPath - Hyper Link with data field</title><content type='html'>Not mentioned in this article is that you should create another Data Element in your infopath form, example - DynamicHyperLink&lt;br /&gt;&lt;br /&gt;concat('http://www.website.com/index.aspx?ID=',DataField)&lt;br /&gt;&lt;br /&gt;Be sure to then use that as your data source as indicated below.  &lt;br /&gt;&lt;br /&gt;&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;A  href="http://office.microsoft.com/en-us/infopath/HP010968051033.aspx#Insert_a_dynamic_hyperlink"&gt;http://office.microsoft.com/en-us/infopath/HP010968051033.aspx#Insert_a_dynamic_hyperlink&lt;/A&gt;&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt; &lt;H2&gt;Create a dynamic hyperlink in a form template&lt;/H2&gt; &lt;P&gt;If you want a hyperlink to change depending on values in the form, you can  include a dynamic hyperlink in your form template. To create this type of  hyperlink, you must &lt;A class=glossary  href="javascript:AppendPopup(this,'xdbind_1')"&gt;bind&lt;SPAN  class=AsstInlineDefText&gt;&lt;SPAN class=ACICollapsed  id=divInlineDef_xdbind_1&gt;&amp;nbsp;(bind: To connect a control to a field or group  in the data source so that data entered into the control is saved. When a  control is unbound, it is not connected to a field or group, and so data entered  into the control will not be saved.)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt; the hyperlink to a &lt;A  class=glossary href="javascript:AppendPopup(this,'xdfield_2')"&gt;field&lt;SPAN  class=AsstInlineDefText&gt;&lt;SPAN class=ACICollapsed  id=divInlineDef_xdfield_2&gt;&amp;nbsp;(field: An element or attribute in the data  source that can contain data. If the field is an element, it can contain  attribute fields. Fields store the data that is entered into  controls.)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt; in the &lt;A class=glossary  href="javascript:AppendPopup(this,'xddatasource_3')"&gt;data source&lt;SPAN  class=AsstInlineDefText&gt;&lt;SPAN class=ACICollapsed  id=divInlineDef_xddatasource_3&gt;&amp;nbsp;(data source: The collection of fields and  groups that define and store the data for an InfoPath form. Controls in the form  are bound to the fields and groups in the data source.)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;. If  the design of your form requires it, you can bind the hyperlink to one field and  the display text to another field.&lt;/P&gt; &lt;P&gt;For example, imagine that you are designing a real-estate listing form, which  is connected to a database that contains information about properties that are  for sale. In the database, you might have a field that contains distinct URLs  for each real estate agent. In your real-estate listing form, you can insert a  hyperlink and bind it to the field in the data source that contains the URL  value. If you want the hyperlink to display the name of the real estate agent  rather than the URL, you can bind its display text to a field in the data source  that contains the name value. When users click the agent's name on the form,  that agent's Web page opens in a browser window.&lt;/P&gt; &lt;OL&gt;   &lt;LI&gt;In design mode, click in the form template where you want to insert a    hyperlink, or select the text or picture that you want to turn into a    hyperlink.    &lt;LI&gt;On the &lt;B class=ui&gt;Standard&lt;/B&gt; toolbar, click &lt;B class=ui&gt;Insert    Hyperlink&lt;/B&gt; &lt;IMG alt="Button image"    src="http://office.microsoft.com/global/images/default.aspx?AssetID=ZA060454901033"    border=0&gt; .    &lt;LI&gt;Under &lt;B class=ui&gt;Link to&lt;/B&gt; on the &lt;B class=ui&gt;General&lt;/B&gt; tab, select    &lt;B class=ui&gt;Data source&lt;/B&gt;, click &lt;B class=ui&gt;Select XPath&lt;/B&gt; &lt;IMG    alt="Button image"    src="http://office.microsoft.com/global/images/default.aspx?AssetID=ZA010168981033"    border=0&gt;, and then select a field or group.    &lt;LI&gt;Under &lt;B class=ui&gt;Display&lt;/B&gt;, do one of the following:    &lt;UL&gt;     &lt;LI&gt;To display a specific string of text for the hyperlink, click &lt;B      class=ui&gt;Text&lt;/B&gt;, and then in the &lt;B class=ui&gt;Text&lt;/B&gt; box, type the text      that you want to display.      &lt;LI&gt;To have a value inside a control on the form template display as the      hyperlink's text, click &lt;B class=ui&gt;Data source&lt;/B&gt;, click &lt;B      class=ui&gt;Select XPath&lt;/B&gt; &lt;IMG alt="Button image"      src="http://office.microsoft.com/global/images/default.aspx?AssetID=ZA010168981033"      border=0&gt;, and then select the field or group that the control is bound      to.&lt;/LI&gt;&lt;/UL&gt;   &lt;LI&gt;To assign a ScreenTip that will appear when a user rests the mouse pointer    over the hyperlink, click the &lt;B class=ui&gt;Advanced&lt;/B&gt; tab, and then, in the    &lt;B class=ui&gt;ScreenTip&lt;/B&gt; box, type the text that you want to display.&lt;/LI&gt;&lt;/OL&gt; &lt;P&gt;&lt;B class=runinhead&gt;Tip&lt;/B&gt;&amp;nbsp;&amp;nbsp;You can use &lt;A class=glossary  href="javascript:AppendPopup(this,'xdxpath_4')"&gt;XPath&lt;SPAN  class=AsstInlineDefText&gt;&lt;SPAN class=ACICollapsed  id=divInlineDef_xdxpath_4&gt;&amp;nbsp;(XML Path Language (XPath): A language used to  address parts of an XML document. XPath also provides basic facilities for  manipulation of strings, numbers, and Booleans.)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt; expressions  to create hyperlinks that are a combination of static and dynamic data. For  example, imagine that you want to create a hyperlink that links to  "http://www.example.com/&lt;I&gt;my name&lt;/I&gt;.html" where the Web server name,  http://www.example.com, doesn't change, but the file name, &lt;I&gt;my name&lt;/I&gt;,  varies depending on the data that users type into a specific field in the form.  In this case, you would type &lt;B class=bterm&gt;concat('http://www.example.com/',  my:name, '.html')&lt;/B&gt; in the &lt;B class=ui&gt;Data source&lt;/B&gt; box, where &lt;B  class=bterm&gt;my:name&lt;/B&gt; is the name of the field to which the text box is bound.  The &lt;B class=ui&gt;Concat&lt;/B&gt; function allows you to combine static text with data  from other fields in the form.&lt;/P&gt;&lt;/DIV&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-8271960104503470607?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/8271960104503470607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=8271960104503470607' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/8271960104503470607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/8271960104503470607'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/12/infopath-hyper-link-with-data-field.html' title='InfoPath - Hyper Link with data field'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-597506412663802904</id><published>2007-12-18T08:51:00.000-05:00</published><updated>2007-12-18T08:53:05.223-05:00</updated><title type='text'></title><content type='html'>&lt;DIV&gt; &lt;DIV&gt;dbcc checkident('table_name', reseed, 0)&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;SPAN class=687425013-18122007&gt;&lt;FONT face=Arial size=2&gt;Reset Database  identity&lt;/FONT&gt;&lt;/SPAN&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/11258457-597506412663802904?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/597506412663802904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=597506412663802904' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/597506412663802904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/597506412663802904'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/12/dbcc-checkidenttablename-reseed-0-reset.html' title=''/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-8717044207178507477</id><published>2007-12-17T14:40:00.000-05:00</published><updated>2007-12-17T14:41:09.362-05:00</updated><title type='text'>Reset VS2005 IDE</title><content type='html'>&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;A  href="http://blogs.vertigo.com/personal/KeithC/Blog/Lists/Posts/Post.aspx?ID=16"&gt;http://blogs.vertigo.com/personal/KeithC/Blog/Lists/Posts/Post.aspx?ID=16&lt;/A&gt;&lt;/FONT&gt;&lt;/DIV&gt; &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;!-- Converted from text/rtf format --&gt; &lt;P&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/P&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-8717044207178507477?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/8717044207178507477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=8717044207178507477' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/8717044207178507477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/8717044207178507477'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/12/reset-vs2005-ide.html' title='Reset VS2005 IDE'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-2816751681183157878</id><published>2007-12-14T10:30:00.000-05:00</published><updated>2007-12-14T10:33:58.225-05:00</updated><title type='text'></title><content type='html'>&lt;DIV&gt;&lt;FONT size=2&gt; &lt;TABLE cellSpacing=0 cellPadding=0 width="100%" align=left&gt;   &lt;TBODY&gt;   &lt;TR&gt;     &lt;TD class=f vAlign=top width="100%"&gt;       &lt;TABLE cellSpacing=0 cellPadding=2 width="100%"&gt;         &lt;TBODY&gt;         &lt;TR&gt;           &lt;TD style="WORD-WRAP: break-word" vAlign=top align=left              width=400&gt;&lt;SPAN class=txt6&gt;&lt;FONT face=Arial&gt;&lt;B&gt;Answer &lt;/B&gt;&lt;SPAN              id=_ctl0_MainContent_PostFlatView__ctl0_PostRepeater__ctl1_Subject              style="FONT-WEIGHT: bold"&gt;Re: A transport-level error has occurred              when sending the request to the server&lt;/SPAN&gt; &lt;BR&gt;&lt;IMG              id=_ctl0_MainContent_PostFlatView__ctl0_PostRepeater__ctl1_PostAttribute              style="WIDTH: 17px; HEIGHT: 17px" alt=Answer              src="http://forums.microsoft.com/MSDN/emoticons/PostAttributeIMG/AnswerIcon.gif"              border=0&gt; &lt;IMG alt=""              src="http://forums.microsoft.com/MSDN/emoticons/PostAttributeIMG/Spacer.gif"&gt;              &lt;SPAN class=txt7              id=_ctl0_MainContent_PostFlatView__ctl0_PostRepeater__ctl1_HelpfulLabel&gt;Was              this post helpful ?&lt;/SPAN&gt; &lt;/FONT&gt;&lt;INPUT id=_ctl0_MainContent_PostFlatView__ctl0_PostRepeater__ctl1_Helpful style="BACKGROUND-COLOR: #99ccff" type=submit value=Yes name=_ctl0:MainContent:PostFlatView:_ctl0:PostRepeater:_ctl1:Helpful&gt;&lt;FONT              face=Arial&gt; &lt;/FONT&gt;&lt;INPUT id=_ctl0_MainContent_PostFlatView__ctl0_PostRepeater__ctl1_NotHelpful style="BACKGROUND-COLOR: #99ccff" type=submit value=No name=_ctl0:MainContent:PostFlatView:_ctl0:PostRepeater:_ctl1:NotHelpful&gt;&lt;FONT              face=Arial&gt; &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/TD&gt;           &lt;TD class=txt4rt&gt;&lt;SPAN class=txt4rt&gt;&lt;/SPAN&gt;&lt;A              href="http://forums.microsoft.com/MSDN/persona.aspx?ep=0&amp;amp;SiteID=1&amp;amp;fu=/MSDN/AddPost.aspx?PostID=339804&amp;amp;SiteID=1&amp;amp;ReturnUrl=&amp;amp;LCID=1033&amp;amp;ed=true"&gt;&lt;FONT              face=Arial&gt;&lt;IMG alt=Reply              src="http://forums.microsoft.com/MSDN/Themes/default/images/newpost_en_US.gif"              border=0&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial&gt; &lt;/FONT&gt;&lt;A              href="http://forums.microsoft.com/MSDN/persona.aspx?ep=0&amp;amp;SiteID=1&amp;amp;fu=/MSDN/AddPost.aspx?PostID=339804&amp;amp;SiteID=1&amp;amp;Quote=True&amp;amp;LCID=1033&amp;amp;ed=true"&gt;&lt;FONT              face=Arial&gt;&lt;IMG alt=Quote              src="http://forums.microsoft.com/MSDN/Themes/default/images/quote_en_US.gif"              border=0&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial&gt; &lt;SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;A              id=_ctl0_MainContent_PostFlatView__ctl0_PostRepeater__ctl1_LockPost              href="javascript:__doPostBack('_ctl0$MainContent$PostFlatView$_ctl0$PostRepeater$_ctl1$LockPost','')"&gt;&lt;/A&gt;&lt;A              id=_ctl0_MainContent_PostFlatView__ctl0_PostRepeater__ctl1_UnlockPost              href="javascript:__doPostBack('_ctl0$MainContent$PostFlatView$_ctl0$PostRepeater$_ctl1$UnlockPost','')"&gt;&lt;/A&gt;&lt;BR&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;!-- AlternatingItemTemplate.BodyColPostHeaderEnd (/1 row) //--&gt;&lt;!-- AlternatingItemTemplate.BodyColPostBodyStart (1 row) //--&gt;   &lt;TR&gt;     &lt;TD class=fh3 vAlign=top&gt;       &lt;TABLE cellSpacing=2 cellPadding=0 width="100%" align=left&gt;         &lt;TBODY&gt;         &lt;TR&gt;           &lt;TD class=spacer rowSpan=2&gt;&lt;FONT face=Arial&gt;&lt;/FONT&gt;&lt;/TD&gt;           &lt;TD style="PADDING-TOP: 4px" vAlign=top width="100%" colSpan=3&gt;             &lt;TABLE cellSpacing=0 cellPadding=0 width="90%" align=left&gt;               &lt;TBODY&gt;               &lt;TR&gt;                 &lt;TD class=txt4lt style="WORD-WRAP: break-word"  width=625&gt;&lt;SPAN&gt;                   &lt;P&gt;&lt;FONT face=Arial&gt;For some reason the connection was made                    through Named Pipes instead of Shared Memory (the default for                    local connections), which suggests that SqlClient did not                    recognize the connection was local, and most likely tunneled                    Named Pipes over TCP, hence, disconnecting the network has                    impact.&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;                   &lt;P&gt;&lt;FONT face=Arial&gt;How do you specify the server name -                    perhaps by its fully qualified domain name (FQDN), or IP                    address?&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;                   &lt;P&gt;&lt;FONT face=Arial&gt;If you specify it by the hostname or "."                    or "(local&lt;SPAN class=128452915-14122007&gt;host&lt;/SPAN&gt;)"                    SqlClient should recognize the local connection, and you                    should not see the error.&amp;nbsp;                &lt;/FONT&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-2816751681183157878?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/2816751681183157878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=2816751681183157878' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2816751681183157878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2816751681183157878'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/12/answer-re-transport-level-error-has.html' title=''/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-6873704909584448345</id><published>2007-12-14T09:38:00.000-05:00</published><updated>2007-12-14T09:40:29.579-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='parameters'/><title type='text'>Stored Procs</title><content type='html'>Please be aware if you are inserting data into a data field with a value type of int and allows null be sure to set the @Param int = null&lt;br /&gt;&lt;br /&gt;This will prevent errors when submitting.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-6873704909584448345?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/6873704909584448345/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=6873704909584448345' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/6873704909584448345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/6873704909584448345'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/12/stored-procs.html' title='Stored Procs'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-3977888171042465101</id><published>2007-12-12T09:54:00.000-05:00</published><updated>2007-12-12T09:59:11.650-05:00</updated><title type='text'>InfoPath class file from export</title><content type='html'>&lt;DIV&gt;&lt;STRONG&gt;xsd.exe myschema.xsd /classes /l:cs /n:&lt;SPAN  class=979175414-12122007&gt;[NAMESPACE]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;!-- Converted from text/rtf format --&gt; &lt;P&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/P&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-3977888171042465101?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/3977888171042465101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=3977888171042465101' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3977888171042465101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3977888171042465101'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/12/infopath-class-file-from-export.html' title='InfoPath class file from export'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-4328255792623836456</id><published>2007-12-12T09:29:00.000-05:00</published><updated>2007-12-12T09:31:59.628-05:00</updated><title type='text'>Identity Information</title><content type='html'>&lt;DIV&gt; &lt;DIV class=Page&gt; &lt;DIV class=Heading&gt;Introduction&lt;/DIV&gt; &lt;DIV class=Content&gt; &lt;P class=MsoPlainText  style="BACKGROUND: #e6e6e6; MARGIN: 0in 0in 0pt; TEXT-ALIGN: center"  align=center&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;&lt;SPAN  style="FONT-FAMILY: Verdana; mso-ansi-font-size: 10.0pt"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"&gt;&lt;STRONG&gt;&lt;U&gt;About  Identity Columns&lt;/U&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"&gt;If you  have worked with SQL Server, you are probably familiar with identity columns.  These are equivalent to the "AutoNumber" columns in Access. The main purpose of  these columns is to provide a primary key to the table when a primary key cannot  be defined using other fields in the table.&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=clsnormaltext style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Verdana  size=2&gt;These columns are like any other column except that their value is not  inserted by the user, but by the system itself. &lt;/FONT&gt;&lt;/P&gt; &lt;H5 style="MARGIN: auto 0in 0pt"&gt;&lt;U&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;Syntax&lt;/SPAN&gt;&lt;/U&gt;&lt;/H5&gt; &lt;P&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;IDENTITY  [ &lt;B&gt;(&lt;/B&gt; &lt;I&gt;seed &lt;/I&gt;&lt;B&gt;,&lt;/B&gt; &lt;I&gt;increment&lt;/I&gt; &lt;B&gt;)&lt;/B&gt; ]&lt;/SPAN&gt;&lt;/P&gt; &lt;P&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"&gt;Where:&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt; &lt;P&gt;&lt;I&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"&gt;seed -  &lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"&gt;Is the  value that is used for the very first row that is inserted into the  table.&lt;/SPAN&gt;&lt;/P&gt; &lt;P&gt;&lt;I&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"&gt;increment-  &lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"&gt;Is the  incremental value that is added to the previous identity value and thereby to  get new value for the new row that is going to be added.&lt;/SPAN&gt;&lt;/P&gt; &lt;P&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;Note:&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt; You  must specify both the seed and increment or neither. If neither is specified,  the default is (1,1).&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=clsnormaltext style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN  style="mso-bidi-font-size: 12.0pt"&gt;&lt;FONT size=2&gt;&lt;FONT  face=Verdana&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=clsnormaltext style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;FONT size=2&gt;&lt;FONT  face=Verdana&gt;A few things you need to know about the identity columns:  &lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt; &lt;P class=MsoNormal  style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; tab-stops: list .25in; mso-list: l1 level1 lfo1; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol"&gt;&amp;middot;&lt;SPAN  style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;They should be  of data type int, smallint, tinyint, decimal or numeric with scale 0.  &lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal  style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; tab-stops: list .25in; mso-list: l1 level1 lfo1; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol"&gt;&amp;middot;&lt;SPAN  style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;They cannot  contain null values &lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal  style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; tab-stops: list .25in; mso-list: l1 level1 lfo1; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol"&gt;&amp;middot;&lt;SPAN  style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;They cannot  have any default values &lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal  style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; tab-stops: list .25in; mso-list: l1 level1 lfo1; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol"&gt;&amp;middot;&lt;SPAN  style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;The identity  increment is an integral value (1, -1, 5, etc.) and cannot contain decimals.  Also, it cannot be 0. &lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal  style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; tab-stops: list .25in; mso-list: l1 level1 lfo1; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol"&gt;&amp;middot;&lt;SPAN  style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Identity Seed  is 1 by default, and so is the Identity Increment. If you leave the seed field  empty, it becomes 0. &lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal  style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=MsoPlainText  style="BACKGROUND: #e6e6e6; MARGIN: 0in 0in 0pt; TEXT-ALIGN: center"  align=center&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;&lt;SPAN  style="FONT-FAMILY: Verdana; mso-ansi-font-size: 10.0pt"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=clsnormaltext  style="MARGIN: 7.5pt 0in 7.5pt 9pt; TEXT-INDENT: 0in; tab-stops: list 9.0pt; mso-list: l3 level1 lfo4"&gt;&lt;SPAN  style="FONT-FAMILY: Symbol"&gt;&lt;FONT size=2&gt;&lt;SPAN  style="FONT-FAMILY: Verdana; mso-ansi-font-size: 10.0pt"&gt;&lt;STRONG&gt;&lt;U&gt;Functions  associated with IDENTITY column&lt;/U&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=clsnormaltext  style="MARGIN: 7.5pt 0in 7.5pt 9pt; TEXT-INDENT: 0in; tab-stops: list 9.0pt; mso-list: l3 level1 lfo4"&gt;&lt;SPAN  style="FONT-FAMILY: Symbol"&gt;&lt;FONT size=2&gt;&amp;middot;&lt;/FONT&gt;&lt;SPAN  style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;&lt;STRONG&gt;&lt;SPAN  style="mso-ansi-font-size: 10.0pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"&gt;@@IDENTITY&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;When  a record is inserted into a table with an identity column, the function  @@IDENTITY returns the last identity value that was inserted in the database.  &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt; &lt;H5 style="MARGIN: auto 0in 0pt 9pt"&gt;&lt;U&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;Syntax&lt;/SPAN&gt;&lt;/U&gt;&lt;/H5&gt; &lt;P style="MARGIN-LEFT: 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;@@IDENTITY&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=clsnormaltext style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;FONT face=Verdana&gt;&lt;FONT  size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=clsnormaltext style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;FONT face=Verdana  size=2&gt;I emphasize the&amp;nbsp;phrase "last identity value" here because this may  be different from the identity value of that particular table where the record  was inserted.&lt;/FONT&gt;&lt;/P&gt; &lt;P class=clsnormaltext style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;FONT face=Verdana  size=2&gt;Why? When a record is inserted and if there is any underlying trigger  that modifies other tables, the value can be different. If a trigger adds a  record into another table, &lt;B&gt;which happens to have an identity column&lt;/B&gt;,  @@IDENTITY will now return this new value instead.&lt;/FONT&gt;&lt;/P&gt; &lt;P class=clsnormaltext style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;FONT face=Verdana&gt;&lt;FONT  size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=clsnormaltext  style="MARGIN: 0in 0in 0pt 9pt; TEXT-INDENT: 0in; tab-stops: list 9.0pt; mso-list: l3 level1 lfo4"&gt;&lt;SPAN  style="FONT-FAMILY: Symbol; mso-bidi-font-weight: bold"&gt;&lt;FONT  size=2&gt;&amp;middot;&lt;/FONT&gt;&lt;SPAN  style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;FONT size=2&gt;&lt;FONT  face=Verdana&gt;Scope_IDENTITY&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt; &lt;P style="MARGIN-LEFT: 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;Returns  the last IDENTITY value inserted into an IDENTITY column in the same scope. A  scope is a stored procedure, function, or batch. Thus, two statements are in the  same scope if they are in the same stored procedure, function, or batch.  It&amp;nbsp;may be more clear from the example below.&lt;/SPAN&gt;&lt;/P&gt; &lt;H5 style="MARGIN: auto 0in 0pt 9pt"&gt;&lt;U&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;Syntax&lt;/SPAN&gt;&lt;/U&gt;&lt;/H5&gt; &lt;P style="MARGIN-LEFT: 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;SCOPE_IDENTITY&lt;B&gt;(&lt;/B&gt;)&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=clsnormaltext style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;FONT face=Verdana&gt;&lt;FONT  size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN-LEFT: 9pt"&gt;&lt;SPAN  style="FONT-FAMILY: Symbol; mso-bidi-font-weight: bold"&gt;&lt;FONT  size=2&gt;&amp;middot;&lt;/FONT&gt;&lt;SPAN  style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;FONT size=2&gt;&lt;FONT  face=Verdana&gt;IDENT_CURRENT&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt; &lt;P style="MARGIN-LEFT: 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;Returns  the last identity value generated for a specified table in any session and any  scope. &lt;/SPAN&gt;&lt;/P&gt; &lt;H5 style="MARGIN: auto 0in 0pt 9pt"&gt;&lt;U&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;Syntax&lt;/SPAN&gt;&lt;/U&gt;&lt;/H5&gt; &lt;P style="MARGIN-LEFT: 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;IDENT_CURRENT&lt;B&gt;('&lt;/B&gt;&lt;I&gt;table_name&lt;/I&gt;&lt;B&gt;')&lt;/B&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=clsnormaltext style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;FONT face=Verdana&gt;&lt;FONT  size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN-LEFT: 9pt"&gt;&lt;SPAN  style="FONT-FAMILY: Symbol; mso-bidi-font-weight: bold"&gt;&lt;FONT  size=2&gt;&amp;middot;&lt;/FONT&gt;&lt;SPAN  style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;FONT size=2&gt;&lt;FONT  face=Verdana&gt;IDENT_SEED&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt; &lt;P style="MARGIN-LEFT: 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;Returns  the seed value specified during the creation of an identity column in a table  that has an identity column.&lt;/SPAN&gt;&lt;/P&gt; &lt;H5 style="MARGIN: auto 0in 0pt 9pt"&gt;&lt;U&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;Syntax&lt;/SPAN&gt;&lt;/U&gt;&lt;/H5&gt; &lt;P style="MARGIN-LEFT: 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;IDENT_SEED&lt;B&gt;('&lt;/B&gt;&lt;I&gt;table_name&lt;/I&gt;&lt;B&gt;')&lt;/B&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=clsnormaltext style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;FONT face=Verdana&gt;&lt;FONT  size=2&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN-LEFT: 9pt"&gt;&lt;SPAN  style="FONT-FAMILY: Symbol; mso-bidi-font-weight: bold"&gt;&lt;FONT  size=2&gt;&amp;middot;&lt;/FONT&gt;&lt;SPAN  style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;FONT size=2&gt;&lt;FONT  face=Verdana&gt;IDENT_INCR&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt; &lt;P style="MARGIN-LEFT: 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;Returns  the increment value specified during the creation of an identity column in a  table that has an identity column.&lt;/SPAN&gt;&lt;/P&gt; &lt;H5 style="MARGIN: auto 0in 0pt 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;Syntax&lt;/SPAN&gt;&lt;/H5&gt; &lt;P style="MARGIN-LEFT: 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"&gt;IDENT_INCR&lt;/SPAN&gt;&lt;B&gt;('&lt;/B&gt;&lt;I&gt;table_name&lt;/I&gt;&lt;B&gt;')&lt;/B&gt;&lt;/P&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;/TD&gt; &lt;/DIV&gt; &lt;HR&gt;  &lt;DIV class=Page&gt; &lt;DIV class=Heading&gt;Examples and Tips&lt;/DIV&gt; &lt;DIV class=Content&gt; &lt;P class=MsoPlainText  style="BACKGROUND: #e6e6e6; MARGIN: 0in 0in 0pt; TEXT-ALIGN: center"  align=left&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;&lt;SPAN  style="FONT-FAMILY: Verdana; mso-ansi-font-size: 10.0pt"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;B&gt;&lt;U&gt;&lt;FONT  face=Verdana&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/B&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;U&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/U&gt;&lt;/B&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;SPAN  style="FONT-FAMILY: Verdana; mso-ansi-font-size: 10.0pt"&gt;&lt;FONT  size=2&gt;&lt;U&gt;Example&lt;/U&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN  style="FONT-FAMILY: Verdana; mso-fareast-font-family: 'MS Mincho'"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/B&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;--  Consider the 2 Tables&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;CREATE  TABLE Student(studId int IDENTITY(1,1), studName varchar(30))&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;CREATE  TABLE Copy_Student(sid int IDENTITY(100,1))&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;GO&lt;B&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;--Create  trigger for insert on table Student&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;CREATE  TRIGGER trgStudent ON Student FOR INSERT &lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;AS&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;BEGIN&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;SPAN  style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;INSERT INTO Copy_Student DEFAULT  VALUES&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;END&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;GO&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;--Check  The Tables&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;SELECT&lt;SPAN  style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;*&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;  &lt;/SPAN&gt;FROM Student&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;/SPAN&gt;--No records&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;SELECT&lt;SPAN  style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;*&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;  &lt;/SPAN&gt;FROM Copy_Student --No records&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;GO&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;--Now  do the following to check out the difference&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;INSERT  INTO Student(studName) VALUES('Anjali Chelawat')&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;SELECT  @@IDENTITY AS [IDENTITY]&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;--Returns  the value 100, which was inserted by the trigger that is by the second insert  statement.&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;SELECT  SCOPE_IDENTITY() AS [SCOPE_IDENTITY]&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;  &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; COLOR: windowtext; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;--Returns  the value 1, which was inserted by the Student table INSERT Statement before the  trigger's insert statement.&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;SELECT  IDENT_CURRENT('student') AS [IDENT_CURRENT]&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; COLOR: windowtext; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;--Returns  last identity value inserted into Student.&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;SELECT  IDENT_CURRENT('copy_student') AS [IDENT_CURRENT]&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; COLOR: windowtext; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;--Returns  last identity value inserted into Copy_Student.&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;SELECT  IDENT_INCR('student') AS [IDENT_INCR]&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; COLOR: windowtext; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;--  Returns the increment value of the identity column of the table Student. The  value provided at the time of creation of the identity column&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;SELECT  IDENT_SEED('student') AS [IDENT_SEED]&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 3pt; COLOR: windowtext; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;--  Returns the seed value of the identity column of the table Student. The value  provided at the time of creation of the identity column&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;STRONG&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 9.0pt"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;STRONG&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 9.0pt"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=MsoPlainText  style="BACKGROUND: #e6e6e6; MARGIN: 0in 0in 0pt; TEXT-ALIGN: center"  align=center&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;&lt;SPAN  style="FONT-FAMILY: Verdana; mso-ansi-font-size: 10.0pt"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;B&gt;&lt;SPAN  style="FONT-FAMILY: Verdana; mso-fareast-font-family: 'MS Mincho'"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;STRONG&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 9.0pt"&gt;&lt;U&gt;A  Few Tips&lt;/U&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt; &lt;P class=MsoNormal  style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; tab-stops: list .25in; mso-list: l0 level1 lfo3"&gt;&lt;STRONG&gt;&lt;SPAN  style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-bidi-font-size: 8.0pt; mso-bidi-font-family: 'Times New Roman'"&gt;&amp;middot;&lt;SPAN  style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 9.0pt"&gt;Allowing  inserts to identity columns:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;SPAN  style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt; mso-bidi-font-family: 'Times New Roman'"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;If you  are inserting data from some other source to a table with an identity column and  you need to ensure you retain the identity values, you can temporarily allow  inserts to the identity column. Without doing so explicitly you will receive an  error if you attempt to insert a value into the identity column. For example, if  I have a table named MYTABLE and I want to allow inserts into the identity  column, I can execute the following:&lt;/SPAN&gt;&lt;/P&gt; &lt;H5 style="MARGIN: auto 0in 0pt 9pt"&gt;&lt;U&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;Syntax&lt;/SPAN&gt;&lt;/U&gt;&lt;/H5&gt; &lt;P style="MARGIN-LEFT: 9pt"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"&gt;set  identity_&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;  insert&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;I&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;table_name&lt;/SPAN&gt;&lt;/I&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;  on&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;Once  you execute the command you will be able to insert values into the table's  identity column. This will stay in effect in until you turn it off by executing  the following:&lt;/SPAN&gt;&lt;SPAN  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; &lt;H2 style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;U&gt;&lt;FONT face=Verdana  size=2&gt;Syntax&lt;/FONT&gt;&lt;/U&gt;&lt;/H2&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"&gt;set  identity_insert &lt;/SPAN&gt;&lt;/B&gt;&lt;I&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;table_name&lt;/SPAN&gt;&lt;/I&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"&gt;  off&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;Note:&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt; Be  aware that at any time, &lt;B&gt;only a single table in a session can have the  identity_insert set to on&lt;/B&gt;.&amp;nbsp; If you attempt to enable this for a table  and another table already has this enabled, you will receive an error and will  not be able to do so until you first turn this off for the other table. Also, if  the value used for the identity is larger than the current identity&amp;nbsp;value  then the&amp;nbsp;new value will be used for the identity seed for the column.  &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;STRONG&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 9.0pt"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;STRONG&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 9.0pt"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=MsoNormal  style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; tab-stops: list .25in; mso-list: l0 level1 lfo3"&gt;&lt;STRONG&gt;&lt;SPAN  style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-bidi-font-size: 8.0pt; mso-bidi-font-family: 'Times New Roman'"&gt;&amp;middot;&lt;SPAN  style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 9.0pt"&gt;Reseeding  the identity value:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;SPAN  style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt; mso-bidi-font-family: 'Times New Roman'"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;You can  reseed the identity value, that is, to have the identity values reset or start  at a new predefined value by using &lt;/SPAN&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt; mso-bidi-font-family: 'Courier New'"&gt;DBCC  CHECKIDENT&lt;/SPAN&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;.&amp;nbsp;  For example, if I have a table named MYTABLE and I want to reseed the identity  column to 30 I would execute the following:&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"&gt;dbcc  checkident (&amp;#8216;&lt;/SPAN&gt;&lt;/B&gt;&lt;I&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;table_name&lt;/SPAN&gt;&lt;/I&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"&gt;&amp;#8217;,  reseed, 30)&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 12.0pt"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=clsnormaltext style="MARGIN: 0in 0in 0pt 9pt"&gt;&lt;SPAN  style="mso-bidi-font-size: 8.0pt"&gt;&lt;FONT size=2&gt;&lt;FONT face=Verdana&gt;If you wanted  to reseed the table to start with an identity of 1 with the next insert then you  would reseed the table's identity to 0.&amp;nbsp; The identity seed is what the  value is currently at, meaning that the next value will increment the seed and  use that.&amp;nbsp; However, one thing to keep in mind is that if you set the  identity seed below values that you currently have in the table, that you will  violate the identity column's uniqueness constraint as soon as the values start  to overlap.&amp;nbsp; The identity value will not just &amp;#8220;skip&amp;#8221; values that already  exist in the table.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;SPAN  style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=MsoPlainText  style="BACKGROUND: #e6e6e6; MARGIN: 0in 0in 0pt; TEXT-ALIGN: center"  align=center&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;&lt;SPAN  style="FONT-FAMILY: Verdana; mso-ansi-font-size: 10.0pt"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;B&gt;&lt;SPAN  style="FONT-FAMILY: Verdana; mso-fareast-font-family: 'MS Mincho'"&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=clsnormaltext style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN  style="mso-bidi-font-size: 8.0pt"&gt;&lt;FONT face=Verdana&gt;&lt;FONT  size=2&gt;&lt;STRONG&gt;&lt;U&gt;Points To Remember&lt;/U&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=clsnormaltext  style="MARGIN: 0in 0in 0pt 9.35pt; TEXT-INDENT: -9.35pt; tab-stops: list 9.0pt; mso-list: l0 level1 lfo3"&gt;&lt;SPAN  style="FONT-FAMILY: Symbol; mso-bidi-font-size: 8.0pt"&gt;&lt;FONT  size=2&gt;&amp;middot;&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;  &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-size: 8.0pt"&gt;&lt;FONT size=2&gt;&lt;FONT  face=Verdana&gt;IDENT_CURRENT returns the last identity value generated for a  specific table in any session and any scope.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal  style="MARGIN: 0in 0in 0pt 9.35pt; TEXT-INDENT: -9.35pt; LINE-HEIGHT: 18pt; tab-stops: list 9.0pt; mso-list: l2 level1 lfo2"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-bidi-font-size: 8.0pt"&gt;&amp;middot;&lt;SPAN  style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;@@IDENTITY  returns the last identity value generated for any table in the current session,  across all scopes.&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal  style="MARGIN: 0in 0in 0pt 9.35pt; TEXT-INDENT: -9.35pt; LINE-HEIGHT: 18pt; tab-stops: list 9.0pt; mso-list: l2 level1 lfo2"&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-bidi-font-size: 8.0pt"&gt;&amp;middot;&lt;SPAN  style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 8.0pt"&gt;SCOPE_IDENTITY  returns the last identity value generated for any table in the current session  and the current scope. &lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;STRONG&gt;&lt;SPAN  style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-size: 9.0pt"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt; &lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=736332714-12122007&gt;Credit to: &lt;/P&gt; &lt;DIV class=Heading&gt;All About IDENTITY Columns in Sql Server 2000&lt;/DIV&gt; &lt;DIV class=Url&gt;&lt;A  href="http://www.devcity.net/Articles/276/1/article.aspx"&gt;http://www.devcity.net/Articles/276/1/article.aspx&lt;/A&gt;&lt;/DIV&gt; &lt;DIV class=Author&gt;by&amp;nbsp;Anjali Chelawat&lt;/DIV&gt; &lt;DIV class=Date&gt;Published on&amp;nbsp;10/5/2006&lt;/TD&gt;  &lt;/DIV&gt;&lt;/SPAN&gt;&lt;/FONT&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/11258457-4328255792623836456?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/4328255792623836456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=4328255792623836456' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/4328255792623836456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/4328255792623836456'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/12/identity-information.html' title='Identity Information'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-5806044208300926883</id><published>2007-11-29T07:44:00.001-05:00</published><updated>2007-12-14T09:44:10.582-05:00</updated><title type='text'>SQL Reporting Notes</title><content type='html'>&lt;DIV&gt;&lt;SPAN class=250454921-28112007&gt;&lt;FONT face=Arial size=2&gt;SQL Reporting  Notes&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;SPAN class=250454921-28112007&gt;&lt;FONT face=Arial  size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;SPAN class=250454921-28112007&gt;&lt;FONT face=Arial size=2&gt;I noticed an issue  with SQL Reporting and the PDF formatting.&amp;nbsp; I was receiving a lot of extra  pages between page breaks.&amp;nbsp; I realized that the grid margins had moved to  be extremely wide which caused the problem.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;SPAN class=250454921-28112007&gt;&lt;FONT face=Arial  size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;SPAN class=250454921-28112007&gt;&lt;FONT face=Arial size=2&gt;If you have this  problem be sure to check your margins.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;br /&gt;&lt;br /&gt;If you are developing a 11" x 8.5" be sure that your grid is equal to your width minus the margin for left and right.&lt;br /&gt;&lt;br /&gt;Example you have a report to be 11" wide with 1/2" margins this means your grid and I repeat cannot be wider than 10" or you will have blank pages and please be sure not to nudge it by accident.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-5806044208300926883?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/5806044208300926883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=5806044208300926883' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/5806044208300926883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/5806044208300926883'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/11/sql-reporting-notes.html' title='SQL Reporting Notes'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-8056865958522645641</id><published>2007-11-27T15:18:00.000-05:00</published><updated>2007-12-03T15:09:34.465-05:00</updated><title type='text'>SQL Reporting Services Expression</title><content type='html'>If you ever need to insert "data not available" or "n/a"  use the following code.&lt;br /&gt;&lt;br /&gt;=IIf(Fields!HoursAllocated.Value is nothing, "No Data Supplied", Fields!HoursAllocated.Value)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-8056865958522645641?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/8056865958522645641/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=8056865958522645641' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/8056865958522645641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/8056865958522645641'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/11/iiffieldsdescription.html' title='SQL Reporting Services Expression'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-6215623124792423011</id><published>2007-11-27T14:55:00.000-05:00</published><updated>2007-12-03T15:10:21.176-05:00</updated><title type='text'>ASP.NET Account locked out please check before banging your head.</title><content type='html'>&lt;DIV&gt;&lt;FONT size=2&gt;&lt;FONT size=1&gt; &lt;P&gt;&lt;FONT face=Arial&gt;aspnet_wp.exe could not be started. The error code for the  failure is 80004005. This error can be caused when the worker process account  has insufficient rights to read the .NET Framework files. Please ensure that the  .NET Framework is correctly installed and that the ACLs on the installation  directory allow access to the configured account.&lt;/FONT&gt;&lt;/P&gt; &lt;P&gt;&lt;FONT face=Arial&gt;For more information, see Help and Support Center at  &lt;/FONT&gt;&lt;A href="http://go.microsoft.com/fwlink/events.asp"&gt;&lt;FONT  face=Arial&gt;http://go.microsoft.com/fwlink/events.asp&lt;/FONT&gt;&lt;/A&gt;&lt;FONT  face=Arial&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;FONT size=1&gt; &lt;P&gt;&lt;FONT face=Arial&gt;aspnet_wp.exe could not be launched because the username  and/or password supplied in the processModel section of the config file are  invalid.&lt;/FONT&gt;&lt;/P&gt; &lt;P&gt;&lt;FONT face=Arial&gt;For more information, see Help and Support Center at  &lt;/FONT&gt;&lt;A href="http://go.microsoft.com/fwlink/events.asp"&gt;&lt;FONT  face=Arial&gt;http://go.microsoft.com/fwlink/events.asp&lt;/FONT&gt;&lt;/A&gt;&lt;FONT  face=Arial&gt;.&lt;/FONT&gt;&lt;/P&gt; &lt;P&gt;&lt;FONT face=Arial&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt; &lt;P&gt;&lt;SPAN class=761125419-27112007&gt;&lt;FONT face=Arial size=2&gt;Check the  following:&amp;nbsp; Make sure the ASP.NET Machine Account is not locked  out...&amp;nbsp; It will save you a lot of  headaches.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-6215623124792423011?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/6215623124792423011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=6215623124792423011' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/6215623124792423011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/6215623124792423011'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/11/aspnetwp.html' title='ASP.NET Account locked out please check before banging your head.'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-1250869523562939392</id><published>2007-11-26T11:43:00.001-05:00</published><updated>2007-11-26T11:43:49.214-05:00</updated><title type='text'>%HOME%%HOMEPATH%</title><content type='html'>&lt;DIV&gt;&lt;SPAN class=444294116-26112007&gt;&lt;FONT face=Arial size=2&gt;Have you ever needed  to use RUNAS for testing security on your applications?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt; &lt;DIV&gt;&lt;SPAN class=444294116-26112007&gt;&lt;FONT face=Arial  size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt; &lt;DIV&gt;&lt;SPAN class=444294116-26112007&gt;&lt;FONT face=Arial size=2&gt;If so, and you have  gotten a second account for testing and get weird errors such as not finding the  application be sure to change the Start In to point to the actual executables  location rather than the %HOME%%HOMEPATH%&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-1250869523562939392?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/1250869523562939392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=1250869523562939392' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/1250869523562939392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/1250869523562939392'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/11/homehomepath.html' title='%HOME%%HOMEPATH%'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-3900003461860717682</id><published>2007-11-13T10:46:00.000-05:00</published><updated>2007-11-13T10:47:11.489-05:00</updated><title type='text'>Check empty array Trick</title><content type='html'>The old trick for checking for an empty array is&lt;br /&gt;&lt;br /&gt;    Dim X() As String&lt;br /&gt;&lt;br /&gt;    If (Not X) = -1 Then&lt;br /&gt;        Debug.Print "empty"&lt;br /&gt;    Else&lt;br /&gt;        Debug.Print "UBound is " &amp; UBound(X)&lt;br /&gt;    End If&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-3900003461860717682?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/3900003461860717682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=3900003461860717682' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3900003461860717682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/3900003461860717682'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/11/check-empty-array-trick.html' title='Check empty array Trick'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-5486406734990050479</id><published>2007-11-07T12:09:00.000-05:00</published><updated>2007-11-07T12:29:30.723-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web Services'/><category scheme='http://www.blogger.com/atom/ns#' term='InfoPath'/><title type='text'>InfoPath and Web Services</title><content type='html'>Have you ever had this issue developing a Web service with InfoPath?&lt;br /&gt;&lt;br /&gt;InfoPath cannot submit the form.&lt;br /&gt;An error occurred while the form was being submitted.&lt;br /&gt;The SOAP response indicates that an error occurred:&lt;br /&gt;&lt;br /&gt;System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP  &lt;br /&gt;Header SOAPAction:http://localhost  &lt;-- Questions Have you changed the URL here but it the change does not work on the Submit for the InfoPath form?&lt;br /&gt;&lt;br /&gt;Well first things first.  Every time you update the Web service you need to re-do the connection to the Web service inside of InfoPath.  I discovered this after about 2 hours of trying to find out what I was doing wrong in my code VS.NET 2005  UGH!!!!&lt;br /&gt;&lt;br /&gt;Hack away fellow gurus.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;moojjoo&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;More to come on the solution I am working on.  I am thinking about creating a White Paper and I will include all Blogs that have helped me with this solution.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-5486406734990050479?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/5486406734990050479/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=5486406734990050479' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/5486406734990050479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/5486406734990050479'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/11/infopath-and-web-services.html' title='InfoPath and Web Services'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-5278274492752228302</id><published>2007-10-10T15:26:00.000-04:00</published><updated>2007-10-10T15:30:28.697-04:00</updated><title type='text'>Data Types</title><content type='html'>Data types defined for SQL Server &lt;a href="http://msdn2.microsoft.com/en-us/library/aa258271(SQL.80).aspx"&gt;http://msdn2.microsoft.com/en-us/library/aa258271(SQL.80).aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Difference between varable and fixed - &lt;br /&gt;&lt;br /&gt;When you design your tables, it helps to understand the tradeoffs of using variable length columns versus fixed length columns. Variable length columns reduce database size because they take only what is required to store the actual value. Fixed length columns always take maximum space defined by the schema, even when the actual value is empty. The downside for variable length columns is that some operations are not as efficient as those on fixed length columns. For example, if a variable length column starts small and an UPDATE causes it to grow significantly, the record might have to be relocated. Additionally, frequent updates cause data pages to become more fragmented over time. Therefore, we recommend that you use fixed length columns when data lengths do not vary too much and when frequent updates are performed (Microsoft - &lt;a href="http://technet.microsoft.com/en-us/library/ms172432.aspx"&gt;http://technet.microsoft.com/en-us/library/ms172432.aspx&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Unicode vs. Non-Unicode - The primary difference between unicode and non-unicode data types is the ability of unicode to easily handle the storage of foreign language characters which also requires more storage space.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-5278274492752228302?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/5278274492752228302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=5278274492752228302' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/5278274492752228302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/5278274492752228302'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/10/data-types.html' title='Data Types'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-1849790516001809666</id><published>2007-09-25T14:26:00.000-04:00</published><updated>2007-09-25T14:27:02.297-04:00</updated><title type='text'>Remember</title><content type='html'>WorksheetFunction. in excel VBA&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-1849790516001809666?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/1849790516001809666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=1849790516001809666' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/1849790516001809666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/1849790516001809666'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/09/remember.html' title='Remember'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-8313315961229932581</id><published>2007-09-25T10:39:00.001-04:00</published><updated>2007-09-25T10:39:59.895-04:00</updated><title type='text'>Blog of the Day</title><content type='html'>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;A name=_MailAutoSig&gt;&lt;SPAN style="FONT-SIZE: 12pt; COLOR: black; mso-bidi-font-family: Arial; mso-no-proof: yes"&gt;&lt;FONT face=Arial&gt;Well, the latest update.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I have moved into some VBA code.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;So what is VBA?&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;VBA stands for Visual Basic for Application (Office).&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I have to admit at first I was a little stand offish, but after playing with the tools in the Office application I am a bit taken by the power.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Just like all Microsoft products the Object Model is easy to pick up.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN style="mso-bookmark: _MailAutoSig"&gt;&lt;SPAN style="FONT-SIZE: 12pt; COLOR: black; mso-bidi-font-family: Arial; mso-no-proof: yes"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN style="mso-bookmark: _MailAutoSig"&gt;&lt;SPAN style="FONT-SIZE: 12pt; COLOR: black; mso-bidi-font-family: Arial; mso-no-proof: yes"&gt;&lt;FONT face=Arial&gt;I am actually developing some reporting in Excel from SharePoint lists being populated by InfoPath Forms.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I hope to be moving into the InfoPath to Web services to SQL server to us SQL reporting soon.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I will keep everyone updated.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN style="mso-bookmark: _MailAutoSig"&gt;&lt;SPAN style="FONT-SIZE: 12pt; COLOR: black; mso-bidi-font-family: Arial; mso-no-proof: yes"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"&gt;&lt;SPAN style="mso-bookmark: _MailAutoSig"&gt;&lt;SPAN style="FONT-SIZE: 12pt; COLOR: black; mso-bidi-font-family: Arial; mso-no-proof: yes"&gt;&lt;FONT face=Arial&gt;&amp;lt;moojjoo&amp;gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bookmark: _MailAutoSig"&gt;&lt;SPAN style="FONT-SIZE: 12pt; mso-bidi-font-family: Arial; mso-no-proof: yes"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-8313315961229932581?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/8313315961229932581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=8313315961229932581' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/8313315961229932581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/8313315961229932581'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/09/blog-of-day.html' title='Blog of the Day'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-6501778734832138775</id><published>2007-09-13T16:01:00.000-04:00</published><updated>2007-09-13T16:03:09.231-04:00</updated><title type='text'>Adding an image</title><content type='html'>&lt;a href="http://bp3.blogger.com/_Us4mpKtyJYM/RumXWMPQlTI/AAAAAAAAAAM/ZN-oeT6SKHY/s1600-h/test.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://bp3.blogger.com/_Us4mpKtyJYM/RumXWMPQlTI/AAAAAAAAAAM/ZN-oeT6SKHY/s320/test.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5109781659726681394" /&gt;&lt;/a&gt;Moojjoo's Blog Image Post&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-6501778734832138775?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/6501778734832138775/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=6501778734832138775' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/6501778734832138775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/6501778734832138775'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/09/adding-image.html' title='Adding an image'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp3.blogger.com/_Us4mpKtyJYM/RumXWMPQlTI/AAAAAAAAAAM/ZN-oeT6SKHY/s72-c/test.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-7822745317535925746</id><published>2007-09-13T15:38:00.001-04:00</published><updated>2007-09-13T15:38:06.081-04:00</updated><title type='text'>Test</title><content type='html'>&lt;!-- Converted from text/rtf format --&gt;  &lt;P DIR=LTR&gt;&lt;SPAN LANG="en-us"&gt;&lt;FONT SIZE=2 FACE="Arial"&gt;Testing blog post from email&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN LANG="en-us"&gt;&lt;/SPAN&gt;&lt;/P&gt;  &lt;P DIR=LTR&gt;&lt;SPAN LANG="en-us"&gt;&lt;/SPAN&gt;&lt;SPAN LANG="en-us"&gt;&lt;/SPAN&gt;&lt;A NAME=""&gt;&lt;SPAN LANG="en-us"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;  &lt;P DIR=LTR&gt;&lt;SPAN LANG="en-us"&gt;&lt;/SPAN&gt;&lt;/P&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-7822745317535925746?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/7822745317535925746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=7822745317535925746' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/7822745317535925746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/7822745317535925746'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/09/test.html' title='Test'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-480137629144489292</id><published>2007-09-11T10:11:00.000-04:00</published><updated>2007-09-11T10:12:13.529-04:00</updated><title type='text'>Backup and Restore on SQL Server</title><content type='html'>thanks to moonguy on MSDN he saved me many hours of work.&lt;br /&gt;&lt;br /&gt;When you try to backup, SQL Server 2005 shows the default backup path i.e. c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\ . This directory default has SQL user rights. Go to Backup directory and check the user name. Its very big name and I have not checked how SQL server adds it in allowed users list. You can do 2 things:&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;1. Let the Server take backup on default directory and copy the file in your desired folder. I did that.&lt;br /&gt;&lt;br /&gt;2. Give same kind of permissions to your desired folder as Backup directory has.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Hope it solves the issue.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Moonguy&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-480137629144489292?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/480137629144489292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=480137629144489292' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/480137629144489292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/480137629144489292'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/09/backup-and-restore-on-sql-server.html' title='Backup and Restore on SQL Server'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-5541447059554018182</id><published>2007-09-05T11:03:00.000-04:00</published><updated>2007-09-05T11:10:21.817-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OO'/><category scheme='http://www.blogger.com/atom/ns#' term='object oriented programming'/><title type='text'>Classes, Objects and Methods oh my!!!!!</title><content type='html'>I read a great article the other day for the newbies to C# and OO development &lt;a href="http://www.devarticles.com/c/a/C-Sharp/Introduction-to-Objects-and-Classes-in-C-sharp/"&gt;http://www.devarticles.com/c/a/C-Sharp/Introduction-to-Objects-and-Classes-in-C-sharp/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Take some time to read it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-5541447059554018182?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/5541447059554018182/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=5541447059554018182' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/5541447059554018182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/5541447059554018182'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/09/classes-objects-and-methods-oh-my.html' title='Classes, Objects and Methods oh my!!!!!'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-1822274775070744671</id><published>2007-08-14T09:06:00.000-04:00</published><updated>2007-08-14T09:09:29.360-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Settings.Settings'/><title type='text'>Settings.Settings .NET C#</title><content type='html'>I just learned the newest feature for adding configuration to .NET application (Console, Windows Forms, Web forms, ets.)&lt;br /&gt;&lt;br /&gt;Settings.Settings are created when you start your application.  This allows you to build out Settings that scope either the application or user.  But the big question was how do you access them in the code.&lt;br /&gt;&lt;br /&gt;Simple.&lt;br /&gt;&lt;br /&gt;Try this&lt;br /&gt;&lt;br /&gt;Properties.Settins.Default.[Intellisense takes over and find your setting]&lt;br /&gt;&lt;br /&gt;That easy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-1822274775070744671?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/1822274775070744671/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=1822274775070744671' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/1822274775070744671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/1822274775070744671'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/08/settingssettings-net-c.html' title='Settings.Settings .NET C#'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-162854811264495792</id><published>2007-07-13T08:12:00.000-04:00</published><updated>2007-07-13T08:14:52.794-04:00</updated><title type='text'>InfoPath Designer Mode</title><content type='html'>Well, after all the research I found Tim Pash as you can see in the post below.  It seems that in the Corporate Enviroment you have to request that you have the setting deployed to you by your Microsoft Office Deployment and Configuration team.  So with that being said, if you do not see the designer feature in InfoPath send a request to you Information Technology Team.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-162854811264495792?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/162854811264495792/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=162854811264495792' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/162854811264495792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/162854811264495792'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/07/infopath-designer-mode.html' title='InfoPath Designer Mode'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-7789138596580463946</id><published>2007-07-11T08:11:00.000-04:00</published><updated>2007-07-11T08:18:23.378-04:00</updated><title type='text'>InfoPath</title><content type='html'>Well,&lt;br /&gt;&lt;br /&gt;I am now back contracting because of my love to CODE.  I have a new venture at Bank of America using SharePoint, InfoPath, and Visual Basic for Applications (VBA).  My first task is to figure out how to enable InfoPath to allow me to design?&lt;br /&gt;&lt;br /&gt;I found a great resource from the Tim Pash: &lt;a href="http://blogs.msdn.com/timpash/archive/2006/02/08/Prevent-Design-Mode-For-Users.aspx?CommentPosted=true#commentmessage"&gt;http://blogs.msdn.com/timpash/archive/2006/02/08/Prevent-Design-Mode-For-Users.aspx?CommentPosted=true#commentmessage&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-7789138596580463946?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/7789138596580463946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=7789138596580463946' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/7789138596580463946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/7789138596580463946'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/07/infopath.html' title='InfoPath'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-2486844715837487293</id><published>2007-06-21T11:47:00.001-04:00</published><updated>2007-06-21T11:48:40.936-04:00</updated><title type='text'>Update from comparison of two SQL tables</title><content type='html'>UPDATE o&lt;br /&gt;SET Amount=Price&lt;br /&gt;FROM orders o JOIN items i ON (o.ItemNumber=i.ItemNumber)&lt;br /&gt;&lt;br /&gt;UPDATE o SET EmpActive = 0 FROM  ComplianceEmployee o &lt;br /&gt;JOIN ComplianceEmployeeLoad i ON (o.EmpID = i.EmpID)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-2486844715837487293?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/2486844715837487293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=2486844715837487293' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2486844715837487293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2486844715837487293'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/06/update-from-comparison-of-two-sql.html' title='Update from comparison of two SQL tables'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-7430008490118242543</id><published>2007-06-21T11:47:00.000-04:00</published><updated>2009-09-30T15:52:52.653-04:00</updated><title type='text'>Update from comparison of two SQL tables</title><content type='html'>UPDATE o&lt;br /&gt;SET Amount=Price&lt;br /&gt;FROM orders o JOIN items i ON (o.ItemNumber=i.ItemNumber)&lt;br /&gt;&lt;br /&gt;UPDATE o SET EmpActive = 0 FROM  ComplianceEmployee o &lt;br /&gt;JOIN ComplianceEmployeeLoad i ON (o.EmpID = i.EmpID)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-7430008490118242543?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/7430008490118242543/comments/default' title='Post Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/7430008490118242543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/7430008490118242543'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-4347992829497833983</id><published>2007-05-20T23:29:00.000-04:00</published><updated>2007-05-20T23:32:25.535-04:00</updated><title type='text'>GoDaddy.com System.Net.Mail Solution</title><content type='html'>Here is the C# version of the GoDaddy.com ASP.NET 2.0 Send Mail by Moojjoo http://www.mmwebs.com&lt;br /&gt;&lt;br /&gt; Web.Config  &lt;br /&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"&amp;gt; &lt;br /&gt;&amp;lt;system.web&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;customErrors mode="Off"/&amp;gt; &lt;br /&gt;&amp;lt;compilation debug="true"/&amp;gt; &amp;lt;!-- Be sure to change this to false when going to production --&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/system.web&amp;gt; &lt;br /&gt;&amp;lt;system.net&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;mailSettings&amp;gt; &lt;br /&gt;&amp;lt;smtp&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;network&lt;br /&gt;&lt;br /&gt;host="relay-hosting.secureserver.net" /&amp;gt; &lt;br /&gt;&amp;lt;/smtp&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/mailSettings&amp;gt; &lt;br /&gt;&amp;lt;/system.net&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/configuration&amp;gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;.cs code behind for your .aspx page&lt;br /&gt;&lt;br /&gt;protected void btnSubmit_Click(object sender, EventArgs e) &lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;MailMessage myMail = new MailMessage();&lt;br /&gt;&lt;br /&gt;myMail.From = new MailAddress("from@yourdomain.com"); &lt;br /&gt;myMail.Subject = "Contact Form";&lt;br /&gt;&lt;br /&gt;MailAddressCollection myMailTo = new MailAddressCollection(); &lt;br /&gt;myMail.To.Add("to@domain.com");&lt;br /&gt;&lt;br /&gt;StringBuilder sb = new StringBuilder(); &lt;br /&gt;sb.Append("Last Name: " + txtFirstName.Text + "&amp;lt;br&amp;gt;");&lt;br /&gt;&lt;br /&gt;sb.Append("First Name: " + txtFirstName.Text + "&amp;lt;br&amp;gt;"); &lt;br /&gt;sb.Append("Address: " + txtAddress.Text + "&amp;lt;br&amp;gt;");&lt;br /&gt;&lt;br /&gt;sb.Append("City: " + txtCity.Text + "&amp;lt;br&amp;gt;"); &lt;br /&gt;sb.Append("State: " + ddlState.SelectedValue + "&amp;lt;br&amp;gt;");&lt;br /&gt;&lt;br /&gt;sb.Append("Zip: " + txtZip.Text + "&amp;lt;br&amp;gt;"); &lt;br /&gt;sb.Append("Email: " + txtEmail.Text + "&amp;lt;br&amp;gt;");&lt;br /&gt;&lt;br /&gt;sb.Append("Questions/Comments: " + txtQandC.Text + "&amp;lt;br&amp;gt;");string strBody = sb.ToString(); &lt;br /&gt;myMail.Body = strBody;&lt;br /&gt;&lt;br /&gt;myMail.IsBodyHtml = true;&lt;br /&gt;&lt;br /&gt;SmtpClient smtp = new SmtpClient(); &lt;br /&gt;smtp.Credentials = CredentialCache.DefaultNetworkCredentials;&lt;br /&gt;&lt;br /&gt;try&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;smtp.Send(myMail);&lt;br /&gt;&lt;br /&gt;myMail = null; &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;catch (System.Exception ex) &lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;Response.Write(ex.Message);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Moojjoo Õ¿Õ &lt;br /&gt;&lt;br /&gt;http://www.mmwebs.com&lt;br /&gt;&lt;br /&gt;http://www.autoinventoryonline.com/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-4347992829497833983?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/4347992829497833983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=4347992829497833983' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/4347992829497833983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/4347992829497833983'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/05/godaddycom-systemnetmail-solution.html' title='GoDaddy.com System.Net.Mail Solution'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-2691880967390617119</id><published>2007-04-29T12:07:00.000-04:00</published><updated>2007-04-29T12:07:25.192-04:00</updated><title type='text'>Advanced Unit Testing, Part I - Overview - The Code Project - C# Programming</title><content type='html'>Great article on Unit Testing&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.codeproject.com/csharp/autp1.asp"&gt;Advanced Unit Testing, Part I - Overview - The Code Project - C# Programming&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-2691880967390617119?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/2691880967390617119/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=2691880967390617119' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2691880967390617119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/2691880967390617119'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/04/advanced-unit-testing-part-i-overview.html' title='Advanced Unit Testing, Part I - Overview - The Code Project - C# Programming'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-117002416659832609</id><published>2007-01-28T17:42:00.000-05:00</published><updated>2007-01-28T17:42:46.966-05:00</updated><title type='text'>ASP.NET 2.0 - Membership and Roles</title><content type='html'>Today, I have been working with SQL Server 2000 and Visual Studio 2005 to increase my speed in development by using Strongly Typed Datatypes and the Membership/Roles provided by SQL. &lt;br /&gt;&lt;br /&gt;For now I am going to jump into using the Membership/Roles provided by ASP.NET.&lt;br /&gt;&lt;br /&gt;Microsoft has made it easy to setup membership/role for you Web application, but did not explain the needs most freelance developers must use in order to use rented Web hosting space.&lt;br /&gt;&lt;br /&gt;As for my self I develop on http://www.idevconsultants.com/ servers and they run SQL 2000.  And not to mention I do not have keys to the server so I have to develop with what I can without making changes to IIS.  This is the same for most developers.&lt;br /&gt;&lt;br /&gt;So here is the trick to use this new membership tools.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx"&gt;Scott Gu blog http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx&lt;/a&gt; explains the ends and outs, but basically the secret is to run the following tool:&lt;br /&gt;&lt;br /&gt;Open a command-line window on your system and run the aspnet_regsql.exe utility that is installed with ASP.NET 2.0 in under your C:\WINDOWS\Microsoft.NET\Framework\v2.0.xyz directory. This tool will build all the Tables, StoredProcs needed to run the membership tools in ASP.NET 2.0.&lt;br /&gt;&lt;br /&gt;VERY IMPORTANT: Next in your WEB.CONFIG name your connection string to &lt;br /&gt;&lt;br /&gt;&lt;configuration&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;    &lt;connectionStrings&gt;&lt;br /&gt;&lt;br /&gt;        &lt;remove name=”LocalSqlServer”/&gt;&lt;br /&gt;&lt;br /&gt;        &lt;add name="&lt;strong&gt;LocalSqlServer&lt;/strong&gt;" connectionString="Data Source=localhost;Initial Catalog=appservicesdb;Integrated Security=True" providerName="System.Data.SqlClient"/&gt;&lt;br /&gt;&lt;br /&gt;    &lt;/connectionStrings&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;/configuration&gt;&lt;br /&gt;&lt;br /&gt;Again DO NOT I REPEAT DO NOT change the name...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-117002416659832609?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/117002416659832609/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=117002416659832609' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/117002416659832609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/117002416659832609'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/01/aspnet-20-membership-and-roles.html' title='ASP.NET 2.0 - Membership and Roles'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-116844680009452574</id><published>2007-01-10T11:33:00.000-05:00</published><updated>2007-01-10T11:35:39.276-05:00</updated><title type='text'>Testing Visual Studio with Firefox</title><content type='html'>In my job I develop for Intranets (IE) and Internet (All Browsers) and order to test Firefox I found the following article which was crucial to setting up the Firefox browser for testing an ASP.NET 2.0 application in order to get NTLM to work.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://brennan.offwhite.net/blog/2005/07/22/firefox-authentication-with-ntlm/" target="_blank"&gt;http://brennan.offwhite.net/blog/2005/07/22/firefox-authentication-with-ntlm/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Be sure to add localhost to your proxy if needed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-116844680009452574?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/116844680009452574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=116844680009452574' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/116844680009452574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/116844680009452574'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2007/01/testing-visual-studio-with-firefox.html' title='Testing Visual Studio with Firefox'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-116326480645124716</id><published>2006-11-11T12:06:00.000-05:00</published><updated>2006-11-11T12:06:46.913-05:00</updated><title type='text'>SQL</title><content type='html'>This week I was told about a book titled, "Gurus Guide to Transact SQL".  So being told about the book I headed to the local Borders with my daughter to check the book out.  This book first and for most is better purchased online it is a lot cheaper.&lt;br /&gt;&lt;br /&gt;This book is the ultimate guide to SQL Server Transact-SQL.  T-SQL is a must for any developer utlizing SQL Server as their backend DBMS (Data Base Management System).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-116326480645124716?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/116326480645124716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=116326480645124716' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/116326480645124716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/116326480645124716'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/11/sql.html' title='SQL'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-116096081029916254</id><published>2006-10-15T21:06:00.000-04:00</published><updated>2006-10-15T21:06:50.680-04:00</updated><title type='text'>Back on the blog</title><content type='html'>Moojjoo here and I am would like to apologize for not writting more.  Having a 7 month old is a lot of work and not to mention the full plate I have at work lately.  &lt;br /&gt;&lt;br /&gt;I am very excited that my current company R.J. Reynolds Tobacco Company is finally moving forward to ASP.NET 2.0 and Visual Studio 2005.  &lt;br /&gt;&lt;br /&gt;As for coding I have really been researching the ability to use tiers in development so I can use as much resuse as possible.&lt;br /&gt;&lt;br /&gt;Til Later&lt;br /&gt;&lt;moojjoo/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-116096081029916254?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/116096081029916254/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=116096081029916254' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/116096081029916254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/116096081029916254'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/10/back-on-blog.html' title='Back on the blog'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-115047410101244912</id><published>2006-06-16T12:08:00.000-04:00</published><updated>2006-06-16T12:08:21.070-04:00</updated><title type='text'>Using .NET Outlook to send formatted email</title><content type='html'>Imports Microsoft.Office&lt;br /&gt;Imports Microsoft.Office.Core&lt;br /&gt;Imports System.Runtime.InteropServices&lt;br /&gt;Imports Outlook = Microsoft.Office.Interop.Outlook&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Public Class TestOutlookMail&lt;br /&gt;    Inherits System.Web.UI.Page&lt;br /&gt;&lt;br /&gt;#Region " Web Form Designer Generated Code "&lt;br /&gt;&lt;br /&gt;    'This call is required by the Web Form Designer.&lt;br /&gt;    &lt;System.Diagnostics.DebuggerStepThrough()&gt; Private Sub InitializeComponent()&lt;br /&gt;&lt;br /&gt;    End Sub&lt;br /&gt;    Protected WithEvents Button1 As System.Web.UI.WebControls.Button&lt;br /&gt;    Private app As Outlook.ApplicationClass&lt;br /&gt;&lt;br /&gt;    'NOTE: The following placeholder declaration is required by the Web Form Designer.&lt;br /&gt;    'Do not delete or move it.&lt;br /&gt;    Private designerPlaceholderDeclaration As System.Object&lt;br /&gt;&lt;br /&gt;    Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init&lt;br /&gt;        'CODEGEN: This method call is required by the Web Form Designer&lt;br /&gt;        'Do not modify it using the code editor.&lt;br /&gt;        InitializeComponent()&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;#End Region&lt;br /&gt;&lt;br /&gt;    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;br /&gt;        app = New Outlook.ApplicationClass&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;    'Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click&lt;br /&gt;    '    CreateEmailMessage()&lt;br /&gt;    'End Sub 'button1_Click&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    'Private Sub CreateEmailMessage()&lt;br /&gt;    '    'Initialize the envelope values.&lt;br /&gt;    '    Dim strTo As String = "yourname@yourdomain.com"&lt;br /&gt;    '    Dim strBCC As String = "yourname@yourdomain.com"&lt;br /&gt;    '    Dim strCC As String = "yourname@yourdomain.com"&lt;br /&gt;    '    Dim strSubject As String = "Outlook Automation"&lt;br /&gt;    '    Dim strBody As String = "Hello World"&lt;br /&gt;&lt;br /&gt;    '    'Automate the Outlook mail item.&lt;br /&gt;    '    app = New Outlook.ApplicationClass&lt;br /&gt;    '    Dim mItem As Outlook.MailItemClass = CType(app.CreateItem(Outlook.OlItemType.olMailItem), Outlook.MailItemClass)&lt;br /&gt;    '    'Dim  As Outlook.MailItemClass = CType(doc.MailEnvelope.Item, Outlook.MailItemClass)&lt;br /&gt;    '    'Outlook.MailItemClass mi = (Outlook.MailItemClass)app.CreateItem&lt;br /&gt;    '    mItem.To = strTo&lt;br /&gt;    '    mItem.BCC = strBCC&lt;br /&gt;    '    mItem.CC = strCC&lt;br /&gt;    '    mItem.Subject = strSubject&lt;br /&gt;    '    mItem.BodyFormat = Outlook.OlBodyFormat.olFormatHTML&lt;br /&gt;    '    mItem.HTMLBody = strBody&lt;br /&gt;    '    'mItem.ItemEvents_Event_Close += New Outlook.ItemEvents_CloseEventHandler(Me.wApp_Close)&lt;br /&gt;&lt;br /&gt;    '    'wApp.Visible = True&lt;br /&gt;&lt;br /&gt;    '    ' Loop until there are no more references to release.&lt;br /&gt;    '    While Marshal.ReleaseComObject(mItem) &gt; 0&lt;br /&gt;    '    End While&lt;br /&gt;    '    mItem = Nothing&lt;br /&gt;&lt;br /&gt;    '    ' Invoke the .NET garbage collector.&lt;br /&gt;    '    GC.Collect()&lt;br /&gt;    '    GC.WaitForPendingFinalizers()&lt;br /&gt;    'End Sub 'CreateEmailMessage&lt;br /&gt;&lt;br /&gt;    Private Sub button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click&lt;br /&gt;        Dim Subject As String = "This is my Subject"&lt;br /&gt;        Dim Body As String = "&lt;font color=Red&gt;This is my Body&lt;/font&gt;"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        Dim mi As Outlook.MailItemClass = CType(app.CreateItem(Outlook.OlItemType.olMailItem), Outlook.MailItemClass)&lt;br /&gt;        mi.BodyFormat = Outlook.OlBodyFormat.olFormatHTML&lt;br /&gt;        mi.HTMLBody = Body&lt;br /&gt;        mi.Subject = Subject&lt;br /&gt;        mi.Display(New Object)&lt;br /&gt;&lt;br /&gt;        Dim ni As Outlook.NoteItemClass = CType(app.CreateItem(Outlook.OlItemType.olNoteItem), Outlook.NoteItemClass)&lt;br /&gt;        ni.Body = "This is my Body again"&lt;br /&gt;        ni.Display(New Object)&lt;br /&gt;&lt;br /&gt;        Dim pi As Outlook.PostItemClass = CType(app.CreateItem(Outlook.OlItemType.olPostItem), Outlook.PostItemClass)&lt;br /&gt;        pi.Subject = Subject&lt;br /&gt;        pi.BodyFormat = Outlook.OlBodyFormat.olFormatHTML&lt;br /&gt;        pi.Body = Body&lt;br /&gt;&lt;br /&gt;        pi.Display(New [Object])&lt;br /&gt;    End Sub 'button1_Click &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;End Class&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-115047410101244912?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/115047410101244912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=115047410101244912' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/115047410101244912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/115047410101244912'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/06/using-net-outlook-to-send-formatted.html' title='Using .NET Outlook to send formatted email'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-115038978957505142</id><published>2006-06-15T12:43:00.000-04:00</published><updated>2006-06-15T12:43:09.640-04:00</updated><title type='text'>DropDown in DataGrid, How to Select</title><content type='html'>This is a two parter.  First we will discuss on to add a "Select Value" to the Drop Down List after we populate the DropDown with Data from the Database then I will discuss how to Select that value using the OnItemDataBound from the DataGrid.&lt;br /&gt;&lt;br /&gt;Inside the DataGrid you must use a Template like so&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-115038978957505142?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/115038978957505142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=115038978957505142' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/115038978957505142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/115038978957505142'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/06/dropdown-in-datagrid-how-to-select.html' title='DropDown in DataGrid, How to Select'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-114977185029147842</id><published>2006-06-08T09:04:00.000-04:00</published><updated>2006-06-08T09:04:10.340-04:00</updated><title type='text'>SQL Time Converter</title><content type='html'>Private Sub BuildSQLTime(ByVal strProdDate, ByVal strProdTime)&lt;br /&gt;        Dim SQLDateTime As DateTime&lt;br /&gt;        Dim strDate As String = strProdDate&lt;br /&gt;        Dim strTime As String = strProdTime&lt;br /&gt;&lt;br /&gt;        Dim DateArray(2) As String&lt;br /&gt;        DateArray(0) = strDate.Substring(0, 2)&lt;br /&gt;        DateArray(1) = strDate.Substring(2, 2)&lt;br /&gt;        DateArray(2) = strDate.Substring(4, 2)&lt;br /&gt;&lt;br /&gt;        Dim tempDateTime As String&lt;br /&gt;        Dim newDateTime As DateTime&lt;br /&gt;&lt;br /&gt;        tempDateTime = DateArray(1) &amp; "/" &amp; DateArray(2) &amp; "/" &amp; DateArray(0)&lt;br /&gt;        newDateTime = Convert.ToDateTime(tempDateTime &amp; " " &amp; strTime)&lt;br /&gt;        'newDateTime = DateTime.Now&lt;br /&gt;&lt;br /&gt;        lblResults.Text = newDateTime&lt;br /&gt;    End Sub&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-114977185029147842?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/114977185029147842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=114977185029147842' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114977185029147842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114977185029147842'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/06/sql-time-converter.html' title='SQL Time Converter'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-114899473579533284</id><published>2006-05-30T09:12:00.000-04:00</published><updated>2006-05-30T09:12:15.856-04:00</updated><title type='text'>Update to Access Folders without reboot</title><content type='html'>Need to access a folder you were just given access to? No need to reboot. Simply go to Start &gt; Run &gt; Type CMD At the dos prompt type gpupdate&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-114899473579533284?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/114899473579533284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=114899473579533284' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114899473579533284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114899473579533284'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/05/update-to-access-folders-without.html' title='Update to Access Folders without reboot'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-114805030249171221</id><published>2006-05-19T10:51:00.000-04:00</published><updated>2006-05-19T13:11:10.966-04:00</updated><title type='text'>SQL Server Leading Zeros for CHAR Type</title><content type='html'>declare @DirectiveNumber char(6)&lt;br /&gt;declare @DirLength int&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SET @DirectiveNumber = (SELECT DirectiveNumber FROM dbo.tblPlants WHERE PlantId = '1201')&lt;br /&gt;&lt;br /&gt;--UPDATE dbo.tblPlants SET DirectiveNumber = &lt;br /&gt;SET @DirectiveNumber = @DirectiveNumber + 1&lt;br /&gt;&lt;br /&gt;Select @DirLength = LEN(@DirectiveNumber)&lt;br /&gt;&lt;br /&gt;IF (@DirLength = 1)&lt;br /&gt; SET @DirectiveNumber = '00000' + @DirectiveNumber&lt;br /&gt;IF (@DirLength = 2)&lt;br /&gt; SET @DirectiveNumber = '0000' + @DirectiveNumber&lt;br /&gt;IF (@DirLength = 3)&lt;br /&gt; SET @DirectiveNumber = '000' + @DirectiveNumber&lt;br /&gt;IF (@DirLength = 4)&lt;br /&gt; SET @DirectiveNumber = '00' + @DirectiveNumber&lt;br /&gt;IF (@DirLength = 5)&lt;br /&gt; SET @DirectiveNumber = '0' + @DirectiveNumber&lt;br /&gt;&lt;br /&gt;UPDATE dbo.tblPlants SET DirectiveNumber = @DirectiveNumber WHERE PlantId = '1201'&lt;br /&gt;&lt;br /&gt;SELECT @DirectiveNumber&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-114805030249171221?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/114805030249171221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=114805030249171221' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114805030249171221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114805030249171221'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/05/sql-server-leading-zeros-for-char-type.html' title='SQL Server Leading Zeros for CHAR Type'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-114783491988973863</id><published>2006-05-16T23:01:00.000-04:00</published><updated>2006-05-16T23:02:00.066-04:00</updated><title type='text'>ASP.NET 2.0</title><content type='html'>WOW,&lt;br /&gt;&lt;br /&gt;Well I just deployed my first ASP.NET 2.0.  What a difference from 1.x.&lt;br /&gt;&lt;br /&gt;I learned that you can deploy by using a publish and precompiled mode that will not cause a slow load the first time a user accesses the site, but the issue with using that is that when you make change you have to redeploy all the .aspx and .dll files again.  That kinda sucks.&lt;br /&gt;&lt;br /&gt;However, after a little research I found a tool that add-ons from microsoft: http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/&lt;br /&gt;&lt;br /&gt;This feature more reflects the ASP.NET 1.x way of creating dlls&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-114783491988973863?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/114783491988973863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=114783491988973863' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114783491988973863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114783491988973863'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/05/aspnet-20.html' title='ASP.NET 2.0'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-114746299689868532</id><published>2006-05-12T15:43:00.000-04:00</published><updated>2006-05-12T15:43:16.946-04:00</updated><title type='text'>How do I hide a column in my Datagrid if AutoGenerateColumns is set to True?</title><content type='html'>Question: How do I hide a column in my Datagrid if AutoGenerateColumns is set to True? &lt;br /&gt;&lt;br /&gt;Answer: AutoGenerated columns do not appear in the Datagrid's Columns() collection, and so the usual method of hiding a Datagrid column will fail: &lt;br /&gt;&lt;br /&gt;'Will NOT work for AutoGenerated columns:&lt;br /&gt;Datagrid1.Columns(1).Visible = False &lt;br /&gt;&lt;br /&gt;So the place to handle this is in the ItemDataBound event of the Datagrid: &lt;br /&gt;&lt;br /&gt;&amp;lt;asp:DataGrid id="Datagrid1" runat="server" AutoGenerateColumns="True" OnItemDataBound="Datagrid1_OnItemDataBound"/&amp;gt;&lt;br /&gt;&lt;br /&gt;Codebehind&lt;br /&gt;Private Sub Datagrid1_OnItemDataBound(s As Object, e As DatagridItemEventArgs)&lt;br /&gt;  e.Item.Cells(1).Visible = False&lt;br /&gt;End Sub&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-114746299689868532?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/114746299689868532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=114746299689868532' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114746299689868532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114746299689868532'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/05/how-do-i-hide-column-in-my-datagrid-if.html' title='How do I hide a column in my Datagrid if AutoGenerateColumns is set to True?'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-114720196665137872</id><published>2006-05-09T15:12:00.000-04:00</published><updated>2006-05-09T15:12:46.686-04:00</updated><title type='text'>AUTOEVENTWIREUP .NET</title><content type='html'>WARNING...&lt;br /&gt;&lt;br /&gt;Auto Event Wireup will fire your ASP.NET pages twice be warned.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-114720196665137872?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/114720196665137872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=114720196665137872' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114720196665137872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114720196665137872'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/05/autoeventwireup-net.html' title='AUTOEVENTWIREUP .NET'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-114711849012599982</id><published>2006-05-08T16:01:00.002-04:00</published><updated>2006-05-08T16:01:30.136-04:00</updated><title type='text'>Parse Error When adding new Web pages to application</title><content type='html'>I am banging my head on this one...  All of my other Web forms work fine but now...&lt;br /&gt;&lt;br /&gt;I am getting the following error when adding new Web forms to my application:&lt;br /&gt;&lt;br /&gt;I just added simple Web form with Hello World typed on the page.&lt;br /&gt;&lt;br /&gt;Server Error in '/XXX.QuipSap.WebUi' Application.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Parser Error &lt;br /&gt;Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. &lt;br /&gt;&lt;br /&gt;Parser Error Message: Could not load type 'XXX.QuipSap.WebUi.TestForm'.&lt;br /&gt;&lt;br /&gt;Source Error: &lt;br /&gt;&lt;br /&gt;Line 1:  &lt;%@ Page Language="vb" AutoEventWireup="false" Codebehind="TestForm.aspx.vb" Inherits="XXX.QuipSap.WebUi.TestForm"%&gt;&lt;br /&gt;Line 2:  &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;&lt;br /&gt;Line 3:  &lt;HTML&gt; &lt;br /&gt;&lt;br /&gt;Source File: c:\inetpub\wwwroot\XXX.QuipSap.WebUi\TestForm.aspx    Line: 1 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SOLUTION:&lt;br /&gt;OK as crazy as a solution that this sounds, but I am not to happy with the solution but it works.&lt;br /&gt;&lt;br /&gt;When I create add a new Web form I just remove the inherits part from the first line of the aspx page.  If I add labels or buttons and double click on them VS.NET 2003 adds back the inherits and magically (HMM I say magically because if I knew what was fixing it I would not be writting this) fixes the issue.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-114711849012599982?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/114711849012599982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=114711849012599982' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114711849012599982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114711849012599982'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/05/parse-error-when-adding-ne_114711849012599982.html' title='Parse Error When adding new Web pages to application'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-114711848232139445</id><published>2006-05-08T16:01:00.001-04:00</published><updated>2006-05-08T16:01:22.340-04:00</updated><title type='text'>Parse Error When adding new Web pages to application</title><content type='html'>I am banging my head on this one...  All of my other Web forms work fine but now...&lt;br /&gt;&lt;br /&gt;I am getting the following error when adding new Web forms to my application:&lt;br /&gt;&lt;br /&gt;I just added simple Web form with Hello World typed on the page.&lt;br /&gt;&lt;br /&gt;Server Error in '/XXX.QuipSap.WebUi' Application.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Parser Error &lt;br /&gt;Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. &lt;br /&gt;&lt;br /&gt;Parser Error Message: Could not load type 'XXX.QuipSap.WebUi.TestForm'.&lt;br /&gt;&lt;br /&gt;Source Error: &lt;br /&gt;&lt;br /&gt;Line 1:  &lt;%@ Page Language="vb" AutoEventWireup="false" Codebehind="TestForm.aspx.vb" Inherits="XXX.QuipSap.WebUi.TestForm"%&gt;&lt;br /&gt;Line 2:  &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;&lt;br /&gt;Line 3:  &lt;HTML&gt; &lt;br /&gt;&lt;br /&gt;Source File: c:\inetpub\wwwroot\XXX.QuipSap.WebUi\TestForm.aspx    Line: 1 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SOLUTION:&lt;br /&gt;OK as crazy as a solution that this sounds, but I am not to happy with the solution but it works.&lt;br /&gt;&lt;br /&gt;When I create add a new Web form I just remove the inherits part from the first line of the aspx page.  If I add labels or buttons and double click on them VS.NET 2003 adds back the inherits and magically (HMM I say magically because if I knew what was fixing it I would not be writting this) fixes the issue.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-114711848232139445?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/114711848232139445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=114711848232139445' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114711848232139445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114711848232139445'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/05/parse-error-when-adding-ne_114711848232139445.html' title='Parse Error When adding new Web pages to application'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-114711846317518511</id><published>2006-05-08T16:01:00.000-04:00</published><updated>2006-05-08T16:01:03.186-04:00</updated><title type='text'>Parse Error When adding new Web pages to application</title><content type='html'>I am banging my head on this one...  All of my other Web forms work fine but now...&lt;br /&gt;&lt;br /&gt;I am getting the following error when adding new Web forms to my application:&lt;br /&gt;&lt;br /&gt;I just added simple Web form with Hello World typed on the page.&lt;br /&gt;&lt;br /&gt;Server Error in '/XXX.QuipSap.WebUi' Application.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Parser Error &lt;br /&gt;Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. &lt;br /&gt;&lt;br /&gt;Parser Error Message: Could not load type 'XXX.QuipSap.WebUi.TestForm'.&lt;br /&gt;&lt;br /&gt;Source Error: &lt;br /&gt;&lt;br /&gt;Line 1:  &lt;%@ Page Language="vb" AutoEventWireup="false" Codebehind="TestForm.aspx.vb" Inherits="XXX.QuipSap.WebUi.TestForm"%&gt;&lt;br /&gt;Line 2:  &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;&lt;br /&gt;Line 3:  &lt;HTML&gt; &lt;br /&gt;&lt;br /&gt;Source File: c:\inetpub\wwwroot\XXX.QuipSap.WebUi\TestForm.aspx    Line: 1 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SOLUTION:&lt;br /&gt;OK as crazy as a solution that this sounds, but I am not to happy with the solution but it works.&lt;br /&gt;&lt;br /&gt;When I create add a new Web form I just remove the inherits part from the first line of the aspx page.  If I add labels or buttons and double click on them VS.NET 2003 adds back the inherits and magically (HMM I say magically because if I knew what was fixing it I would not be writting this) fixes the issue.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-114711846317518511?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/114711846317518511/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=114711846317518511' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114711846317518511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114711846317518511'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/05/parse-error-when-adding-new-web-pages_08.html' title='Parse Error When adding new Web pages to application'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-114711843319011288</id><published>2006-05-08T16:00:00.000-04:00</published><updated>2006-05-08T16:00:36.096-04:00</updated><title type='text'>Parse Error When adding new Web pages to application</title><content type='html'>I am banging my head on this one...  All of my other Web forms work fine but now...&lt;br /&gt;&lt;br /&gt;I am getting the following error when adding new Web forms to my application:&lt;br /&gt;&lt;br /&gt;I just added simple Web form with Hello World typed on the page.&lt;br /&gt;&lt;br /&gt;Server Error in '/XXX.QuipSap.WebUi' Application.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Parser Error &lt;br /&gt;Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. &lt;br /&gt;&lt;br /&gt;Parser Error Message: Could not load type 'XXX.QuipSap.WebUi.TestForm'.&lt;br /&gt;&lt;br /&gt;Source Error: &lt;br /&gt;&lt;br /&gt;Line 1:  &lt;%@ Page Language="vb" AutoEventWireup="false" Codebehind="TestForm.aspx.vb" Inherits="XXX.QuipSap.WebUi.TestForm"%&gt;&lt;br /&gt;Line 2:  &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;&lt;br /&gt;Line 3:  &lt;HTML&gt; &lt;br /&gt;&lt;br /&gt;Source File: c:\inetpub\wwwroot\XXX.QuipSap.WebUi\TestForm.aspx    Line: 1 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SOLUTION:&lt;br /&gt;OK as crazy as a solution that this sounds, but I am not to happy with the solution but it works.&lt;br /&gt;&lt;br /&gt;When I create add a new Web form I just remove the inherits part from the first line of the aspx page.  If I add labels or buttons and double click on them VS.NET 2003 adds back the inherits and magically (HMM I say magically because if I knew what was fixing it I would not be writting this) fixes the issue.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-114711843319011288?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/114711843319011288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=114711843319011288' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114711843319011288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114711843319011288'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/05/parse-error-when-adding-new-web-pages.html' title='Parse Error When adding new Web pages to application'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-114495702708067618</id><published>2006-04-13T15:37:00.000-04:00</published><updated>2006-04-13T15:37:07.133-04:00</updated><title type='text'>VB.NET Grid Headaches</title><content type='html'>Be sure to enable Viewstate&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-114495702708067618?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/114495702708067618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=114495702708067618' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114495702708067618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114495702708067618'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/04/vbnet-grid-headaches.html' title='VB.NET Grid Headaches'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-114441136172725567</id><published>2006-04-07T08:02:00.000-04:00</published><updated>2006-04-07T08:02:41.743-04:00</updated><title type='text'>NT Propogate across network</title><content type='html'>gpupdate&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-114441136172725567?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/114441136172725567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=114441136172725567' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114441136172725567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114441136172725567'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/04/nt-propogate-across-network.html' title='NT Propogate across network'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-114441121761279833</id><published>2006-04-07T08:00:00.001-04:00</published><updated>2009-09-30T15:52:52.653-04:00</updated><title type='text'>Reset NT Security</title><content type='html'>gpupdate&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-114441121761279833?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/114441121761279833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=114441121761279833' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114441121761279833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114441121761279833'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/04/reset-nt-security.html' title='Reset NT Security'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-114441121645362967</id><published>2006-04-07T08:00:00.000-04:00</published><updated>2009-09-30T15:52:52.653-04:00</updated><title type='text'>Reset NT Security</title><content type='html'>gpupdate&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-114441121645362967?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/114441121645362967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=114441121645362967' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114441121645362967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/114441121645362967'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/04/reset-nt-security.html' title='Reset NT Security'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-113854461068981124</id><published>2006-01-29T09:23:00.000-05:00</published><updated>2006-01-29T09:23:30.733-05:00</updated><title type='text'>Right click command prompt</title><content type='html'>Here's a handy tip that I got from a co-worker, who found it in the book Microsoft Visual C# .NET Step by Step. It creates a shortcut in the right click context menu of Windows Explorer to open a command prompt in the current directory. When I need to run scripts in a very long directory name, this is very handy.&lt;br /&gt;&lt;br /&gt;So here's how you set it up: &lt;br /&gt;&lt;br /&gt;Open up windows explorer &lt;br /&gt;Tools -&gt; Folder Options. &lt;br /&gt;File Types Tab &lt;br /&gt;Select the Folder file type &lt;br /&gt;Click Advanced &lt;br /&gt;Click New &lt;br /&gt;For the Action type what ever you want the context menu to display, I used Command Prompt. &lt;br /&gt;For the Application used to perform the action use c:\windows\system32\cmd.exe (note on win2k you will want to specify the winnt directory instead of the windows directory) &lt;br /&gt;&lt;br /&gt;You can also use this feature to attach context actions to file types. Or if you want to create a right click open with option for any file type (for instance I like to be able to open any file with notepad, see: my blog entry here.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-113854461068981124?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/113854461068981124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=113854461068981124' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/113854461068981124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/113854461068981124'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/01/right-click-command-prompt.html' title='Right click command prompt'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-113779163743842837</id><published>2006-01-20T16:13:00.000-05:00</published><updated>2006-01-20T16:13:57.470-05:00</updated><title type='text'>Arrays</title><content type='html'>Well I guess it is time to start being a true programmer and master arrays.  So what did I learn day one about using arrays.&lt;br /&gt;&lt;br /&gt;If you are going to use C# and want a dynamic array you better use the following code... (HINT USE AN ARRAY LIST) &lt;br /&gt;&lt;br /&gt;int i = 0;&lt;br /&gt;ArrayList al = new ArrayList();&lt;br /&gt;while (myReader.Read())&lt;br /&gt;{      &lt;br /&gt;al.Add(myReader.GetInt32(0));&lt;br /&gt;i = i + 1;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-113779163743842837?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/113779163743842837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=113779163743842837' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/113779163743842837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/113779163743842837'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/01/arrays.html' title='Arrays'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-113718955973728157</id><published>2006-01-13T16:59:00.000-05:00</published><updated>2006-01-13T16:59:19.773-05:00</updated><title type='text'>Directory .NET Functions</title><content type='html'>NET Framework Class Library   &lt;br /&gt;&lt;br /&gt;Directory Members&lt;br /&gt;&lt;br /&gt;&lt;a href="http://moojjoo.blogspot.com/"&gt;Moojjoo Blog&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-113718955973728157?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/113718955973728157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=113718955973728157' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/113718955973728157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/113718955973728157'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/01/directory-net-functions.html' title='Directory .NET Functions'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-113717536470349075</id><published>2006-01-13T13:02:00.000-05:00</published><updated>2006-01-13T13:02:44.766-05:00</updated><title type='text'>SharePoint Stats</title><content type='html'>Getting Usage Statistics on Sharepoint Portal 2003 Areas &lt;br /&gt;This comes from this microsoft blog &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;"There are pages available in Windows SharePoint Services that will allow you to obtain usage statistics for WSS Sites. However, this is not the case for Areas in SharePoint Portal Server 2003. There are no built-in hyperlinks in the Admin pages for viewing usage statistics for a give Area.&lt;br /&gt;&lt;br /&gt;Does this mean that usage statistics are not available for Areas in SPS 2003? No, it just means that you have to know a backdoor URL to get to the pages that display the stats. Here is the format of the URL:&lt;br /&gt;&lt;br /&gt;http://{your portal name}/_layouts/1033/usageDetails.aspx&lt;br /&gt;&lt;br /&gt;This URL will take you to a usage statistics page for the Home Area of your portal. (Note: the 1003 is the designator for you language, so it will be different if not using U.S. English).&lt;br /&gt;&lt;br /&gt;If you want to look at usage statistics for a Subarea, for instance, News, you would modify the URL to look as follows:&lt;br /&gt;&lt;br /&gt;http://{your portal name}/News/_layouts/1033/usageDetails.aspx" &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://moojjoo.blogspot.com/"&gt;Moojjoo Blog&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-113717536470349075?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/113717536470349075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=113717536470349075' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/113717536470349075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/113717536470349075'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/01/sharepoint-stats.html' title='SharePoint Stats'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-113701639255799051</id><published>2006-01-11T16:53:00.000-05:00</published><updated>2006-01-11T16:55:16.233-05:00</updated><title type='text'>Validating Edits in Grids</title><content type='html'>When using the Grid Web Controld a lot of times I find myself needing to customize the edit functionality to use validation.  The following are the procedures that I use to customize the Data Grid Web Controld.&lt;br /&gt;&lt;br /&gt;In order to implement a customization in a datagrid you need to implement a template&lt;br /&gt;&lt;br /&gt;&amp;lt;asp:TemplateColumn HeaderText="Gift Amount"&amp;gt;&lt;br /&gt; &amp;lt;itemtemplate&amp;gt;&lt;br /&gt;  &amp;lt;asp:label id="lblAward_Amount" text='&amp;lt;%# DataBinder.Eval(Container.DataItem, "Gift_Amount", "{0:c}") %&amp;gt;' Runat="server" /&amp;gt;&lt;br /&gt; &amp;lt;/itemtemplate&amp;gt;&lt;br /&gt; &amp;lt;edititemtemplate&amp;gt;&lt;br /&gt;  &amp;lt;asp:textbox ID="txtGift_Amount2" text='&amp;lt;%# DataBinder.Eval(Container.DataItem, "Gift_Amount", "{0:c}") %&amp;gt;' runat="server" /&amp;gt;&lt;br /&gt;  &amp;lt;asp:regularexpressionvalidator id="Regularexpressionvalidator1" runat="server" ControlToValidate="txtGift_Amount2"&lt;br /&gt;   ErrorMessage="Money Values only example 20.00 no commas!" ValidationExpression="\d*.\d{2}"&amp;gt;&amp;lt;/asp:regularexpressionvalidator&amp;gt;&amp;lt;/asp:boundcolumn&amp;gt;&lt;br /&gt; &amp;lt;/edititemtemplate&amp;gt;&lt;br /&gt;&amp;lt;/asp:TemplateColumn&amp;gt;&lt;br /&gt;&lt;br /&gt;To access this in the code behind you must using the following:&lt;br /&gt;&lt;br /&gt;// This will access the control inside the data grid.&lt;br /&gt;tempGiftAmount = (((TextBox)e.Item.FindControl("txtGift_Amount2")).Text);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-113701639255799051?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/113701639255799051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=113701639255799051' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/113701639255799051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/113701639255799051'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2006/01/validating-edits-in-grids.html' title='Validating Edits in Grids'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-113580413153374088</id><published>2005-12-28T16:08:00.000-05:00</published><updated>2005-12-28T16:08:51.720-05:00</updated><title type='text'>Inserting Null Values into SQL Server "FINALLY"</title><content type='html'>After many months of frustration I finally discovered the code to post null values into SQL Server.&lt;br /&gt;&lt;br /&gt;cmd.Parameters.Add("@Emp_EID", &lt;strong&gt;System.DBNull.Value&lt;/strong&gt;);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-113580413153374088?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/113580413153374088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=113580413153374088' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/113580413153374088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/113580413153374088'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2005/12/inserting-null-values-into-sql-server.html' title='Inserting Null Values into SQL Server &quot;FINALLY&quot;'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-113085545761646667</id><published>2005-11-01T09:30:00.000-05:00</published><updated>2005-11-01T09:30:57.650-05:00</updated><title type='text'>Validating Multi-line text boxes in ASP.NET using regular expression validator</title><content type='html'>Validate Multi-line text box in ASP.NET with Regular Expression&lt;br /&gt;&lt;br /&gt;^[\s\S]{0,200}$&lt;br /&gt;&lt;br /&gt;200 is the Character count&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-113085545761646667?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/113085545761646667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=113085545761646667' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/113085545761646667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/113085545761646667'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2005/11/validating-multi-line-text-boxes-in.html' title='Validating Multi-line text boxes in ASP.NET using regular expression validator'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11258457.post-112982955235544192</id><published>2005-10-20T13:32:00.000-04:00</published><updated>2005-10-25T19:10:36.543-04:00</updated><title type='text'>Comment out server side asp.net code</title><content type='html'>How to comment out server side code&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;%&lt;span style="color:#ff0000;"&gt;--&lt;/span&gt; &amp;lt;asp:Button . . . . /&amp;gt; &lt;span style="color:#ff0000;"&gt;--&lt;/span&gt;%&amp;gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11258457-112982955235544192?l=dotnet.mmwebs.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet.mmwebs.com/feeds/112982955235544192/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11258457&amp;postID=112982955235544192' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/112982955235544192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11258457/posts/default/112982955235544192'/><link rel='alternate' type='text/html' href='http://dotnet.mmwebs.com/2005/10/comment-out-server-side-aspnet-code.html' title='Comment out server side asp.net code'/><author><name>Moojjoo</name><uri>http://www.blogger.com/profile/04859817038873556992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://www.mmwebs.com/images/robert.jpg'/></author><thr:total>2</thr:total></entry></feed>
