ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2017 www.aspforums.com. All rights reserved.what is Fiddler and how its helpfull in wcf service<p>"HTTP data inspector Fiddler." what is the use of this and give me any article &nbsp;for&nbsp;how to use fiddler to monitor wcf service in detail</p>http://www.aspforums.net/Threads/417939/what-is-Fiddler-and-how-its-helpfull-in-wcf-service/http://www.aspforums.net/Threads/417939/what-is-Fiddler-and-how-its-helpfull-in-wcf-service/Thu, 24 Jul 2014 02:30:40 GMTVisual Studio localhost Port casuing problems for Crystal Reports in ASP.Net<p>Hi, I have created a dataset with 3 tables and trying to fill this dataset using dataadapter(By executing stored procedure). The data is getting filled into the dataset but it is not getting displayed in the crystal report(Getting blank report). Pls refer by code below :<br /><br /></p> <pre class="brush: csharp">using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Configuration; using System.Data.SqlClient; using CrystalDecisions.CrystalReports.Engine; namespace CrystalEx { public partial class WebForm1 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { string sqlCon = &#34;Server=ServerName;Database=DBName;uid=sa;pwd=sa;connection timeout=3600;&#34;; SqlConnection sqlConn = new SqlConnection(sqlCon); SqlDataAdapter sqlAdap = new SqlDataAdapter(); //TQReportCM is a stored procedure , i am selecting a record by passing one parameter sqlAdap.SelectCommand = new SqlCommand(&#34;TQReportCM&#34;, sqlConn); sqlConn.Open(); DataSet1 ds = new DataSet1(); sqlAdap.SelectCommand.CommandType = CommandType.StoredProcedure; sqlAdap.SelectCommand.Connection = sqlConn; sqlAdap.SelectCommand.Parameters.Add(&#34;@CmNo&#34;, SqlDbType.NVarChar, 400).Value = &#34;1&#34;; sqlAdap.Fill(ds, ds.CM.TableName); //TQReportCRPOCis a stored procedure , i am selecting a record by passing one parameter sqlAdap.SelectCommand = new SqlCommand(&#34;TQReportCRPOC&#34;, sqlConn); sqlAdap.SelectCommand.CommandType = CommandType.StoredProcedure; sqlAdap.SelectCommand.Connection = sqlConn; sqlAdap.SelectCommand.Parameters.Add(&#34;@Name&#34;, SqlDbType.NVarChar, 400).Value = &#34;hello&#34;; sqlAdap.Fill(ds, ds.CRPOC.TableName); //TQReportSelectHS is a stored procedure , i am selecting a record by passing one parameter sqlAdap.SelectCommand = new SqlCommand(&#34;TQReportSelectHS&#34;, sqlConn); sqlAdap.SelectCommand.CommandType = CommandType.StoredProcedure; sqlAdap.SelectCommand.Connection = sqlConn; sqlAdap.SelectCommand.Parameters.Add(&#34;@FirstName&#34;, SqlDbType.NVarChar, 400).Value = &#34;abcd&#34;; sqlAdap.Fill(ds, ds.Customer.TableName); ReportDocument rptDoc = new ReportDocument(); rptDoc.Load(Server.MapPath(&#34;CrystalReport1.rpt&#34;)); rptDoc.SetDataSource(ds); CrystalReportViewer1.DataBind(); CrystalReportViewer1.ReportSource = rptDoc; } } }</pre> <p>Any help would be appreciated.<br />Thanks in advance</p>http://www.aspforums.net/Threads/287059/Visual-Studio-localhost-Port-casuing-problems-for-Crystal-Reports-in-ASPNet/http://www.aspforums.net/Threads/287059/Visual-Studio-localhost-Port-casuing-problems-for-Crystal-Reports-in-ASPNet/Thu, 08 Aug 2013 09:10:49 GMTVisual Studio Crystal Report does not work in IE 10 browser<p>How to make <strong>Crystal Report</strong> using inbuilt sql express <strong>in VisualStudio2012</strong>??</p>http://www.aspforums.net/Threads/123150/Visual-Studio-Crystal-Report-does-not-work-in-IE-10-browser/http://www.aspforums.net/Threads/123150/Visual-Studio-Crystal-Report-does-not-work-in-IE-10-browser/Thu, 10 Oct 2013 01:54:15 GMTVisual Studio crashing as soon as i try to add crystal Report<p>using VS2005 web application</p> <p>when i even try to add crystal report rpt to the application visual studio shutsdown</p> <p>i tried repairing VS &amp; even checked if ccrystal report is checked while installation</p> <p>&nbsp;</p> <p>but still the same issue</p> <p>so wanted to check log files if i can get any info</p> <p>where can i find the log files for the same</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/161771/Visual-Studio-crashing-as-soon-as-i-try-to-add-crystal-Report/http://www.aspforums.net/Threads/161771/Visual-Studio-crashing-as-soon-as-i-try-to-add-crystal-Report/Sat, 26 May 2012 01:05:24 GMTVersion of Crystal Report runtime that would work with website built using visual studio 2010 and hosted with IIS7<p>which version of crystal report would be install with visual studio 2010 ultimate which can be work perfectly with IIS7.</p>http://www.aspforums.net/Threads/105275/Version-of-Crystal-Report-runtime-that-would-work-with-website-built-using-visual-studio-2010-and-hosted-with-IIS7/http://www.aspforums.net/Threads/105275/Version-of-Crystal-Report-runtime-that-would-work-with-website-built-using-visual-studio-2010-and-hosted-with-IIS7/Sat, 05 Jan 2013 03:02:58 GMTUsing Hindi or Marathi fonts in Crystal Reports in ASP.Net<p>HI Mudassar,</p> <p>I am Exporting Crystal Report to pdf in hindi font it displaying &nbsp;as boxes&nbsp;i have installed adobe reader 11.0 with asian extended language pack in my local system bit still i am facing issue please help in solving this issue thanks in advance.(English is working fine problem is with only with hindi font)</p>http://www.aspforums.net/Threads/535806/Using-Hindi-or-Marathi-fonts-in-Crystal-Reports-in-ASPNet/http://www.aspforums.net/Threads/535806/Using-Hindi-or-Marathi-fonts-in-Crystal-Reports-in-ASPNet/Tue, 08 Apr 2014 23:27:29 GMTUsing Crystal Reports PrintToPrinter command with ASP.Net<p>i am using this code for printing when i try printing from client system its printing on server printer . &nbsp;Helpp</p> <p>&nbsp;</p> <pre class="brush: csharp"> DateTime curdate = Convert.ToDateTime(TextBox1.Text); SqlDataAdapter da = null; DataTable dt = new DataTable(); DataTable dt1 = new DataTable(); con.Open(); SqlCommand cmd = new SqlCommand(&#34;SELECT * FROM Transactions where report_type = @report_type AND dateadd(dd, datediff(dd,0, [R_date]), 0) = @R_date&#34;); cmd.Connection = con; cmd.Parameters.Add(&#34;@report_type&#34;, SqlDbType.NVarChar).Value = DropDownList1.SelectedValue; cmd.Parameters.Add(&#34;@R_date&#34;, SqlDbType.DateTime).Value = curdate.Date; da = new SqlDataAdapter(cmd); dt.Clear(); da.Fill(dt); if (dt.Rows.Count &gt; 0) { ReportDocument Report = new ReportDocument(); Report.Load(Server.MapPath(&#34;~/Report.rpt&#34;)); Report.SetDataSource(dt); TableLogOnInfos crtableLogoninfos = new TableLogOnInfos(); TableLogOnInfo crtableLogoninfo = new TableLogOnInfo(); ConnectionInfo crConnectionInfo = new ConnectionInfo(); Tables CrTables; Report.SetDatabaseLogon(&#34;sa&#34;, &#34;123456789&#34;, @&#34;TRAINING-ROOM-8&#34;, &#34;newMreport&#34;); CrystalReportViewer1.ReportSource = Report; CrystalReportViewer1.ReportSource = Report; CrystalReportViewer1.DataBind(); CrTables = Report.Database.Tables; foreach (CrystalDecisions.CrystalReports.Engine.Table CrTable in CrTables) { crtableLogoninfo = CrTable.LogOnInfo; crtableLogoninfo.ConnectionInfo = crConnectionInfo; CrTable.ApplyLogOnInfo(crtableLogoninfo); } Report.Refresh(); Report.PrintToPrinter(1, true, 1, 1); con.Close(); } }</pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/104209/Using-Crystal-Reports-PrintToPrinter-command-with-ASPNet/http://www.aspforums.net/Threads/104209/Using-Crystal-Reports-PrintToPrinter-command-with-ASPNet/Sun, 02 Dec 2012 22:45:02 GMTUsing Crystal Reports in ASP.Net Example<p>how to make crystal report from asp.net project?</p>http://www.aspforums.net/Threads/595317/Using-Crystal-Reports-in-ASPNet-Example/http://www.aspforums.net/Threads/595317/Using-Crystal-Reports-in-ASPNet-Example/Thu, 01 Nov 2012 22:49:33 GMTUse Crystal report made uisng vs 2008(crystal report 10) in crystal report viewer 13 in ASP.Net<p>what happens if i build web app (.net 3.5, vs 2008) with crystal report basic for vs 2008 (cr basic 10) and i publish it in server which using crystal report viewer 13?</p> <p>can it runs smoothly? if error what can i do?must i upgrade my crystal report?</p>http://www.aspforums.net/Threads/630502/Use-Crystal-report-made-uisng-vs-2008crystal-report-10-in-crystal-report-viewer-13-in-ASPNet/http://www.aspforums.net/Threads/630502/Use-Crystal-report-made-uisng-vs-2008crystal-report-10-in-crystal-report-viewer-13-in-ASPNet/Wed, 08 Jun 2016 07:08:06 GMTService1 service failed to start due to the following error: Service1 is not a valid Win32 application<p>After installation when i am starting the windows service. I am getting the error:</p> <p>Error 193: 0xc1 &nbsp; windows could not start the service on local computer.</p> <div class="body"> <p>In Windows Logs in Event Viewer, i am getting this error:</p> <p>The RocketBackupDatabase service failed to start due to the following error: <br />RocketBackupDatabase is not a valid Win32 application.</p> <p>what is the solution of this. Please suggest me.</p> </div> <p>what is the solution of this error. Please suggest me.</p>http://www.aspforums.net/Threads/111352/Service1-service-failed-to-start-due-to-the-following-error-Service1-is-not-a-valid-Win32-application/http://www.aspforums.net/Threads/111352/Service1-service-failed-to-start-due-to-the-following-error-Service1-is-not-a-valid-Win32-application/Thu, 17 Jan 2013 03:23:33 GMTUpload Download Files using Web Service in ASP.Net<p>hi<br />My web service Return Files bytes Correctly .<br /><strong>service Code is as Follows...</strong></p> <p>&nbsp;</p> <pre class="brush: csharp">[WebMethod()] public byte[] Download_Files_From_Database1(string File_ID) { try { byte[] buffer = null; using (SqlConnection con = new SqlConnection(&#34;ConnString&#34;)) { using (SqlCommand cmd = new SqlCommand()) { cmd.CommandText = &#34;select ID,File_Name,File_Extension,File_Content_types,File_Size,File_Uploaded_Date,File_Data from dbo.File_Information (nolock) where Id=@Id&#34;; cmd.Parameters.AddWithValue(&#34;@id&#34;, File_ID); cmd.Connection = con; con.Open(); SqlDataReader dr = cmd.ExecuteReader(); if (dr.Read()) { buffer = new byte[Convert.ToInt32(dr[&#34;File_Size&#34;])]; buffer = (byte[])dr[&#34;File_Data&#34;]; } } } return buffer; } catch (Exception ex) { throw ex; } } </pre> <p><strong>and Client Side Code is</strong></p> <pre class="brush: csharp">protected void lnkDownload1_Click(object sender, EventArgs e) { Stream download = null; try { LinkButton lnkbtn = sender as LinkButton; GridViewRow gvrow = lnkbtn.NamingContainer as GridViewRow; int fileid = Convert.ToInt32(GridView1.DataKeys[gvrow.RowIndex].Values[&#34;ID&#34;].ToString()); string File_Name = GridView1.DataKeys[gvrow.RowIndex].Values[&#34;File_Name&#34;].ToString(); string File_Content_types = GridView1.DataKeys[gvrow.RowIndex].Values[&#34;File_Content_types&#34;].ToString(); string Ext = GridView1.DataKeys[gvrow.RowIndex].Values[&#34;File_Extension&#34;].ToString(); //// Url Working Perfect string url = &#34;http://localhost:13817/Web_Service_File_Download_Service_Side_Example2/WebService.asmx/Download_Files_From_Database1?File_ID=&#34; + fileid; HttpWebRequest Request_From_Client = WebRequest.Create(url) as HttpWebRequest; Request_From_Client.Method = &#34;GET&#34;; HttpWebResponse response_From_Server = Request_From_Client.GetResponse() as HttpWebResponse; Stream stream = response_From_Server.GetResponseStream(); Response.ContentType = &#34;application/octet-stream&#34;; Response.AppendHeader(&#34;Content-Disposition&#34;, &#34;attachment; filename=&#34; + File_Name); const int bufferLength = 10000; byte[] buffer = new Byte[bufferLength]; int length = 0; download = stream; do { if (Response.IsClientConnected) { length = download.Read(buffer, 0, bufferLength); Response.OutputStream.Write(buffer, 0, length); buffer = new Byte[bufferLength]; } else { length = -1; } } while (length &gt; 0); Response.Flush(); Response.End(); } catch (Exception ex) { System.Web.HttpContext.Current.Response.Write(&#34;Error : &#34; + ex.Message); } finally { if (download != null) download.Close(); } } </pre> <p>can any body help me.<br />when i hit url it gives required Output.<br />but not using in above code</p>http://www.aspforums.net/Threads/207572/Upload-Download-Files-using-Web-Service-in-ASPNet/http://www.aspforums.net/Threads/207572/Upload-Download-Files-using-Web-Service-in-ASPNet/Mon, 14 Jul 2014 18:47:52 GMTreport error<p>Error&nbsp;&nbsp; &nbsp;43&nbsp;&nbsp; &nbsp;The report definition is not valid.&nbsp; Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition' which cannot be upgraded.&nbsp;&nbsp; &nbsp;C:\Users\User\Documents\Visual Studio 2010\WebSites\WebSite4\Cpanel\Reports\pay.rdlc&nbsp;&nbsp; &nbsp;1&nbsp;&nbsp; &nbsp;</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/152704/report-error/http://www.aspforums.net/Threads/152704/report-error/Mon, 28 Mar 2016 02:51:39 GMTRename (Change) Crystal Report FileName when exporting to PDF in ASP.Net<p>Hi,</p> <p>I have web application using asp.net and from that i generate crystal report after generation of report when i'll export it to pdf from crystalreportviewer inbuild function. so report is saved by name crystalreportviewer.pdf but i want to change name of report at the time of generation any help.Thanks in advance.</p>http://www.aspforums.net/Threads/458522/Rename-Change-Crystal-Report-FileName-when-exporting-to-PDF-in-ASPNet/http://www.aspforums.net/Threads/458522/Rename-Change-Crystal-Report-FileName-when-exporting-to-PDF-in-ASPNet/Thu, 20 Aug 2015 07:06:04 GMTTo Display the data crystal Report<p><strong>Hai Techie</strong></p> <p><br />I have created a following crystal report to show the details of a table.<br />Crystal report runs perfectly but does not show data</p> <p><br />The code is</p> <p><br />SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=Iwens_Database; Trusted_Connection=yes");<br />SqlCommand cnd = new SqlCommand("SELECT E_id, E_Name, E_Address, E_Contact_No, E_Email, DOEn, E_noi, E_coursename, E_year, E_companyname, E_design, E_others, E_Selected, E_Followup FROM Enquiry_table", con);<br /><br /><br />SqlDataAdapter sda = new SqlDataAdapter();<br /><br />DataSet eds = new Enquids();<br /><br /><br />ReportDocument rdoc = new ReportDocument();<br />sda.SelectCommand = cnd;<br />DataTable dt = eds.Tables[0];<br />sda.Fill(eds, "enquirypartfollowp");<br />rdoc.Load(Server.MapPath("Enquirybydate.rpt"));<br />rdoc.SetDataSource(eds.Tables ["Enquiry_table"]);<br />eds.Tables[0].TableName = "Enquiry_table";<br />CrystalReportViewer1.ReportSource = rdoc;<br />CrystalReportViewer1.RefreshReport();<br /><br /></p>http://www.aspforums.net/Threads/848774/To-Display-the-data-crystal-Report/http://www.aspforums.net/Threads/848774/To-Display-the-data-crystal-Report/Thu, 21 Feb 2013 05:05:04 GMTThe type or namespace name ASPSnippets could not be found Error<p>i have used an ASP.Net C# web application to post image on facebook.for that i have used "aspsnippets.facebookapi.dll"</p> <p>everything is working fine while execute from local server.but when i upload my code in server and run</p> <p>it says error like "The type or namespace name 'ASPSnippets' could not be found (are you missing a using directive or an assembly reference?)"</p> <p>but i have added Dll reference in my page like&nbsp;</p> <pre>&nbsp;</pre> <pre class="brush: csharp">using ASPSnippets.FaceBookAPI;</pre> <p>how to solve this issue.</p>http://www.aspforums.net/Threads/100600/The-type-or-namespace-name-ASPSnippets-could-not-be-found-Error/http://www.aspforums.net/Threads/100600/The-type-or-namespace-name-ASPSnippets-could-not-be-found-Error/Mon, 18 Aug 2014 05:51:33 GMTtext out from textbox crystall report<p>Hi! I have text more than 1000 character in table. But I want show text from table in crystal report. When I show text in textbox crystal report text out from textbox and can&rsquo;t seen all text.</p> <p>For example:</p> <table> <tbody> <tr> <td width="115"> <p>Text out from t</p> </td> </tr> </tbody> </table> <p>extbox.</p> <p>For me need like this:</p> <table> <tbody> <tr> <td width="115"> <p>Text out from textbox . it&rsquo;s need me</p> </td> </tr> </tbody> </table> <p>How I can solve this?</p>http://www.aspforums.net/Threads/498656/text-out-from-textbox-crystall-report/http://www.aspforums.net/Threads/498656/text-out-from-textbox-crystall-report/Tue, 17 Nov 2015 02:41:25 GMTSum Column Values in Crystal Report<p>am generating crystal report and in this am using product name&nbsp; and its price, i want to display the total price of the product in footer section ,</p> <p>what i do,?</p> <p>thank you...</p>http://www.aspforums.net/Threads/588780/Sum-Column-Values-in-Crystal-Report/http://www.aspforums.net/Threads/588780/Sum-Column-Values-in-Crystal-Report/Fri, 11 Oct 2013 23:04:57 GMTshow subreport header on each page.<p>Problem with Crystal report.<br />i have a crystal report in which i am using two subreports.<br />both subreports have different headers .so when i generate report.its working properly but header of subreport is showing only one time .in next page header is not showing.<br />suppose i have two subreport<br />first is A<br /><br />SNO Name ContactNo<br /><br /><br />and second is B<br /><br /><br />SNO. Name Address District Email<br /><img src="https://s23.postimg.org/g6511g1uj/Capture.png" alt="" width="471" height="96" /><br /><br />so i want to print first subreport a data after complete printing of subreport A i want to print Subreport B.<br />But also i want to print Header on each page.</p>http://www.aspforums.net/Threads/911944/show-subreport-header-on-each-page/http://www.aspforums.net/Threads/911944/show-subreport-header-on-each-page/Thu, 23 Mar 2017 06:19:40 GMTShow hide columns in RDLC report at Runtime in ASP.Net<p>Hide /Unhide RDLC Columns on Runtime</p> <p>to collapase the columns having no data list excel hide columns but on runtime..</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/184050/Show-hide-columns-in-RDLC-report-at-Runtime-in-ASPNet/http://www.aspforums.net/Threads/184050/Show-hide-columns-in-RDLC-report-at-Runtime-in-ASPNet/Fri, 29 Jul 2016 03:01:23 GMTSetting Paper size in crystal report<p>How to set the custom paper size because it is printing a4 size as default</p> <p>so&nbsp; i want to&nbsp; print the page 10 cm width and 15cm height</p>http://www.aspforums.net/Threads/802259/Setting-Paper-size-in-crystal-report/http://www.aspforums.net/Threads/802259/Setting-Paper-size-in-crystal-report/Thu, 14 Jun 2012 05:31:10 GMTRetrieving the COM class factory for component with CLSID {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following error: 8004015<p style="padding-right: 0px; font-size: 14px; vertical-align: baseline; clear: both; word-wrap: break-word; font-family: Arial,'Liberation Sans','DejaVu Sans',sans-serif;">I have an application that uses Crystal Reports downloaded from SAP for Visual Studio 2012.</p> <p style="padding-right: 0px; font-size: 14px; vertical-align: baseline; clear: both; word-wrap: break-word; font-family: Arial,'Liberation Sans','DejaVu Sans',sans-serif;">When I debug the software in Visual Studio it works perfectly fine, but when I deploy it and want to view the Crystal Report, I get the following error:</p> <p style="padding-right: 0px; font-size: 14px; vertical-align: baseline; clear: both; word-wrap: break-word; font-family: Arial,'Liberation Sans','DejaVu Sans',sans-serif;"><em>Server Error in '/' Application.</em><br /><br /><em>Retrieving the COM class factory for component with CLSID {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following error: 80040154.</em></p> <p style="padding-right: 0px; font-size: 14px; vertical-align: baseline; clear: both; word-wrap: break-word; font-family: Arial,'Liberation Sans','DejaVu Sans',sans-serif;">What is the problem and how to resolve?</p> <p style="padding-right: 0px; font-size: 14px; vertical-align: baseline; clear: both; word-wrap: break-word; font-family: Arial,'Liberation Sans','DejaVu Sans',sans-serif;">please reply</p>http://www.aspforums.net/Threads/162601/Retrieving-the-COM-class-factory-for-component-with-CLSID-4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B-failed-due-to-the-following-error-8004015/http://www.aspforums.net/Threads/162601/Retrieving-the-COM-class-factory-for-component-with-CLSID-4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B-failed-due-to-the-following-error-8004015/Wed, 05 Mar 2014 00:46:10 GMTReport Viewer print button is working in IE but not in other browsers in ASP.Net<p>I want to print a report but reportviewer print button is only visible in IE but not in Chrome or Mozilla. I know the reason, Its because of ActiveX support for&nbsp;IE but not for Mozilla or Chrome.</p> <p>Now I want some alternate method or custom print button to print my desired report.</p>http://www.aspforums.net/Threads/161430/Report-Viewer-print-button-is-working-in-IE-but-not-in-other-browsers-in-ASPNet/http://www.aspforums.net/Threads/161430/Report-Viewer-print-button-is-working-in-IE-but-not-in-other-browsers-in-ASPNet/Mon, 20 Jun 2016 02:11:29 GMTReport not showing In asp.net<p>&nbsp;</p> <pre class="brush: csharp">protected void btn_load_report_Click(object sender, EventArgs e) { &nbsp;&nbsp;&nbsp; //string QN = txtQuote_No.Text; &nbsp;&nbsp;&nbsp; if (txtQuote_No.Text == &#34;&#34;) &nbsp;&nbsp;&nbsp; { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Response.Write(&#34;&lt;script&gt;alert(&#39;Please enter Quotation Number&#39;)&lt;/script&gt;&#34;); &nbsp;&nbsp;&nbsp; } &nbsp;&nbsp;&nbsp; else &nbsp;&nbsp;&nbsp; { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //LoadTicketsReport(); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //ViewReport(); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DataTable dt = GetReport(); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ReportViewer1.Visible = true; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ReportViewer1.LocalReport.ReportPath = Server.MapPath(&#34;/Report/Pavsquotation.rdlc&#34;); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ReportViewer1.LocalReport.DataSources.Clear(); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ReportViewer1.LocalReport.DataSources.Add(new ReportDataSource(&#34;DataSet1&#34;, dt)); &nbsp;&nbsp;&nbsp; } } private DataTable GetReport() { &nbsp;&nbsp;&nbsp; DataTable ResultTable = new DataTable(); &nbsp;&nbsp;&nbsp; string connstr = System.Configuration.ConfigurationManager.ConnectionStrings[&#34;constr&#34;].ConnectionString; &nbsp;&nbsp;&nbsp; SqlConnection conn = new SqlConnection(connstr); &nbsp;&nbsp;&nbsp; SqlCommand cmd = new SqlCommand(&#34;QuotationMaster&#34;, conn); &nbsp;&nbsp;&nbsp; cmd.CommandType = CommandType.StoredProcedure; &nbsp;&nbsp;&nbsp; cmd.Parameters.AddWithValue(&#34;@QuotationNo&#34;, txtQuote_No.Text); &nbsp;&nbsp;&nbsp; SqlDataAdapter adp = new SqlDataAdapter(cmd); &nbsp;&nbsp;&nbsp; adp.Fill(ResultTable); &nbsp;&nbsp;&nbsp; return ResultTable; }</pre> <p>&nbsp;</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/119831/Report-not-showing-In-aspnet/http://www.aspforums.net/Threads/119831/Report-not-showing-In-aspnet/Wed, 17 Aug 2016 02:44:33 GMTRemove XML tags and extract data from WSDL Service response using ASP.Net<p>Hi, i want to remove the data and tags from wsdl file using asp.net with c#.. Am already uploading the wsdl file and displaying the content into text box.. plz, help me... Thanks... I used this code for upload the file..</p> <pre class="brush: csharp">string str = &#34;C:\\Documents and Settings\\EGC\\Desktop\\prakash.wsdl&#34;; StreamReader objstream = new StreamReader(str); TextBox1.Text = objstream.ReadToEnd();</pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/293229/Remove-XML-tags-and-extract-data-from-WSDL-Service-response-using-ASPNet/http://www.aspforums.net/Threads/293229/Remove-XML-tags-and-extract-data-from-WSDL-Service-response-using-ASPNet/Sat, 16 Mar 2013 05:20:41 GMTPublish ASP.Net with crystal report<p>I have asp.net application which have crystal reports. I published it and try in my own computer using IIS 7, and it's works. But, when i put it in server it's got error. can't found crystal report assembly.</p> <p>so, what i need to run my application in server? should i instal crystal report to server?</p> <p>i use:</p> <p>visual studio 2013</p> <p>crystal report for vs 13 sp 13</p> <p>server use:</p> <p>windows server 2008</p> <p>sql server 2012</p> <p>thank you.....</p>http://www.aspforums.net/Threads/104420/Publish-ASPNet-with-crystal-report/http://www.aspforums.net/Threads/104420/Publish-ASPNet-with-crystal-report/Tue, 10 May 2016 02:34:32 GMTProcess Web Service output by removing XML tags from WSDL using ASP.Net C#<p>how to remoeve tag from wsdl file.....</p>http://www.aspforums.net/Threads/845859/Process-Web-Service-output-by-removing-XML-tags-from-WSDL-using-ASPNet-C/http://www.aspforums.net/Threads/845859/Process-Web-Service-output-by-removing-XML-tags-from-WSDL-using-ASPNet-C/Mon, 25 Mar 2013 02:21:29 GMTProblem with native digit (arabic) in Crystal Reports<p>thank u for efforts..</p> <p>I want to&nbsp;print number in the (national) form (arabic localization sys)</p> <p>I tried some&nbsp;&nbsp;solutions as here:</p> <p><a href="https://scn.sap.com/message/14353441#14353441">https://scn.sap.com/message/14353441#14353441</a></p> <p>but stil face problems with the stringthat contain digits</p> <p>thank u</p>http://www.aspforums.net/Threads/177209/Problem-with-native-digit-arabic-in-Crystal-Reports/http://www.aspforums.net/Threads/177209/Problem-with-native-digit-arabic-in-Crystal-Reports/Thu, 28 Jan 2016 07:27:54 GMTProblem with connecting database for crystal report...<p>Hi, all i am new in this forum and sure i will recieve my reply soon...</p> <p>I have Visual studio 2010 and for crystal report, i have intalled reports and crystal viewer is also shown. i want to connect Sql, but thats not working. Sql is the one that is in the Visual studio not external. that asks for servername, and database, but there nothing comes automatically in the dropdown menus... so what should i do...with that..there is no password set with the sql which is in vs 2010. it does not show me the database in my computer, and if i write the name, it gives the error...</p> <p>&nbsp;</p> <p>waiting for reply, i am stucked...</p>http://www.aspforums.net/Threads/111373/Problem-with-connecting-database-for-crystal-report/http://www.aspforums.net/Threads/111373/Problem-with-connecting-database-for-crystal-report/Sun, 30 Dec 2012 22:44:29 GMTProblem Printing Crystal Reports<p>Hi</p> <p>I am using VS2010 on Windows 7, 64 bit and crystal reports for vs2010.</p> <p><em><span style="color: #2b91af; font-family: Consolas; font-size: small;"><span style="color: #2b91af; font-family: Consolas; font-size: small;"><span style="color: #2b91af; font-family: Consolas; font-size: small;">CrystalReportViewer</span></span></span><span style="font-family: Consolas; font-size: small;"><span style="font-family: Consolas; font-size: small;"> CRV = </span></span><span style="color: #0000ff; font-family: Consolas; font-size: small;"><span style="color: #0000ff; font-family: Consolas; font-size: small;"><span style="color: #0000ff; font-family: Consolas; font-size: small;">new</span></span></span><span style="font-family: Consolas; font-size: small;"><span style="font-family: Consolas; font-size: small;"> CrystalDecisions.Web.</span></span><span style="color: #2b91af; font-family: Consolas; font-size: small;"><span style="color: #2b91af; font-family: Consolas; font-size: small;"><span style="color: #2b91af; font-family: Consolas; font-size: small;">CrystalReportViewer</span></span></span><span style="font-family: Consolas; font-size: small;"><span style="font-family: Consolas; font-size: small;">();</span></span></em></p> <p><em>CRV.ReportSource = AnalysisReports;</em></p> <p><em>CRV.PrintMode = CrystalDecisions.Web.PrintMode<span style="font-family: Consolas; font-size: small;"><span style="font-family: Consolas; font-size: small;">.ActiveX; </span></span></em></p> <p><span style="font-family: Consolas; font-size: small;"><span style="font-family: Consolas; font-size: small;">The above code is to select printer on client machine by displaying print dialog window, but the print dialog window is not displayed.</span></span></p> <p><span style="font-family: Consolas; font-size: small;"><span style="font-family: Consolas; font-size: small;">Any help is highly appreciated.</span></span></p> <p>&nbsp;</p> <p><span style="font-family: Consolas; font-size: small;"><span style="font-family: Consolas; font-size: small;">Thanks n Regards</span></span></p> <p>&nbsp;</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/540842/Problem-Printing-Crystal-Reports/http://www.aspforums.net/Threads/540842/Problem-Printing-Crystal-Reports/Wed, 02 Jan 2013 00:02:42 GMTProblem in Printing Crystal Report<p><span style="font-size: 11.5pt; font-family: &quot;;">Hai, I'm Using VS2010,</span></p> <p><span style="font-size: 11.5pt; font-family: &quot;;">I'm using crystal report in my web page. It's executed successfully and show my records.</span></p> <p><span style="font-size: 11.5pt; font-family: &quot;;">But, I'm using code for print that crystal report record. The problem is it's automatically print that page when I execute my Report Page.</span></p> <p><span style="font-size: 11.5pt; font-family: &quot;;">I don't want that, first Crystal Report show the record, when the user Press the print button on Crystal Report Tool Bar, and then Printing is start....</span></p> <p><span style="font-size: 11.5pt; font-family: &quot;;">See my code:</span></p> <pre class="brush: csharp">using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; using System.Data; using System.Configuration; using CrystalDecisions.CrystalReports.Engine; using CrystalDecisions.Shared; public partial class Report : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { txtID.Text = Session[&#34;ID&#34;].ToString(); ReportDocument crystalReport = new ReportDocument(); crystalReport.Load(Server.MapPath(&#34;~/stdCR.rpt&#34;)); std ds = GetData(&#34;select * from empdet&#34;); crystalReport.SetDataSource(ds); CrystalReportViewer1.ReportSource = crystalReport; crystalReport.Refresh(); crystalReport.PrintOptions.PaperOrientation = PaperOrientation.Portrait; crystalReport.PrintOptions.PaperSize = PaperSize.PaperA4; crystalReport.PrintToPrinter(1,false,0,0); } private std GetData(string query) { SqlCommand cmd = new SqlCommand(query); using (SqlConnection con = new SqlConnection(&#34;Data Source=SERVICETEAM-PC;Initial Catalog=example;User ID=sa;Password=kavi&#34;)) { using (SqlDataAdapter sda = new SqlDataAdapter()) { cmd.Connection = con; sda.SelectCommand = cmd; using (std ds = new std()) { sda.Fill(ds, &#34;DataTable1&#34;); return ds; } } } } }</pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/130553/Problem-in-Printing-Crystal-Report/http://www.aspforums.net/Threads/130553/Problem-in-Printing-Crystal-Report/Fri, 04 Apr 2014 00:22:16 GMT