<?xml version="1.0" encoding="UTF-8" standalone="no"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:gd="http://schemas.google.com/g/2005" xmlns:georss="http://www.georss.org/georss" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-8677208690715398495</atom:id><lastBuildDate>Wed, 06 Nov 2024 02:48:07 +0000</lastBuildDate><category>.Net</category><category>Software Engineering</category><category>CRM 2011</category><category>Database</category><category>JavaScript</category><category>internet</category><category>Hosting</category><category>Multimedia</category><category>HTTPS</category><category>Http to Https</category><category>IIS</category><category>Mobile Technology</category><category>SQL</category><category>Web hosting</category><category>Web resources</category><category>ASP.NET</category><category>OData</category><category>OData Query Designer</category><category>Space</category><title>indika's blog</title><description></description><link>http://micodes.blogspot.com/</link><managingEditor>noreply@blogger.com (Indika Athukorala)</managingEditor><generator>Blogger</generator><openSearch:totalResults>35</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:subtitle/><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-5409779951569080353</guid><pubDate>Fri, 06 Mar 2015 02:53:00 +0000</pubDate><atom:updated>2015-03-05T19:03:18.135-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">CRM 2011</category><category domain="http://www.blogger.com/atom/ns#">Web resources</category><title>MS CRM 2011 KB Article customization Issue.</title><description>Recently I have encountered some issue while customizing Kb Article Entity. I was doing following configuration in Article form.&lt;br /&gt;
&lt;br /&gt;
1. Add Base Templet lookup to the form&lt;br /&gt;
2. Add status picklist to the form&lt;br /&gt;
&lt;br /&gt;
What I notice while adding above fields to the form was that these fields became required and locked on the form.

&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnhJgcNYZmBtDAgOQGVnNrWS5YHUaYkWHIrJejZlEBe1lX50kuuQGCLScvxBhkZuNZYjqD754Le54iqNML8FL3QW_bCe2OTTDgLORYNVvcTkuD6lA3WiQjI8iiSA3a7_Z7Nt5ZF-DNnMW4/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnhJgcNYZmBtDAgOQGVnNrWS5YHUaYkWHIrJejZlEBe1lX50kuuQGCLScvxBhkZuNZYjqD754Le54iqNML8FL3QW_bCe2OTTDgLORYNVvcTkuD6lA3WiQjI8iiSA3a7_Z7Nt5ZF-DNnMW4/s320/1.png" /&gt;&lt;/a&gt;&lt;/div&gt;
Then what happened was, while creating new Article my ribbon was not loading.

&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSef9VedrxnLaPdywLPHfLTSjmFwmnmBvTS2udJ6KZBXwzFlL0-SxXiO4YySRKQOlgt8dy0nGEA2XeSSS_WIoX8h3p6grxwKLgzLp8VmgCkX0XNHH55UERK2REeIJA-oD91z0dsLNVGbVp/s1600/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSef9VedrxnLaPdywLPHfLTSjmFwmnmBvTS2udJ6KZBXwzFlL0-SxXiO4YySRKQOlgt8dy0nGEA2XeSSS_WIoX8h3p6grxwKLgzLp8VmgCkX0XNHH55UERK2REeIJA-oD91z0dsLNVGbVp/s320/2.png" /&gt;&lt;/a&gt;&lt;/div&gt;
We have tried to debug the JS and found that it’s breaking in below highlighted point. So I knew that something is wrong with the Base Template field which I added earlier. 

&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwx2FjZcyXD1ca8HWK49eGKB7Ga_oXHkSz-CdqCE9ugWdp-sztz_hdVjkSRHyJaJnTG8aDHKo4UxKeAvhDoBGEAj_9buzEh-2Y3J38abC55_XBpVZHl_TVsTplPyR9C1Tl2F9Y9cba7JkH/s1600/3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwx2FjZcyXD1ca8HWK49eGKB7Ga_oXHkSz-CdqCE9ugWdp-sztz_hdVjkSRHyJaJnTG8aDHKo4UxKeAvhDoBGEAj_9buzEh-2Y3J38abC55_XBpVZHl_TVsTplPyR9C1Tl2F9Y9cba7JkH/s320/3.png" /&gt;&lt;/a&gt;&lt;/div&gt;
n addition to that we have noticed that Submit, Approve,.. buttons were disabled on the form.

&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAiAOIokYQFmW7DQn1ZrvkaYUb9r68j9pD7XEqdDyxW3OvoFfubPJaINsFleaCDA-srA48ulGtK19vP6atJ9pNyGcEHUEQB3w9LdSSCqmRiO40mKwYAoSahpp4EMvk_7Dp8aLp4WH62xS0/s1600/4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAiAOIokYQFmW7DQn1ZrvkaYUb9r68j9pD7XEqdDyxW3OvoFfubPJaINsFleaCDA-srA48ulGtK19vP6atJ9pNyGcEHUEQB3w9LdSSCqmRiO40mKwYAoSahpp4EMvk_7Dp8aLp4WH62xS0/s320/4.png" /&gt;&lt;/a&gt;&lt;/div&gt;
But it’s enabled in the main grid.

&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ8vIu4HY0Jc93v-It8nagn91w7uJy60czHWXw8NiR7FcQHmPbk9q7F1wAiHf-KwUoQzaLFJBWgKVrM32w2DGSMAxeLo_GJlx1ZqJG8SkiuKZh-pbYNFbbgMIvPYgEpgrdCLdWsLk4fu0S/s1600/5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ8vIu4HY0Jc93v-It8nagn91w7uJy60czHWXw8NiR7FcQHmPbk9q7F1wAiHf-KwUoQzaLFJBWgKVrM32w2DGSMAxeLo_GJlx1ZqJG8SkiuKZh-pbYNFbbgMIvPYgEpgrdCLdWsLk4fu0S/s320/5.png" /&gt;&lt;/a&gt;&lt;/div&gt;
We knew that something was wrong with the fields we added to the Form, but now we cannot remove these two fields from the form as it became locked in the form, we consult Microsoft on this as it seems to be a product bug.&lt;br /&gt;
&lt;br /&gt;
Then the Microsoft advise us to remove it manually form the customization xml. We followed the below steps then everything seems to be fine.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;• Create a New Solutions with Kb Article entity&lt;br /&gt;
&amp;nbsp;• Export the solutions as a unmanage and open customisation.xml&lt;br /&gt;
&amp;nbsp;• Edited the customization.xml and commented the control for kbarticletemplateid and statecode.&lt;br /&gt;
&amp;nbsp;• Saved the customization.xml file and zipped the solution.&lt;br /&gt;
&amp;nbsp;• Imported the solution back to the system.&lt;br /&gt;
&amp;nbsp;• Published the customization and issue was resolved by that.

&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigzk8BPXyv-38WxcVzscJ0Y6hG1rd89I4mRM56GX6rf5KayoMmGzvBAXjW1irOTCFwuR_lEB1HK3cYFm66wPfZFzQwBTBKVTKO9J8V9o4wevlqlN3cpDhtjFa3aU3RBjB53Ahn38-4borg/s1600/6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigzk8BPXyv-38WxcVzscJ0Y6hG1rd89I4mRM56GX6rf5KayoMmGzvBAXjW1irOTCFwuR_lEB1HK3cYFm66wPfZFzQwBTBKVTKO9J8V9o4wevlqlN3cpDhtjFa3aU3RBjB53Ahn38-4borg/s320/6.png" /&gt;&lt;/a&gt;&lt;/div&gt;
</description><link>http://micodes.blogspot.com/2015/03/ms-crm-2011-kb-article-customization.html</link><author>noreply@blogger.com (Indika Athukorala)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnhJgcNYZmBtDAgOQGVnNrWS5YHUaYkWHIrJejZlEBe1lX50kuuQGCLScvxBhkZuNZYjqD754Le54iqNML8FL3QW_bCe2OTTDgLORYNVvcTkuD6lA3WiQjI8iiSA3a7_Z7Nt5ZF-DNnMW4/s72-c/1.png" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-8913889877100507175</guid><pubDate>Tue, 25 Feb 2014 07:05:00 +0000</pubDate><atom:updated>2014-02-24T23:06:31.327-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net</category><category domain="http://www.blogger.com/atom/ns#">ASP.NET</category><category domain="http://www.blogger.com/atom/ns#">Database</category><category domain="http://www.blogger.com/atom/ns#">Hosting</category><category domain="http://www.blogger.com/atom/ns#">Http to Https</category><category domain="http://www.blogger.com/atom/ns#">HTTPS</category><category domain="http://www.blogger.com/atom/ns#">IIS</category><category domain="http://www.blogger.com/atom/ns#">internet</category><title>ASP.NET: Switching Between HTTP and HTTPS</title><description>
&lt;a href="http://www.codeproject.com/Articles/7206/Switching-Between-HTTP-and-HTTPS-Automatically-Ver"&gt;http://www.codeproject.com/Articles/7206/Switching-Between-HTTP-and-HTTPS-Automatically-Ver&lt;/a&gt;</description><link>http://micodes.blogspot.com/2014/02/aspnet-switching-between-http-and-https.html</link><author>noreply@blogger.com (Indika Athukorala)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-710075132074092705</guid><pubDate>Mon, 17 Feb 2014 03:30:00 +0000</pubDate><atom:updated>2014-02-24T23:03:17.992-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net</category><category domain="http://www.blogger.com/atom/ns#">Hosting</category><category domain="http://www.blogger.com/atom/ns#">Http to Https</category><category domain="http://www.blogger.com/atom/ns#">HTTPS</category><category domain="http://www.blogger.com/atom/ns#">IIS</category><category domain="http://www.blogger.com/atom/ns#">internet</category><category domain="http://www.blogger.com/atom/ns#">Software Engineering</category><title>HOW TO: Use ASP to Force SSL for Specific Pages</title><description>Forcing ASP page to use https can be done in couple of ways, here I’m sharing how we can do this using ASP.net code itself, rather than configuring IIS. 

Step 1:
Create INC file with following code
&lt;pre class="CSharp" name="code"&gt;
&lt;%
if(Request.ServerVariables["SERVER_PORT"]== "80")
            {
                string strSecureURL;
                strSecureURL = "https://";
                strSecureURL = strSecureURL + Request.ServerVariables["SERVER_NAME"];
                strSecureURL = strSecureURL + Request.ServerVariables["URL"];
                Response.Redirect(strSecureURL);
            }
%&gt;
&lt;/pre&gt;

Then save it as “ForceSSL.inc” in web application root directory.

Step 2:
Add reference to INC file by adding below line:
&lt;pre class="CSharp" name="code"&gt;
&lt;!--#include file="/ForceSSL.inc"--&gt;
&lt;/pre&gt;

Note: 
If you are using Master page, then you have to add this code inside  &lt;asp:Content&gt;

&lt;pre class="CSharp" name="code"&gt;
&lt;asp:Content ID="Content1" ContentPlaceHolderID="mainContent" runat="server"&gt;
&lt;!--#include file="/ForceSSL.inc"--&gt;
&lt;!--Other codes goes here --&gt;
&lt;/asp:Content&gt;
&lt;/pre&gt;

Step 3: 
Add https as new binding in IIS.  

&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibb0zGCam4dwbT0dcC4IBtwyDHXNcsH9MU5F8qoeMzPV9bJ0PqlRCzZSLN6AtuPzHQ6O3NFLToehwU0oqumukTQiisMISLclquqgYcD1y1RokmihaAE9WERYfvl0GYrGKxj5bIeOIBps11/s1600/Binding.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibb0zGCam4dwbT0dcC4IBtwyDHXNcsH9MU5F8qoeMzPV9bJ0PqlRCzZSLN6AtuPzHQ6O3NFLToehwU0oqumukTQiisMISLclquqgYcD1y1RokmihaAE9WERYfvl0GYrGKxj5bIeOIBps11/s320/Binding.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;

Reference: &lt;a href="http://support.microsoft.com/kb/239875"&gt;http://support.microsoft.com/kb/239875&lt;/a&gt;</description><link>http://micodes.blogspot.com/2014/02/how-to-use-asp-to-force-ssl-for.html</link><author>noreply@blogger.com (Indika Athukorala)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibb0zGCam4dwbT0dcC4IBtwyDHXNcsH9MU5F8qoeMzPV9bJ0PqlRCzZSLN6AtuPzHQ6O3NFLToehwU0oqumukTQiisMISLclquqgYcD1y1RokmihaAE9WERYfvl0GYrGKxj5bIeOIBps11/s72-c/Binding.jpg" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-288008972653639297</guid><pubDate>Thu, 12 Dec 2013 07:09:00 +0000</pubDate><atom:updated>2013-12-11T23:09:19.597-08:00</atom:updated><title>How To Obtain The Size Of All Tables In A SQL Server Database</title><description>
&lt;pre class="SQL" name="code"&gt;
SET NOCOUNT ON 

DBCC UPDATEUSAGE(0) 

-- DB size.
EXEC sp_spaceused

-- Table row counts and sizes.
CREATE TABLE #t 
( 
    [name] NVARCHAR(128),
    [rows] CHAR(11),
    reserved VARCHAR(18), 
    data VARCHAR(18), 
    index_size VARCHAR(18),
    unused VARCHAR(18)
) 

INSERT #t EXEC sp_msForEachTable 'EXEC sp_spaceused ''?''' 

SELECT *
FROM   #t

-- # of rows.
SELECT SUM(CAST([rows] AS int)) AS [rows]
FROM   #t
 
DROP TABLE #t

&lt;/pre&gt;
Reference : http://therightstuff.de/CommentView,guid,df930155-f60f-4f56-ab33-f1352ff091a1.aspx</description><link>http://micodes.blogspot.com/2013/12/how-to-obtain-size-of-all-tables-in-sql.html</link><author>noreply@blogger.com (Indika Athukorala)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-1298094510969290042</guid><pubDate>Tue, 13 Aug 2013 09:44:00 +0000</pubDate><atom:updated>2013-08-13T02:44:11.285-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net</category><category domain="http://www.blogger.com/atom/ns#">CRM 2011</category><category domain="http://www.blogger.com/atom/ns#">Web resources</category><title>CRM 2011: How to read Web resource from code </title><description>Following code snippet will help you to read content of the web resource. 
&lt;pre class="CSharp" name="code"&gt;
/// &lt;summary&gt;
/// Reads the CRM Web Resource by its unique name as a string
/// &lt;/summary&gt;

        public string ReadContent(string resourceName)
        {
            byte[] byteArray = ReadBytes(resourceName);
            if (byteArray != null)
            {
                return System.Text.Encoding.UTF8.GetString(byteArray);
            }
            
            return string.Empty;            
        }

/// &lt;summary&gt;
/// Reads the CRM Web Resource by its unique name as a byte array
/// &lt;/summary&gt;        
        public byte[] ReadBytes(string resourceName)
        {
            try
            {
                WebResource webResource = new WebResource();

                QueryExpression query = new QueryExpression()
                {
                    EntityName = "webresource",
                    ColumnSet = new ColumnSet("content"),
                    Criteria = new FilterExpression
                    {
                        FilterOperator = LogicalOperator.And,
                        Conditions = 
                        {
                            new ConditionExpression{AttributeName = "name", Operator = ConditionOperator.Equal, Values = { resourceName }}
                        }
                    }
                };

                RetrieveMultipleRequest retrieveMultipleRequest = new RetrieveMultipleRequest { Query = query };

                RetrieveMultipleResponse retrieveMultipleResponse = (RetrieveMultipleResponse)service.Execute(retrieveMultipleRequest);

                if (retrieveMultipleResponse != null &amp;&amp; retrieveMultipleResponse.EntityCollection != null &amp;&amp; retrieveMultipleResponse.EntityCollection.Entities.Count &gt; 0)
                {
                    webResource = (WebResource)retrieveMultipleResponse.EntityCollection.Entities[0];

                    byte[] byteArray = Convert.FromBase64String(webResource.Content);

                    return byteArray;
                }

            }
            catch (Exception exception)
            {
                
            }

            return null;
        }
&lt;/pre&gt;</description><link>http://micodes.blogspot.com/2013/08/crm-2011-how-to-read-web-resource-from.html</link><author>noreply@blogger.com (Indika Athukorala)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-8359250806396397545</guid><pubDate>Thu, 01 Aug 2013 02:22:00 +0000</pubDate><atom:updated>2013-07-31T19:45:33.006-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">CRM 2011</category><category domain="http://www.blogger.com/atom/ns#">Database</category><category domain="http://www.blogger.com/atom/ns#">SQL</category><title>CRM 2011 Views – Retrieve more than 5000 records</title><description>As you probably know, by default CRM view retrieve only 5000 records for the view, to retrieve more than 5000 records we can use following method, &lt;span style="color: red;"&gt;Note that this is an unsupported change. &lt;/span&gt;This will applied to all Organizations in the CRM.&lt;br /&gt;
&lt;br /&gt;
Database: MSCRM_CONFIG&lt;br /&gt;
IntColumn Value: Set to -1,&lt;br /&gt;
&lt;br /&gt;
This will retrieve all records in the table.&lt;br /&gt;
&lt;pre class="SQL" name="code"&gt;UPDATE DeploymentProperties
SET IntColumn = '-1'
WHERE ColumnName = 'TotalRecordCountLimit'
&lt;/pre&gt;
After executing this query give a IIS Reset.&lt;br /&gt;
&lt;br /&gt;
There is another way to change the registry value, But it will only applied to fetch XML, after you changed registry value still you receive only 5000 record in Entity grid.

&lt;a href="http://www.interactivewebs.com/blog/index.php/server-tips/turn-off-microsoft-crm-2011-5000-limit-on-data-retrieval-via-sdk/"&gt;http://www.interactivewebs.com/blog/index.php/server-tips/turn-off-microsoft-crm-2011-5000-limit-on-data-retrieval-via-sdk/&lt;/a&gt;
</description><link>http://micodes.blogspot.com/2013/07/crm-2011-views-retrieve-more-than-5000.html</link><author>noreply@blogger.com (Indika Athukorala)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-9040412873899547119</guid><pubDate>Wed, 31 Jul 2013 06:07:00 +0000</pubDate><atom:updated>2013-07-30T23:08:32.762-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net</category><category domain="http://www.blogger.com/atom/ns#">CRM 2011</category><category domain="http://www.blogger.com/atom/ns#">JavaScript</category><category domain="http://www.blogger.com/atom/ns#">Web hosting</category><title>NRIC(Singapore) Validation using Javascript</title><description>&lt;pre class="javascript" name="code"&gt;
function IsValidNRIC(theNric) {
    var nric = [];
    nric.multiples = [2, 7, 6, 5, 4, 3, 2];

    if (theNric.length != 9) {
        alert('Invalid NRIC')
        return false;
    }

    var total = 0, count = 0, numericNric;
    var first = theNric.charAt(0), last = theNric.charAt(theNric.length - 1);

    if (first != 'S' &amp;&amp; first != 's') {
        alert('Invalid NRIC S');
        return false;
    }
    /*Above is working*/

    numericNric = theNric.substr(1, theNric.length - 2);

    if (isNaN(numericNric)) {
        alert('Invalid NRIC Middle Not a number')
        return false
    }

    if (numericNric != null) {
        while (numericNric != 0) {
            total += (numericNric % 10) * nric.multiples[nric.multiples.length - (1 + count++)];
            numericNric /= 10;
            numericNric = Math.floor(numericNric);
        }
    }

    var outputs;
    if (first == 'S') {
        outputs = ['J', 'Z', 'I', 'H', 'G', 'F', 'E', 'D', 'C', 'B', 'A'];
    }

    if (first == 'T') {
        outputs = ['G', 'F', 'E', 'D', 'C', 'B', 'A', 'J', 'Z', 'I', 'H'];
    }

    if (last != outputs[total % 11]) {
        alert('Invalid end Character')
        return false;
    }

    nric.isNricValid = function (theNric) {
        if (!theNric || theNric == '') {
            return false;
        }
    }
    return true;
}
&lt;/pre&gt;</description><link>http://micodes.blogspot.com/2013/07/nricsingapore-validation-using.html</link><author>noreply@blogger.com (Indika Athukorala)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-3844556061532259256</guid><pubDate>Tue, 30 Jul 2013 08:38:00 +0000</pubDate><atom:updated>2013-09-30T21:37:58.319-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net</category><category domain="http://www.blogger.com/atom/ns#">CRM 2011</category><category domain="http://www.blogger.com/atom/ns#">JavaScript</category><title>CRM 2011 - Javascript samples</title><description>&lt;pre class="javascript" name="code"&gt;//FIELDS - Values
// Get Text Value
Xrm.Page.getAttribute("feildName").getText();
//Get Picklist Value
Xrm.Page.getAttribute("FieldName").getValue();
//  Set Value
Xrm.Page.getAttribute("FieldName").setValue(newValue);

//GENERAL
// Get Form Type
Xrm.Page.ui.getFormType();
//Get Record Id
Xrm.Page.data.entity.getId();
//Prevent Saving
ExecutionObj.getEventArgs().preventDefault();
//Get user Id
Xrm.Page.context.getUserId();
// Force Submit
Xrm.Page.getAttribute("FieldName").setSubmitMode("always");
//Set Required Level
Xrm.Page.getAttribute("FieldName").setRequiredLevel("none");
Xrm.Page.getAttribute("FieldName").setRequiredLevel("required");
Xrm.Page.getAttribute("FieldName").setRequiredLevel("recommended");
//Get Server Url
var context = Xrm.Page.context;
var serverUrl = context.getServerUrl();

//IFRMAE
//Set IFrams url 
Xrm.Page.getControl("IFRAME_Name").setSrc(URL_IFRAME_CALLSCRIPT);


//SHOW/HIDE/DISABLE
// Disable Field 
Xrm.Page.getControl("FieldName").setDisabled(true);
//Hide Field
Xrm.Page.ui.controls.get("FieldName").setVisible(false);
//Hite Section
Xrm.Page.ui.tabs.get("TabNumber").sections.get('SectionName').setVisible(flag);
//Hide Tab
Xrm.Page.ui.tabs.get("TabNumber").setVisible(false);
//Tab Expand
Xrm.Page.ui.tabs.get(1).setDisplayState("expanded");
Xrm.Page.ui.tabs.get(1).setDisplayState("collapsed");

//PICKLIST
// Get Selecte Text from picklist
Xrm.Page.getAttribute("FieldName").getSelectedOption().text;
//Remove Option from Picklist
Xrm.Page.getControl("FieldName").removeOption(3);
//Add Option to Picklist
function AddOption(value, text, index) {
    var option = new Option(); option.text = text; option.value = value; typeControl.addOption(option, index);
}

//LOOKUP
//Populate Lookup
function PopulateTemplateLookup(recordid, recordName) {
    Xrm.Page.getAttribute("lookupId").setValue([{ id: recordid, name: recordName, entityType: "EntityName"}]);
}
//Get/Check Lookup Values
var lookupObject = Xrm.Page.getAttribute("lookupfield");
if (lookupObject != null) {
    var lookUpObjectValue = lookupObject.getValue();
    if ((lookUpObjectValue != null)) {
        var lookuptextvalue = lookUpObjectValue[0].name;
        var plookupid = lookUpObjectValue[0].id;
    }
}

//Disable Form Fields
function doesControlHaveAttribute(control) {
    var controlType = control.getControlType();
    return controlType != "iframe" &amp;amp;&amp;amp; controlType != "webresource" &amp;amp;&amp;amp; controlType != "subgrid";
}

function disableFormFields(onOff) {

    Xrm.Page.ui.controls.forEach(function (control, index) {
        if (doesControlHaveAttribute(control)) {
            control.setDisabled(onOff);
        }
    });
}

//Set Email To [Party List]
function setToPartyList() {
        var partlistData = new Array();
        partlistData[0] = new Object();
        partlistData[0].id = '{08C6AFB3-9673-E011-8720-00155DA5304E}'; // userId
        partlistData[0].name = 'Jill Frank'; //user name
        partlistData[0].entityType = 'systemuser'; // Entity name
        Xrm.Page.getAttribute("to").setValue(partlistData);
    }
&lt;/pre&gt;

MSDN Reference :&lt;a href="http://msdn.microsoft.com/en-us/library/jj602964.aspx"&gt;http://msdn.microsoft.com/en-us/library/jj602964.aspx&lt;/a&gt;</description><link>http://micodes.blogspot.com/2013/07/crm-2011-javascript-samples.html</link><author>noreply@blogger.com (Indika Athukorala)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-5662830857606964141</guid><pubDate>Wed, 24 Jul 2013 06:53:00 +0000</pubDate><atom:updated>2013-07-30T23:12:58.363-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net</category><category domain="http://www.blogger.com/atom/ns#">CRM 2011</category><title>CRM 2011 Add/Remove user from Team</title><description>&lt;div class="MsoNormal"&gt;
Code snippet : &amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;pre class="CSharp" name="code"&gt;&lt;br /&gt;
        public void AddUserToTeam(Guid userid, Guid TeamId)
        {
            AddMembersTeamRequest req = new AddMembersTeamRequest();
            req.TeamId = TeamId;
            Guid[] aryMembers = new Guid[1];
            aryMembers[0] = userid;
            req.MemberIds = aryMembers;
            AddMembersTeamResponse resp = (AddMembersTeamResponse)service.Execute(req);
        }

        public void RemoveUserFromTeam(Guid userid, Guid TeamId)
        {
            RemoveMembersTeamRequest removeRequest = new RemoveMembersTeamRequest();
            removeRequest.TeamId = TeamId;
            Guid[] aryMembers = new Guid[1];
            aryMembers[0] = userid;
            removeRequest.MemberIds = aryMembers;
            service.Execute(removeRequest);
        }
&lt;/pre&gt;</description><link>http://micodes.blogspot.com/2013/07/crm-2011-adding-user-to-team.html</link><author>noreply@blogger.com (Indika Athukorala)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-3910119870008301008</guid><pubDate>Wed, 26 Jun 2013 03:35:00 +0000</pubDate><atom:updated>2013-06-25T20:35:04.644-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net</category><category domain="http://www.blogger.com/atom/ns#">CRM 2011</category><category domain="http://www.blogger.com/atom/ns#">internet</category><category domain="http://www.blogger.com/atom/ns#">Mobile Technology</category><category domain="http://www.blogger.com/atom/ns#">Software Engineering</category><title>Unable to start debugging. The Silverlight Developer Runtime is not installed. Please install a matching version.</title><description>&lt;div class="MsoNormal"&gt;
Today I tried to run Silverlight sample project in my
machine and I got below error.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: red;"&gt;&lt;i&gt;“Unable to start debugging. The Silverlight Developer
Runtime is not installed. Please install a matching version.”&lt;/i&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="MsoNormal"&gt;
I checked the Silverlight version I installed and it was version
4. Then I just did a Google search and found the below blog post, after
installing Silverlight_Developer.exe I was able to run Sample Silverlight
application successfully.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;a href="http://blogs.msdn.com/b/alikl/archive/2010/07/14/resolve-unable-to-start-debugging-the-silverlight-developer-runtime-not-installed-please-install-a-matching-version-visual-studio-2010-silverlight-4.aspx"&gt;http://blogs.msdn.com/b/alikl/archive/2010/07/14/resolve-unable-to-start-debugging-the-silverlight-developer-runtime-not-installed-please-install-a-matching-version-visual-studio-2010-silverlight-4.aspx&lt;/a&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
Thanks&lt;/div&gt;
</description><link>http://micodes.blogspot.com/2013/06/unable-to-start-debugging-silverlight.html</link><author>noreply@blogger.com (Indika Athukorala)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-1034626465677086511</guid><pubDate>Tue, 25 Jun 2013 04:24:00 +0000</pubDate><atom:updated>2013-06-24T21:28:58.063-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net</category><category domain="http://www.blogger.com/atom/ns#">CRM 2011</category><category domain="http://www.blogger.com/atom/ns#">Software Engineering</category><title>CRM 2011 Filtered sub grid</title><description>&lt;div class="MsoNormal"&gt;
Filtered sub grid is very commonly used feature in CRM 2011.
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
As you may already know we can use CRM default feature to
filter sub grid data by selecting different views for sub grid. But you may
come across situations where system needs to filter sub grid data based on opening
record field,&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
For example you need to filter Contact sub grid based on
Account form City field. So sub grid should only Contacts which have same city as
Account City:&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
In this kind of scenario we can use javascript to add
filter to the sub grid. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;br /&gt;
Use advance find and generate fetch xml for filter contact
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="javascript" name="code"&gt;function setContactSubGrid() {
    var grid = $('#accountContactsGrid')[0];
    var accountCity = Xrm.Page.getAttribute("address1_city").getValue();
    if (grid == null || grid.readyState != "complete") {
        setTimeout('setContactSubGrid()', 2000);
    }
    else {

        var fetchXml = "&lt;fetch distinct="false" mapping="logical" output-format="xml-platform" version="1.0"&gt;" +
            "&lt;entity name="contact"&gt;" +
            "&lt;attribute name="fullname"&gt;" +
            "&lt;attribute name="telephone1"&gt;" +
            "&lt;attribute name="contactid"&gt;" +
            "&lt;order attribute="fullname" descending="false"&gt;" +
            "&lt;filter type="and"&gt;" +
            "&lt;condition attribute="address1_city" operator="eq" value="&amp;quot; + accountCity + &amp;quot;"&gt;" +
            "&lt;/condition&gt;&lt;/filter&gt;" +
            "&lt;/order&gt;&lt;/attribute&gt;&lt;/attribute&gt;&lt;/attribute&gt;&lt;/entity&gt;" +
            "&lt;/fetch&gt;";
            
        grid.control.setParameter("fetchXml", fetchXml);

        grid.control.refresh();
    }
}
&lt;/pre&gt;
Call this function on Account onLoad event.
</description><link>http://micodes.blogspot.com/2013/06/crm-2011-filtered-sub-grid.html</link><author>noreply@blogger.com (Indika Athukorala)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-8285998844282736304</guid><pubDate>Mon, 24 Jun 2013 02:46:00 +0000</pubDate><atom:updated>2013-06-23T19:50:30.246-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net</category><category domain="http://www.blogger.com/atom/ns#">CRM 2011</category><category domain="http://www.blogger.com/atom/ns#">JavaScript</category><title>How to Refresh a SubGrid in MS CRM 2011</title><description>Code snippet 1 :&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="javascript" name="code"&gt;function LoadSubGrid(SubGridName) {
    var grid = document.getElementById(SubGridName);
    if (grid) {
        if (grid.readyState == "complete") {
            grid.Refresh();
        }
    }
}
&lt;/pre&gt;
Code snippet 2 :&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="javascript" name="code"&gt;function LoadSubGrid(SubGridName) {
    var grid = Xrm.Page.ui.controls.get("SubGridName")
    if (grid) {
        if (grid.readyState == "complete") {
            grid.Refresh();
        }
    }
}
&lt;/pre&gt;
</description><link>http://micodes.blogspot.com/2013/06/how-to-refresh-subgrid-in-ms-crm-2011.html</link><author>noreply@blogger.com (Indika Athukorala)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-8670748967867637167</guid><pubDate>Fri, 21 Jun 2013 08:48:00 +0000</pubDate><atom:updated>2013-12-09T17:15:28.575-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net</category><category domain="http://www.blogger.com/atom/ns#">CRM 2011</category><category domain="http://www.blogger.com/atom/ns#">JavaScript</category><category domain="http://www.blogger.com/atom/ns#">OData</category><category domain="http://www.blogger.com/atom/ns#">OData Query Designer</category><title>Using OData endpoint in MS CRM 2011</title><description>As most of you already know in CRM 2011 there are two ways which we can write client script to work with CRM Data.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;SOAP endpoint: recommended for retrieving metadata, assigning records, executing messages&amp;nbsp;&lt;/li&gt;
&lt;li&gt;REST endpoint: recommended for create, retrieve, delete and update, associating and disassociating records,&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Here I’m explaining one of the easiest ways to retrieve data using OData query designer.&lt;br /&gt;
&lt;br /&gt;
Download Link OData Query designer: &lt;a href="http://crm2011odatatool.codeplex.com/"&gt;http://crm2011odatatool.codeplex.com/&lt;/a&gt;&lt;br /&gt;
For this example I’m getting Template Id by Name,&lt;br /&gt;
First Generate query using CRM 2011 OData Query Designer&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjA_MDmyc8jQfkKRPDkqc60zh9yhbKbsvKvMwFnA19XLl_2uubT8QZmjLcD0iTZAARE4rCeaZrY8N4M9MYgOCq0kwWVE_P6HA3BCOLsOh5MrGzvFE30mn5upXxa5nOUU3vithX6lZt-ll8u/s1600/OData.png" imageanchor="1"&gt;&lt;img border="0" height="307" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjA_MDmyc8jQfkKRPDkqc60zh9yhbKbsvKvMwFnA19XLl_2uubT8QZmjLcD0iTZAARE4rCeaZrY8N4M9MYgOCq0kwWVE_P6HA3BCOLsOh5MrGzvFE30mn5upXxa5nOUU3vithX6lZt-ll8u/s400/OData.png" width="400" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="javascript" name="code"&gt;function GetTemplateId() {

    var query = serverUrl + "xrmservices/2011/OrganizationData.svc/new_interventiontemplateSet?$select=new_interventiontemplateId&amp;amp;$filter=new_WebResourceName eq '" + webName + "'";
    var templateId;

    jQuery.ajax({
        type: "GET",
        contentType: "application/json; charset=utf-8",
        datatype: "json",
        url: query,
        async: false,
        beforeSend: function (XMLHttpRequest) {
            //Specifying this header ensures that the results will be returned as JSON.            
            XMLHttpRequest.setRequestHeader("Accept", "application/json");
        },
        success: function (data, textStatus, XmlHttpRequest) {
            if (data &amp;amp;&amp;amp; data.d != null) {
                templateId = data.d;
            }
        },
        error: function (XmlHttpRequest, textStatus, errorThrown) {
            alert("Error :  has occured during retrieval of the Template");
        }
    });

    return templateId;
}&lt;/pre&gt;

Update Record: 

&lt;pre class="javascript" name="code"&gt;
function Update(id, entityObject, odataSetName) {
        var jsonEntity = window.JSON.stringify(entityObject);
        var serverUrl = Xrm.Page.context.getServerUrl();

        var ODATA_ENDPOINT = "/XRMServices/2011/OrganizationData.svc";
        $.ajax({
            type: "POST",
            contentType: "application/json; charset=utf-8",
        datatype: "json",
        data: jsonEntity,
        url: serverUrl + ODATA_ENDPOINT + "/" + odataSetName + "(guid'" + id + "')",
        beforeSend: function (XMLHttpRequest) {
            XMLHttpRequest.setRequestHeader("Accept", "application/json");
            XMLHttpRequest.setRequestHeader("X-HTTP-Method", "MERGE");
        },
        success: function (data, textStatus, XmlHttpRequest) {
        },
        error: function (XmlHttpRequest, textStatus, errorThrown) {

            if (XmlHttpRequest &amp;&amp; XmlHttpRequest.responseText) {

                alert("Error while updating " + odataSetName + " ; Error – " + XmlHttpRequest.responseText);
            }
        }
    });
}
&lt;/pre&gt;

You can call this function like below;

&lt;pre class="javascript" name="code"&gt;
     var pp = new Object();
     // Update fields
     pp.new_ApprovedOn = "2013/12/06";
     Update(accountId, pp, "accountSet");
&lt;/pre&gt;

MSDN Sample for JSON : &lt;a href="http://msdn.microsoft.com/en-us/library/1bb82714-1bd6-4ea4-8faf-93bf29cabaad#BKMK_UsingJQuery"&gt;http://msdn.microsoft.com/en-us/library/1bb82714-1bd6-4ea4-8faf-93bf29cabaad#BKMK_UsingJQuery&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
OData System Query Options Using the REST Endpoint : &lt;a href="http://msdn.microsoft.com/en-us/library/gg309461.aspx"&gt;http://msdn.microsoft.com/en-us/library/gg309461.aspx&lt;/a&gt;</description><link>http://micodes.blogspot.com/2013/06/using-odata-endpoint-in-ms-crm-2011.html</link><author>noreply@blogger.com (Indika Athukorala)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjA_MDmyc8jQfkKRPDkqc60zh9yhbKbsvKvMwFnA19XLl_2uubT8QZmjLcD0iTZAARE4rCeaZrY8N4M9MYgOCq0kwWVE_P6HA3BCOLsOh5MrGzvFE30mn5upXxa5nOUU3vithX6lZt-ll8u/s72-c/OData.png" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-6240051158791861800</guid><pubDate>Fri, 30 Mar 2012 01:46:00 +0000</pubDate><atom:updated>2012-03-29T18:48:55.555-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net</category><category domain="http://www.blogger.com/atom/ns#">Software Engineering</category><title>Remove duplicate records from Generic List</title><description>Following code snippet give you a distinct values from the Generic int List. Here I'm using LINQ query to retrieve Distinct items&lt;br /&gt;&lt;pre name="code" class="CSharp"&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Linq;&lt;br /&gt;using System.Text;&lt;br /&gt;&lt;br /&gt;namespace ConsoleApplication1&lt;br /&gt;{&lt;br /&gt;    class Program&lt;br /&gt;    {&lt;br /&gt;        static void Main(string[] args)&lt;br /&gt;        {&lt;br /&gt;            List&lt;int&gt; listOfItems = new List&lt;int&gt;();&lt;br /&gt;    &lt;br /&gt;            listOfItems.Add(4);&lt;br /&gt;            listOfItems.Add(2);&lt;br /&gt;            listOfItems.Add(3);&lt;br /&gt;            listOfItems.Add(1);&lt;br /&gt;            listOfItems.Add(6);&lt;br /&gt;            listOfItems.Add(4);&lt;br /&gt;            listOfItems.Add(3);&lt;br /&gt;&lt;br /&gt;            var duplicates = listOfItems&lt;br /&gt;                .GroupBy(i =&gt; i)&lt;br /&gt;                .Select(g =&gt; g.Key);&lt;br /&gt;&lt;br /&gt;            foreach (var d in duplicates)&lt;br /&gt;            {&lt;br /&gt;                Console.WriteLine(d);&lt;br /&gt;            }&lt;br /&gt;            Console.ReadLine();&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Out put :&lt;br /&gt;&lt;br /&gt;4&lt;br /&gt;2&lt;br /&gt;3&lt;br /&gt;1&lt;br /&gt;6</description><link>http://micodes.blogspot.com/2012/03/remove-duplicate-records-from-generic_29.html</link><author>noreply@blogger.com (Indika Athukorala)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-6706656767813231221</guid><pubDate>Wed, 21 Mar 2012 06:54:00 +0000</pubDate><atom:updated>2012-03-22T00:55:29.418-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">CRM 2011</category><category domain="http://www.blogger.com/atom/ns#">Database</category><category domain="http://www.blogger.com/atom/ns#">Software Engineering</category><category domain="http://www.blogger.com/atom/ns#">SQL</category><title>CRM 2011 - Update user time zone from SQL query</title><description>&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span&gt;&lt;span style="font-size: 100%;"&gt;Recently I wanted to find out users who are not in the correct time zone in CRM System. To change the time zone or user related settings we need to log in to the system by using that particular user's login details (see the below screen shot 1 and 2). &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 256px; height: 254px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRfEsqvGxvwIqTvHMJIxh4UBAx6yiY-YW7sQX9eUEfkIEVlwqHAdjHruVZ2C-K4BNW6TSiFJt8J0HYayoVSi1yr01qOXPArcVPtvdvTzROJjueYoOpw2ur142AeHpJG6OVyy4K6R9-aS-P/s320/1.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5722240716940096562" /&gt;&lt;img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoqBr9hKnUX9BgBW47ERRay1RdBPwvOSWAEY8mhIEIYuUz5K2dI4BxpI2qlZDmQd9UsyjanpGipBHc5DcdEvicl8EgLJwFATaK1Py_A3iCib0osOTS20C7HdPtNM3ouizD7XkqDaNL750v/s320/2.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5722240797319106738" style="display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 320px; height: 263px; " /&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span&gt;&lt;span style="font-size: 100%;"&gt;But if you system is up and running it is not possible to ask there login details. so here it the solution. login to the system as System admin, then go to the File , Option and "General" Tab Set the time zone and click "OK".&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span style="font-size: 100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span style="font-size: 100%;"&gt;In CRM we have separate table "[UserSettingsBase] " , which contains all the user related setting information. for an example time zone, currency, language and ..... Use the following script to get the admin users time zone details from the database.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span style="font-size: 100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;pre name="code" class="SQL"&gt;select TimeZoneBias, TimeZoneCode from [UserSettingsBase]&lt;br /&gt;where SystemUserId In (select distinct SystemUserId from SystemUserBase where DomainName like '%DOMAIN\USERNAME%')&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Find out which users are not in the correct time zone. use following script.&lt;br /&gt;&lt;pre name="code" class="SQL"&gt;select FullName , CreatedByName, CreatedOn, DomainName, ModifiedByName from SystemUser&lt;br /&gt;where SystemUserId In (&lt;br /&gt;SELECT  SystemUserId&lt;br /&gt;FROM [UserSettingsBase]&lt;br /&gt;where [TimeZoneBias] != -480&lt;br /&gt;and [TimeZoneCode] != 215)&lt;br /&gt;and IsDisabled = 0&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;If you want to update these users time zone with correct time zone you can simpy use following script. Don't forget to give an iisreset to view your changes.&lt;br /&gt;&lt;pre name="code" class="SQL"&gt;update [UserSettingsBase]&lt;br /&gt;set [TimeZoneBias] = -330, TimeZoneCode = 200&lt;br /&gt;where SystemUserId IN (select SystemUserId from SystemUser&lt;br /&gt;  where SystemUserId In (select  SystemUserId&lt;br /&gt;      from [PRM_MSCRM].[dbo].[UserSettingsBase]&lt;br /&gt;      where [TimeZoneBias] != -480&lt;br /&gt;         and [TimeZoneCode] != 215)&lt;br /&gt;             and IsDisabled = 0)&lt;br /&gt;&lt;/pre&gt;&lt;pre name="code" class="SQL"&gt;&lt;/pre&gt;</description><link>http://micodes.blogspot.com/2012/03/crm-2011-update-user-time-zone-from-sql.html</link><author>noreply@blogger.com (Indika Athukorala)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRfEsqvGxvwIqTvHMJIxh4UBAx6yiY-YW7sQX9eUEfkIEVlwqHAdjHruVZ2C-K4BNW6TSiFJt8J0HYayoVSi1yr01qOXPArcVPtvdvTzROJjueYoOpw2ur142AeHpJG6OVyy4K6R9-aS-P/s72-c/1.jpg" width="72"/><thr:total>7</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-2609391701478743777</guid><pubDate>Thu, 08 Mar 2012 06:11:00 +0000</pubDate><atom:updated>2012-03-08T21:40:01.531-08:00</atom:updated><title>Working with Visual Ribbon Editor - Adding Button and passing parameters</title><description>&lt;div style="text-align: justify;"&gt;&lt;span style="font-family: 'Segoe UI', sans-serif; text-align: left; font-size: 9pt; "&gt;Hope you remember my previous post. As I explained to you visual ribbon editor is a great tool which we can use easily to create new ribbon button and actions. here I'm explaining how to create a Ribbon button using visual ribbon editor, and pass selected records guids as a parameter to update those records from the &lt;/span&gt;&lt;span style="font-family: 'Segoe UI', sans-serif; text-align: left; font-size: 12px; "&gt;back end&lt;/span&gt;&lt;span style="font-family: 'Segoe UI', sans-serif; text-align: left; font-size: 9pt; "&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;  &lt;p class="MsoNormal" style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-family: Georgia, serif; font-size: 100%; margin-bottom: 0.0001pt; "&gt;&lt;span style="font-size:9.0pt;font-family:&amp;quot;Segoe UI&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;First will see how to add a Ribbon button.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-family: Georgia, serif; font-size: 100%; margin-bottom: 0.0001pt; "&gt;&lt;span style="font-size:9.0pt;font-family:&amp;quot;Segoe UI&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;1. Connecting to the CRM server from visual ribbon editor.&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: center;"&gt;&lt;div style="text-align: left; "&gt;&lt;/div&gt;&lt;/div&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 251px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgowrUuCpIE5c8qDNK5Ao0Ml7HdmxbbVr5PIo68hO8BMA7EyhKhsVNA39mjoG9hdS-ZyHXFuZnhfvfkIRfJjKz1MpeNQBYYhwuLeQBOT_LjuxpePgNAuw5xD3s00mM5PzKl8e_SPw9uCXnn/s320/2.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5717405937769904690" /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;p class="MsoNormal" style="font-style: normal; font-variant: normal; font-weight: normal; margin-bottom: 0.0001pt; line-height: normal; font-size: 100%; font-family: Georgia, serif; "&gt;&lt;span style="font-size:9.0pt;font-family:&amp;quot;Segoe UI&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;&lt;span style="font-size: 9pt; line-height: 115%; "&gt;2. Click on "Open" button and select the Entity which you want to create a button.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6YCfkZs9IqfDLE4ax4tNRHwbqi6xePLCIsfM0y1D-07K-WWn94Cxlw0O17SRlzfF-0Yf0Yx4ahEHTgMN1hv94mOAtKdj01gX7Ct2gUFpTWqM8sfaquGgNzACuM4tDXp1eJ0nx5I19tQwr/s320/1.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5717405738474465874" style="display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 320px; height: 251px; " /&gt;&lt;/div&gt;&lt;div&gt;&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; "&gt;&lt;span style="font-size:9.0pt;font-family:&amp;quot;Segoe UI&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;3.  Now you have 3 kind of Ribbon types (Form, Homepage and Sub-Grid) in this example I'm creating button against the Homepage.&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzIG-5frooaKdZ5NqlF3nfSnuna7qlv39qJ_5-RUeTGRoGe4jrwnqkS32Nua3QLyaxeNPm9KopBwzC1JnVUSCM-gA56RBarry4ae-tfLgED1AyHcXU9FEyQDaec6OZ2oiqn5t5ZozzCRHa/s320/Untitled.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5717406385683603330" style="display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 320px; height: 67px; " /&gt;&lt;div&gt;&lt;/div&gt;&lt;p class="MsoNormal" style="font-family: Georgia, serif; font-size: 16px; margin-bottom: 0.0001pt; "&gt;&lt;span style="font-size: 9pt; font-family: 'Segoe UI', sans-serif; "&gt;&lt;span style="font-size: 9pt; line-height: 13px; "&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; "&gt;&lt;span style="font-size:9.0pt;font-family:&amp;quot;Segoe UI&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;4. Click on 'New Group' and add a Group to your button &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; "&gt;&lt;span style="font-size:9.0pt;font-family:&amp;quot;Segoe UI&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;5. Select the Group and Click on "New Button" Update Lable and Id and Select the icon as well.&lt;/span&gt;&lt;/p&gt;&lt;span&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; "&gt;&lt;span style="font-size:9.0pt;font-family:&amp;quot;Segoe UI&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;Ok Now you ready to Go.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; "&gt;&lt;span style="font-size:9.0pt;font-family:&amp;quot;Segoe UI&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;Click on Save button. it will save and publish your changes to the CRM. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; "&gt;&lt;span style="font-size:9.0pt;font-family:&amp;quot;Segoe UI&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;Now we need to add action to that button click.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuKLC6gBRQLwWOnT2H_LEwWN_bROMmuGzri1VRJprluVXV_tJmc3V4tYAdX3lxmYw4Q1i8NTaJnsHQJ9mpGjkAaW1J8DR_AgGwUh_d_gzsbDyA3G7_Pw8i_6sojSVss6lKtMc9QYV9rtfT/s320/4.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5717406638961184162" style="color: rgb(0, 0, 238); text-decoration: underline; display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; cursor: pointer; width: 320px; height: 252px; " /&gt;&lt;/div&gt;&lt;div&gt;&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; "&gt;&lt;span style="font-size:9.0pt;font-family:&amp;quot;Segoe UI&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;Create a web resource and Add a javascript function ex: updateRecordStatus&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; "&gt;&lt;span style="font-size:9.0pt;font-family:&amp;quot;Segoe UI&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;what this function does is it simply call WCF method to update the record status. Here I'm not going to focus on WCF method. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; "&gt;&lt;span style="font-size:9.0pt;font-family:&amp;quot;Segoe UI&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;As you can see in the below image we can specify CRM parameters. Here I'm selecting "Selec&lt;/span&gt;&lt;/p&gt;&lt;img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid2-yETzReT5BjKI7-wvpuppzLBVq0_I2PAlav_1rpqJxdqkuC-FG-USF9sFLAXoZkK_mZDYvsY7UCj_khqa7AoYDlAw6CnldOgvA_Ucc6ZoqkUzjMzFoICeuV74tFqZ2c38AX5L04xtue/s320/5.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5717406880913445714" style="color: rgb(0, 0, 238); text-decoration: underline; display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; cursor: pointer; width: 320px; height: 252px; " /&gt;&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; "&gt;&lt;span style="font-size:9.0pt;font-family:&amp;quot;Segoe UI&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;tedControlSelectedItemIds" parameter. This will pass whatever the selected records to the javascript method. Then we can use AJAX to send those IDs to the WCF web service and show the response to the user. &lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre name="code" class="JS"&gt;function UpdateRecordStatus(recordIds) {&lt;br /&gt;  if (recordIds!= null &amp;amp;&amp;amp; recordIds!= "") {&lt;br /&gt;      var _serviceUrl = '/ISV/SERVICE/Service.svc/json/UpdateRecordStatus';&lt;br /&gt;      var _data = '{"Ids": "' + recordIds + '"}';&lt;br /&gt;      $.ajax({&lt;br /&gt;          type: "POST",&lt;br /&gt;          url: _serviceUrl,&lt;br /&gt;          data: _data,&lt;br /&gt;          contentType: "application/json",&lt;br /&gt;          dataType: "json",&lt;br /&gt;          cache: false,&lt;br /&gt;          async: false,&lt;br /&gt;          success: function (response) {&lt;br /&gt;               alert("Selected records are updated successfully ")&lt;br /&gt;          },&lt;br /&gt;          error: function (response) {&lt;br /&gt;              alert(response.responseText);&lt;br /&gt;          }&lt;br /&gt;      }); &lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;</description><link>http://micodes.blogspot.com/2012/03/working-with-visual-ribbon-editor.html</link><author>noreply@blogger.com (Indika Athukorala)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgowrUuCpIE5c8qDNK5Ao0Ml7HdmxbbVr5PIo68hO8BMA7EyhKhsVNA39mjoG9hdS-ZyHXFuZnhfvfkIRfJjKz1MpeNQBYYhwuLeQBOT_LjuxpePgNAuw5xD3s00mM5PzKl8e_SPw9uCXnn/s72-c/2.jpg" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-8815733247244170896</guid><pubDate>Wed, 07 Mar 2012 05:36:00 +0000</pubDate><atom:updated>2012-03-08T17:39:40.075-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net</category><category domain="http://www.blogger.com/atom/ns#">CRM 2011</category><category domain="http://www.blogger.com/atom/ns#">JavaScript</category><category domain="http://www.blogger.com/atom/ns#">Software Engineering</category><title>How to pass current view id to Custom web page through ribbon button in CRM 2011</title><description>In my recent project I wanted to get all the records which are in current view and do some processing and display those records in a custom web page.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;My Approach&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Get the selected View id&lt;br /&gt;2. pass it to the custom web page as query string through ribbon button.&lt;br /&gt;&lt;pre name="code" class="JS"&gt;function LoadRecords() {&lt;br /&gt;  var selectedViewId = document.getElementsByTagName(&amp;quot;span&amp;quot;);&lt;br /&gt;&lt;br /&gt;  var el = getElementsByAttribute(&amp;quot;span&amp;quot;, &amp;quot;currentview&amp;quot;);&lt;br /&gt;  var viewId = el[0].id;&lt;br /&gt;&lt;br /&gt;  var UserID = GetCurrentUserID();&lt;br /&gt;  var sUrl = &amp;#39;/ISV/myCustomPage.aspx?crmuserid=&amp;#39; + UserID + &amp;#39;&amp;amp;amp;viewid=&amp;#39; + viewId;&lt;br /&gt;  var sWin = window.open(sUrl, &amp;#39;&amp;#39;, &amp;#39;height=750 ,width=900, left=75, top=50 ,toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,modal=yes&amp;#39;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function getElementsByAttribute(strTagName, strAttributeName) {&lt;br /&gt;    var arrElements = document.getElementsByTagName(strTagName);&lt;br /&gt;&lt;br /&gt;    var arrReturnElements = new Array();&lt;br /&gt;    var oCurrent;&lt;br /&gt;    var oAttribute;&lt;br /&gt;    for (var i = 0; i &amp;lt; arrElements.length; i++) {&lt;br /&gt;        oCurrent = arrElements[i];&lt;br /&gt;&lt;br /&gt;        oAttribute = oCurrent.getAttribute &amp;amp;&amp;amp; oCurrent.getAttribute(strAttributeName);&lt;br /&gt;        if (typeof oAttribute == &amp;quot;string&amp;quot; &amp;amp;&amp;amp; oAttribute.length &amp;gt; 0) {           &lt;br /&gt;            arrReturnElements.push(oAttribute);&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;    return arrReturnElements;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;3. get the selected view from SavedQuery table&lt;br /&gt;&lt;pre name="code" class="CSharp"&gt;public SavedQuery GetSavedQueryById(Guid viewId)&lt;br /&gt;{&lt;br /&gt;   SavedQuery savedQuery = null;&lt;br /&gt;   if (!viewId.Equals(Guid.Empty))&lt;br /&gt;   {&lt;br /&gt;    savedQuery = (SavedQuery)service.Retrieve(SavedQuery.EntityLogicalName, viewId, new ColumnSet(true));&lt;br /&gt;   }&lt;br /&gt;   return savedQuery;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;4. extract the conditions for selected view from FetchXml column&lt;br /&gt;&lt;pre name="code" class="CSharp"&gt;&lt;br /&gt;private Dictionary&amp;lt;string, string&amp;gt; getCoditionListForSelectedView(string selectedView)&lt;br /&gt;      {&lt;br /&gt;          try&lt;br /&gt;          {&lt;br /&gt;           Dictionary&amp;lt;string, string; condList = new Dictionary&amp;lt;string, string&amp;gt;();&lt;br /&gt;           commonFacadecs = new CommonFacade();&lt;br /&gt;           string fetchXML = commonFacadecs.GetSavedQueryById(viewId).FetchXml.ToString();&lt;br /&gt;&lt;br /&gt;           string formattedXML = XElement.Parse(fetchXML).ToString();&lt;br /&gt;&lt;br /&gt;           XmlDocument xmlDoc = new XmlDocument();&lt;br /&gt;           xmlDoc.LoadXml(formattedXML);&lt;br /&gt;           XmlNodeList nodeList = xmlDoc.SelectNodes(&amp;quot;/entity&amp;quot;);&lt;br /&gt;           XmlNodeList nodeList2 = xmlDoc.GetElementsByTagName(&amp;quot;condition&amp;quot;);&lt;br /&gt;&lt;br /&gt;           for (int i = 0; i &amp;amp;lt; nodeList2.Count; i++)&lt;br /&gt;           {                                      &lt;br /&gt;               XmlAttributeCollection xmlAttrc = nodeList2[i].Attributes;&lt;br /&gt;               string name = xmlAttrc[0].Value;&lt;br /&gt;               string oper = xmlAttrc[1].Value;&lt;br /&gt;               string Value = xmlAttrc[2].Value;&lt;br /&gt;               condList.Add(oper, Value);           &lt;br /&gt;           }   &lt;br /&gt;           return condList; &lt;br /&gt;}                  &lt;br /&gt;catch (Exception exception)       &lt;br /&gt;{         &lt;br /&gt;      throw&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;5.Retrieve records according to the filter condition&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Results &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Above approach will give you the all the records which are coming from the selected view&lt;br /&gt;then you can do whatever the processing and display it in custom web page.</description><link>http://micodes.blogspot.com/2012/03/how-to-pass-current-view-id-to-custom.html</link><author>noreply@blogger.com (Indika Athukorala)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-2896164458285837021</guid><pubDate>Wed, 29 Feb 2012 03:07:00 +0000</pubDate><atom:updated>2012-02-28T22:59:49.548-08:00</atom:updated><title>Using SetStateRequest to deactivate Contact record.</title><description>Recently I wintered to deactivate contact entity for some scenarios. below is the piece of code which I used to do it so.&lt;/p&gt;&lt;br /&gt;&lt;pre name="code" class="CSharp"&gt;&lt;br /&gt;        public void DeactivateContact(Guid contactId)&lt;br /&gt;        {&lt;br /&gt;            try&lt;br /&gt;            {&lt;br /&gt;                SetStateRequest setStateRequest = new SetStateRequest();&lt;br /&gt;                setStateRequest.State = new OptionSetValue(0);&lt;br /&gt;                setStateRequest.Status = new OptionSetValue(1);&lt;br /&gt;                setStateRequest.EntityMoniker = new EntityReference(Contact.EntityLogicalName, contactId);&lt;br /&gt;&lt;br /&gt;                service.Execute(setStateRequest);&lt;br /&gt;            }&lt;br /&gt;            catch (Exception exception)&lt;br /&gt;            {&lt;br /&gt;                throw exception;&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;&lt;/pre&gt;</description><link>http://micodes.blogspot.com/2012/02/using-setstaterequest-to-deactivate.html</link><author>noreply@blogger.com (Indika Athukorala)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-4029112370058078783</guid><pubDate>Mon, 27 Feb 2012 08:43:00 +0000</pubDate><atom:updated>2012-02-27T00:45:17.130-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">CRM 2011</category><category domain="http://www.blogger.com/atom/ns#">Software Engineering</category><title>Visual Ribbon Editor for MS CRM 2011</title><description>&lt;p class="MsoNormal"&gt;In CRM 2011 Editing ribbon is a very hard thing. because we have to change lot of xml files. But Visual Ribbon Editor is a wonderful tool which will enable you to edit CRM ribbon more easily, definitely it will make your life more easier . &lt;/p&gt;&lt;p class="MsoNormal"&gt;You can download it from &lt;a href="http://crmvisualribbonedit.codeplex.com/"&gt;codeplex&lt;/a&gt; &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 310px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAny7Aa0Nj-nzg872JTS6BdaXjMz3aFKISHV8gpkxFhp7oHorK8F5VulhOO619oFTCc5GAD_JcMIU5xicLIRWYlvBq8mqs8ZdVQRTzsl07xCTGwSiVQydDndU8KVBV2foQSTmtxDt3JfzE/s320/11.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5713733423149993938" /&gt;&lt;/p&gt;</description><link>http://micodes.blogspot.com/2012/02/visual-ribbon-editor-for-ms-crm-2011.html</link><author>noreply@blogger.com (Indika Athukorala)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAny7Aa0Nj-nzg872JTS6BdaXjMz3aFKISHV8gpkxFhp7oHorK8F5VulhOO619oFTCc5GAD_JcMIU5xicLIRWYlvBq8mqs8ZdVQRTzsl07xCTGwSiVQydDndU8KVBV2foQSTmtxDt3JfzE/s72-c/11.jpg" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-5989998456918196673</guid><pubDate>Mon, 27 Feb 2012 04:40:00 +0000</pubDate><atom:updated>2012-02-28T22:56:51.292-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">CRM 2011</category><category domain="http://www.blogger.com/atom/ns#">JavaScript</category><title>Reload CRM 2011 sub-grid manually</title><description>&lt;p class="MsoNormal"&gt;Recently I wanted to add a subgrid to the one of my CRM form. It's a simple thing you just want to follow the normal procedure. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;1. Settings - Customizations - Customize the System&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 174px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvvDUca76oVw9u7FtdfpjsWBSvWP8L3rT4QySm6QQLTqT4Jy7pBP8599wVe7NxREzIaTwMDeXjajLLDz0NCGWV2yair92EFQYyANlv7d30mKWB8eEaptPyoyKdUnpr5aEaPlu91JmnyCEN/s320/1.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5713671146294724658" /&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;2. Open the entity form and go to the Insert tab and click on Sub-Grid button&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-size: 100%; "&gt;&lt;img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpEgR_vMqxSdpAKJpWGYMyEfoG97yNz6o7UGt-3yLoenLxTbQPjaiy4gb10iQBqlORu4m75p1giAvXOQPrBr8IfhkqRdQVcvWSbk0jk_IpPayoYvUW78etxpfZcRouXjZASMvzE6VM6OHW/s320/2.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5713671320182362082" style="cursor: pointer; width: 320px; height: 67px; " /&gt;&lt;br /&gt;3. Now give a name for "Name" field then select Entity and Default View&lt;/span&gt;ntity form and go to the Insert tab and click on Sub-Grid button&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-XMnyl_ax_4pJtjOP_ua0B6zLHUCHZpp8BoBPsyVKLDwNGLCmu9x23UJFiS5QAsM2LqJbIeNDLX8tvYhitQfKyRPlWsi76FQAXFTSi1yGh_FZejgGSmOcGZh48O2tQl-0ApRTCugkGlVf/s1600/3.jpg"&gt;&lt;img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-XMnyl_ax_4pJtjOP_ua0B6zLHUCHZpp8BoBPsyVKLDwNGLCmu9x23UJFiS5QAsM2LqJbIeNDLX8tvYhitQfKyRPlWsi76FQAXFTSi1yGh_FZejgGSmOcGZh48O2tQl-0ApRTCugkGlVf/s320/3.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5713671462164232626" style="cursor: pointer; width: 216px; height: 320px; " /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;That's it. Save and publish the form. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;Normally now all of the sub records should populate in the main form load. But in my case it didn't load the sub grid records, so just had to find a reason for that. actually in my main CRM form there were more than 10 sub grids. Finally I came to know that it will load only first 5 sub grids in the page load. So then we need to manually load my sub grid using javascript. It was not that much default you can simply use the following javascript code.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; "&gt;&lt;span style="font-size: 9.5pt;font-family:Consolas;color:blue"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="Js"&gt;&lt;br /&gt;var grid = document.getElementById("SubGridName");&lt;br /&gt;if (grid != null) {&lt;br /&gt;if (grid.readyState == "complete") {&lt;br /&gt;grid.Refresh();&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;</description><link>http://micodes.blogspot.com/2012/02/reload-crm-2011-sub-grid-manually.html</link><author>noreply@blogger.com (Indika Athukorala)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvvDUca76oVw9u7FtdfpjsWBSvWP8L3rT4QySm6QQLTqT4Jy7pBP8599wVe7NxREzIaTwMDeXjajLLDz0NCGWV2yair92EFQYyANlv7d30mKWB8eEaptPyoyKdUnpr5aEaPlu91JmnyCEN/s72-c/1.jpg" width="72"/><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-8697371853716222128</guid><pubDate>Fri, 24 Feb 2012 07:24:00 +0000</pubDate><atom:updated>2013-06-18T22:57:42.769-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">CRM 2011</category><title>CRM 2011 How to change attribute type in database</title><description>&lt;p class="MsoNormal"&gt;Recently I wanted to change the attribute type from 'Single line of text' to 'Multi line text' in CRM 2011. but we cannot do from CRM form.  but there is a way to do it. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;First you have to find the Single line attribute and multi line attribute from the "&lt;span style="font-size:9.0pt;line-height:115%; font-family:Consolas;mso-no-proof:yes"&gt;Attribute&lt;/span&gt;"  table. and get the &lt;span style="font-size: 9.0pt;line-height:115%;font-family:Consolas;mso-no-proof:yes"&gt;attributetypeId.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;then simply update the Multi line &lt;span style="font-size: 9.0pt;line-height:115%;font-family:Consolas;mso-no-proof:yes"&gt;attributetypeId&lt;/span&gt; with single line  &lt;span style="font-size: 9.0pt;line-height:115%;font-family:Consolas;mso-no-proof:yes"&gt;attributetypeId.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;After that you have to Export the Entity and then Import it again to the CRM system. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;Now open the Entity Form and remove the attribute and add it again to the form. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;Save and Publish the Form.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;That's it. now you will see the changes. 

btw, this is 'UNSUPPORTED' way.
&lt;/p&gt;</description><link>http://micodes.blogspot.com/2012/02/crm-2011-how-to-change-attribute-type.html</link><author>noreply@blogger.com (Indika Athukorala)</author><thr:total>5</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-9078293525917675186</guid><pubDate>Sun, 17 Jul 2011 12:49:00 +0000</pubDate><atom:updated>2012-02-24T20:50:21.602-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net</category><category domain="http://www.blogger.com/atom/ns#">Database</category><category domain="http://www.blogger.com/atom/ns#">Software Engineering</category><title>MVC Movie App tutorial : Unable to find the requested .Net Framework Data Provider. It may not be installed</title><description>&lt;div align="justify"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:officedocumentsettings&gt;   &lt;o:allowpng/&gt;  &lt;/o:OfficeDocumentSettings&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-SG&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:enableopentypekerning/&gt;    &lt;w:dontflipmirrorindents/&gt;    &lt;w:overridetablestylehps/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="&amp;#45;-"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:"Table Normal";  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-priority:99;  mso-style-parent:"";  mso-padding-alt:0cm 5.4pt 0cm 5.4pt;  mso-para-margin-top:0cm;  mso-para-margin-right:0cm;  mso-para-margin-bottom:10.0pt;  mso-para-margin-left:0cm;  line-height:115%;  mso-pagination:widow-orphan;  font-size:11.0pt;  font-family:"Calibri","sans-serif";  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:"Times New Roman";  mso-bidi-theme-font:minor-bidi;  mso-fareast-language:EN-US;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;I got another problem when I work with MVC Movie App tutorial provided by Microsoft Asp.Net site.&lt;br /&gt;I just go through the step by step. But unfortunately I stuck at one point.&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;Once I build the solution and press F5, and I tried to go to the following url. But it &lt;i style="mso-bidi-font-style:normal"&gt;says “Unable to find the requested .Net Framework Data Provider. It may not be installed.” &lt;/i&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;I tried several options and found good solution at &lt;a href="http://stackoverflow.com/questions/6508516/asp-net-mvc-3-unable-to-find-the-requested-net-framework-data-provider"&gt;this url&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;What I did was just replace the connection string given by that url with my connection string. It works perfectly now….&lt;/p&gt;   &lt;/div&gt;</description><link>http://micodes.blogspot.com/2011/07/mvc-movie-app-tutorial-unable-to-find.html</link><author>noreply@blogger.com (Indika Athukorala)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-3128045775408912874</guid><pubDate>Sat, 16 Jul 2011 05:05:00 +0000</pubDate><atom:updated>2012-02-24T20:48:18.583-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net</category><category domain="http://www.blogger.com/atom/ns#">internet</category><category domain="http://www.blogger.com/atom/ns#">Software Engineering</category><title>How to change debugging browser used in VS 2010 , MVC 3</title><description>&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZCnhX7L6VE8VXWvFhQZ1t6ch4DxqircHyjTwvuygXXtAsFvz-KNN3QPShlktTQPaHTSVJ1AQGskbZNDliX1XVfiEKaBQoQvAy1uEew9tBbicE-iTd9I21V-TWSf1HChyphenhyphenFTYbc81c2DVWF/s1600/pro.jpg"&gt;&lt;img style="MARGIN: 0px 0px 10px 10px; WIDTH: 320px; FLOAT: right; HEIGHT: 221px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5629813011975326450" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZCnhX7L6VE8VXWvFhQZ1t6ch4DxqircHyjTwvuygXXtAsFvz-KNN3QPShlktTQPaHTSVJ1AQGskbZNDliX1XVfiEKaBQoQvAy1uEew9tBbicE-iTd9I21V-TWSf1HChyphenhyphenFTYbc81c2DVWF/s320/pro.jpg" border="0" /&gt;&lt;/a&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:officedocumentsettings&gt;   &lt;o:allowpng/&gt;  &lt;/o:OfficeDocumentSettings&gt; &lt;/xml&gt;&lt;![endif][if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-SG&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:enableopentypekerning/&gt;    &lt;w:dontflipmirrorindents/&gt;    &lt;w:overridetablestylehps/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="&amp;#45;-"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif][if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif][if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:"Table Normal";  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-priority:99;  mso-style-parent:"";  mso-padding-alt:0cm 5.4pt 0cm 5.4pt;  mso-para-margin-top:0cm;  mso-para-margin-right:0cm;  mso-para-margin-bottom:10.0pt;  mso-para-margin-left:0cm;  line-height:115%;  mso-pagination:widow-orphan;  font-size:11.0pt;  font-family:"Calibri","sans-serif";  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:"Times New Roman";  mso-bidi-theme-font:minor-bidi;  mso-fareast-language:EN-US;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;Recently I have work with Asp MVC 3 and had a problem with changing my default Brower from Firefox to IE.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;In Asp.NET it is possible with “browse with” option. See more details on &lt;a href="http://weblogs.asp.net/scottgu/archive/2005/11/18/430943.aspx"&gt;ScottGu’s blog&lt;/a&gt;.&lt;br /&gt;But in MVC project we don’t have any aspx files, so how to configure our solution to do it so?&lt;br /&gt;There is a way to do this.&lt;br /&gt;&lt;br /&gt;1. Right click on solution and go to the “Properties”&lt;br /&gt;2. Go to “Web” Tab&lt;br /&gt;3. Set the Start Action to use Start external program and then pass the Internet Explorer executable path and the url as Command line arguments.&lt;br /&gt;4. Set the Servers’ specific port to the same port set in the url in step 3.&lt;br /&gt;See the following image to get more info. &lt;/p&gt;</description><link>http://micodes.blogspot.com/2011/07/how-to-change-debugging-browser-used-in.html</link><author>noreply@blogger.com (Indika Athukorala)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZCnhX7L6VE8VXWvFhQZ1t6ch4DxqircHyjTwvuygXXtAsFvz-KNN3QPShlktTQPaHTSVJ1AQGskbZNDliX1XVfiEKaBQoQvAy1uEew9tBbicE-iTd9I21V-TWSf1HChyphenhyphenFTYbc81c2DVWF/s72-c/pro.jpg" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-1944797415468072982</guid><pubDate>Fri, 15 Jul 2011 05:27:00 +0000</pubDate><atom:updated>2012-02-24T20:52:45.771-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net</category><category domain="http://www.blogger.com/atom/ns#">internet</category><category domain="http://www.blogger.com/atom/ns#">Software Engineering</category><title>VS2010 not opening CSS files : MVC 3</title><description>&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:officedocumentsettings&gt;   &lt;o:allowpng/&gt;  &lt;/o:OfficeDocumentSettings&gt; &lt;/xml&gt;&lt;![endif][if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-SG&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:enableopentypekerning/&gt;    &lt;w:dontflipmirrorindents/&gt;    &lt;w:overridetablestylehps/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="&amp;#45;-"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif][if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif][if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:"Table Normal";  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-priority:99;  mso-style-parent:"";  mso-padding-alt:0cm 5.4pt 0cm 5.4pt;  mso-para-margin-top:0cm;  mso-para-margin-right:0cm;  mso-para-margin-bottom:10.0pt;  mso-para-margin-left:0cm;  line-height:115%;  mso-pagination:widow-orphan;  font-size:11.0pt;  font-family:"Calibri","sans-serif";  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:"Times New Roman";  mso-bidi-theme-font:minor-bidi;  mso-fareast-language:EN-US;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;Hi all,&lt;/p&gt;  &lt;p class="MsoNormal"&gt;I am using Visual Studio 2010 as my development platform. Recently I have install MVC 3 with Web Standards Update for Microsoft Visual Studio 2010. But unfortunately when I try to work with MVC 3 applications I was unable to open CCS file with Visual Studio. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;So I just Google it and found the solution. Here is the &lt;a href="http://social.msdn.microsoft.com/Forums/eu/vseditor/thread/25f9016c-c790-4b8a-b333-5cfdafe45e2d"&gt;link &lt;/a&gt;.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Try to repair your installed Web Standards Update for Microsoft Visual Studio 2010 SP1 by using following path.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Got to Tools - Extension Manager - Online Gallery and search for/install the "Web Standards Update for Microsoft Visual Studio 2010 sp1"&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Then click on repair link. And restart Visual Studio. Hop everything fine now …. &lt;/p&gt;</description><link>http://micodes.blogspot.com/2011/07/vs2010-not-opening-css-files-mvc-3.html</link><author>noreply@blogger.com (Indika Athukorala)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8677208690715398495.post-1635699784739233715</guid><pubDate>Sat, 23 May 2009 03:48:00 +0000</pubDate><atom:updated>2009-06-02T18:12:40.346-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.Net</category><category domain="http://www.blogger.com/atom/ns#">Database</category><category domain="http://www.blogger.com/atom/ns#">internet</category><category domain="http://www.blogger.com/atom/ns#">Multimedia</category><category domain="http://www.blogger.com/atom/ns#">Software Engineering</category><category domain="http://www.blogger.com/atom/ns#">Web hosting</category><title>Web Hosting</title><description>&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi985LPtzqG8r-jcXx9sgtnepzXwiVFVNpGxIHdW4JTuZIyYwERuqMECA4dFsDNh4tzNPu1zkRvPdSV7iZM8Y4nBZYS6kqidLPdBZqfJc4Wiwc6DG8jNYG9rx111mREO98aEn1YGVq-eM4L/s1600-h/hosting1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5338864177640864802" style="margin: 0px 0px 10px 10px; float: right; width: 275px; height: 252px;" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi985LPtzqG8r-jcXx9sgtnepzXwiVFVNpGxIHdW4JTuZIyYwERuqMECA4dFsDNh4tzNPu1zkRvPdSV7iZM8Y4nBZYS6kqidLPdBZqfJc4Wiwc6DG8jNYG9rx111mREO98aEn1YGVq-eM4L/s320/hosting1.jpg" border="0" /&gt;&lt;/a&gt; &lt;div align="justify"&gt;If you want to take part in the internet as a business, information resource, directory, or as a hobbyist wanting to share data, information and knowledge with the many people and communities on the internet, you have to contain this in a central spot on the internet. You have to own a piece of space in cyberspace&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;Web hosting empowers you and anyone with a computer and internet connection to own a piece of cyberspace. In your space, you can have news, bulletins, documents, data, files (your web site) and your own post office (mail server) to accept mail, all in the context of you or your business. This is your space and to get this space you either have to own a piece of the physical internet with a network connection to the internet backbone and computer(s) operating as server(s) offering access to your files and post office, for people on the internet to view your web site or send and receive email with you.&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;The cost of owning a direct connection to the backbone and a server dedicated to a web site and email is out of reach for the average business and especially general members of the internet. Even running a web site and mail server on your own computer when it is connected to the internet requires a lot of technical ability and knowledge. The internet itself has to be your business for either of these options to be viable.&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;In a web-hosting environment, you are offered a web site to place your files, data, documents, and bulletins for people to access with their web browser and an email server for you to send and receive email messages. The web host will also provide you a means to get an address for people to get to your web site with a web browser and post email to you.&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;This is just a begin. I’ll write more about web hosting in my next post… cheers you all.&lt;/div&gt;</description><link>http://micodes.blogspot.com/2009/05/web-hosting.html</link><author>noreply@blogger.com (Indika Athukorala)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi985LPtzqG8r-jcXx9sgtnepzXwiVFVNpGxIHdW4JTuZIyYwERuqMECA4dFsDNh4tzNPu1zkRvPdSV7iZM8Y4nBZYS6kqidLPdBZqfJc4Wiwc6DG8jNYG9rx111mREO98aEn1YGVq-eM4L/s72-c/hosting1.jpg" width="72"/><thr:total>5</thr:total></item></channel></rss>