Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

Invalid file name.

$
0
0

Hi. I make a testing page which is work fine on local computer. but when i copy web to web server it make error after passing parameter.

Server Error in '/fayz/testing' Application.


Invalid file name.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Runtime.InteropServices.COMException: Invalid file name.

Source Error: 

Line 17:     {
Line 18:         Label1.Text = Server.MapPath("Report/test.rpt");Line 19: report.Load(Server.MapPath("Report/test.rpt")); Line 20:         //GC.Collect();
Line 21:         report.SetParameterValue(0, TextBox1.Text);

I am new in Crystal report Kindly help me.


Viewing all articles
Browse latest Browse all 1507

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>