Error in reading pdf file - pdf

we made one application to read the pdf file and write in Excel.We used iTextSharp.dll.
Application works fine here with windows XP as well as WIndows7.We created this using applicaiton in VB.net in VS2008 version.we have Adobe ReaderX.
But for our customer its not working and it shows error as Unhandled Exception and shows error as
filename.pdf not found as file or resource.
Whats reason for this error message.Customer PC is Windows7 and AdobeReaderX is installed there.
Pls kindly help me.

Random guess? Some directory or filename information is hard-coded into your application. Or the customer is trying to open an incompatible file. Like trying to open a text file with the paint application.

Related

Could not load file or assembly 'log4net, Version=1.2.10.0

I did an application in VS2015 and Crystal Report, I can run it in the development machine (32bits) with no problem, I can load the forms where is CrystalReportViewer and print, all works fine but when I install it in another PC (32bits) and I try to load the form that have the CrystalReportViewer I get: "System.IO.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.10.0 , Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies"
This is all I did:
I confirmed that log4net.dll exist in my debug folder
I saw the version (1.2.13.0) and change it for 1.2.10.0
I tested with a lot of configurations in app.config
I tried this official wiki:
https://wiki.scn.sap.com/wiki/display/BOBJ/Using+Crystal+Reports+for+Visual+Studio+2010+Merge+Modules+(MSM)+to+create+a+Setup+project
(I can´t find any CRRuntime_13_x.msm file)
But the error still showing up
Please can you help me?
I found a quick solution installing CRRuntime_32bit_13_0_16.msi in the new PC, it is not a good solution and I must say that from now I prefer to do the reports with VB Net entirely.

Can anyone help me to understand this error

Please help me for solving this error error
Unable to write to output file 'C:\Users\Dell\Documents\Visual Studio 2008\Projects\WindowsApplication1\WindowsApplication1\obj\Debug\WindowsApplication1.exe': The process cannot access the file because it is being used by another process. WindowsApplication1
The process cannot access the file because it is being used by another process.
This means that either your exe is already running (perhaps outside the IDE) or it's been opened for editing in another application (debugger?).
Close the exe down and try again.

This .asp file need some dll that my windows server 2003 64bits dont have

When i try to run these .asp code https://drive.google.com/file/d/0Bx1hNT8CEtf6cUFjYlJia2JBUGM/edit?usp=sharing
i have the following error message: https://drive.google.com/file/d/0Bx1hNT8CEtf6dno3ajBpanl2OXc/edit?usp=sharing
The site is running on a Windows server 2003 64 bits, i have done a search on internet and look like is some dll missing, can i discovery what dll just with this code ?
Your file is a classic ASP file, not an ASP.NET file. Line 99 has this line of code:
Set objCrip = Server.CreateObject("Criptografia.Cripto")
Criptografia is usually the name of the DLL and Cripto is the name of the object inside of it. You can perform a search on your hard drive for Criptografia to see if it exists or search your Registry for the full name Criptografia.Cripto to see if there is a different DLL associated with it.

Microsoft Office Excel cannot access the file

I have create Office Excel application in my machine(XP). and i have placed the application in windows server 2008 giving the following error.
Microsoft Office Excel cannot access the file '\server\Input.xls'. There are several possible reasons:
The file name or path does not exist.
The file is being used by another program.
The workbook you are trying to save has the same name as a currently open workbook.
both client and server systems installed office 2007 and added reference microsoftexcellibrary 12.0
created assembly for the application and calling the code from the form.
I was getting the exact same error, although in my case I was trying to run (from Tidal Enterprise Scheduler) a .NET app that used microsoft.interop.excel.
The answer is already in stackoverflow:
[Microsoft Office Excel cannot access the file 'c:\inetpub\wwwroot\Timesheet\App_Data\Template.xlsx'.
I'll re-list the steps from that link:
Create directory “C:\Windows\SysWOW64\config\systemprofile\Desktop” (for 64 bit Windows) or “C:\Windows\System32\config\systemprofile\Desktop” (for 32 bit Windows)
Set full control permissions on Desktop directory above (for example in Win7 & IIS 7 & DefaultAppPool set permissions for user “IIS AppPool\DefaultAppPool”)
Of course, if you're running a scheduled task rather than WebApp, you'll need to make sure the service account you're using has permissions on that folder.
I had the same error when trying to save to:
C:\test.xlsx
When attempting to save to the root directory, it seemed to cause problems. Changing my path to:
C:\MyExcelTests\test.xlsx
Worked fine
I would make sure no Excel processes are running on the machine before you run this application, that should cover the last point.
The first point looks the most likely issue, the path looks like a partial path or an incorrect UNC path. Try putting the full path to the spreadsheet 'C:\server\input.xls' and see if that works.
To stop the middle point, in the workbook.open command you can specify to open as read-only, this will make sure the application can red the file even if it is locked open by another user.

Log files are getting created when debbuging but while launching through the .app, log files are not created?

Scenario: Im elstablishing a connection with an http server using libcurl and downlading a files.(by writing the response from the server into the file).
When im debugging my code im able to find the file saved in the specified path, and im also creating some log files which im able to find while debugging.
But, Once im creating the Releaes build and launching the application by invoking the .app file created im not able to find the downloaded files and the log files.
I dont understand the problem..........
sounds strange but i dont know what i have missed?
Please if somebody came across such a situtation pleaes get back to me soon....
Thank You Pradeep.
This is the first time im working on MAC and was workin on windows till now..
While creating the log files im not giving the full application path...rather i was just giving the file name.....but once i gave the application path for creating the log files it was working for me..........
bad question....but might be helpfull to someone......