Jump to content

mikelustosa

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by mikelustosa

  1. Demo version. I'm almost giving up using unigui. Does not show the PDF in IIS! the unigui repeats the main screen, instead of displaying the PDF file. Look: With DLL: www.softmaisbrasil.com.br/imagem.jpg With EXE:(it's right) www.softmaisbrasil.com.br/imagem2.jpg for both it's the same routine: ReportName := 'report_' + FormatDateTime('ddmmyy_hhmmss', Now) + '.pdf'; MainModule.UniMainModule.rel_indicadoresMedico.AllowPrintToFile := false; MainModule.UniMainModule.rel_indicadoresMedico.ShowPrintDialog := false; MainModule.UniMainModule.rel_indicadoresMedico.DeviceType := 'PDF'; MainModule.UniMainModule.rel_indicadoresMedico.ArchiveFileName := UniServerModule.LocalCachePath + ReportName; MainModule.UniMainModule.rel_indicadoresMedico.Print; UniURLFrame1.URL := UniServerModule.LocalCacheURL + ReportName;
  2. I set it up your way. Now it loads the UniURLFrame1.URL: = UniServerModule.LocalCacheURL + ReportName. But the main screen appears in place of the PDF. What madness! kk Look: www.softmaisbrasil.com.br/imagem.jpg
  3. But does this demo generate the dll? I need to generate the dll, publish to IIS and generate the PDF with Report Builder and display in the browser
  4. FMSoft uniGUI Complete Professional Edition v1.0.0.1397
  5. Olá, tenho uma rotina no Report Builder que gera um PDF em cache e mostra na tela: http://forums.unigui.com/index.php?/topic/9126-pdf-problems-in-iis-and-unigui/ Porém, só funciona com modo debug(.exe). Quando publico no IIS o modo Release(.dll), simplesmente não mostra o PDF na aplicação, a rotina não gera cache. Alguém sabe a solução pra esse problema?
  6. I noticed that with the .EXE, cache is generated. But already with the DLL does not generate cache, so the PDF is not displayed?
  7. Hello! I did what you said. But the same problem continues, it does not display the PDF when I publish to IIS. Do you remember if there is any other configuration in rbuilder that should be wrong?
  8. I have the following routine to generate and view pdf files: ReportName := 'report_' + FormatDateTime('ddmmyy_hhmmss', Now) + '.pdf'; MainModule.UniMainModule.rel_indicadoresEnfermeiro.AllowPrintToFile := True; MainModule.UniMainModule.rel_indicadoresEnfermeiro.ShowPrintDialog := False; MainModule.UniMainModule.rel_indicadoresEnfermeiro.DeviceType := dtPDF; MainModule.UniMainModule.rel_indicadoresEnfermeiro.TextFileName := UniServerModule.LocalCachePath + ReportName; MainModule.UniMainModule.rel_indicadoresEnfermeiro.Print; UniURLFrame1.URL := UniServerModule.LocalCacheURL + '/' + ReportName; In the ISAPI project running .exe, the PDF is displayed in the browser normally. But when I publish the DLL in IIS, the system simply hangs and displays nothing. I'm using report builder and IIS 6, Delphi Seatle and UNIGUI Can anybody help me?
×
×
  • Create New...