<?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-7050438635599820624</id><updated>2024-09-12T19:16:18.628-07:00</updated><category term="Crystal Report 10 with asp.net 2.0"/><category term="Crystal Reports for .Net Framework 2"/><category term="sql server 2000 error"/><category term="CRRedist2005_x86.msi"/><category term="HELM control Panel"/><category term="How to create charts in Asp.net 2.0 using Microsoft Chart control"/><category term="Solution to The conversion of a char data type to a datetime data type resulted in an out-of-range datetime"/><category term="Sql server 2000 Deployment"/><category term="The type initializer for &#39;CrystalDecisions.CrystalReports.Engine.ReportDocument&#39;"/><category term="WebSetup"/><category term="Windows Azure Cloud Computing"/><title type='text'>iD&#39;s Blog</title><subtitle type='html'>iD&#39;s Blog will have articles on Cloud / SaaS based Application, Windows Azure, Sql Azure, AppFabric, Asp.net 2.0/3.5/4.0, VB.net 2.0/3.5, Sql Server 2000/2005/2008, Ajax, C# 2.0/3.5, Asp.net to Azure Cloud.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://idu2u.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7050438635599820624/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://idu2u.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>iD</name><uri>http://www.blogger.com/profile/06067248908138397676</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>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7050438635599820624.post-8709492457896874137</id><published>2010-09-21T21:15:00.000-07:00</published><updated>2010-09-28T21:46:21.978-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Azure Cloud Computing"/><title type='text'>How to : Windows Azure Cloud online resources – Updated 29/09/2010</title><content type='html'>&lt;p&gt;Following is the list of articles / tutorials / FAQ on developing Asp.net application for Azure cloud using Visual Studio 2008 SP1 / Visual Studio 2010 / Asp.net / Web role / Worker role / AppFabric / SQLAzure / Sql Server.&lt;/p&gt;  &lt;p&gt;To start with, lets try following windows Azure cloud FAQ.&lt;/p&gt;  &lt;p&gt;&lt;a title=&quot;http://www.dotnetfunda.com/articles/article482-windows-azure-faq-part-1-.aspx&quot; href=&quot;http://www.dotnetfunda.com/articles/article482-windows-azure-faq-part-1-.aspx&quot;&gt;http://www.dotnetfunda.com/articles/article482-windows-azure-faq-part-1-.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Following article explains on how to develop your first basic Azure cloud application.&lt;/p&gt;  &lt;p&gt;1.&lt;/p&gt;  &lt;p&gt;&lt;a title=&quot;http://www.dotnetfunda.com/articles/article758-simple-5-steps-to-run-your-first-azure-program-.aspx&quot; href=&quot;http://www.dotnetfunda.com/articles/article758-simple-5-steps-to-run-your-first-azure-program-.aspx&quot;&gt;http://www.dotnetfunda.com/articles/article758-simple-5-steps-to-run-your-first-azure-program-.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;2.&lt;/p&gt;  &lt;p&gt;&lt;a title=&quot;http://blogs.msdn.com/b/katriend/archive/2009/01/04/windows-azure-installing-sdk-tools-and-creating-a-first-cloud-project.aspx&quot; href=&quot;http://blogs.msdn.com/b/katriend/archive/2009/01/04/windows-azure-installing-sdk-tools-and-creating-a-first-cloud-project.aspx&quot;&gt;http://blogs.msdn.com/b/katriend/archive/2009/01/04/windows-azure-installing-sdk-tools-and-creating-a-first-cloud-project.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;3. Video tutorial on getting started with Cloud application using windows Azure.&lt;/p&gt;  &lt;p&gt;&lt;a title=&quot;http://msdn.microsoft.com/en-us/ff380142.aspx&quot; href=&quot;http://msdn.microsoft.com/en-us/ff380142.aspx&quot;&gt;http://msdn.microsoft.com/en-us/ff380142.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Articles on How much will Cloud computing Cost ?&lt;/p&gt;  &lt;p&gt;1. Article explains the cloud consumption rate structure.&lt;/p&gt;  &lt;p&gt;&lt;a title=&quot;http://msdn.microsoft.com/en-us/library/ff803375.aspx&quot; href=&quot;http://msdn.microsoft.com/en-us/library/ff803375.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/ff803375.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;2. Be careful : Overspending on Cloud elasticity ?&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://blogs.gartner.com/daryl_plummer/2009/03/11/cloud-elasticity-could-make-you-go-broke/&quot;&gt;http://blogs.gartner.com/daryl_plummer/2009/03/11/cloud-elasticity-could-make-you-go-broke/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;3. Article on metering the cloud. &lt;/p&gt;  &lt;p&gt;&lt;a title=&quot;http://www.jinspired.com/products/jxinsight/meteringthecloud.html&quot; href=&quot;http://www.jinspired.com/products/jxinsight/meteringthecloud.html&quot;&gt;http://www.jinspired.com/products/jxinsight/meteringthecloud.html&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;4. Activity based costing (abc) for cloud computing&lt;/p&gt;  &lt;p&gt;&lt;a title=&quot;http://williamlouth.wordpress.com/2009/01/27/abc-for-cloud-computing/&quot; href=&quot;http://williamlouth.wordpress.com/2009/01/27/abc-for-cloud-computing/&quot;&gt;http://williamlouth.wordpress.com/2009/01/27/abc-for-cloud-computing/&lt;/a&gt;&lt;/p&gt;  &lt;div style=&quot;padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px&quot; id=&quot;scid:0767317B-992E-4b12-91E0-4F059A8CECA8:1fd2dd46-8efa-4015-aefb-92a4f41d4c84&quot; class=&quot;wlWriterEditableSmartContent&quot;&gt;Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/Windows+Azure&quot; rel=&quot;tag&quot;&gt;Windows Azure&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Cloud+computing&quot; rel=&quot;tag&quot;&gt;Cloud computing&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/asp.net+to+cloud&quot; rel=&quot;tag&quot;&gt;asp.net to cloud&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/asp.net+to+azure&quot; rel=&quot;tag&quot;&gt;asp.net to azure&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/how+to+start+cloud+programming&quot; rel=&quot;tag&quot;&gt;how to start cloud programming&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/how+to+develop+cloud+application+in+asp.net&quot; rel=&quot;tag&quot;&gt;how to develop cloud application in asp.net&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/web+role&quot; rel=&quot;tag&quot;&gt;web role&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/worker+role&quot; rel=&quot;tag&quot;&gt;worker role&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/appfabric&quot; rel=&quot;tag&quot;&gt;appfabric&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/sqlAzure&quot; rel=&quot;tag&quot;&gt;sqlAzure&lt;/a&gt;&lt;/div&gt;  </content><link rel='replies' type='application/atom+xml' href='http://idu2u.blogspot.com/feeds/8709492457896874137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idu2u.blogspot.com/2010/09/how-to-windows-azure-cloud-online.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7050438635599820624/posts/default/8709492457896874137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7050438635599820624/posts/default/8709492457896874137'/><link rel='alternate' type='text/html' href='http://idu2u.blogspot.com/2010/09/how-to-windows-azure-cloud-online.html' title='How to : Windows Azure Cloud online resources – Updated 29/09/2010'/><author><name>iD</name><uri>http://www.blogger.com/profile/06067248908138397676</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-7050438635599820624.post-1904593991934011698</id><published>2009-05-05T01:30:00.001-07:00</published><updated>2009-06-02T20:37:12.220-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Crystal Report 10 with asp.net 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="Crystal Reports for .Net Framework 2"/><title type='text'>solution to fix CrystalReportViewer toolbar export / print button not working problem in asp.net 2.0</title><content type='html'>&lt;p&gt;Hi,&lt;/p&gt;  &lt;p&gt;I created my asp.net 2.0 web application on my xp professional sp2 workstation using visual studio 2.0 and crystal report 10. Till this point everything is working fine. I can see my crystal report properly, its print function, export function is working properly.&lt;/p&gt;  &lt;p&gt;Once i deployed it in production, windows server 2003 machine. the crystal report viewer stopped showing the toolbar images, it just turned up as red cross with white background. when i click it nothing happened. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Solution :  &lt;span class=&quot;fullpost&quot;&gt; &lt;/strong&gt;After doing some research with the help of uncle google, and trying various things as suggested by other online experts. following solution worked for me.&lt;/p&gt;  &lt;p&gt;Copy &lt;strong&gt;CrystalReportWebFormViewer3&lt;/strong&gt; folder from development machine’s C:\Inetpub\wwwroot\aspnet_client\system_web\2_0_50727   (2_0_50727 becoz i m using .net 2.0 version.) and paste it to the production machine same location. &lt;/p&gt;  &lt;p&gt;That is it. It worked for me. I hope it helps others too.&lt;/p&gt;  &lt;p&gt;Happy programming.&lt;/p&gt;  &lt;div class=&quot;wlWriterEditableSmartContent&quot; id=&quot;scid:0767317B-992E-4b12-91E0-4F059A8CECA8:90fc2389-5e9b-4e5e-ab7a-ffd21b25a409&quot; style=&quot;margin: 0px; padding: 0px; display: inline; float: none;&quot;&gt;&lt;br /&gt;Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/solution+to+Crystal+report+viewer+toolbar+export+not+working&quot; rel=&quot;tag&quot;&gt;solution to Crystal report viewer toolbar export not working&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/crystalreport+export+button+not+displaying&quot; rel=&quot;tag&quot;&gt;crystalreport export button not displaying&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/crystal+report+deployment+problem&quot; rel=&quot;tag&quot;&gt;crystal report deployment problem&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://idu2u.blogspot.com/feeds/1904593991934011698/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idu2u.blogspot.com/2009/05/solution-to-fix-crystalreportviewer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7050438635599820624/posts/default/1904593991934011698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7050438635599820624/posts/default/1904593991934011698'/><link rel='alternate' type='text/html' href='http://idu2u.blogspot.com/2009/05/solution-to-fix-crystalreportviewer.html' title='solution to fix CrystalReportViewer toolbar export / print button not working problem in asp.net 2.0'/><author><name>iD</name><uri>http://www.blogger.com/profile/06067248908138397676</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-7050438635599820624.post-7713822650341361911</id><published>2009-04-28T18:58:00.001-07:00</published><updated>2009-04-28T19:02:59.582-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HELM control Panel"/><category scheme="http://www.blogger.com/atom/ns#" term="Sql server 2000 Deployment"/><title type='text'>How to upload/Deploy Sql server 2000 database on a remote web server using Helm control panel and Enterprise Manager</title><content type='html'>&lt;p&gt;I have an Asp.net 2.0 web application using sql server 2000 as back end. I want to deploy the web application on Web hosting company’s rented web server.&lt;/p&gt;  &lt;p&gt;The deployment of the asp.net 2.0 is done easily using the FTP (example filezilla). But to deploy the Database is quite tricky. &lt;/p&gt;  &lt;p&gt;(Steps using HELM control panel)&lt;/p&gt;  &lt;p&gt;Step 1: we need to create a database on the server, by logging in to the server using the HELM control panel, (details of accessing the Helm control panel will be pro&lt;/p&gt;  &lt;p&gt;vided by the Service provider).  Login –&amp;gt; Domains –&amp;gt; select ur domain –&amp;gt; Click Database manager –&amp;gt; select Sql server 2000 icon –&amp;gt; click New database and give the desired database name (E.g. MyDB). It will create an empty database on the server.(Also, note down the IP address, Port Number used. if you cant see the ip address and port number(xxx.xxx.xxx.xxx,&amp;amp;&amp;amp;&amp;amp;&amp;amp;), ask your service provider to get you the detail of port number)&lt;/p&gt;  &lt;p&gt;Step 2: Create the Database user, give the username n password that you will use to access the database from your web application / Enterprise manager (E.g. MyDBUser).&lt;/p&gt;  &lt;p&gt;(Steps using your local development/testing machine to upload the sql server 2000 database.)&lt;/p&gt;  &lt;p&gt;Step 3:  &lt;/p&gt;  &lt;p&gt;Open Enterprise Manager –&amp;gt; Select Register New Sql Server from left pane –&amp;gt; Registered Sql Sever Properties will popup as shown in the figure below. Key in the IP Address, Port No. (xxx.xxx.xxx.xxx,&amp;amp;&amp;amp;&amp;amp;&amp;amp;), without parenthesis. Give the username n pwd we just created in step 2&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh3.ggpht.com/_-4sFG9HiRGU/Sfe0J8-c-2I/AAAAAAAAAG8/7A5xdMpHiTo/s1600-h/sql1%5B3%5D.png&quot;&gt;&lt;img title=&quot;sql1&quot; style=&quot;border: 0px none ; display: inline;&quot; alt=&quot;sql1&quot; src=&quot;http://lh3.ggpht.com/_-4sFG9HiRGU/Sfe0Lf72-ZI/AAAAAAAAAHA/OA085UbGLic/sql1_thumb%5B3%5D.png?imgmax=800&quot; border=&quot;0&quot; width=&quot;465&quot; height=&quot;378&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Step 4:&lt;/p&gt;  &lt;p&gt;Once the Sql server is registered, you can use it like a local db and use DDL, DML statements very easily. &lt;/p&gt;  &lt;p&gt;I hope the post helps people to understand deployment better.&lt;/p&gt;  &lt;p&gt;If you like the post, please bookmark it and use friend connect to be my friend on this blog.&lt;/p&gt;  &lt;p&gt;Happy Programming.&lt;/p&gt;  &lt;div class=&quot;wlWriterEditableSmartContent&quot; id=&quot;scid:0767317B-992E-4b12-91E0-4F059A8CECA8:7df00c7f-d307-48e6-a93c-789443ca8fb8&quot; style=&quot;margin: 0px; padding: 0px; display: inline; float: none;&quot;&gt;Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/Sql+server+2000+Deployment+on+a+remote+server&quot; rel=&quot;tag&quot;&gt;Sql server 2000 Deployment on a remote server&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/helm+control+panel+sql+server&quot; rel=&quot;tag&quot;&gt;helm control panel sql server&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Enterprise+manager+to+deploy+sql+server+db+to+a+remote+server&quot; rel=&quot;tag&quot;&gt;Enterprise manager to deploy sql server db to a remote server&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://idu2u.blogspot.com/feeds/7713822650341361911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idu2u.blogspot.com/2009/04/how-to-upload-sql-server-2000-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7050438635599820624/posts/default/7713822650341361911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7050438635599820624/posts/default/7713822650341361911'/><link rel='alternate' type='text/html' href='http://idu2u.blogspot.com/2009/04/how-to-upload-sql-server-2000-database.html' title='How to upload/Deploy Sql server 2000 database on a remote web server using Helm control panel and Enterprise Manager'/><author><name>iD</name><uri>http://www.blogger.com/profile/06067248908138397676</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="http://lh3.ggpht.com/_-4sFG9HiRGU/Sfe0Lf72-ZI/AAAAAAAAAHA/OA085UbGLic/s72-c/sql1_thumb%5B3%5D.png?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7050438635599820624.post-6162844208192822053</id><published>2009-04-09T19:57:00.001-07:00</published><updated>2009-04-09T19:57:14.771-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sql server 2000 error"/><title type='text'>How to send email from Sql server 2000, Sql Server Agent, SqlMail</title><content type='html'>&lt;div class=&quot;wlWriterEditableSmartContent&quot; id=&quot;scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a83898bb-8067-4487-ba51-3fcc57061ff2&quot; style=&quot;padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px&quot;&gt;Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/How+to+send+email+from+Sql+server+2000+using+sql+mail&quot; rel=&quot;tag&quot;&gt;How to send email from Sql server 2000 using sql mail&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/email+from+sql+server+agent&quot; rel=&quot;tag&quot;&gt;email from sql server agent&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/error+22022&quot; rel=&quot;tag&quot;&gt;error 22022&lt;/a&gt;&lt;/div&gt;  &lt;p&gt;Some times we need to schedule a Sql Server Job for automatic execution on a certain date n time in Sql server 2000. This&amp;#160; Sql Server Agent Job could be execution of Stored procedure, system command, DTS, etc. Now, on the execution, we need sql server to notify by email to the concerned person in the company of the success or failure of the scheduled job. &lt;/p&gt;  &lt;p&gt;Now, Sending an email from sql server 2000 is a bit tricky. Lets start doing it step by step. We will consider Sql Server machine is using Microsoft Exchange Server / Outlook. (There are other ways to do it. But I am considering it only thru MS exchange server.)&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;Go to Controlpanel --&amp;gt; administrative tools --&amp;gt; Service --&amp;gt; select the MSSQLSERVER –&amp;gt; right click go to properties –&amp;gt; log on tab –&amp;gt;   &lt;br /&gt;log on as this account –&amp;gt; key in&amp;#160; domain\administrator user and give password. Apply, Restart the MSSQLSERVER SErvice&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 2 :&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Open the Enterprise Manager –&amp;gt; expand the database server tree on the left pane –&amp;gt; navigate to the &lt;strong&gt;Support Service &lt;/strong&gt;folder --&amp;gt; &lt;strong&gt;SQL mail&lt;/strong&gt; --&amp;gt; right click and select &lt;strong&gt;properties&lt;/strong&gt; –&amp;gt;&lt;strong&gt; PRofile name&lt;/strong&gt; : you can see OUTLOOK by default and all the profiles created on the machine using Microsoft Exchange Server/ used in outlook. Select the OUTLOOK or the profile you want to use to send email from sql server, in the Profile name. Click &lt;strong&gt;Test&lt;/strong&gt; to check the email is sent to the selected profile email id. Close the dialog box.&lt;/p&gt;  &lt;p&gt;(Note : if you are not able to see any profiles in the Proflie Name section, it means your MSSQLSERVER is not running under the same windows NT account as the email profile you want to use for sql server mail)&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 3 :&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Open the Enterprise Manager –&amp;gt; expand the database server tree on the left pane –&amp;gt; navigate to the&lt;strong&gt; Management&lt;/strong&gt; Folder –&amp;gt; Check whether &lt;strong&gt;Sql server Agent &lt;/strong&gt;is running or not, if not right click and select &lt;strong&gt;Start. –&amp;gt; &lt;/strong&gt;expand Sql Server Agent and select &lt;strong&gt;Operators&lt;/strong&gt; –&amp;gt; Right click &lt;strong&gt;Operators&lt;/strong&gt; –&amp;gt; select &lt;strong&gt;New operator&lt;/strong&gt; –&amp;gt; Give &lt;strong&gt;Name&lt;/strong&gt; of the operator in the Name field –&amp;gt; select &lt;strong&gt;Email&lt;/strong&gt; to be notified on the action like success or failure of a job.&amp;#160; (click … button to open the Outlook AD address book ) –&amp;gt; click &lt;strong&gt;Test&lt;/strong&gt; button to send the test email to the selected email id. Click OK to close the dialog box.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 4:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;While still in Management folder tree in Enterprise Manager select &lt;strong&gt;Jobs&lt;/strong&gt; under the &lt;strong&gt;Sql Server Agent –&amp;gt; &lt;/strong&gt;Right click&lt;strong&gt; jobs, &lt;/strong&gt;select &lt;strong&gt;New Job &lt;/strong&gt;, on &lt;strong&gt;General Tab&lt;/strong&gt; give Job Name, let the category and owner be default, if you r scheduling Stored procedure. –&amp;gt;&lt;/p&gt;  &lt;p&gt; Go to &lt;strong&gt;Steps Tab&lt;/strong&gt;, click on &lt;strong&gt;New&lt;/strong&gt; button to create a new Step, in &lt;strong&gt;Name&lt;/strong&gt; textbox, give the name of Step viz. Step1. In &lt;strong&gt;Type&lt;/strong&gt; Dropdown, select &lt;strong&gt;Transact Sql Script&lt;/strong&gt; - &lt;strong&gt;T-Sql&lt;/strong&gt;, in &lt;strong&gt;Database&lt;/strong&gt; Dropdown select the appropriate Database where you have saved the SP. In the &lt;strong&gt;Command &lt;/strong&gt;section give the Stored procedure to execute. (e.g. Exec SpMyFirstSchedule (with parameters if any)) or give the system command to perform any system task. Click on the &lt;strong&gt;Advanced Tab&lt;/strong&gt;, give path to Output file, the job will save the resultset of the SP at the given path, if any. Click OK to close the Step Dialog box. Now, you are back to Jobs dialog box.&amp;#160; &lt;/p&gt;  &lt;p&gt;--&amp;gt; select the third tab, called &lt;strong&gt;schedule tab&lt;/strong&gt; –&amp;gt; click &lt;strong&gt;New Schedule&lt;/strong&gt; button, give Schedule name in the dailog box that opens, and select the schedule when you wnat the job to automatically execute. you have option of executing it once, or every week or when the system is idle or everytime when sql server agent starts. Click OK to close the dialog box. now you are back to Jobs dialog box.&lt;/p&gt;  &lt;p&gt;--&amp;gt; select the forth tab, &lt;strong&gt;Notifications. &lt;/strong&gt;Select the &lt;strong&gt;Email Operator&lt;/strong&gt; Check box and select the operator we created just now (refer Step 3). You can Choose to send the notification when the Job completes, either when the job is successful or when job fails.&amp;#160; If it is a one time job, you can select the checkbox to delete the job as soon as it is successful. &lt;strong&gt;End of step 4.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Alternatively You can also send the detailed email to the stake holders from the stored procedure itself, using master.dbo.xp_sendmail.&lt;/p&gt;  &lt;p&gt;if you get the errors described below, the solution can be achived if you carefully follow the steps given.&lt;/p&gt;  &lt;p&gt;Related Errors:&lt;/p&gt;  &lt;p&gt;Solution : Error 22022: SQL Server Agent Error: The SQL Server Agent Mail Session is not Running;Check the mail profile and/or    &lt;br /&gt;the SQL Server Agent Service Startup account in the SQL     &lt;br /&gt;Server Agent Properties Dialog.&lt;/p&gt;  &lt;p&gt;Refer following links for other similar articles.&lt;/p&gt;  &lt;p&gt;&lt;a title=&quot;http://www.mssqlserver.com/articles/sqlmail_p1.asp&quot; href=&quot;http://www.mssqlserver.com/articles/sqlmail_p1.asp&quot;&gt;http://www.mssqlserver.com/articles/sqlmail_p1.asp&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a title=&quot;http://support.microsoft.com/?id=263556&quot; href=&quot;http://support.microsoft.com/?id=263556&quot;&gt;http://support.microsoft.com/?id=263556&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Happy programming.&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://idu2u.blogspot.com/feeds/6162844208192822053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idu2u.blogspot.com/2009/04/how-to-send-email-from-sql-server-2000.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7050438635599820624/posts/default/6162844208192822053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7050438635599820624/posts/default/6162844208192822053'/><link rel='alternate' type='text/html' href='http://idu2u.blogspot.com/2009/04/how-to-send-email-from-sql-server-2000.html' title='How to send email from Sql server 2000, Sql Server Agent, SqlMail'/><author><name>iD</name><uri>http://www.blogger.com/profile/06067248908138397676</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-7050438635599820624.post-4176415818496831341</id><published>2009-03-21T11:13:00.001-07:00</published><updated>2009-03-21T11:19:48.495-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="How to create charts in Asp.net 2.0 using Microsoft Chart control"/><title type='text'>How to Create Charts in Asp.Net 2.0 using Microsoft Chart .Net 3.5</title><content type='html'>&lt;p&gt;Hi,&lt;/p&gt;  &lt;p&gt;Today, I would like to share my view on how to create chart in Asp.net 2.0. As we all know traditionally microsoft asp.net didnt had support for Charts from its own factory. But, after Microsoft Took over Dundas chart, Microsoft is providing the Drag and Drop Chart functionality for visual studio 2008 or .Net framework 3.5.&lt;/p&gt;  &lt;p&gt;To start with, You will need to download the Following&amp;#160; :&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&amp;amp;displaylang=en&quot; target=&quot;_blank&quot;&gt;Microsoft .Net Framework 3.5&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyID=AB99342F-5D1A-413D-8319-81DA479AB0D7&amp;amp;displaylang=en&quot; target=&quot;_blank&quot;&gt;Microsoft .Net Framework 3.5 SP1&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyID=130f7986-bf49-4fe5-9ca8-910ae6ea442c&amp;amp;displaylang=en&quot; target=&quot;_blank&quot;&gt;Microsoft Chart for .Net 3.5&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;You will need to install them in the order mentioned. Because the Chart control is a part of .Net Framework 3.5 SP1. &lt;/p&gt;  &lt;p&gt;Once the installation is done, you are ready to create stunning Charts in Asp.net without using any third party tool.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Create a New Website in Visual Studio 2005.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; Look for a Chart Control in the Toolbox. Drag and drop it to proceed. (if you are not able to find chart control, right click toolbox Add tab, give it a name &lt;strong&gt;Chart. &lt;/strong&gt;Right click Chart Tab –&amp;gt; Add Items, Browse to Program Files –&amp;gt; Microsoft Chart controls –&amp;gt; Assemblies –&amp;gt; System.Web.DataVisualization.dll. Once you add this dll, you will have chart control in your toolbox)&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 3: &lt;/strong&gt;Add SqlDataSource and configure it to Northwind database and the simple query as shown in the image below.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh5.ggpht.com/_-4sFG9HiRGU/ScUt4ukheLI/AAAAAAAAAFU/3wvG5cTTvAk/s1600-h/datasource%5B5%5D.jpg&quot;&gt;&lt;img title=&quot;datasource&quot; style=&quot;border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px&quot; height=&quot;260&quot; alt=&quot;datasource&quot; src=&quot;http://lh4.ggpht.com/_-4sFG9HiRGU/ScUt6w0LLbI/AAAAAAAAAFY/SjFvoKkv9W0/datasource_thumb%5B3%5D.jpg?imgmax=800&quot; width=&quot;431&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 4:&lt;/strong&gt; Click on the Smart tag of Chart control and select SqlDataSource1 for the Datasource.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 5:&lt;/strong&gt; Now lets do some basic configuration. there are basically 2 important properties you need to know to start creating Charts in Asp.net 2.0 &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;1) ChartAreas: &lt;/strong&gt;Click the (…) button next to ChartAreas in property window of Chart1. Change the Property values related to &lt;strong&gt;Appearance&lt;/strong&gt; of the chart like its background color, to suit your website color themes.&lt;/p&gt;  &lt;p&gt;-&amp;gt;&amp;#160; Locate the &lt;strong&gt;Axis&lt;/strong&gt; Property in the ChartArea Collection Editor, click on the (…) button to open the &lt;strong&gt;Axis collection editor&lt;/strong&gt;, Select &lt;strong&gt;X Axis&lt;/strong&gt; from the left pane, and select &lt;strong&gt;Title&lt;/strong&gt; property from the right. Type in ‘Countries’ in &lt;strong&gt;Title&lt;/strong&gt; property&lt;/p&gt;  &lt;p&gt;-&amp;gt; Select &lt;strong&gt;Y (value) Axis&lt;/strong&gt; from left pane and select &lt;strong&gt;Title&lt;/strong&gt; from right pane, enter ‘Count’ in &lt;strong&gt;Title&lt;/strong&gt; Property. Click OK to clost the window.&lt;/p&gt;  &lt;p&gt;-&amp;gt; Select &lt;strong&gt;Axis&lt;/strong&gt; Property from left pane, find &lt;strong&gt;X Axis&lt;/strong&gt;, &lt;strong&gt;LabelStyle&lt;/strong&gt; Section, Modify the &lt;strong&gt;Angle&lt;/strong&gt; Property to –90 and &lt;strong&gt;Interval&lt;/strong&gt; to 1, This is required to display all the values in X axis.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;2) Series: &lt;/strong&gt;Select the Chart control, from properties, select &lt;strong&gt;Series&lt;/strong&gt; property and click on (…) button to open up the &lt;strong&gt;Series Collection Editor.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;-&amp;gt; In the left pane Series1 will be selected by default, now select &lt;strong&gt;X Value Member&lt;/strong&gt; property from right pane, and select the appropriate column name coming from database. In our case select ‘country’.&lt;/p&gt;  &lt;p&gt;-&amp;gt; Again, Select &lt;strong&gt;Y Value Member&lt;/strong&gt; property in right pane and select ‘Count’ column.&lt;/p&gt;  &lt;p&gt;That is it, We are ready to display the chart, before we execute it, let me tell you about the 3D view of the Chart. Select the ChartAreas Property collection, Look for &lt;strong&gt;Area3DStyle &lt;/strong&gt;in the right pane, expand it by clicking on the + sign and set &lt;strong&gt;(Enable3D)&lt;/strong&gt; to &lt;strong&gt;True&lt;/strong&gt;. This will help us to display the chart in 3D angle.&lt;/p&gt;  &lt;p&gt;This is how it look likes when you run it.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh3.ggpht.com/_-4sFG9HiRGU/ScUt9VIcOVI/AAAAAAAAAFc/3ZkL122xMJk/s1600-h/column%5B4%5D.jpg&quot;&gt;&lt;img title=&quot;column&quot; style=&quot;border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px&quot; height=&quot;239&quot; alt=&quot;column&quot; src=&quot;http://lh6.ggpht.com/_-4sFG9HiRGU/ScUt_BlwqzI/AAAAAAAAAFg/wqaD3Vke8ps/column_thumb%5B2%5D.jpg?imgmax=800&quot; width=&quot;469&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;And ya, to change the chart to any other format you like just follow simple step, &lt;/p&gt;  &lt;p&gt;-&amp;gt; Select Series collection from property window, Select different chart type from ChartType property, see the image below to get better idea.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh3.ggpht.com/_-4sFG9HiRGU/ScUuBxrycyI/AAAAAAAAAFk/xgQ9dcwmii0/s1600-h/charttype%5B4%5D.jpg&quot;&gt;&lt;img title=&quot;charttype&quot; style=&quot;border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px&quot; height=&quot;251&quot; alt=&quot;charttype&quot; src=&quot;http://lh6.ggpht.com/_-4sFG9HiRGU/ScUuD3ANplI/AAAAAAAAAFo/zXuDqSk2Zkk/charttype_thumb%5B2%5D.jpg?imgmax=800&quot; width=&quot;460&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Below are the few types of chart we can create using Microsoft Chart control.&lt;/p&gt;  &lt;p&gt;Bubble&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh4.ggpht.com/_-4sFG9HiRGU/ScUuGOPu5II/AAAAAAAAAFs/oJxet7qf0Es/s1600-h/bubble%5B3%5D.jpg&quot;&gt;&lt;img title=&quot;bubble&quot; style=&quot;border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px&quot; height=&quot;161&quot; alt=&quot;bubble&quot; src=&quot;http://lh5.ggpht.com/_-4sFG9HiRGU/ScUuH_DYR1I/AAAAAAAAAFw/pBR3eOgso0g/bubble_thumb%5B1%5D.jpg?imgmax=800&quot; width=&quot;467&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Doughnut&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh4.ggpht.com/_-4sFG9HiRGU/ScUuN9OPZyI/AAAAAAAAAF0/tDEW9s8U84E/s1600-h/doughnut%5B3%5D.jpg&quot;&gt;&lt;img title=&quot;doughnut&quot; style=&quot;border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px&quot; height=&quot;159&quot; alt=&quot;doughnut&quot; src=&quot;http://lh6.ggpht.com/_-4sFG9HiRGU/ScUuPrWC9XI/AAAAAAAAAF4/gASAd9fPALU/doughnut_thumb%5B1%5D.jpg?imgmax=800&quot; width=&quot;477&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Pyramid&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh3.ggpht.com/_-4sFG9HiRGU/ScUuSEv9VkI/AAAAAAAAAF8/YipUSt5N-Iw/s1600-h/pyramid%5B3%5D.jpg&quot;&gt;&lt;img title=&quot;pyramid&quot; style=&quot;border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px&quot; height=&quot;163&quot; alt=&quot;pyramid&quot; src=&quot;http://lh5.ggpht.com/_-4sFG9HiRGU/ScUuTnGRZrI/AAAAAAAAAGA/rE16fhAhw-4/pyramid_thumb%5B1%5D.jpg?imgmax=800&quot; width=&quot;485&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I hope i have done justice to this article, my next article will discuss about some common errors you may face as a beginner to Chart control.&lt;/p&gt;  &lt;p&gt;Do comment if you have any doubts.&lt;/p&gt;  &lt;div class=&quot;wlWriterEditableSmartContent&quot; id=&quot;scid:0767317B-992E-4b12-91E0-4F059A8CECA8:159e6fa0-4f67-4326-b2f3-df9b8964eb9e&quot; style=&quot;padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px&quot;&gt;Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/Microsoft+Chart+Control&quot; rel=&quot;tag&quot;&gt;Microsoft Chart Control&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Chart+for+Asp.net+3.5&quot; rel=&quot;tag&quot;&gt;Chart for Asp.net 3.5&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/chart+for+Asp.net+2.0&quot; rel=&quot;tag&quot;&gt;chart for Asp.net 2.0&lt;/a&gt;&lt;/div&gt;  &lt;p&gt;Happy programming&lt;/p&gt;  &lt;p&gt;Source : &lt;a href=&quot;http://weblogs.asp.net/dwahlin/archive/2008/11/25/getting-started-with-the-asp-net-3-5-chart-control.aspx&quot; target=&quot;_blank&quot;&gt;Here&lt;/a&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://idu2u.blogspot.com/feeds/4176415818496831341/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idu2u.blogspot.com/2009/03/how-to-create-charts-in-aspnet-20-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7050438635599820624/posts/default/4176415818496831341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7050438635599820624/posts/default/4176415818496831341'/><link rel='alternate' type='text/html' href='http://idu2u.blogspot.com/2009/03/how-to-create-charts-in-aspnet-20-using.html' title='How to Create Charts in Asp.Net 2.0 using Microsoft Chart .Net 3.5'/><author><name>iD</name><uri>http://www.blogger.com/profile/06067248908138397676</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="http://lh4.ggpht.com/_-4sFG9HiRGU/ScUt6w0LLbI/AAAAAAAAAFY/SjFvoKkv9W0/s72-c/datasource_thumb%5B3%5D.jpg?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7050438635599820624.post-956400476956435574</id><published>2009-03-13T10:09:00.000-07:00</published><updated>2009-03-13T20:48:19.531-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Solution to The conversion of a char data type to a datetime data type resulted in an out-of-range datetime"/><category scheme="http://www.blogger.com/atom/ns#" term="sql server 2000 error"/><title type='text'>Solution to The conversion of a char data type to a datetime data type resulted in an out-of-range datetime</title><content type='html'>Hi,&lt;br /&gt;&lt;br /&gt;I would like to share my opinion on one of the problems i faced while working with datetime format in Asp.net 2.0 and sql server 2000  on windows server 2003.&lt;br /&gt;&lt;br /&gt;I encountered an error &lt;strong&gt;&#39;The conversion of a char data type to a datetime data type resulted in an out-of-range datetime&#39;&lt;/strong&gt;. while trying to save a date to the datetime column in database. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The Reason :&lt;/strong&gt; Sql server supports the datetime format depending upon the regional datetime setting of the database server. so if your development server supposet MM/dd/yyyy , not necessarily your production or testing database server will support the same format. As a result you might have done coding to save it in a particular format &amp; the same code may not work on another server.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution :&lt;/strong&gt; After trying various things i came to a conclusion the best way to handle this error is to have precautionary steps while dealing with them.&lt;br /&gt;&lt;br /&gt;Consider a case, where you just want to store the date.. without timestamp. as sql server doesnt have any specific date format you need to save the date in datetime dtatype column in database. &lt;br /&gt;You can first create a stored procedure with the insert statement&lt;br /&gt;&lt;br /&gt;CREATE PROCEDURE [dbo].[spInsert_] &lt;br /&gt;@dt datetime&lt;br /&gt;AS&lt;br /&gt;BEGIN&lt;br /&gt;Insert into IDtable (dt) values (@dt);&lt;br /&gt;GO&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;Now call the above stored procedure from front end asp.net 2.0 code.&lt;br /&gt;&lt;br /&gt; Dim dt As DateTime = DateTime.Now.ToString(&quot;yyyy-MM-dd&quot;)&lt;br /&gt;            MyCmd.Connection = MyCon&lt;br /&gt;            MyCmd.CommandType = Data.CommandType.StoredProcedure&lt;br /&gt;            MyCmd.CommandText = &quot;spInsert_&quot;&lt;br /&gt;            MyCmd.Parameters.Add(&quot;@dt&quot;, SqlDbType.DateTime)&lt;br /&gt;            MyCmd.Parameters(&quot;@dt&quot;).Value = dt&lt;br /&gt;            MyCmd.Transaction = trans&lt;br /&gt;            Dim res As Integer = MyCmd.ExecuteNonQuery()&lt;br /&gt;           &lt;br /&gt;Here, I would like to point out, the universal format supported by sql server is yyyy-MM-dd hh:nn:ss  where nn is minutes...&lt;br /&gt;&lt;br /&gt;so if you make a practice of storing your data in the said format, you will never encounter this error...&lt;br /&gt;&lt;br /&gt;second important thing is to use Store Procedure with parameters, you can just pass the date value as parameter to store procedure, it will do the necessary casting.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Other solution :&lt;/strong&gt; &lt;br /&gt;SET DATEFORMAT dmy&lt;br /&gt;before executing any sql statement. (i havent tried this one)&lt;br /&gt;&lt;br /&gt;Source : http://social.msdn.microsoft.com/Forums/en-US/adodotnetdataproviders/thread/095eb7a7-222a-4a15-8301-2a2acca2ca3f/&lt;br /&gt;&lt;br /&gt;if you find my article useful, do leave a comment.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;happy programming&lt;br /&gt;Idu&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://technorati.com/faves?sub=addfavbtn&amp;amp;add=http://idu2u.blogspot.com&quot;&gt;&lt;img src=&quot;http://static.technorati.com/pix/fave/btn-fave2.png&quot; alt=&quot;Add to Technorati Favorites&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://idu2u.blogspot.com/feeds/956400476956435574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idu2u.blogspot.com/2009/03/solution-to-conversion-of-char-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7050438635599820624/posts/default/956400476956435574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7050438635599820624/posts/default/956400476956435574'/><link rel='alternate' type='text/html' href='http://idu2u.blogspot.com/2009/03/solution-to-conversion-of-char-data.html' title='Solution to The conversion of a char data type to a datetime data type resulted in an out-of-range datetime'/><author><name>iD</name><uri>http://www.blogger.com/profile/06067248908138397676</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-7050438635599820624.post-2705150712024529048</id><published>2009-03-04T22:02:00.000-08:00</published><updated>2009-03-09T08:45:46.337-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CRRedist2005_x86.msi"/><category scheme="http://www.blogger.com/atom/ns#" term="Crystal Report 10 with asp.net 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="Crystal Reports for .Net Framework 2"/><category scheme="http://www.blogger.com/atom/ns#" term="The type initializer for &#39;CrystalDecisions.CrystalReports.Engine.ReportDocument&#39;"/><category scheme="http://www.blogger.com/atom/ns#" term="WebSetup"/><title type='text'>error The type initializer for &#39;CrystalDecisions.CrystalReports.Engine.ReportDocument&#39;  while asp.net 2.0, crystal report 10 deployment</title><content type='html'>Hi,&lt;br /&gt;&lt;br /&gt;I have developed a web application using Asp.net 2.0, Crystal report 10, Ajax, Sql server 2k.&lt;br /&gt;Crystal report work fine on development machine. but once i tried to deploy it in production environment ( windows server 2003, iis 6.0).&lt;br /&gt;&lt;br /&gt;I came across following error while executing the Crystal report on production server&lt;br /&gt;&lt;br /&gt;error The type initializer for &#39;CrystalDecisions.CrystalReports.Engine.ReportDocument&#39;.&lt;br /&gt;&lt;br /&gt;after googling it for quite some time.. i came across one of the post on msdn forum.&lt;br /&gt;&lt;br /&gt;The solution is :&lt;br /&gt;&lt;br /&gt;Open the asp.net 2.0 web application to be deployed in visual studio 2005&lt;br /&gt;&lt;br /&gt;Add New project -&gt; select the Setup and deployment from left pane and WebSetup from right pane.&lt;br /&gt;&lt;br /&gt;click on the setup project and then click on properties.&lt;br /&gt;&lt;br /&gt;From there click on the prerequisite button.&lt;br /&gt;&lt;br /&gt;Check Crystal Reports for .Net Framework 2. (and other necessary dependencies like MDAC 2.8)&lt;br /&gt;&lt;br /&gt;I then selected download prerequsites from the same location as my application.&lt;br /&gt;&lt;br /&gt;Rebuild the setup project.&lt;br /&gt;&lt;br /&gt;Go to the WebSetup Project folder, you will find &lt;strong&gt;CRRedist2005_x86.msi &lt;/strong&gt;file under CrystalReport Folder (under Release or Debug folder, which ever u selected prior to building the websetup) .&lt;br /&gt;&lt;br /&gt;I ran this CRRedist2005_x86.msi file on the Production machine and it worked like charm&lt;br /&gt;&lt;br /&gt;I hope it helps.&lt;br /&gt;Cheers&lt;br /&gt;Happy Programming&lt;br /&gt;Source : msdn.microsoft.com&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://technorati.com/faves?sub=addfavbtn&amp;amp;add=http://idu2u.blogspot.com&quot;&gt;&lt;img src=&quot;http://static.technorati.com/pix/fave/btn-fave2.png&quot; alt=&quot;Add to Technorati Favorites&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://idu2u.blogspot.com/feeds/2705150712024529048/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://idu2u.blogspot.com/2009/03/error-type-initializer-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7050438635599820624/posts/default/2705150712024529048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7050438635599820624/posts/default/2705150712024529048'/><link rel='alternate' type='text/html' href='http://idu2u.blogspot.com/2009/03/error-type-initializer-for.html' title='error The type initializer for &#39;CrystalDecisions.CrystalReports.Engine.ReportDocument&#39;  while asp.net 2.0, crystal report 10 deployment'/><author><name>iD</name><uri>http://www.blogger.com/profile/06067248908138397676</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>