"The document has no pages" but only from test server
stevewash123 opened this issue · comments
When I run my project locally, I have no issue. When I deploy to our test server, I get "The document has no pages". In both cases, I am logging the data retrieved from the database prior to adding it to the Model, and there's no difference. Suggestions?
I am getting the same message when try to print pdf using simple block
ViewBag.Message = "Your contact page."; var contact = new Country() { Name = "John Doe", ShortCode = "118220202020" }; return new PdfActionResult(contact);