April 20, 2006, 03:20 PM
rcCall report via webpage in VB.Net
All,
Tried tech support but they haven't gotten back to me. Hoping someone else has ran into this issue.
Have an ASP.Net page written in VB.Net. From the page looking to call two reports, first report will return PDF format and the second Excel.
The pdf is working without a hitch but the Excel is having some problems. The below code calls the pdf. Tried the same for exl2k but its not working
Dim UrlPDF As String = "http://tsrv1/ibi_apps/WFServlet?IBIF_ex=Smart-PDF-2&IBIAPP_app=RickTest"
Response.Redirect(UrlPDF)
What I get when I run the above for the excel file is, Excel opens and a workbook containing an xml like version of the data, there are some html tags in the output too.
It’s nothing usable by a user.
Has anyone called a exl2k report via c# or VB.Net?
April 20, 2006, 03:26 PM
KameshIf you type the URL directly on browser, is that works?
April 20, 2006, 05:10 PM
rcGot it.
The only place its not working correctly is on the development box. When I URL directly or through the app from another box it works great.
My assumption is that on the development box the xht, xls file extensions are not set to open through excel. Need to prove that out.
April 21, 2006, 09:44 AM
KameshYes, you are right. Try change the setting in mime.wfs and see that solves your problem.