<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3427933908104826337</id><updated>2024-09-09T04:28:27.155-07:00</updated><category term=".net"/><category term="asp.net"/><category term="EnterpriseLibrary"/><category term="http"/><category term="visual studio"/><category term="assembly"/><title type='text'>The DotNet School</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://thenetschool.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3427933908104826337/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://thenetschool.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Abhilash Chandran</name><uri>http://www.blogger.com/profile/00585050100369708773</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3427933908104826337.post-4965549580013990406</id><published>2012-06-15T04:57:00.001-07:00</published><updated>2012-06-15T04:57:38.586-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".net"/><category scheme="http://www.blogger.com/atom/ns#" term="EnterpriseLibrary"/><title type='text'>The referenced assembly could not be resolved because it has a dependency on &quot;System.Data.OracleClient, Version=4.0.0.0</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
One of my friend was having trouble in compiling the&amp;nbsp;application. &amp;nbsp;He saw the following warning message in Visual Studio. Since he was accessing the SQL server he neglected it. He&amp;nbsp;didn&#39;t&amp;nbsp;reference Oracle from any of his projects in the solution. He emailed me&amp;nbsp;the&amp;nbsp;solution , I checked the code and&amp;nbsp;dint&amp;nbsp;find&amp;nbsp;anything&amp;nbsp;wrong there.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;The referenced assembly could not be resolved because it has a dependency on &quot;System.Data.OracleClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&quot; which is not in the currently targeted framework &quot;.NETFramework,Version=v4.0,Profile=Client&quot;. Please remove references to assemblies not in the targeted framework or consider retargeting your project&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;Solution:&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6h27DCfflD5Tp0lzA0JgOXjkn10nZTAzKi22hG_tV1UaqOZvXYCeKxzZqAcYMOmzfP5cuS8msPp_pSlf-fvZmNKKUvJda5FOTvDogqmHg93z59DKj6YdXjtlg8LrIOKJ-sp_pBElc3PQ/s1600/frameworkClientProfile.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;158&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6h27DCfflD5Tp0lzA0JgOXjkn10nZTAzKi22hG_tV1UaqOZvXYCeKxzZqAcYMOmzfP5cuS8msPp_pSlf-fvZmNKKUvJda5FOTvDogqmHg93z59DKj6YdXjtlg8LrIOKJ-sp_pBElc3PQ/s320/frameworkClientProfile.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Change the application Framework Target from .Net Framework Client Profile to Main&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Root Cause:&lt;/b&gt;&lt;br /&gt;
.NET Framework 4 Client Profile does not include .NET Framework Data Provider for Oracle. Since Microsoft.Practices.EnterpriseLibrary.Data has a reference to System.Data.OracleClient this error is thrown.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thenetschool.blogspot.com/feeds/4965549580013990406/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thenetschool.blogspot.com/2012/06/referenced-assembly-could-not-be.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3427933908104826337/posts/default/4965549580013990406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3427933908104826337/posts/default/4965549580013990406'/><link rel='alternate' type='text/html' href='http://thenetschool.blogspot.com/2012/06/referenced-assembly-could-not-be.html' title='The referenced assembly could not be resolved because it has a dependency on &quot;System.Data.OracleClient, Version=4.0.0.0'/><author><name>Abhilash Chandran</name><uri>http://www.blogger.com/profile/00585050100369708773</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6h27DCfflD5Tp0lzA0JgOXjkn10nZTAzKi22hG_tV1UaqOZvXYCeKxzZqAcYMOmzfP5cuS8msPp_pSlf-fvZmNKKUvJda5FOTvDogqmHg93z59DKj6YdXjtlg8LrIOKJ-sp_pBElc3PQ/s72-c/frameworkClientProfile.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3427933908104826337.post-1688174839329910102</id><published>2012-06-03T12:09:00.000-07:00</published><updated>2012-06-03T12:58:49.776-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><title type='text'>Asp.net set theme : Theme vs. StyleSheetheme</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
You can set the theme of an asp.net page using the StylesheetTheme or Theme property&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;What is the difference between two?&lt;/strong&gt;&lt;br /&gt;
If you use the StyleSheetTheme attribute, settings can be overridden because properties defined by StyleSheetTheme are applied before a page’s control property set. If you use the Theme attribute, settings cannot be overridden because properties defined by Theme are applied after a page’s properties.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you provide both the properties, aspnet takes the value specified in &quot;theme&quot; property.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; CodeBehind=&quot;WebForm1.aspx.cs&quot; Inherits=&quot;WebApplication1.WebForm1&quot; &lt;strong&gt;StylesheetTheme&lt;/strong&gt;=&quot;black&quot; &lt;strong&gt;Theme&lt;/strong&gt;=&quot;red&quot; %&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thenetschool.blogspot.com/feeds/1688174839329910102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thenetschool.blogspot.com/2012/06/aspnet-set-theme-theme-vs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3427933908104826337/posts/default/1688174839329910102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3427933908104826337/posts/default/1688174839329910102'/><link rel='alternate' type='text/html' href='http://thenetschool.blogspot.com/2012/06/aspnet-set-theme-theme-vs.html' title='Asp.net set theme : Theme vs. StyleSheetheme'/><author><name>Abhilash Chandran</name><uri>http://www.blogger.com/profile/00585050100369708773</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3427933908104826337.post-8062890186852442646</id><published>2012-06-03T09:14:00.001-07:00</published><updated>2012-06-03T09:42:06.701-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".net"/><category scheme="http://www.blogger.com/atom/ns#" term="assembly"/><category scheme="http://www.blogger.com/atom/ns#" term="visual studio"/><title type='text'>Copy Local Property of a Reference</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
The Copy Local property of the reference is tricky. I was expecting once i set this property to true it will automatically copy all the related dlls to the build path. But unfortunately this is not the case. All the assemlies are not copied. &lt;br /&gt;
&lt;br /&gt;
From&amp;nbsp; MSDN (&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ez524kew%28VS.80%29.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/ez524kew%28VS.80%29.aspx&lt;/a&gt;)&lt;br /&gt;
At run time, components must be either in the output path of the project or in the Global Assembly Cache (GAC). If the project contains a reference to an object that is not in one of these locations, you must copy the reference to the output path of the project when you build the project. The CopyLocal property indicates whether this copy needs to be made. If the value is True, the reference is copied to the project directory when you build the project. If False, the reference is not copied.&lt;br /&gt;
&lt;br /&gt;
If you deploy an application that contains a reference to a custom component that is registered in the GAC, the component will not be deployed with the application, regardless of the CopyLocal setting. In previous versions of Visual Studio, you could set the CopyLocal property on a reference to ensure that the assembly was deployed. Now, you must manually add the assembly to the \Bin folder. This puts all custom code under scrutiny, reducing the risk of publishing custom code with which you are not familiar.&lt;br /&gt;
By default, the CopyLocal property is set to False if the assembly or component is in the global assembly cache or is a framework component. Otherwise, the value is set to True. Project-to-project references are always set to True.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thenetschool.blogspot.com/feeds/8062890186852442646/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thenetschool.blogspot.com/2012/06/copy-local-property-of-reference.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3427933908104826337/posts/default/8062890186852442646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3427933908104826337/posts/default/8062890186852442646'/><link rel='alternate' type='text/html' href='http://thenetschool.blogspot.com/2012/06/copy-local-property-of-reference.html' title='Copy Local Property of a Reference'/><author><name>Abhilash Chandran</name><uri>http://www.blogger.com/profile/00585050100369708773</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3427933908104826337.post-6468535786338521433</id><published>2012-06-03T08:53:00.000-07:00</published><updated>2012-06-03T08:53:37.435-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".net"/><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="visual studio"/><title type='text'>ASP.net Special folders</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Asp.net/visual studio has some special folders which has its own functions. We shouldnt be creating these folders for any other purpose.&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;strong&gt;App_Browsers:&lt;/strong&gt; Contains custom browser definition files (.browser files) that ASP.NET uses to identify browsers and determine their capabilities. The .NET Framework includes a standard set of browser definition files in &amp;lt;windir&amp;gt;\Microsoft.NET\Framework\&amp;lt;ver&amp;gt;\CONFIG\Browsers.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;App_Code:&lt;/strong&gt; Contains source code for classes (.cs, .vb, and .jsl files) that the developer intends to compile as part of the application.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;App_Global- Resources:&lt;/strong&gt; Contains resources (.resx and .resources files) that are compiled into satellite assemblies and have a global scope. Resource files are used to externalize text and images from your application code. This helps you support multiple languages and design-time changes without recompilation of source code.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;App_Local-Resources: &lt;/strong&gt;Contains resources (.resx and .resources files) that are scoped to a specific page, user control, or master page in an application.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;App_Themes:&lt;/strong&gt; Contains subfolders, each of which defines a specific theme (or look) for your site. A theme consists of files (such as .skin, .css, and image files) that define the appearance of webpages and controls.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;App_Web-References:&lt;/strong&gt;Contains web reference files (.wsdl, .xsd, .disco, and .discomap files) that define references to web services.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Bin:&lt;/strong&gt; Contains compiled assemblies (.dll files) for code that the application requires to execute. Assemblies in the Bin folder are automatically referenced in your application.&lt;/li&gt;
&lt;/ul&gt;
These folders are protected by ASP.NET. If users attempt to browse&lt;br /&gt;to any of these folders (except App_Themes), they will receive an HTTP 403 Forbidden error.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thenetschool.blogspot.com/feeds/6468535786338521433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thenetschool.blogspot.com/2012/06/aspnet-special-folders.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3427933908104826337/posts/default/6468535786338521433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3427933908104826337/posts/default/6468535786338521433'/><link rel='alternate' type='text/html' href='http://thenetschool.blogspot.com/2012/06/aspnet-special-folders.html' title='ASP.net Special folders'/><author><name>Abhilash Chandran</name><uri>http://www.blogger.com/profile/00585050100369708773</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3427933908104826337.post-4507960161303678844</id><published>2012-06-03T05:33:00.001-07:00</published><updated>2012-06-03T05:33:09.352-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="http"/><title type='text'>Common HTTP/1.1 Methods</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;strong&gt;GET - &lt;/strong&gt;&amp;nbsp;Gets an object, such as a webpage, from the server. A GET request for a specific URL (Uniform Resource Locator) retrieves the resource.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;POST&lt;/strong&gt; - Sends data to the web server for processing. This is typically what happens when users enter data on a form and submit that data as part of their request, but it has other meanings when used outside the bounds of HTML forms.&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;strong&gt;HEAD -&lt;/strong&gt;&amp;nbsp;Retrieves the meta information for an object without downloading the page itself. HEAD is typically used to verify that a resource hasn’t changed since the browser cached it.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;strong&gt;OPTIONS&lt;/strong&gt; - Used by client applications to request a list of all supported commands. You can use OPTIONS to check to see if a server allows a particular command&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;strong&gt;PUT&lt;/strong&gt; -Allows a client to directly create a resource at the indicated URL on the server. If the user has permission, the server takes the body of the request, creates the file specified in the URL, and copies the received data to the newly created file.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;strong&gt;DELETE -&lt;/strong&gt;&amp;nbsp;Deletes a resource on the web server if the user has permission.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;strong&gt;TRACE&lt;/strong&gt; - Used for testing or diagnostics; allows the client to see what is being received at the other end of the request chain&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;strong&gt;CONNECT&lt;/strong&gt; -&amp;nbsp;Reserved for use with a proxy that can dynamically switch to being a tunnel, such as with the SSL protocol.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;strong&gt;DEBUG&lt;/strong&gt;&amp;nbsp; - Starts ASP.NET debugging. This command informs Visual Studio of the process to which the debugger will attach&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thenetschool.blogspot.com/feeds/4507960161303678844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thenetschool.blogspot.com/2012/06/common-http11-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3427933908104826337/posts/default/4507960161303678844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3427933908104826337/posts/default/4507960161303678844'/><link rel='alternate' type='text/html' href='http://thenetschool.blogspot.com/2012/06/common-http11-methods.html' title='Common HTTP/1.1 Methods'/><author><name>Abhilash Chandran</name><uri>http://www.blogger.com/profile/00585050100369708773</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3427933908104826337.post-828409857995757753</id><published>2012-06-03T05:04:00.001-07:00</published><updated>2012-06-03T05:04:30.713-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".net"/><category scheme="http://www.blogger.com/atom/ns#" term="EnterpriseLibrary"/><title type='text'>DatabaseFactory.CreateDatabase error-  Object synchronization method was called from an unsynchronized block of code.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Yesterday one of my friends called me and said that he was getting an unusual exception form one of the projects which I had created long back. The only change he made was to add the latest Microsoft.Practices.EnterpriseLibrary &amp;nbsp;library 5.0.414.0&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
The error was&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;Object synchronization method was called from an unsynchronized block of code.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
The error observed was at the following line&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #2b91af; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-no-proof: yes;&quot;&gt;Database&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-no-proof: yes;&quot;&gt; db = &lt;span style=&quot;color: #2b91af;&quot;&gt;DatabaseFactory&lt;/span&gt;.CreateDatabase(_conStringName);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-no-proof: yes;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-no-proof: yes;&quot;&gt;This was a code which was runninig successfully foer years. Initially I suepected trhat my firend had accidentyly made some mistake but when I reviewed the code I didn’t see much changes. I quickly made the following changes in the code &amp;amp;amp; it worked !!!&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #2b91af; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-no-proof: yes;&quot;&gt;SqlDatabase&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-no-proof: yes;&quot;&gt; db = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;SqlDatabase&lt;/span&gt;(_conStringName);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-no-proof: yes;&quot;&gt;I think Microsoft should be more careful in making such changes which affect the existing runninig code.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thenetschool.blogspot.com/feeds/828409857995757753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thenetschool.blogspot.com/2012/06/databasefactorycreatedatabase-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3427933908104826337/posts/default/828409857995757753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3427933908104826337/posts/default/828409857995757753'/><link rel='alternate' type='text/html' href='http://thenetschool.blogspot.com/2012/06/databasefactorycreatedatabase-error.html' title='DatabaseFactory.CreateDatabase error-  Object synchronization method was called from an unsynchronized block of code.'/><author><name>Abhilash Chandran</name><uri>http://www.blogger.com/profile/00585050100369708773</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3427933908104826337.post-5442628292984263779</id><published>2012-06-03T04:57:00.001-07:00</published><updated>2012-06-03T04:57:46.425-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="http"/><title type='text'>HTTP header status codes</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
The status code available in the http header are usefull. Following are some of the common status codes &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table border=&quot;2&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Status Code Group&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;1xx Informational&lt;/td&gt;&lt;td&gt;The request was received, and the server is continuing to process.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;2xx Success&lt;/td&gt;&lt;td&gt;The action was successfully received, understood, and accepted.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;3xx Redirect Command&lt;/td&gt;&lt;td&gt;The client must access a different resource instead.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;4xx Client Error&lt;/td&gt;&lt;td&gt;The request has a syntax error or the server does not know how to fulfill the request.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;5xx Server Error&lt;/td&gt;&lt;td&gt;he server failed to fulfill a request that appears to be valid.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;table border=&quot;2&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Status Code&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;100 &lt;/td&gt;&lt;td&gt;Continue&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;200&lt;/td&gt;&lt;td&gt;OK&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;201&lt;/td&gt;&lt;td&gt;Created&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;300&lt;/td&gt;&lt;td&gt;Multiple Choices&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;301&lt;/td&gt;&lt;td&gt;Moved Permanently&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;302&lt;/td&gt;&lt;td&gt;Found&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;400&lt;/td&gt;&lt;td&gt;Bad Request&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;401&lt;/td&gt;&lt;td&gt;Unauthorized&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;403&lt;/td&gt;&lt;td&gt;Forbidden&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;404&lt;/td&gt;&lt;td&gt;Not Found&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;407 &lt;/td&gt;&lt;td&gt;Proxy Authentication Required&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;408&lt;/td&gt;&lt;td&gt;Request Time-out&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;413&lt;/td&gt;&lt;td&gt;Request Entity Too Large&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;500&lt;/td&gt;&lt;td&gt;Internal Server Error&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;501&lt;/td&gt;&lt;td&gt;Not Implemented&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thenetschool.blogspot.com/feeds/5442628292984263779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thenetschool.blogspot.com/2012/06/http-header-status-codes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3427933908104826337/posts/default/5442628292984263779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3427933908104826337/posts/default/5442628292984263779'/><link rel='alternate' type='text/html' href='http://thenetschool.blogspot.com/2012/06/http-header-status-codes.html' title='HTTP header status codes'/><author><name>Abhilash Chandran</name><uri>http://www.blogger.com/profile/00585050100369708773</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3427933908104826337.post-2824557734434838577</id><published>2012-06-03T04:52:00.001-07:00</published><updated>2012-06-03T04:52:28.549-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".net"/><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><title type='text'>Improvements in ASP.net 4 with Visual Studio 2010</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
• Simplified deployment of applications, settings, and data. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
• Easy redirection of search engine–friendly URLs to different pages.&lt;br /&gt;
&lt;br /&gt;
• Cascading style sheet–friendly rendering for many controls.&lt;br /&gt;
&lt;br /&gt;
• Applications that start up before the first user request.&lt;br /&gt;
&lt;br /&gt;
• Extensible request validation for more flexible security.&lt;br /&gt;
&lt;br /&gt;
• Easy setting of meta tags at run time.&lt;br /&gt;
&lt;br /&gt;
• The ability to enable view state for individual controls to reduce page sizes.&lt;br /&gt;
&lt;br /&gt;
• Static client IDs to allow web server controls to be reliably accessed from JavaScript.&lt;br /&gt;
&lt;br /&gt;
• The inclusion of AJAX jQuery scripts in Visual Studio templates.&lt;br /&gt;
&lt;br /&gt;
• Improved Language-Integrated Query (LINQ) capabilities for creation of strongly&lt;br /&gt;
&lt;br /&gt;
• typed queries for collections and databases.&lt;br /&gt;
&lt;br /&gt;
• Dynamic Data templates for rapid development of data-driven websites.&lt;br /&gt;
&lt;br /&gt;
• Compressed session state data.&lt;br /&gt;
&lt;br /&gt;
• A new Chart control for quick creation of interactive three-dimensional charts.&lt;br /&gt;
&lt;br /&gt;
• Built-in ASP.NET MVC 2 for creation of layered applications that are easily testable.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thenetschool.blogspot.com/feeds/2824557734434838577/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thenetschool.blogspot.com/2012/06/improvements-in-aspnet-4-with-visual.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3427933908104826337/posts/default/2824557734434838577'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3427933908104826337/posts/default/2824557734434838577'/><link rel='alternate' type='text/html' href='http://thenetschool.blogspot.com/2012/06/improvements-in-aspnet-4-with-visual.html' title='Improvements in ASP.net 4 with Visual Studio 2010'/><author><name>Abhilash Chandran</name><uri>http://www.blogger.com/profile/00585050100369708773</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>