 |
|
 |
Hi!
Why in Return SourseCode Url ?
Please Helpme!
|
|
|
|
 |
|
 |
Hi!
i Need project when use iTextSharp dll,Ndity dll.
Thanks!
|
|
|
|
 |
|
 |
Sample project given is not working..Please help
|
|
|
|
 |
|
 |
pdfize can't support chinese? how can modify it to support chinese?
gfgf
|
|
|
|
 |
|
 |
Hi,
I am using a PDfizer project. When I browse a page. I am getting an error regarding NTidy.dll. Following is the stack trace.
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
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.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
I am setting all rights from IIS regaring ASPNET, Network Service but still it is not working. If any one can provide a solution, I will be very thankful.
Thanks,
Khurram
|
|
|
|
 |
|
 |
Thanks for this great library.
But while trying to run this solution I got the following error:
System.IO.FileNotFoundException was unhandled
Message="The specified module could not be found. (Exception from HRESULT: 0x8007007E)"
Source="Pdfizer"
StackTrace:
at Pdfizer.HtmlToPdfConverter..ctor()
at PdfizerConsole.Class1.Main(String[] args) in D:\PDF\Pdfizer_src_v10\HtmlToPdf\PdfizerConsole\Class1.cs:line 77
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Any Help?
|
|
|
|
 |
|
 |
Well, I guess u must be running it on x64, if that is, set your project output to x86 and try again.
I had same error, and doing this eat the error.
Sameers
|
|
|
|
 |
|
 |
How can I set a project output to x86?
I have tried to set the CPU to use x86 and run the program again
But it return the same error again
Is there anything I have been missing ??
Thanks
Ben
modified on Wednesday, September 17, 2008 3:41 AM
|
|
|
|
 |
|
 |
Ben, go to project properties (Project Menu and then Look for Properties)
Go to Compile Tab
Click on Advanced Build Options
And then from the Target CPU, select x86
Sameers
|
|
|
|
 |
|
 |
The problem is because ntidy.dll doesn't find some files it wants.I downloaded dependency walker opened ntidy.dll and found my missing dlls i downloaded them and copied them to windows\system.
For the dlls missing were
msvcr71.dll
msvcp71.dll
ieshims.dll
|
|
|
|
 |
|
 |
how l load a pdf using a button?
|
|
|
|
 |
|
 |
i m using this converter but in code three refrence are missing 1. itextsharp 2. ntidy 3. icsharpcode.sharpziplib,
first two i got, but can u say abt third one frm where i cant get this.
|
|
|
|
 |
|
 |
Did you even try Googling?
/ravi
|
|
|
|
 |
|
 |
its inside the itextsharp folder
|
|
|
|
 |
|
 |
Hi,
I downloaded your project Pdfizer and include the dlls in my project of DotNetNuke but when i run the project,it show the following error.
error BC30392: 'Catch' cannot catch type 'exception' because it is not 'System.Exception' or a class that inherits from 'System.Exception'."} System.Exception
i have using the System.Exception already for this.
It is is due to NTidy.dll. when i exclude this dll,the error:NTidy.dll is not fond.
Questiones.
1)Please tell me that whether NTidy.dll is corrrect or not?.
2)Please give me the proper solution for using the NTidy.dll in DotNetNuke Version 04.05.03.?
Thanks
Tariq
|
|
|
|
 |
|
 |
Hi,
The HTML to PDF converter for .NET from http://www.dotnet-reporting.com or the HTML to PDF .NET Library from http://www.winnovative-software.comis what you need. It's pure .NET library, it doesn't use a printer driver. There is also a free html to pdf converter application built on top of this library. The conversion can be done with only a few lines of code:
PdfConverter pdfConverter = new PdfConverter();
pdfConverter.PdfDocumentOptions.PdfPageSize = PdfPageSize.A4;
pdfConverter.PdfDocumentOptions.PdfPageOrientation = PDFPageOrientation.Portrait;
pdfConverter.PdfDocumentOptions.PdfCompressionLevel = PdfCompressionLevel.Normal;
pdfConverter.PdfDocumentOptions.GenerateSelectablePdf = true;
pdfConverter.PdfDocumentOptions.ShowFooter = false;
pdfConverter.PdfDocumentOptions.ShowHeader = false;
pdfConverter.LicenseFilePath = Server.MapPath(@"~/Bin");
byte[] downloadBytes = pdfConverter.GetPdfFromUrlBytes(MyURL);
Regards,
Razva
|
|
|
|
 |
|
 |
Stop product plugging. We will find you if we need you and willing to pay. Just don't plug your products in code project. Shame on you Winnovative.
|
|
|
|
 |
|
 |
The people who look here have probably seen your pricy commercial product and are looking for a cheaper alternative to get the job done.
Isn't plugging commercial product on code project against the site's rules?
|
|
|
|
 |
|
 |
Hi,
Pdfizer is a great free tool. However, it only works for very simple HTML. I needed a solid HTML To PDF Converter and I found one here:
www.html-to-pdf.net[^]
The only problem is, that is not free. Do you know any other professional tools that cost less or that are free?
Thanks,
Florentin
|
|
|
|
 |
|
 |
here we go. another product plug by some shameless company. get a grip, this is codeproject and peoplelook for inspiration to code and not desperate to buy something with a shiny credit card at hand. if we wanted to buy something product we wouldn't be looking at code project for it isnt it. Please stop plugging your, yet another ...., product.
|
|
|
|
 |
|
 |
In the HtmlToPdfConverter class the following test is preformed
// append .pdf if necessary.
string fileName = outputFileName;
if (!fileName.EndsWith("pdf"))
fileName+=".pdf";
This test will not do what is intended in the case that the user sends in a filename that ends with pdf, for example "my_file_pdf" will result in a file being created without a filetype, which is ofcourse legal, but impactical. Simply changing the test to
// append .pdf if necessary.
string fileName = outputFileName;
if (!fileName.EndsWith(".pdf"))
fileName+=".pdf";
Would result in the standard windows naming scheme even for the example given, i.e "my_file_pdf.pdf"
|
|
|
|
 |
|
 |
Does it support diffrent font's colors??
sejmik
|
|
|
|
 |
|
 |
HI. I'm trying to run an example code to watch pdf generator running... in the code I should specify the web service url but I don't know what URL i shoud put... It should be something like
// specify the web service URL
String Url = "http://localhost:8080/...
How can I know this??
|
|
|
|
 |
|
 |
When i try to generate a pdf in line html2pdf.Run(reader.ReadToEnd());
give me this error:
Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=0.5.0.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Thanks
MD
|
|
|
|
 |
|
 |
There is no pdf produced except the html source for the following case:
html2pdf.Run( new Uri(@"file:///C:/Temp/test.htm") );
Where test.htm is a copy of (https://somesite.com/page) with
<base href="https://somesite.com/"/> in html header section.
|
|
|
|
 |