<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-33939787</id><updated>2011-11-27T15:28:08.745-08:00</updated><category term='asp.net'/><category term='error'/><category term='cannot execute a program'/><title type='text'>Sachin Uchil TroubleShooting ASP.NET</title><subtitle type='html'>This blog contains solutions to the different errors/problems i came across while developing web based appilcations in asp .net</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sachinmca.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-33939787.post-431183143627936070</id><published>2009-06-27T09:16:00.000-07:00</published><updated>2009-06-27T09:22:02.321-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cannot execute a program'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='error'/><title type='text'></title><content type='html'>&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;font-family:georgia;" &gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:100%;"&gt;Cannot execute a program. The command being executed was "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /noconfig /fullpaths&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-431183143627936070?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/431183143627936070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/431183143627936070'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2009/06/cannot-execute-program.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-6519816163673570722</id><published>2009-06-17T11:18:00.000-07:00</published><updated>2009-06-17T11:20:15.004-07:00</updated><title type='text'></title><content type='html'>Please check my new site... &lt;a href="http://www.sachinuchil.com/"&gt;Sachin Uchil&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-6519816163673570722?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/6519816163673570722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/6519816163673570722'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2009/06/please-check-my-new-site.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-4331458899748135351</id><published>2008-03-28T02:14:00.000-07:00</published><updated>2008-03-28T02:17:16.758-07:00</updated><title type='text'></title><content type='html'>&lt;p&gt;&lt;span style="font-family:georgia;"&gt;System.Net.Mail.SmtpException:&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:georgia;"&gt;The operation has timed out. at System.Net.Mail.SmtpClient.Send (MailMessage message)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;Solution : &lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-4331458899748135351?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/4331458899748135351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/4331458899748135351'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2008/03/system.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-2102004780064881771</id><published>2008-03-28T01:01:00.000-07:00</published><updated>2008-03-28T01:02:12.459-07:00</updated><title type='text'></title><content type='html'>&lt;p&gt;&lt;span style="font-family:georgia;"&gt;Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;Solution : &lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-2102004780064881771?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/2102004780064881771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/2102004780064881771'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2008/03/sys.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-6545091767432925863</id><published>2008-03-28T00:57:00.000-07:00</published><updated>2008-03-28T01:01:42.524-07:00</updated><title type='text'></title><content type='html'>&lt;p&gt;&lt;span style="font-family:georgia;"&gt;Failed to send mail : that domain isnt in my list of allowed rctphosts &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;Solution :&lt;/span&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-6545091767432925863?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/6545091767432925863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/6545091767432925863'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2008/03/failed-to-send-mail-that-domain-isnt-in.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-4997988163859781716</id><published>2008-03-04T05:16:00.000-08:00</published><updated>2008-03-04T05:19:13.278-08:00</updated><title type='text'></title><content type='html'>&lt;span style="font-family:georgia;"&gt;&lt;strong&gt;'Theme' is not a member of 'ASP.Default_aspx'&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Solution : &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-4997988163859781716?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/4997988163859781716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/4997988163859781716'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2008/03/theme-is-not-member-of-asp.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-2998804324999003611</id><published>2008-02-07T21:13:00.001-08:00</published><updated>2008-02-07T21:13:42.118-08:00</updated><title type='text'></title><content type='html'>Email error :  mailbox not found&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-2998804324999003611?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/2998804324999003611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/2998804324999003611'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2008/02/email-error-mailbox-not-found.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-5127078866940588222</id><published>2008-02-07T21:12:00.005-08:00</published><updated>2008-02-07T21:12:45.738-08:00</updated><title type='text'></title><content type='html'>Server Application Unavailable&lt;br /&gt;The web application you are attempting to access on this web server is currently unavailable.  Please hit the "Refresh" button in your web browser to retry your request.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-5127078866940588222?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/5127078866940588222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/5127078866940588222'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2008/02/server-application-unavailable-web.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-7472361581779733377</id><published>2008-02-07T21:12:00.003-08:00</published><updated>2008-02-07T21:12:30.382-08:00</updated><title type='text'></title><content type='html'>Failed to access IIS metabase. Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase. The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see &lt;a href="http://support.microsoft.com/?kbid=267904"&gt;http://support.microsoft.com/?kbid=267904&lt;/a&gt;.&lt;br /&gt;Solution : this error can mean one thing.. u installed iis after installing .net.&lt;br /&gt;cmd&gt;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Aspnet_regiis –i&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-7472361581779733377?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/7472361581779733377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/7472361581779733377'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2008/02/failed-to-access-iis-metabase.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-5330925488355532303</id><published>2008-02-07T21:12:00.001-08:00</published><updated>2008-02-07T21:12:13.321-08:00</updated><title type='text'></title><content type='html'>Unable to start debugging on the web server. This project is using a website that is configured to use a specific IP address. Specify he machine name in the project URL. Please see Help for assistance.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-5330925488355532303?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/5330925488355532303'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/5330925488355532303'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2008/02/unable-to-start-debugging-on-web-server.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-2388755432794512425</id><published>2008-02-07T21:11:00.005-08:00</published><updated>2008-02-07T21:11:53.117-08:00</updated><title type='text'></title><content type='html'>Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-2388755432794512425?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/2388755432794512425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/2388755432794512425'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2008/02/showing-modal-dialog-box-or-form-when.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-4462585448725715311</id><published>2008-02-07T21:11:00.003-08:00</published><updated>2008-02-07T21:11:38.612-08:00</updated><title type='text'></title><content type='html'>A transport-level error has occurred when sending the request to the server. (provider: Named Pipes Provider, error: 0 - The pipe is being closed.)&lt;br /&gt;Error when ..&lt;br /&gt;Solution:&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-4462585448725715311?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/4462585448725715311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/4462585448725715311'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2008/02/transport-level-error-has-occurred-when.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-5318065180523844767</id><published>2008-02-07T21:11:00.001-08:00</published><updated>2008-02-07T21:11:25.615-08:00</updated><title type='text'></title><content type='html'>Invalid postback or callback argument.  Event validation is enabled using &lt;pages enableeventvalidation="true"&gt; in configuration or &lt;%@ Page EnableEventValidation="true" %&gt; in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.&lt;br /&gt;Error when .. clicked on logout in admin home page&lt;br /&gt;Solution:&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-5318065180523844767?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/5318065180523844767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/5318065180523844767'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2008/02/invalid-postback-or-callback-argument.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-2440049755795962390</id><published>2008-02-07T21:10:00.002-08:00</published><updated>2008-02-07T21:11:02.016-08:00</updated><title type='text'></title><content type='html'>An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)&lt;br /&gt;Error on Conn.Open()&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-2440049755795962390?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/2440049755795962390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/2440049755795962390'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2008/02/error-has-occurred-while-establishing.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-1980811068987885499</id><published>2008-02-07T21:10:00.001-08:00</published><updated>2008-02-07T21:10:38.619-08:00</updated><title type='text'></title><content type='html'>Value of type 'System.Web.UI.WebControls.TableRow' cannot be converted to 'System.Web.UI.HtmlControls.HtmlTableRow'.&lt;br /&gt;Get this eror when dynamically adding a row to a tableSolution:&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-1980811068987885499?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/1980811068987885499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/1980811068987885499'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2008/02/value-of-type-system.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-3662507501484004753</id><published>2008-02-07T21:09:00.000-08:00</published><updated>2008-02-07T21:10:15.534-08:00</updated><title type='text'></title><content type='html'>Concurrency violation: the UpdateCommand affected 0 of the expected 1 records.&lt;br /&gt;U get this error when using update on a dataset … if the command fails&lt;br /&gt;Solution :&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-3662507501484004753?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/3662507501484004753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/3662507501484004753'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2008/02/concurrency-violation-updatecommand.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-6879532367559246826</id><published>2008-02-07T21:06:00.000-08:00</published><updated>2008-02-07T21:08:13.954-08:00</updated><title type='text'></title><content type='html'>&lt;span style="font-family:georgia;"&gt;&lt;strong&gt;Control 'ctl00_ContentPlaceHolder1_gv' of type 'GridView' must be placed inside a form tag with runat=server.&lt;br /&gt;&lt;/strong&gt;&lt;span style="font-size:85%;"&gt;Z code&lt;br /&gt;Response.Clear()&lt;br /&gt;        Response.AddHeader("Content-Disposition", "inline;filename=Backup.xls")&lt;br /&gt;        Response.Charset = "iso-8859-1,windows-1252"&lt;br /&gt;        Response.Cache.SetCacheability(HttpCacheability.NoCache)&lt;br /&gt;        Response.ContentEncoding = System.Text.Encoding.UTF7&lt;br /&gt;        Response.ContentType = "application/vnd.ms-excel"&lt;br /&gt;        Page.EnableViewState = False&lt;br /&gt;        Dim strwrite As New System.IO.StringWriter&lt;br /&gt;        Dim htmwrire As New System.Web.UI.HtmlTextWriter(strwrite)&lt;br /&gt;        'gv.Columns(0).Visible = "False"&lt;br /&gt;        GridView1.RenderControl(htmwrire)&lt;br /&gt;        Response.Write(strwrite.ToString())&lt;br /&gt;        Response.End()&lt;br /&gt;&lt;br /&gt;Z Method to include on the page&lt;br /&gt;&lt;br /&gt;Public Overrides Sub VerifyRenderingInServerForm(ByVal control As System.Web.UI.Control)&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;Z code to be added in Page directive&lt;br /&gt;&lt;br /&gt;&lt;%@ Page EnableEventValidation="false" %&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-6879532367559246826?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/6879532367559246826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/6879532367559246826'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2008/02/control-ctl00contentplaceholder1gv-of.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-8327297381409191699</id><published>2008-02-07T02:51:00.001-08:00</published><updated>2008-02-07T02:51:53.547-08:00</updated><title type='text'></title><content type='html'>invalid uri: the format of the uri could not be determined&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-8327297381409191699?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/8327297381409191699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/8327297381409191699'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2008/02/invalid-uri-format-of-uri-could-not-be.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-4499866178746879818</id><published>2007-06-14T02:55:00.000-07:00</published><updated>2008-02-02T02:14:51.077-08:00</updated><title type='text'></title><content type='html'>&lt;h2 style="FONT-WEIGHT: bold;font-family:georgia;" &gt;&lt;span style="font-size:85%;"&gt;Theme 'XYZ' cannot be found in the application or global theme directories.&lt;/span&gt;&lt;/h2&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#cccccc;"&gt;&lt;span style="font-family:georgia;"&gt;The themes in ur site have to be placed in App_Themes folder. Even if u have done this, sometimes the system throws the above error.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;To solve this...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;1&gt; Make sure u have ur .css and .skin file in the folder named 'XYZ'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;2&gt; Copy this folder to the location "C:\Windows\ Microsoft.NET\ Framework\ v2.0.50727\ ASP.NETClientFiles\Themes".&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;3&gt; If u have uploaded the file on a server also make sure u have the folder at the following path:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;"\wwwroot\aspnet_client\system_web\v2.0.50727\Themes"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-4499866178746879818?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/4499866178746879818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/4499866178746879818'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2007/06/theme-xyz-cannot-be-found-in.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-3459207653169125828</id><published>2007-05-23T06:16:00.000-07:00</published><updated>2008-02-02T02:16:03.747-08:00</updated><title type='text'></title><content type='html'>&lt;span style="font-size:130%;"&gt;&lt;span style="FONT-WEIGHT: bold;font-family:georgia;" &gt;&lt;span style="font-size:100%;"&gt;Login failed for user "Sachin"&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="FONT-WEIGHT: bold;font-family:georgia;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:georgia;font-size:85%;color:#cccccc;"&gt;There is a very simple solution for this...&lt;br /&gt;just check the connection string you have used, wrong values in the connection string cause this error.&lt;br /&gt;Check if the username and password you are using for connection are correct for the specified database.&lt;br /&gt;&lt;br /&gt;If u dont know the Username n Password try "sa" as username and a blank password.&lt;br /&gt;&lt;br /&gt;And if this dosent work try this ...&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(0,0,128);font-family:Tahoma;font-size:85%;color:#cccccc;"   &gt;&lt;span style="color:#cccccc;"&gt;1.&lt;/span&gt; &lt;span style="color:#cccccc;"&gt;Click &lt;strong&gt;Start&lt;/strong&gt; - &lt;strong&gt;Programs&lt;/strong&gt; - &lt;strong&gt;Microsoft SQL Server&lt;/strong&gt; - &lt;strong&gt;Enterprise Manager&lt;/strong&gt; to open the Enterprise Manager.&lt;br /&gt;&lt;br /&gt;2. Connect to the appropriate Server if the SQL is a client installation.&lt;br /&gt;&lt;br /&gt;3. Right click on the Server Node and click on &lt;strong&gt;Properties&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;4. This opens the Properties Dialog.&lt;br /&gt;&lt;br /&gt;5. Switch to the &lt;strong&gt;Security&lt;/strong&gt; Tab.&lt;br /&gt;&lt;br /&gt;6. Under the Security section, make sure the Option &lt;strong&gt;SQL Server and Windows&lt;/strong&gt; is selected.&lt;br /&gt;&lt;br /&gt;7. This ensures that your SQL Server is running under Mixed Mode Authentication.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-3459207653169125828?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/3459207653169125828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/3459207653169125828'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2007/05/login-failed-for-user-ideamama.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-3140159299227011202</id><published>2007-05-11T01:11:00.000-07:00</published><updated>2008-02-02T02:17:05.577-08:00</updated><title type='text'></title><content type='html'>&lt;span style="font-family:georgia;"&gt;&lt;span style="FONT-WEIGHT: bold"&gt;"Timeout expired. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="FONT-WEIGHT: bold"&gt;The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#cccccc;"&gt;"Connection Pooling allows an application to reuse open connection handles, which saves round-trips to the server."&lt;br /&gt;This occurs when you try using more than Max Pool Size connections. By default, the max pool size is 100. If we try to obtain connection more than max pool size, then ADO.NET waits for Connection Timeout for the connection from the pool. If even after that connection is not available, we get the above exception.&lt;br /&gt;Solution(s):&lt;br /&gt;1. Very first step that we should do is – Ensure that every connection that is opened, is Closed explicitly. At times what happens is, we open the connection, performs the desired database operation, but we do not close the connection explicitly. Internally it cannot be used as available valid connection from pool. The application would have to wait for GC to claim it, until then it is not marked as available from pool. In such case, even though you are not using max pool size number of connection simultaneously, you may get this error. This is the most probable cause of this issue.&lt;br /&gt;2. Increase Max Pool Size value to a sufficient Max value. You can do so by including "Max Pool Size = N;" in the connection string, where N is the new Max Pool size.&lt;br /&gt;3. Set the Pooling Off. Well, this indeed is not a good idea as Connection Pooling puts a positive performance effect but it definitely is better that getting any such exceptions. &lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-3140159299227011202?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/3140159299227011202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/3140159299227011202'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2007/05/timeout-expired.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-5847135677385963214</id><published>2007-04-24T03:54:00.000-07:00</published><updated>2008-02-02T02:18:41.936-08:00</updated><title type='text'></title><content type='html'>&lt;span style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="font-size:100%;"&gt;System.Web.HttpException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that &lt;machinekey&gt;configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.&lt;/machinekey&gt;&lt;/span&gt;&lt;/strong&gt;&lt;machinekey&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="color:#cccccc;"&gt;In web.config write following... &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#cccccc;"&gt;"page enableviewstatemac="False"&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#000099;"&gt;&lt;page enableviewstatemca="False"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-5847135677385963214?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/5847135677385963214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/5847135677385963214'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2007/04/system.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-33939787.post-5393903493593117742</id><published>2007-04-24T03:33:00.000-07:00</published><updated>2008-02-02T02:19:09.623-08:00</updated><title type='text'></title><content type='html'>&lt;strong&gt;&lt;span style="font-family:georgia;"&gt;The name 'Request' does not exist in the current context&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family:georgia;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;span style="font-size:85%;color:#cccccc;"&gt;This e&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:georgia;font-size:85%;color:#cccccc;"&gt;rror normally occurs when you are trying to access a property such as Request.Cookies and you're not doing that from a webform, usercontrol or a class that inherits from System.Web.UI.You can still access these properties, but using a different path.&lt;br /&gt;For example to access a cookie with the name MyCookie you would normally use Request.Cookies["MyCookie"]; however, if the error The name 'Request' does not exist in the current context is returned, use the following path for retrieving the cookie:&lt;br /&gt;System.Web.HttpContext.Current.Request.Cookies["MyCookie"];&lt;br /&gt;This eror may also occour for "Server" etc..&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="font-family:georgia;"&gt;&lt;span style="color:#cccccc;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="font-family:georgia;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33939787-5393903493593117742?l=sachinmca.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/5393903493593117742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/33939787/posts/default/5393903493593117742'/><link rel='alternate' type='text/html' href='http://sachinmca.blogspot.com/2007/04/name-request-does-not-exist-in-current.html' title=''/><author><name>Sachin</name><uri>http://www.blogger.com/profile/03352788402645895445</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://bp2.blogger.com/_VUYm8DR6Suo/R6RINc1T5bI/AAAAAAAAAIM/UYSTw0zTtVQ/S220/homer-simpson-3.jpg'/></author></entry></feed>
