on 12-01-2008 8:31 AM
Hi to all,
I'm using Asp.net 2.0-C#, Crystal Report 11 Service Pack2.
I write the custom code to export excel, it's exported but when i open the file then it'll throw an exception as Missing file: ...t\System_Web\2.0.50727
crystalreportviewers115\css\default.css.
/This is custom code to export the records from crystal report to Excel file format/
vwPage.Response.Clear();
vwPage.Response.Buffer = true;
vwPage.Response.ContentType = "application/vnd.ms-excel";
vwPage.Response.AddHeader("content-disposition", "attachment; filename=" + strExcelFileName);
vwPage.Response.BinaryWrite(strmRptDocument.ToArray());
HttpContext.Current.ApplicationInstance.CompleteRequest();
What is the problem and how to solve this?
problem solved my me
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found the problem,
i wrote a wrong custom dll path in my application, i correct the path now it's working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.