 |
|
 |
I cant see support for this anywhere.. can you help me out?
Within the twentieth century, an ultraintelligent machine will be built and that it will be the last invention that man need make.
I.J. Good
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
Hi I am getting this error i had tried a lot of things to solve it.
Please help.
I have converted sample code in .net 3.5 so please give me ref as per that.
|
| Sign In·View Thread·PermaLink | 2.75/5 (4 votes) |
|
|
|
 |
|
|
 |
|
 |
I need the c# code in .net to convet html page,word file and images to convert them to pdf format
|
| Sign In·View Thread·PermaLink | 2.08/5 (13 votes) |
|
|
|
 |
|
|
 |
|
 |
When i run the code i am getting HTML code insted of page UI i have used this code, it runs fine finally i am gettiong HTML code in it, but i want to get the page UI. please help me out
|
| Sign In·View Thread·PermaLink | 2.14/5 (7 votes) |
|
|
|
 |
|
 |
System.Net.WebException: Could not find file "C:\WINDOWS\system32\actions.png". ---> System.IO.FileNotFoundException: Could not find file "C:\WINDOWS\system32\actions.png". File name: "C:\WINDOWS\system32\actions.png" at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync) at System.Net.FileWebStream..ctor(String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async) at System.Net.FileWebResponse..ctor(Uri uri, FileAccess access, Boolean asyncHint) --- End of inner exception stack trace --- Server stack trace: at System.Net.FileWebResponse..ctor(Uri uri, FileAccess access, Boolean asyncHint) at System.Net.FileWebRequest.InternalGetResponse() at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase) at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData) at System.Net.AsyncGetResponse.EndInvoke(IAsyncResult result) at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.FileWebRequest.GetResponse() at iTextSharp.text.Image.getInstance(Uri url) at iTextSharp.text.Image.getInstance(String filename) at Pdfizer.ImgHtmlElement.Convert(TidyNode el) in c:\inetpub\wwwroot\htmltopdf\pdfizer\imghtmlelement.cs:line 70 at Pdfizer.AnyHtmlElement.Convert(TidyNode el) in C:\Inetpub\wwwroot\HtmlToPdf\Pdfizer\AnyHtmlElement.cs:line 90 at Pdfizer.AnyHtmlElement.ConvertChilds(TidyNode el) in C:\Inetpub\wwwroot\HtmlToPdf\Pdfizer\AnyHtmlElement.cs:line 128 at Pdfizer.ParaHtmlElement.Convert(TidyNode el) in C:\Inetpub\wwwroot\HtmlToPdf\Pdfizer\ParaHtmlElement.cs:line 98 at Pdfizer.AnyHtmlElement.Convert(TidyNode el) in C:\Inetpub\wwwroot\HtmlToPdf\Pdfizer\AnyHtmlElement.cs:line 90 at Pdfizer.AnyHtmlElement.ConvertChilds(TidyNode el) in C:\Inetpub\wwwroot\HtmlToPdf\Pdfizer\AnyHtmlElement.cs:line 128 at Pdfizer.HtmlToPdfConverter.Run(String html) in c:\inetpub\wwwroot\htmltopdf\pdfizer\htmltopdfconverter.cs:line 404 at PDFWrite.WebForm1.pdf() in c:\inetpub\wwwroot\pdfwrite\webform1.aspx.cs:line 92
|
| Sign In·View Thread·PermaLink | 2.00/5 (7 votes) |
|
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 1.50/5 (6 votes) |
|
|
|
 |
|
 |
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?
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
 |
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.
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 2.18/5 (7 votes) |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 1.35/5 (15 votes) |
|
|
|
 |
|
 |
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.
|
| Sign In·View Thread·PermaLink | 3.36/5 (12 votes) |
|
|
|
 |