<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Crystal Reports</title><link>http://forums.asp.net/76.aspx</link><description>Questions and discussions about Crystal Reports.  &lt;a target="_blank" href="http://aspadvice.com/SignUp/list.aspx?l=181&amp;c=11"&gt;Mailing List&lt;/a&gt; &lt;a href="http://www.businessobjects.com/devzone/009"&gt;Dev Zone&lt;/a&gt; &lt;a href="http://aspalliance.com/crystal/"&gt;Community&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: What the Logon Failed, Provider Cannot be Found error is and how to resolve</title><link>http://forums.asp.net/thread/3533953.aspx</link><pubDate>Thu, 26 Nov 2009 07:50:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3533953</guid><dc:creator>Hatinder</dc:creator><author>Hatinder</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3533953.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=76&amp;PostID=3533953</wfw:commentRss><description>&lt;p&gt;Thanks a Lot for the Link. This Solved my problem.&lt;/p&gt;</description></item><item><title>Re: What the Logon Failed, Provider Cannot be Found error is and how to resolve</title><link>http://forums.asp.net/thread/2658034.aspx</link><pubDate>Wed, 01 Oct 2008 22:24:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2658034</guid><dc:creator>mgarduno</dc:creator><author>mgarduno</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2658034.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=76&amp;PostID=2658034</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I found an alternative solution to this problem.&lt;/p&gt;&lt;p&gt;The reason this error is occurring is because the server is missing the sql native client drivers.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;To correct the problem install the SQL Native drivers.&lt;/p&gt;&lt;p&gt;You can download it on Microsoft.com here: &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&amp;amp;displaylang=en&lt;/a&gt;&lt;/p&gt;&lt;p&gt;The filename is &lt;b&gt;sqlncli.msi&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Run this install on the server to install the SQL Native client drivers and the problem will be resolved.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Mike&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: What the Logon Failed, Provider Cannot be Found error is and how to resolve</title><link>http://forums.asp.net/thread/1812447.aspx</link><pubDate>Thu, 19 Jul 2007 13:53:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1812447</guid><dc:creator>Glyph^</dc:creator><author>Glyph^</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1812447.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=76&amp;PostID=1812447</wfw:commentRss><description>&lt;p&gt;Thank you for this!&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: What the Logon Failed, Provider Cannot be Found error is and how to resolve</title><link>http://forums.asp.net/thread/1751744.aspx</link><pubDate>Tue, 12 Jun 2007 20:53:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1751744</guid><dc:creator>straightener</dc:creator><author>straightener</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1751744.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=76&amp;PostID=1751744</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;AnuradhaS:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;Hi, i m getting the same problem,&lt;/p&gt;
&lt;p&gt;but i m using Dataset, so no setting up provider for it..&lt;/p&gt;
&lt;p&gt;hw can i resolve this?&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Hmmm, if I was using a dataset to populate the report, then the problem is most likely with how you have configured the report in development and then&lt;/p&gt;
&lt;p&gt;when in production something in the production environment is changed or is missing that is causing this.&amp;nbsp;&amp;nbsp; Can you confirm that you do not have problems in &lt;/p&gt;
&lt;p&gt;development?&amp;nbsp; Can you post a code snippet for us to evaluate?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: What the Logon Failed, Provider Cannot be Found error is and how to resolve</title><link>http://forums.asp.net/thread/1751727.aspx</link><pubDate>Tue, 12 Jun 2007 20:40:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1751727</guid><dc:creator>pontupo</dc:creator><author>pontupo</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1751727.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=76&amp;PostID=1751727</wfw:commentRss><description>&lt;p&gt;Thanks so much for posting this! I spent about 5 hours trying to figure out my problem... turned off the automatic posting of the login prompt to get the error that I Google&amp;#39;d which led right back to the forums where I&amp;#39;d been posting looking for a solution.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;In reply to the poster above, I&amp;#39;m not completely sure that I know what Dataset means, but if it&amp;#39;s that you are pushing the data set to the Crystal report like so:&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;span class="cmt"&gt;conn = New SqlConnection(&amp;quot;server=server;Database=database;Integrated Security=false;User ID=user;Pwd=false&amp;quot;)
            query = &amp;quot;SELECT Company.Comp_Name, Opportunity.Oppo_Forecast, Opportunity.oppo_licensetot, Opportunity.oppo_textbooks, Opportunity.oppo_pd, Opportunity.oppo_schoolcare, Opportunity.Oppo_Deleted, Users.User_FirstName, Users.User_LastName, Opportunity.Oppo_Certainty, Opportunity.Oppo_Stage, Opportunity.Oppo_TargetClose, Opportunity.oppo_forcothpipe, Opportunity.Oppo_Status, Users.user_userlocation FROM   (CRM_CLIPRO.dbo.Company Company INNER JOIN CRM_CLIPRO.dbo.Opportunity Opportunity ON Company.Comp_CompanyId=Opportunity.Oppo_PrimaryCompanyId) INNER JOIN CRM_CLIPRO.dbo.Users Users ON Opportunity.Oppo_AssignedUserId=Users.User_UserId WHERE  (Opportunity.Oppo_Stage=N&amp;#39;0-Lead&amp;#39; OR Opportunity.Oppo_Stage=N&amp;#39;1-Contact&amp;#39; OR Opportunity.Oppo_Stage=N&amp;#39;2-Qualified&amp;#39; OR Opportunity.Oppo_Stage=N&amp;#39;3-Developed&amp;#39; OR Opportunity.Oppo_Stage=N&amp;#39;4-Eval/Negotiate&amp;#39; OR Opportunity.Oppo_Stage=N&amp;#39;5-InProcess&amp;#39; OR Opportunity.Oppo_Stage=N&amp;#39;6-Closed&amp;#39;) AND Opportunity.Oppo_Deleted IS  NULL  AND (Opportunity.oppo_forcothpipe=N&amp;#39;Forecast&amp;#39; OR Opportunity.oppo_forcothpipe=N&amp;#39;Pipe&amp;#39;) AND Opportunity.Oppo_Status=N&amp;#39;In Progress&amp;#39; AND (Opportunity.Oppo_TargetClose&amp;gt;=CONVERT(DATETIME, &amp;#39;2007-04-01 00:00:00&amp;#39;, 120) AND Opportunity.Oppo_TargetClose&amp;lt;CONVERT(DATETIME, &amp;#39;2007-07-01 00:00:00&amp;#39;, 120)) ORDER BY Users.user_userlocation, Users.User_LastName, Opportunity.oppo_forcothpipe&amp;quot;
            adaptor = New SqlDataAdapter(query, conn)
            dataSet = New Data.DataSet()
            adaptor.Fill(dataSet)
            forepipeq2.SetDataSource(dataSet)&lt;/span&gt;&lt;/pre&gt;&amp;nbsp;Then this may actually apply to you. It certainly did in my case anyway. My guess is that even though a number of the parameters in the data connection are accessible (like the server, database, etc.) and/or overwritable... I&amp;#39;m not sure if the type of connection is overwritten. In my case, at any rate, I found that I still had the problem even using the above technique and I still had to change my Crystal Reports to get it to work. *shrug*</description></item><item><title>Re: What the Logon Failed, Provider Cannot be Found error is and how to resolve</title><link>http://forums.asp.net/thread/1741329.aspx</link><pubDate>Wed, 06 Jun 2007 06:52:11 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1741329</guid><dc:creator>AnuradhaS</dc:creator><author>AnuradhaS</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1741329.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=76&amp;PostID=1741329</wfw:commentRss><description>&lt;p&gt;Hi, i m getting the same problem,&lt;/p&gt;
&lt;p&gt;but i m using Dataset, so no setting up provider for it..&lt;/p&gt;
&lt;p&gt;hw can i resolve this?&lt;/p&gt;</description></item><item><title>Re: What the Logon Failed, Provider Cannot be Found error is and how to resolve</title><link>http://forums.asp.net/thread/1683540.aspx</link><pubDate>Thu, 26 Apr 2007 14:07:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1683540</guid><dc:creator>jportelas</dc:creator><author>jportelas</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1683540.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=76&amp;PostID=1683540</wfw:commentRss><description>&lt;p&gt;This is a great idea, publishing the problem and the solution could help many other devs in the community.&lt;/p&gt;
&lt;p&gt;Thanks Bret!&lt;/p&gt;</description></item><item><title>Re: What the Logon Failed, Provider Cannot be Found error is and how to resolve</title><link>http://forums.asp.net/thread/1678175.aspx</link><pubDate>Mon, 23 Apr 2007 16:35:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1678175</guid><dc:creator>Xorcist</dc:creator><author>Xorcist</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1678175.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=76&amp;PostID=1678175</wfw:commentRss><description>Thank you for listing out the solution to your problem, I ran into this very same problem, ad your post just saved me hours of research and debugging. Thanks!</description></item><item><title>What the Logon Failed, Provider Cannot be Found error is and how to resolve</title><link>http://forums.asp.net/thread/1446926.aspx</link><pubDate>Mon, 30 Oct 2006 19:46:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1446926</guid><dc:creator>straightener</dc:creator><author>straightener</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1446926.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=76&amp;PostID=1446926</wfw:commentRss><description>&lt;p&gt;I wanted to post my problem and solution since I&amp;#39;ve gotten some good information on this board.&amp;nbsp;&amp;nbsp; When deploying my Visual Studio 2005 C# .NET 2.0 web application from our QA server to Production, I encountered some problems, which is not unusual.&amp;nbsp;&amp;nbsp; What was unusual is that two of my four Crystal Reports .NET reports that use the Report Viewer control would not work; they errored out with:&lt;/p&gt;&lt;p&gt;&amp;nbsp;Exception information: &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exception type: COMException &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exception message: Logon failed.&lt;br /&gt;Details: Error Code: 0x&lt;br /&gt;Source: ADODB.Connection&lt;br /&gt;Description: Provider cannot be found. It may not be properly installed.&lt;br /&gt;Error in File C:\WINDOWS\TEMP\Pie {DA99EAD9-419D-4570-A0D6-AD19CC13D399}.rpt:&lt;br /&gt;Unable to connect: incorrect log on parameters&lt;/p&gt;&lt;p&gt;After much research and trial and error, it turns out that I inadvertently used SQL Native Client or SQLNCLI instead of SQLOLEDB in the reports that did NOT work.&amp;nbsp; Switching these out without recreating the reports involved opening up the report for edit in Visual Studio, right-clicking on the report and choose Database, then Set Database Location, expand the properties node and right click on the provider, and change it to SQLOLEDB.&amp;nbsp;&amp;nbsp; Follow the rest of the wizard steps to verify the change, test it (of course), save it, then deploy it.&amp;nbsp;&amp;nbsp; Everything should work fine.&lt;/p&gt;&lt;p&gt;Bon courage!&lt;/p&gt;&lt;p&gt;Bret&lt;/p&gt;</description></item></channel></rss>