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 mean by WebService And what is the use of WebService in ASP.Net<p>I want to learn about WebServices.What is mean by WebService? And what is the use of WebService</p>http://www.aspforums.net/Threads/676368/What-is-mean-by-WebService-And-what-is-the-use-of-WebService-in-ASPNet/http://www.aspforums.net/Threads/676368/What-is-mean-by-WebService-And-what-is-the-use-of-WebService-in-ASPNet/Mon, 20 Jan 2014 02:41:16 GMTUrl rewriting error 'HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.' in ASP.Net<p>hello sir</p> <p>my class file code is</p> <p>&nbsp;</p> <pre class="brush: csharp">using System; using System.Collections.Generic; using System.Linq; using System.Web; /// &lt;summary&gt; /// Summary description for URLRewriter /// &lt;/summary&gt; public class URLRewriter : IHttpModule { //public URLRewriter() //{ // // // // TODO: Add constructor logic here // // //} #region IHttpModule Members /// &lt;summary&gt; /// Dispose method for the class /// If you have any unmanaged resources to be disposed /// free them or release them in this method /// &lt;/summary&gt; public void Dispose() { //not implementing this method //for this example } /// &lt;summary&gt; /// Initialization of the http application instance /// &lt;/summary&gt; /// &lt;param name=&#34;context&#34;&gt;&lt;/param&gt; public void Init(HttpApplication context) { context.BeginRequest += new EventHandler(context_BeginRequest); } /// &lt;summary&gt; /// Event handler of instance begin request /// &lt;/summary&gt; /// &lt;param name=&#34;sender&#34;&gt;&lt;/param&gt; /// &lt;param name=&#34;e&#34;&gt;&lt;/param&gt; void context_BeginRequest(object sender, EventArgs e) { //Create an instance of the application that has raised the event HttpApplication httpApplication = sender as HttpApplication; //Safety check for the variable httpApplication if it is not null if (httpApplication != null) { //get the request path - request path is something you get in //the url string requestPath = httpApplication.Context.Request.Path; //variable for translation path string translationPath = &#34;&#34;; //if the request path is /urlrewritetestingapp/laptops/dell/ //it means the site is for DLL //else if &#34;/urlrewritetestingapp/laptops/hp/&#34; //it means the site is for HP //else it is the default path switch (requestPath.ToLower()) { case &#34;/government-exams/Bank%20Jobs/&#34;: translationPath = &#34;/Default.aspx?JobHeaderMenuName=Bank%20Jobs&#34;; break; case &#34;/government-exams/SSC/&#34;: translationPath = &#34;/Default.aspx?JobHeaderMenuName=SSC&#34;; break; case &#34;/government-exams/Railways/&#34;: translationPath = &#34;/Default.aspx?JobHeaderMenuName=Railways&#34;; break; default: translationPath = &#34;/government-exams/default.aspx&#34;; break; } //use server transfer to transfer the request to the actual translated path httpApplication.Context.Server.Transfer(translationPath); } } #endregion }</pre> <p>my aspx page is</p> <pre class="brush: html">&lt;ul class=&#34;nav navbar-nav custom_nav&#34;&gt; &lt;li class=&#34;active&#34;&gt;&lt;a href=&#34;http://latestsarkarijob.com&#34;&gt;Home&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&#34;http://latestsarkarijob.com/government-exams/Bank%20Jobs/&#34;&gt;Bank Jobs&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&#34;http://localhost:1090/government-exams/SSC/&#34;&gt;SSC&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&#34;http://localhost:1090/government-exams/Railways/&#34;&gt;Railways&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&#34;Default.aspx?JobHeaderMenuName=Freshers%20Jobs&#34;&gt;UPSC&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&#34;Default.aspx?JobHeaderMenuName=Teaching Jobs&#34;&gt;Teaching Jobs&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&#34;Default.aspx?JobHeaderMenuName=State PCS&#34;&gt;State PCS&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&#34;Default.aspx?JobHeaderMenuName=Police&#34;&gt;Police&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;/li&gt; &lt;/ul&gt;</pre> <p>but it is not work properly</p> <p>this error is shown on web page</p> <div class="content-container" style="width: 1269.14px; margin-top: 8px; padding: 10px; position: relative; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11.2px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background: #ffffff;"><fieldset style="padding: 0px 15px 10px;"><legend style="color: #333333; padding: 4px 15px 4px 10px; margin: 4px 0px 8px -12px; border-width: 1px; border-style: solid; border-color: #ededed #969696 #969696 #ededed; font-weight: bold; font-size: 1em; background: #e7ecf0;">Error Summary</legend> <h2 style="font-size: 1.7em; margin: 0px; color: #cc0000;">HTTP Error 404.0 - Not Found</h2> <h3 style="font-size: 1.4em; margin: 10px 0px 0px; color: #cc0000;">The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.</h3> </fieldset></div> <div class="content-container" style="width: 1269.14px; margin-top: 8px; padding: 10px; position: relative; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11.2px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background: #ffffff;"><fieldset style="padding: 0px 15px 10px;"><legend style="color: #333333; padding: 4px 15px 4px 10px; margin: 4px 0px 8px -12px; border-width: 1px; border-style: solid; border-color: #ededed #969696 #969696 #ededed; font-weight: bold; font-size: 1em; background: #e7ecf0;">Detailed Error Information</legend> <div id="details-left" style="width: 430.891px; float: left; margin-right: 24.6094px;"> <table style="margin: 4px 0px; width: 430px; border: none;" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr class="alt"><th style="vertical-align: top; padding: 3px 8.59375px 3px 0px; text-align: right; font-weight: normal; border: none; width: 120.406px; background-color: #ebebeb;">Module</th> <td style="vertical-align: top; padding: 3px 0px; text-align: left; font-weight: bold; border: none; background-color: #ebebeb;">IIS Web Core</td> </tr> <tr><th style="vertical-align: top; padding: 3px 8.59375px 3px 0px; text-align: right; font-weight: normal; border: none; width: 120.406px;">Notification</th> <td style="vertical-align: top; padding: 3px 0px; text-align: left; font-weight: bold; border: none;">MapRequestHandler</td> </tr> <tr class="alt"><th style="vertical-align: top; padding: 3px 8.59375px 3px 0px; text-align: right; font-weight: normal; border: none; width: 120.406px; background-color: #ebebeb;">Handler</th> <td style="vertical-align: top; padding: 3px 0px; text-align: left; font-weight: bold; border: none; background-color: #ebebeb;">StaticFile</td> </tr> <tr><th style="vertical-align: top; padding: 3px 8.59375px 3px 0px; text-align: right; font-weight: normal; border: none; width: 120.406px;">Error Code</th> <td style="vertical-align: top; padding: 3px 0px; text-align: left; font-weight: bold; border: none;">0x80070002</td> </tr> </tbody> </table> </div> <div id="details-right" style="width: 775.609px; float: left; overflow: hidden;"> <table style="margin: 4px 0px; width: 775px; border: none;" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr class="alt"><th style="vertical-align: top; padding: 3px 15.5px 3px 0px; text-align: right; font-weight: normal; border: none; width: 139.5px; background-color: #ebebeb;">Requested URL</th> <td style="vertical-align: top; padding: 3px 0px; text-align: left; font-weight: bold; border: none; background-color: #ebebeb;">http://latestsarkarijob.com:80/government-exams/Bank Jobs/</td> </tr> <tr><th style="vertical-align: top; padding: 3px 15.5px 3px 0px; text-align: right; font-weight: normal; border: none; width: 139.5px;">Physical Path</th> <td style="vertical-align: top; padding: 3px 0px; text-align: left; font-weight: bold; border: none;">D:\INETPUB\VHOSTS\latestsarkarijob.com\httpdocs\government-exams\Bank Jobs\</td> </tr> <tr class="alt"><th style="vertical-align: top; padding: 3px 15.5px 3px 0px; text-align: right; font-weight: normal; border: none; width: 139.5px; background-color: #ebebeb;">Logon Method</th> <td style="vertical-align: top; padding: 3px 0px; text-align: left; font-weight: bold; border: none; background-color: #ebebeb;">Anonymous</td> </tr> <tr><th style="vertical-align: top; padding: 3px 15.5px 3px 0px; text-align: right; font-weight: normal; border: none; width: 139.5px;">Logon User</th> <td style="vertical-align: top; padding: 3px 0px; text-align: left; font-weight: bold; border: none;">Anonymous</td> </tr> </tbody> </table> </div> </fieldset></div> <div class="content-container" style="width: 1269.14px; margin-top: 8px; padding: 10px; position: relative; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11.2px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background: #ffffff;"><fieldset style="padding: 0px 15px 10px;"><legend style="color: #333333; padding: 4px 15px 4px 10px; margin: 4px 0px 8px -12px; border-width: 1px; border-style: solid; border-color: #ededed #969696 #969696 #ededed; font-weight: bold; font-size: 1em; background: #e7ecf0;">Most likely causes:</legend> <ul style="margin: 10px 0px 10px 40px;"> <li>The directory or file specified does not exist on the Web server.</li> <li>The URL contains a typographical error.</li> <li>A custom filter or module, such as URLScan, restricts access to the file.</li> </ul> </fieldset></div>http://www.aspforums.net/Threads/240195/Url-rewriting-error-HTTP-Error-4040---Not-Found-The-resource-you-are-looking-for-has-been-removed-had-its-name-changed-or-is-temporarily-unavailable-in-ASPNet/http://www.aspforums.net/Threads/240195/Url-rewriting-error-HTTP-Error-4040---Not-Found-The-resource-you-are-looking-for-has-been-removed-had-its-name-changed-or-is-temporarily-unavailable-in-ASPNet/Mon, 04 Jul 2016 02:22:38 GMTTreeView inside RDLC<p>I need to show Treeview inside RDLC Report along with Profit and Loss Report.</p> <p>Left side treeview and right side the report with profit parent row under it child rows related to it.</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/181792/TreeView-inside-RDLC/http://www.aspforums.net/Threads/181792/TreeView-inside-RDLC/Fri, 18 Mar 2016 03:16:35 GMTSSRS Reporting Services Error The permissions granted to user '.\User' are insufficient for performing this operation. (rsAccessDenied) <p>I am just recently learning SSRS , now when i try to run SSRS from localhost , it gave me this error , i am recently on development local system machine ...</p> <p><em>Reporting Services Error</em></p> <p><em>The permissions granted to user 'Emad\EmadKhan' are insufficient for performing this operation. (rsAccessDenied) </em></p> <p>&nbsp;</p> <p><img src="http://i1287.photobucket.com/albums/a628/Emadkhan1/SSRS_zps34acb0b9.png" alt="" width="471" height="264" /></p> <p>&nbsp;</p>http://www.aspforums.net/Threads/966403/SSRS-Reporting-Services-Error-The-permissions-granted-to-user-User-are-insufficient-for-performing-this-operation-rsAccessDenied/http://www.aspforums.net/Threads/966403/SSRS-Reporting-Services-Error-The-permissions-granted-to-user-User-are-insufficient-for-performing-this-operation-rsAccessDenied/Thu, 21 Aug 2014 02:05:50 GMTSSRS Report error: The permissions granted to user 'dell-PC\dell' are insufficient for performing this operation.<p>I got this error when trying to deploy ssrs report:</p> <p>The permissions granted to user 'dell-PC\dell' are insufficient for performing this operation.</p>http://www.aspforums.net/Threads/193963/SSRS-Report-error-The-permissions-granted-to-user-dell-PCdell-are-insufficient-for-performing-this-operation/http://www.aspforums.net/Threads/193963/SSRS-Report-error-The-permissions-granted-to-user-dell-PCdell-are-insufficient-for-performing-this-operation/Thu, 11 Dec 2014 05:06:06 GMTSSRS report automatic mail on monthly basis<p>hello sir&nbsp; ,</p> <p>i want to send automatic mail on monthly basis with the attachment of ssrs report or SSRS report......please help...</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/230555/SSRS-report-automatic-mail-on-monthly-basis/http://www.aspforums.net/Threads/230555/SSRS-report-automatic-mail-on-monthly-basis/Tue, 28 Jan 2014 02:27:24 GMTSQL Server Reporting Services: Date Field expression<p>in reporting services i hve the below expression</p> <pre class="brush: vb">=Fields!pname.Value+ &#34; &#34; +IIf(cdate(Fields!dtfrm.Value)=&#34;01-01-1900&#34;,&#34;&#34;,cdate(Fields!dtfrm.Value)+ &#34; to &#34;+cdate(Fields!dtto.Value) )</pre> <p></p> <p>wht i need is displaying value of pname and then in the next line displaying date if the date is not 1900-01-01<br /><br /></p>http://www.aspforums.net/Threads/206078/SQL-Server-Reporting-Services-Date-Field-expression/http://www.aspforums.net/Threads/206078/SQL-Server-Reporting-Services-Date-Field-expression/Mon, 01 Oct 2012 09:16:06 GMTHow to use different data set in rdlc (Report viewer)<p>Hi.</p> <p>I need to design the Order Form.</p> <p>Two things I need to display in the Order form.</p> <p>1. Order Number : 03 &nbsp;--&gt;(This 03 is comes from a table. I have get this using table adopter say OrderNumberTableAdopter in OrderForms.XSD file.)</p> <p>2. Item Details. This I get from the difference SP. I get the item details from the Table Adopter which i used in the same OrderForms.XSD.</p> <p>&nbsp;</p> <p>How can i assign this two results to the rdlc&nbsp;</p> <p>Please let me know if this is not clear.</p> <p>Thanks.</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/129424/How-to-use-different-data-set-in-rdlc-Report-viewer/http://www.aspforums.net/Threads/129424/How-to-use-different-data-set-in-rdlc-Report-viewer/Sun, 27 May 2012 23:49:58 GMTHow to print RDLC Report in ASP.Net<div style="color: #222222; font-family: arial, sans-serif; font-size: 13px;"><span style="font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; line-height: 18.200000762939453px; background-color: #f0f3f4;">hi</span></div> <div style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18.200000762939453px;">I'm using .rdlc report in my **web application**, exporting report to pdf &amp; print it works great but now i wanted to print report automatically(i,e on click of print button.)<br /><br />&nbsp;&nbsp;&nbsp; Is it possible to print rdlc report automatically?<br />please send me code how to print report&nbsp; on click of print button.&nbsp;<br />Please help me,</div> <div style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18.200000762939453px;">Thanks</div> <div style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18.200000762939453px;">Bablu&nbsp;</div> <div style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18.200000762939453px;">jaipur</div> <div style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18.200000762939453px;">Add code</div> <div style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18.200000762939453px;">.................</div> <div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp;protected void Print_Click(object sender, EventArgs e)</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; {</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;"><br /></span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; string recordIdCount = "201";</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; Print(recordIdCount);</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;"><br /></span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; Warning[] warnings;</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; string[] streamids;</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; string mimeType;</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; string encoding;</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; string extension;</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;"><br /></span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; byte[] bytes = RptVisitorMaster.LocalReport.Render("PDF", null, out mimeType,</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;out encoding, out extension, out streamids, out warnings);</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;"><br /></span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; FileStream fs = new FileStream(HttpContext.Current.Server.MapPath("SchoolData/image/output.pdf"), FileMode.Create);</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; fs.Write(bytes, 0, bytes.Length);</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; fs.Close();</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; //Open exsisting pdf</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; Document document = new Document(PageSize.LETTER);</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; PdfReader reader = new PdfReader(HttpContext.Current.Server.MapPath("SchoolData/image/output.pdf"));</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; //Getting a instance of new pdf wrtiter</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; PdfWriter writer = PdfWriter.GetInstance(document, new FileStream(HttpContext.Current.</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Server.MapPath("SchoolData/image/Print.pdf"), FileMode.Create));</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; document.Open();</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; PdfContentByte cb = writer.DirectContent;</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; int i = 0;</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; int p = 0;</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; int n = reader.NumberOfPages;</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; Rectangle psize = reader.GetPageSize(1);</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; float width = psize.Width;</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; float height = psize.Height;</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; //Add Page to new document</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; while (i &lt; n)</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; {</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.NewPage();</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; p++;</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; i++;</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;"><br /></span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PdfImportedPage page1 = writer.GetImportedPage(reader, i);</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cb.AddTemplate(page1, 0, 0);</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; }</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;"><br /></span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; //Attach javascript to the document</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; PdfAction jAction = PdfAction.JavaScript("this.print(true);\r", writer);</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; writer.AddJavaScript(jAction);</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; document.Close();</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; //Attach pdf to the iframe</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; &nbsp; &nbsp; frmPrint.Attributes["src"] = "SchoolData/image/Print.pdf";</span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;"><br /></span></span></div> <div><span style="color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 18.200000762939453px;">&nbsp; &nbsp; }</span></span></div> </div>http://www.aspforums.net/Threads/212944/How-to-print-RDLC-Report-in-ASPNet/http://www.aspforums.net/Threads/212944/How-to-print-RDLC-Report-in-ASPNet/Sat, 18 Aug 2012 04:15:05 GMTHow to connect SSIS project to Sybase database using ODBC<p>Hi,</p> <p>&nbsp; &nbsp; Solve any one plz...</p> <p>&nbsp; &nbsp; How to install ddex provider for Adaptive Server?</p>http://www.aspforums.net/Threads/132725/How-to-connect-SSIS-project-to-Sybase-database-using-ODBC/http://www.aspforums.net/Threads/132725/How-to-connect-SSIS-project-to-Sybase-database-using-ODBC/Thu, 04 Jul 2013 23:19:53 GMTHow to add trend line in graph in RDLC Report<p>Hi,</p> <p>&nbsp;</p> <p>how to add trend line in RDLC graph of vs 2010</p> <p>&nbsp;</p> <p>Thank You</p>http://www.aspforums.net/Threads/124965/How-to-add-trend-line-in-graph-in-RDLC-Report/http://www.aspforums.net/Threads/124965/How-to-add-trend-line-in-graph-in-RDLC-Report/Fri, 31 May 2013 04:56:38 GMTShow ProgressBar when exporting RDLC Report to PDF in ASP.Net<p>Here's my chunk of code :</p> <pre class="brush: csharp"> public void ExportToPDF(string path, List&lt;ReportParameter&gt; reportParams, string fileName) { Warning[] warnings; string[] streamIds; string mimeType = string.Empty; string encoding = string.Empty; string extension = string.Empty; // Setup the report viewer object and get the array of bytes var viewer = new ReportViewer(); viewer.ProcessingMode = ProcessingMode.Remote; viewer.ServerReport.ReportServerUrl = new Uri(&#34;http://localhost/ReportServer&#34;); viewer.ServerReport.ReportPath = &#34;/&#34; + path; viewer.ServerReport.SetParameters(reportParams); byte[] bytes = viewer.ServerReport.Render(&#34;PDF&#34;, null, out mimeType, out encoding, out extension, out streamIds, out warnings); // Now that you have all the bytes representing the PDF report, buffer it and send it to the client. Response.Buffer = true; Response.Clear(); Response.ContentType = mimeType; Response.AddHeader(&#34;content-disposition&#34;, &#34;attachment; filename=&#34; + fileName + &#34;(&#34; + DateTime.Now.ToShortDateString() + &#34;)&#34; + &#34;.pdf&#34;); Response.BinaryWrite(bytes); // create the file Response.Flush(); // send it to the client to download }</pre> <p>I have no update panel on this page , simply when i click on Export BTN i want to show the progress bar , this should be real not fake. I followed this article :</p> <p><a href="http://www.aspsnippets.com/Articles/Show-progress-bar-on-Button-Click-in-ASPNet.aspx">http://www.aspsnippets.com/Articles/Show-progress-bar-on-Button-Click-in-ASPNet.aspx</a></p> <p>But that's fake , not real.&nbsp;</p> <p><strong>NOTE :</strong></p> <p><strong>I have hide report viewer , just exporting the report via provided code.</strong></p> <p><strong>NEED :</strong></p> <p><strong>I want to show real progress bar until report is being rendered as PDF and when it is done that progress bar should get&nbsp;disappeared.</strong></p>http://www.aspforums.net/Threads/122147/Show-ProgressBar-when-exporting-RDLC-Report-to-PDF-in-ASPNet/http://www.aspforums.net/Threads/122147/Show-ProgressBar-when-exporting-RDLC-Report-to-PDF-in-ASPNet/Wed, 02 Sep 2015 09:01:10 GMTService Reference and Web Referecne in Web Services<p>Hi,</p> <p>&nbsp;&nbsp;&nbsp;&nbsp; Can any body help in learning about the classes which will be added when we add WebReference and Service Reference.I know only about service1.wsdl,pls help me to learn Reference.map(Reference.cs under it),service1.disco.And the the files which will be added when we add Service Reference that is configuration.svcinfo,configuration91.svcinfo and Reference.svcmap.</p> <p>And most importantly please inform me the difference about Adding WebReference and Service Reference,as I am New to Webservices.Thanks in Advacne</p>http://www.aspforums.net/Threads/588818/Service-Reference-and-Web-Referecne-in-Web-Services/http://www.aspforums.net/Threads/588818/Service-Reference-and-Web-Referecne-in-Web-Services/Sat, 05 Jan 2013 09:55:27 GMTReporting Services to display in pdf<p>I am little bit confused here, reporting services has an option to import data to Excel, Pdf e.t.c</p> <p>But for some reason the user want it to display in pdf, when he/she opens it must ask to save or open the pfd file, i have design the report and its working perfect in SQL Server Reporting Services. Here is the code below:</p> <p>if (!IsPostBack)<br /> {<br /> ReportViewer1.ServerReport.ReportServerUrl = new System.Uri("https://ServerName/ReportServer");<br /> ReportViewer1.ServerReport.ReportPath = "/ReportFolder/MonthlyReport";</p> <p>Microsoft.Reporting.WebForms.ReportParameter[] Param = new Microsoft.Reporting.WebForms.ReportParameter[3];<br /> Param[0] = new ReportParameter("startAt", Session["startAt"].ToString());<br /> Param[1] = new ReportParameter("endAt", Session["endAt"].ToString());<br /> Param[2] = new ReportParameter("StaffID", Session["ID"].ToString());<br /> ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;<br /> ReportViewer1.ShowParameterPrompts = false;<br /> ReportViewer1.ServerReport.SetParameters(Param);<br /> ReportViewer1.ServerReport.Refresh();<br /> <br /> }</p> <p><span style="font-size: 9pt;">My question is; from this code, how do i display the report in Pdf, where it will ask a user to save/open a pdf file?&nbsp;</span></p> <p>And if i may ask, what are the advantages or disadavantes of opening a report in pdf file instead of using Reporting Services?</p> <p>&nbsp;</p> <p>Thanks in advance</p>http://www.aspforums.net/Threads/913490/Reporting-Services-to-display-in-pdf/http://www.aspforums.net/Threads/913490/Reporting-Services-to-display-in-pdf/Thu, 09 Jan 2014 02:32:31 GMTReport Viewer Print button not working in Google Chrome<p>Please Sir I can I make print button of reportviewer visible in browsers like google chrome, opera, firefox.</p> <p>Thanks</p>http://www.aspforums.net/Threads/211686/Report-Viewer-Print-button-not-working-in-Google-Chrome/http://www.aspforums.net/Threads/211686/Report-Viewer-Print-button-not-working-in-Google-Chrome/Mon, 13 Oct 2014 01:06:00 GMTRDLC ReportViewer Print Button not working in IE10 and IE11 browsers<p>I had created Report in my website using "<strong>Report Viewer control</strong>". It is showing "Print" option in Design but its not showing "Print" option when I run the web page.<br /><br />Please tel how to set "<strong>Print</strong>" option in Report Viewer control in ASP.NET C#.</p> <p>Also, Table in Report viewer gets shrink in "Chrome", Table in Report Viewer shows Vertical scroll in "firefox".<br /><br />I want to make it compatible in all 3 browsers.<br /><br />Please suggest some way to make it compatible in 3 browsers with "Print" option.</p> <p>Please help.</p> <p><em>I had refered below article:</em></p> <p>http://www.aspsnippets.com/Green/Articles/ASPNet-Report-Viewer-control-Tutorial-with-example.aspx</p>http://www.aspforums.net/Threads/182778/RDLC-ReportViewer-Print-Button-not-working-in-IE10-and-IE11-browsers/http://www.aspforums.net/Threads/182778/RDLC-ReportViewer-Print-Button-not-working-in-IE10-and-IE11-browsers/Thu, 06 Mar 2014 08:26:42 GMTRDLC ReportViewer crashes in IE9 when Print button is clicked in ASP.Net<p><span style="color: #000000; font-size: 14px; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;">Dear Experts,</span></p> <p><span style="color: #000000; font-size: 14px; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;">In My application I used &nbsp;ReportViewer 9. However, clicking on the print button in IE10 causes the browser to stop working (with the "Debug" or "Close Program" buttons). Everything else seems to work fine.</span></p> <p><span style="color: #000000; font-size: 14px; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;">Thanks In advance</span></p>http://www.aspforums.net/Threads/192906/RDLC-ReportViewer-crashes-in-IE9-when-Print-button-is-clicked-in-ASPNet/http://www.aspforums.net/Threads/192906/RDLC-ReportViewer-crashes-in-IE9-when-Print-button-is-clicked-in-ASPNet/Thu, 03 Apr 2014 08:09:30 GMTRDLC Report: A data source instance has not been supplied for the data source<ul> <li>A data source instance has not been supplied for the data source 'bramandamDataSet_Expenzsection'.</li> </ul> <p>&nbsp;</p> <pre class="brush: xml">&lt;asp:TextBox ID=&#34;txtID&#34; runat=&#34;server&#34;&gt;&lt;/asp:TextBox&gt; &lt;asp:Button ID=&#34;btn1&#34; runat=&#34;server&#34; Text=&#34;Generate report&#34; onclick=&#34;btn1_Click&#34; /&gt; &lt;br /&gt; &lt;br /&gt; &lt;div&gt; &lt;asp:ScriptManager ID=&#34;ScriptManager1&#34; runat=&#34;server&#34;&gt; &lt;/asp:ScriptManager&gt; &lt;br /&gt; &lt;rsweb:ReportViewer ID=&#34;ReportViewer1&#34; runat=&#34;server&#34; Font-Names=&#34;Verdana&#34; Font-Size=&#34;8pt&#34; Height=&#34;318px&#34; Width=&#34;1094px&#34;&gt; &lt;localreport reportpath=&#34;Report2.rdlc&#34;&gt; &lt;DataSources&gt; &lt;rsweb:ReportDataSource DataSourceId=&#34;ObjectDataSource1&#34; Name=&#34;bramandamDataSet_Expenzsection&#34; /&gt; &lt;/DataSources&gt; &lt;/localreport&gt; &lt;/rsweb:ReportViewer&gt; &lt;asp:ObjectDataSource ID=&#34;ObjectDataSource1&#34; runat=&#34;server&#34; InsertMethod=&#34;Insert&#34; OldValuesParameterFormatString=&#34;original_{0}&#34; SelectMethod=&#34;GetData&#34; TypeName=&#34;bramandamDataSetTableAdapters.ExpenzsectionTableAdapter&#34;&gt; &lt;InsertParameters&gt; &lt;asp:Parameter Name=&#34;sectionname&#34; Type=&#34;String&#34; /&gt; &lt;asp:Parameter Name=&#34;ExpensesName&#34; Type=&#34;String&#34; /&gt; &lt;asp:Parameter Name=&#34;Date&#34; Type=&#34;String&#34; /&gt; &lt;asp:Parameter Name=&#34;BillNo&#34; Type=&#34;String&#34; /&gt; &lt;asp:Parameter Name=&#34;BillAmount&#34; Type=&#34;Double&#34; /&gt; &lt;/InsertParameters&gt; &lt;/asp:ObjectDataSource&gt;</pre> <p>&nbsp;</p> <pre class="brush: csharp"> protected void btn1_Click(object sender, EventArgs e) { ReportViewer1.Visible = true; string id = txtID.Text; ReportViewer1.ProcessingMode = ProcessingMode.Local; ReportViewer1.LocalReport.ReportPath = Server.MapPath(&#34;~/Report2.rdlc&#34;); DataSet ds = new DataSet(); ds = GetData(id); if (ds.Tables[0].Rows.Count &gt; 0) { ReportDataSource rds = new ReportDataSource(&#34;bramandamDataSet&#34;, ds.Tables[0]); ReportViewer1.LocalReport.DataSources.Clear(); ReportViewer1.LocalReport.DataSources.Add(rds); } }</pre> <p>&nbsp;</p> <pre class="brush: csharp"> private DataSet GetData(string id) { SqlConnection con = new SqlConnection(&#34;Data Source=FLOOR1\\SQLEXPRESS;Initial Catalog=bramandam;Integrated Security=True&#34;); con.Open(); SqlCommand cmd = new SqlCommand(); string qry =&#34;select sectionname,expensesname,date,billno,billamount from expenzsection where date=&#39;&#34; + id + &#34;&#39;order by sectionname&#34;; SqlDataAdapter da = new SqlDataAdapter(); cmd = new SqlCommand(qry, con); da = new SqlDataAdapter(cmd); da.Fill(ds); return ds; } </pre> <p>&nbsp;</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/882526/RDLC-Report-A-data-source-instance-has-not-been-supplied-for-the-data-source/http://www.aspforums.net/Threads/882526/RDLC-Report-A-data-source-instance-has-not-been-supplied-for-the-data-source/Wed, 08 Jul 2015 01:44:37 GMTRDLC Report Error when hosted on server Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies<p>Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</p> <pre class="brush: xml">Line 1: &lt;%@ Page Language=&#34;C#&#34; AutoEventWireup=&#34;true&#34; CodeFile=&#34;invoice_Report.aspx.cs&#34; Inherits=&#34;Admin_invoice_Report&#34; %&gt; Line 2: Line 3: &lt;%@ Register Assembly=&#34;Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#34; Line 4: Namespace=&#34;Microsoft.Reporting.WebForms&#34; TagPrefix=&#34;rsweb&#34; %&gt; Line 5: </pre> <p>my Web Confg File is looking like&nbsp;</p> <p>&nbsp;</p> <pre class="brush: xml">&lt;?xml version=&#34;1.0&#34;?&gt; &lt;!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use the Website-&gt;Asp.Net Configuration option in Visual Studio. A full list of settings and comments can be found in machine.config.comments usually located in \Windows\Microsoft.Net\Framework\vx.x\Config --&gt; &lt;configuration&gt; &lt;configSections&gt; &lt;sectionGroup name=&#34;system.web.extensions&#34; type=&#34;System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34;&gt; &lt;sectionGroup name=&#34;scripting&#34; type=&#34;System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34;&gt; &lt;section name=&#34;scriptResourceHandler&#34; type=&#34;System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34; requirePermission=&#34;false&#34; allowDefinition=&#34;MachineToApplication&#34;/&gt; &lt;sectionGroup name=&#34;webServices&#34; type=&#34;System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34;&gt; &lt;section name=&#34;jsonSerialization&#34; type=&#34;System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34; requirePermission=&#34;false&#34; allowDefinition=&#34;Everywhere&#34;/&gt; &lt;section name=&#34;profileService&#34; type=&#34;System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34; requirePermission=&#34;false&#34; allowDefinition=&#34;MachineToApplication&#34;/&gt; &lt;section name=&#34;authenticationService&#34; type=&#34;System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34; requirePermission=&#34;false&#34; allowDefinition=&#34;MachineToApplication&#34;/&gt; &lt;section name=&#34;roleService&#34; type=&#34;System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34; requirePermission=&#34;false&#34; allowDefinition=&#34;MachineToApplication&#34;/&gt; &lt;/sectionGroup&gt; &lt;/sectionGroup&gt; &lt;/sectionGroup&gt; &lt;/configSections&gt; &lt;appSettings/&gt; &lt;connectionStrings&gt; &lt;!--&lt;add name=&#34;con&#34; connectionString=&#34;Data Source=DESTINATION3; Initial Catalog=dotq-gcc; user id=sa; Password=123; Connection Timeout=3600;Min Pool Size=10;Max Pool Size=100;&#34; /&gt; &lt;add name=&#34;dotq-gccConnectionString&#34; connectionString=&#34;Data Source=DESTINATION3;Initial Catalog=dotq-gcc;Integrated Security=True&#34; providerName=&#34;System.Data.SqlClient&#34; /&gt;--&gt; &lt;add name=&#34;con&#34; connectionString=&#34;Data Source=192.185.11.183; Initial Catalog=dtourist_dotq-gcc; user id=dtour_arab; Password=Future!@#123 ;Connect Timeout=200; pooling=&#39;true&#39;; Max Pool Size=200&#34;/&gt; &lt;/connectionStrings&gt; &lt;system.web&gt; &lt;customErrors mode=&#34;Off&#34;/&gt; &lt;!-- Set compilation debug=&#34;true&#34; to insert debugging symbols into the compiled page. Because this affects performance, set this value to true only during development. --&gt; &lt;compilation debug=&#34;true&#34;&gt; &lt;assemblies&gt; &lt;add assembly=&#34;System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089&#34;/&gt; &lt;add assembly=&#34;System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34;/&gt; &lt;add assembly=&#34;System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089&#34;/&gt; &lt;add assembly=&#34;System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089&#34;/&gt; &lt;add assembly=&#34;Microsoft.ReportViewer.ProcessingObjectModel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A&#34;/&gt;&lt;/assemblies&gt; &lt;buildProviders&gt; &lt;add extension=&#34;.rdlc&#34; type=&#34;Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#34;/&gt; &lt;/buildProviders&gt; &lt;/compilation&gt; &lt;!-- The &lt;authentication&gt; section enables configuration of the security authentication mode used by ASP.NET to identify an incoming user. --&gt; &lt;authentication mode=&#34;Windows&#34;/&gt; &lt;!-- The &lt;customErrors&gt; section enables configuration of what to do if/when an unhandled error occurs during the execution of a request. Specifically, it enables developers to configure html error pages to be displayed in place of a error stack trace. &lt;customErrors mode=&#34;RemoteOnly&#34; defaultRedirect=&#34;GenericErrorPage.htm&#34;&gt; &lt;error statusCode=&#34;403&#34; redirect=&#34;NoAccess.htm&#34; /&gt; &lt;error statusCode=&#34;404&#34; redirect=&#34;FileNotFound.htm&#34; /&gt; &lt;/customErrors&gt; --&gt; &lt;pages&gt; &lt;controls&gt; &lt;add tagPrefix=&#34;asp&#34; namespace=&#34;System.Web.UI&#34; assembly=&#34;System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34;/&gt; &lt;add tagPrefix=&#34;asp&#34; namespace=&#34;System.Web.UI.WebControls&#34; assembly=&#34;System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34;/&gt; &lt;/controls&gt; &lt;/pages&gt; &lt;httpHandlers&gt; &lt;remove path=&#34;*.asmx&#34; verb=&#34;*&#34;/&gt; &lt;add path=&#34;*.asmx&#34; verb=&#34;*&#34; type=&#34;System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34; validate=&#34;false&#34;/&gt; &lt;add path=&#34;*_AppService.axd&#34; verb=&#34;*&#34; type=&#34;System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34; validate=&#34;false&#34;/&gt; &lt;add path=&#34;ScriptResource.axd&#34; verb=&#34;GET,HEAD&#34; type=&#34;System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34; validate=&#34;false&#34;/&gt; &lt;add path=&#34;Reserved.ReportViewerWebControl.axd&#34; verb=&#34;*&#34; type=&#34;Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#34; validate=&#34;false&#34;/&gt; &lt;/httpHandlers&gt; &lt;httpModules&gt; &lt;add name=&#34;ScriptModule&#34; type=&#34;System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34;/&gt; &lt;/httpModules&gt; &lt;/system.web&gt; &lt;system.codedom&gt; &lt;compilers&gt; &lt;compiler language=&#34;c#;cs;csharp&#34; extension=&#34;.cs&#34; warningLevel=&#34;4&#34; type=&#34;Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&#34;&gt; &lt;providerOption name=&#34;CompilerVersion&#34; value=&#34;v3.5&#34;/&gt; &lt;providerOption name=&#34;WarnAsError&#34; value=&#34;false&#34;/&gt; &lt;/compiler&gt; &lt;compiler language=&#34;vb;vbs;visualbasic;vbscript&#34; extension=&#34;.vb&#34; warningLevel=&#34;4&#34; type=&#34;Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&#34;&gt; &lt;providerOption name=&#34;CompilerVersion&#34; value=&#34;v3.5&#34;/&gt; &lt;providerOption name=&#34;OptionInfer&#34; value=&#34;true&#34;/&gt; &lt;providerOption name=&#34;WarnAsError&#34; value=&#34;false&#34;/&gt; &lt;/compiler&gt; &lt;/compilers&gt; &lt;/system.codedom&gt; &lt;!-- The system.webServer section is required for running ASP.NET AJAX under Internet Information Services 7.0. It is not necessary for previous version of IIS. --&gt; &lt;system.webServer&gt; &lt;validation validateIntegratedModeConfiguration=&#34;false&#34;/&gt; &lt;modules&gt; &lt;remove name=&#34;ScriptModule&#34;/&gt; &lt;add name=&#34;ScriptModule&#34; preCondition=&#34;managedHandler&#34; type=&#34;System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34;/&gt; &lt;/modules&gt; &lt;handlers&gt; &lt;remove name=&#34;WebServiceHandlerFactory-Integrated&#34;/&gt; &lt;remove name=&#34;ScriptHandlerFactory&#34;/&gt; &lt;remove name=&#34;ScriptHandlerFactoryAppServices&#34;/&gt; &lt;remove name=&#34;ScriptResource&#34;/&gt; &lt;add name=&#34;ScriptHandlerFactory&#34; verb=&#34;*&#34; path=&#34;*.asmx&#34; preCondition=&#34;integratedMode&#34; type=&#34;System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34;/&gt; &lt;add name=&#34;ScriptHandlerFactoryAppServices&#34; verb=&#34;*&#34; path=&#34;*_AppService.axd&#34; preCondition=&#34;integratedMode&#34; type=&#34;System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34;/&gt; &lt;add name=&#34;ScriptResource&#34; preCondition=&#34;integratedMode&#34; verb=&#34;GET,HEAD&#34; path=&#34;ScriptResource.axd&#34; type=&#34;System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34;/&gt; &lt;add name=&#34;ReportViewerWebControlHandler&#34; preCondition=&#34;integratedMode&#34; verb=&#34;*&#34; path=&#34;Reserved.ReportViewerWebControl.axd&#34; type=&#34;Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#34;/&gt; &lt;/handlers&gt; &lt;/system.webServer&gt; &lt;runtime&gt; &lt;assemblyBinding appliesTo=&#34;v2.0.50727&#34; xmlns=&#34;urn:schemas-microsoft-com:asm.v1&#34;&gt; &lt;dependentAssembly&gt; &lt;assemblyIdentity name=&#34;System.Web.Extensions&#34; publicKeyToken=&#34;31bf3856ad364e35&#34;/&gt; &lt;bindingRedirect oldVersion=&#34;1.0.0.0-1.1.0.0&#34; newVersion=&#34;3.5.0.0&#34;/&gt; &lt;/dependentAssembly&gt; &lt;dependentAssembly&gt; &lt;assemblyIdentity name=&#34;System.Web.Extensions.Design&#34; publicKeyToken=&#34;31bf3856ad364e35&#34;/&gt; &lt;bindingRedirect oldVersion=&#34;1.0.0.0-1.1.0.0&#34; newVersion=&#34;3.5.0.0&#34;/&gt; &lt;/dependentAssembly&gt; &lt;/assemblyBinding&gt; &lt;/runtime&gt; &lt;/configuration&gt; </pre> <p>Please help me Solve this error i m Stucking For Three Days days..</p> <p>&nbsp;</p> <p>Jazakallah...</p> <p>Thanking You...&nbsp;</p>http://www.aspforums.net/Threads/577435/RDLC-Report-Error-when-hosted-on-server-Could-not-load-file-or-assembly-MicrosoftReportViewerWebForms-Version10000-Cultureneutral-PublicKeyTokenb03f5f7f11d50a3a-or-one-of-its-dependencies/http://www.aspforums.net/Threads/577435/RDLC-Report-Error-when-hosted-on-server-Could-not-load-file-or-assembly-MicrosoftReportViewerWebForms-Version10000-Cultureneutral-PublicKeyTokenb03f5f7f11d50a3a-or-one-of-its-dependencies/Mon, 19 May 2014 09:10:58 GMTPublishing SQL Server Reporting Services Reports in ASP.Net<p>i have developed a web application project in VS 2008&nbsp; having reporting services . now i want to deploy it on the client <br /><br />server<br />i need a step by step lines for the project implementation on client machine which is to be made as a web server.<br />i have followed some steps for the deployment but i get lots of different errors &amp; issues on different systems so not sure <br /><br />where &amp; wht is the issues <br /><br />and is there any best way other than this &amp; is he below order correct<br /><br />1) Install IIS on client server is not avaliable<br />2) INstall dotnet framework 3.5<br />3) Install Sql server with reporting services<br /><br />---- making the project folder--------<br /><br />1) Publish the applicatiion from VS2008<br />2) copy the published application to the client system <br />3) create a virtual directory in IIS &amp; map the published folder<br />4) convert the virtual directory to application<br /><br /><br />the abov are the steps foloowed&nbsp; but i get lots of different errors in the systems i tried<br /><br />are the above steps right or is there any other way<br />for reporting services do i need to install anything seperately on client server<br />or include the dlls in bin folder</p>http://www.aspforums.net/Threads/141584/Publishing-SQL-Server-Reporting-Services-Reports-in-ASPNet/http://www.aspforums.net/Threads/141584/Publishing-SQL-Server-Reporting-Services-Reports-in-ASPNet/Thu, 21 Jun 2012 08:34:01 GMT