ADO Object was Open error aka DB_E_OBJECTOPEN on Large Dataset in MS SQL 2012
Hi I am running a query with a big result set in my Delphi application using tADOQuery.
When I request 12 months data I get an error "Object was Open".
But if I run the same query on 1 month of data it works fine.
The mechanism I use to open all queries in my application is the same and has always worked for many years. This is the first time I have hit this error. My application has run thousands of different queries across many customer sites without ever
hitting this error.
In my research I found that this seems to correspond to an ADO Error DB_E_OBJECTOPEN.
The 12 month query runs perfectly OK in SQL Mgmt Studio and takes about 1.5 minutes to start showing results. But it is 4 minutes before it works out there are 3,810,979 rows.
I am using a client cursor
myADOQuery.CursorLocation:=clUseClient;
And I am setting a large CommandTimeout = 600;
So why does the query fail in the ADO client (but it works in SQL Mgmt Studio)?
And what does this "Object was Open" error mean?
Hi Justin,
The below picture is the relationships between the Data Access component. ADO is based on OLEDB, the underlying provide is OLEDB.
As you can see, ADO provider is based on OLE DB provider or ODBC Driver.
And DB_E_OBJECTOPEN is the error you experence. It is returned by OLE DB provider (be it SQLOLEDB, SQLNCLI or any 3rd party provider) when it makes a call to ICommand::Execute without closing the result of the previous execution (see
http://msdn.microsoft.com/en-us/library/ms718095(VS.85).aspx).
Did anything change recently in your environment, a new version of the client application was deployed or client driver was upgraded?
Usually this error occurs because of the problem in the client application, not the client provider. Application should do either of the following:
Fully consume the result of the previous command execution prior to issuing a new command. If it doesn't, it might be leaking an object.
If the result must be pending, it should turn set DBPROP_MULTIPLECONNECTIONS property to VARIANT_TRUE which will allow underlying OLE DB provider to establish additional connections under the hood. This must only be done if developer is absolutely sure
that the application needs the previous result.
Enable Multiple Active Result Sets on the connection which would allow running multiple queries on the same connection. This is also must be done consciously, as it may mask object leak.
Besides, maybe you have known that the CommandTimeout is 30s by default. However, the reason that you can succeed when you use SSMS(SQL Server Management Studio) to run the query is because when using SSMS to create a new connetion,
the commandTimeout is 0 by default. It means it has no limitation for the query command time. But when you use ADO client to create a new connection to run the query, the time which is taken by the query may beyond the commandTimeout
setting .So it failed to return the results in your ADO client.
From a support perspective to further analize this issue is really beyond what we can do here in the forums. If you cannot determine your answer here or on your own, consider opening a support
case with us. Visit this link to see the various support options that are available to better meet your needs:
http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone."
Keep us posted.
Similar Messages
-
Error - adding Feature "Full Text ..." SQL 2012 SP1
I want to install a Feature "Full Text ..." on an existing SQL-Server Instance.
I get the following error message:
TITLE: SQL Server Setup failure.
SQL Server Setup has encountered the following error:
Registry properties are not valid under this context..
For help, click:
http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&EvtType=0x610364A7%25400xE9BC3D64
BUTTONS:
OK
The Link doesn't work. Can you help me?
Kind regards
AnnegretHi ,
I suppose u were trying to add Full text feature to already installed instance of SQL server 2012 SP1.
Ok so what procedure u followed did you try to run installation again and add this feature ..if u were using this method u will face error..
You hav to go to application wizard (Run..type Appwiz.cpl in run)and from there you have to add feature see below link
http://www.techrepublic.com/blog/networking/adding-sql-full-text-search-to-an-existing-sql-server/5546
Also can u post complete error u got during failed installation...C\program files\....
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
I have hit with above error and the code did run successfully before the minor change in the portion I have bolded. Appreciate your comment & help.
Attached with the code:
CREATE TABLE RPT1120B_CHANNEL_new
(SUBSCRIBER_NO NUMBER (9),
FP_CHANNEL VARCHAR2(255),
FP_DATE DATE,
FP_DYNASTY CHAR(1),
FP_MOVIE CHAR(1),
FP_FUN CHAR(1),
FP_LEARNING CHAR(1),
FP_NEWS CHAR(1),
FP_SPORTS CHAR(1),
FP_VARIETY CHAR(1),
FP_EMPEROR CHAR(1),
FP_SX1 CHAR(1),
FP_CEL CHAR(1),
LP_CHANNEL VARCHAR2(255),
LP_DATE DATE,
LP_DYNASTY CHAR(1),
LP_MOVIE CHAR(1),
LP_FUN CHAR(1),
LP_LEARNING CHAR(1),
LP_NEWS CHAR(1),
LP_SPORTS CHAR(1),
LP_VARIETY CHAR(1),
LP_EMPEROR CHAR(1),
LP_SX1 CHAR(1),
LP_CEL CHAR(1));
--truncate table RPT1120B_CHANNEL;
create or replace PROCEDURE sp_rpt1120b_new
AS
FP_CHANNEL VARCHAR2(255);
FP_DATE DATE;
LP_CHANNEL VARCHAR2(255);
LP_DATE DATE;
REC_COUNT NUMBER(3);
TYPE REC_SA IS RECORD
(AGREEMENT_NO NUMBER (9));
TYPE REC_CHANNEL IS RECORD
(CHANNEL VARCHAR2(3),
AGREEMENT_NO NUMBER (9));
BEGIN
FOR REC_SA IN (SELECT DISTINCT SUBSCRIBER_NO FROM RPT1120B_T1_new) LOOP
FP_CHANNEL := '';
LP_CHANNEL := '';
REC_COUNT := 0;
FP_DATE := '';
LP_DATE := '';
FOR REC_CHANNEL IN (SELECT distinct decode(SOC,
29990,'N',
29991,'V',
29993,'M',
29988,'F',
29989,'L',
29992,'S',
29994,'D',
29995,'E',
30277,'C',
30293,'C',
30319,'C',
30359,'C',
30276,'X',
30331,'X',
30299,'X',
30380,'X')
AS CHANNEL,SA.EFFECTIVE_DATE as soc_sts_date
FROM SERVICE_AGREEMENT SA
WHERE SA.SOC in ( 29990,
29991,
29993,
29988,
29989,
29992,
29994,
29995,
30277,
30293,
30319,
30359,
30276,
30331,
30299,
30380) AND
SA.AGREEMENT_NO = REC_SA.SUBSCRIBER_NO AND
TRUNC(SA.EFFECTIVE_DATE) <> TRUNC(NVL(SA.EXPIRATION_DATE,SYSDATE)) AND
SA.EFFECTIVE_DATE = (SELECT MIN(SA1.EFFECTIVE_DATE) FROM SERVICE_AGREEMENT SA1
WHERE SA1.AGREEMENT_NO = SA.AGREEMENT_NO AND
sa1.soc in (
29990,
29991,
29993,
29988,
29989,
29992,
29994,
29995,
30277,
30293,
30319,
30359,
30276,
30331,
30299,
30380))
order by DECODE(channel,'D',1,'M',2,'E',3,'C',4,'X',5,'F',6,'L',7,'N',8,'S',9,'V',10)) LOOP
REC_COUNT := REC_COUNT + 1;
if REC_COUNT < 254 then
FP_CHANNEL := FP_CHANNEL || REC_CHANNEL.CHANNEL;
end if;
FP_DATE := REC_CHANNEL.soc_sts_date;
END LOOP;
REC_COUNT := 0;
FOR REC_CHANNEL IN (SELECT distinct decode(sa.SOC,
29990,'N',
29991,'V',
29993,'M',
29988,'F',
29989,'L',
29992,'S',
29994,'D',
29995,'E',
30277,'C',
30293,'C',
30319,'C',
30359,'C',
30276,'X',
30331,'X',
30299,'X',
30380,'X')
AS CHANNEL,SA.soc_status_date as soc_sts_date
FROM SERVICE_AGREEMENT SA,
(SELECT MAX(SA1.soc_status_DATE) as soc_date, agreement_no, soc
FROM SERVICE_AGREEMENT SA1
WHERE soc in( 29990,
29991,
29993,
29988,
29989,
29992,
29994,
29995,
30277,
30293,
30319,
30359,
30276,
30331,
30299,
30380)
GROUP BY agreement_no, soc) sa1
WHERE SA.SOC in ( 29990,
29991,
29993,
29988,
29989,
29992,
29994,
29995,
30277,
30293,
30319,
30359,
30276,
30331,
30299,
30380) AND
SA.soc_status_date = sa1.soc_date AND
TRUNC(SA.SOC_STATUS_DATE) <> TRUNC(NVL(SA.EXPIRATION_DATE,SYSDATE)) AND
SA.SOC_STATUS = (SELECT MIN(SA2.SOC_STATUS) FROM SERVICE_AGREEMENT SA2
WHERE SA2.AGREEMENT_NO = SA.AGREEMENT_NO AND sa2.soc = sa.soc
and SA2.soc_status_date = SA.soc_status_date)
order by DECODE(channel,'D',1,'M',2,'E',3,'C',4,'X',5,'F',6,'L',7,'N',8,'S',9,'V',10)) LOOP
REC_COUNT := REC_COUNT + 1;
if REC_COUNT < 254 then
LP_CHANNEL := LP_CHANNEL || REC_CHANNEL.CHANNEL;
end if;
LP_DATE := REC_CHANNEL.soc_sts_date;
END LOOP;
INSERT INTO RPT1120B_CHANNEL_new values
(REC_SA.SUBSCRIBER_NO,
substr(FP_CHANNEL,1 essageID=1196758, I have hit with above error and the code did run successfully before the minor change in the portion I have bolded. Appreciate your comment & help.
Attached with the code:
CREATE TABLE RPT1120B_CHANNEL_new
(SUBSCRIBER_NO NUMBER (9),
FP_CHANNEL VARCHAR2(255),
FP_DATE DATE,
FP_DYNASTY CHAR(1),
FP_MOVIE CHAR(1),
FP_FUN CHAR(1),
FP_LEARNING CHAR(1),
FP_NEWS CHAR(1),
FP_SPORTS CHAR(1),
FP_VARIETY CHAR(1),
FP_EMPEROR CHAR(1),
FP_SX1 CHAR(1),
FP_CEL CHAR(1),
LP_CHANNEL VARCHAR2(255),
LP_DATE DATE,
LP_DYNASTY CHAR(1),
LP_MOVIE CHAR(1),
LP_FUN CHAR(1),
LP_LEARNING CHAR(1),
LP_NEWS CHAR(1),
LP_SPORTS CHAR(1),
LP_VARIETY CHAR(1),
LP_EMPEROR CHAR(1),
LP_SX1 CHAR(1),
LP_CEL CHAR(1));
--truncate table RPT1120B_CHANNEL;
create or replace PROCEDURE sp_rpt1120b_new
AS
FP_CHANNEL VARCHAR2(255);
FP_DATE DATE;
LP_CHANNEL VARCHAR2(255);
LP_DATE DATE;
REC_COUNT NUMBER(3);
TYPE REC_SA IS RECORD
(AGREEMENT_NO NUMBER (9));
TYPE REC_CHANNEL IS RECORD
(CHANNEL VARCHAR2(3),
AGREEMENT_NO NUMBER (9));
BEGIN
FOR REC_SA IN (SELECT DISTINCT SUBSCRIBER_NO FROM RPT1120B_T1_new) LOOP
FP_CHANNEL := '';
LP_CHANNEL := '';
REC_COUNT := 0;
FP_DATE := '';
LP_DATE := '';
FOR REC_CHANNEL IN (SELECT distinct decode(SOC,
29990,'N',
29991,'V',
29993,'M',
29988,'F',
29989,'L',
29992,'S',The error message has an important hint: "number precision too large"
Change REC_COUNT's type from NUMBER(3) to NUMBER and see what happens. -
Object Open Error while trying to export the vDataFact table
I am getting an error when trying to export the vDataFact table to a flat file. I have been able to do this several time before with the segment tables but would like to run this against vDataFact
The error in the error log is:
ERROR:
Code............ -2147217915
Description..... Object was open.
The screen error is:
The connection cannot be used to perform this operation. It is either closed or invalid in this context.
The line that appears to cause the issue is: Set rssql = API.DataWindow.DataAccess.farsKeySet(CStr(strSQL))
Here is my complete script:
Sub webdatafacts()
'Declare Variables
Dim objFileSystem 'File System
Dim strFileName 'File name
Dim ObjTextFile
'SQL variables
Dim strSQL ' Placehold for SQL Query
Dim rssql 'Placeholder for result set for sql query execution
'SQL Statement
strSQL = "SELECT PartitionKey, Account, AccountX, Entity, EntityX, ICP, ICPX, UD1, UD1X, UD2, UD2X, UD3, UD3X, UD4, UD4X, Amount FROM vDataFact"
set rsSQL = DW.DataAccess.farsFireHose(strSQL,False)
'Create the filesystem object
Set objFileSystem = CreateObject("Scripting.FileSystemObject")
Set ObjTextFile = objFileSystem.OpenTextFile(DW.Connection.PstrDirInbox & "\VDataFactExport.txt", 2, TRUE, 0)
ObjTextFile.Close
If Not rssql.EOF and Not rssql.BOF Then
Set objTextFile = objFileSystem.OpenTextFile(DW.Connection.PstrDirInbox & "\VDataFactExport.txt", 2, FALSE, 0)
Do Until rssql.EOF
'Loop across all fields in recordset delimiting them with a tab key
For i = 0 To rssql.Fields.Count -1
strString = StrString & rssql(i) & vbTab
Next
'Output the resulting string to the text file
ObjTextFile.WriteLine (strString)
'Reset the string to empty for the next record
strString = ""
'Move to the next record in the recordset
rssql.MoveNext
Loop
'Close the recordset and the text file
rssql.Close
ObjTextFile.Close
End If
'Destroy the instance of the recordset from memory
Set rssql = Nothing
End SubThanks, that was one of my suspicions, however, i was able to get the script to work by changing:
set rsSQL = DW.DataAccess.farsFireHose(strSQL,False)
to
set rsSQL = DW.DataAccess.farsFireHose(strSQL,True)
...to be honest though, i'm not entirely sure why that fixed my issue -
SQL 2012 SP2 - Cannot open Maintenance Plans in SQL Management Studio
Hello...
We have a number of SQL 2012 SP2 instances running on Server 2012 R2 where we cannot open any Maintenance Plans via the SQL Management Studio.
At times we've received an error message screen when attempting to open the Plan, but most of the time just nothing happens when you try to open the Plan.
I cannot get any of them to display the error now to even provide more information there.
This happens even after a reboot and/or restarting SQL server.
Everything else seems to be working and we can examine the individual pieces under the SQL Server Agent -> Jobs, but we cannot open the Maintenance Plan itself.
We can even create new Plans via the "Maintenance Plan Wizard" but not from "New Maintenance Plan" and once a Plan exists, we can't open it.
As a test, I tried connecting from a SQL 2008 R2 server and am able to open the plans, so it appears to be a SQL 2012 Management Studio issue rather than the Plans.
Any thoughts would be appreciated.
Thank you...Hello,
Once you modify and save a maintenance plan with a greater version of SSMS (let’s say SSMS 2014) you cannot modify it again
with an earlier version of SSMS again ( SSMS 2012 or earlier). That may be a possibility.
If you did not modify the maintenance plan with SSMS 2014, then try to repair SQL Server 2012, apply the latest service
pack (SP2), or try to uninstall only SSMS and reinstall it again.
If you have Visual Studio installed, please apply the latest update.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
"there was an error opening this document the root object is missing or invalid" adobe reader 9
I get the following message every time I try an open some of my saved PDF files in Adobe Reader 9
"there was an error opening this document. the root object is missing or invalid."
these files are not down loaded from a website, they are files I greated some time back and I have not opened in a while.
I am runing window XP and this dos not happen with all my PDF files.
can you help.
JamesSounds like the files are corrupt. Time to restore them from a good backup.
-
Hi,
Acrobat 8 had been working on my computer previously, up until this morning. Now any time I try to open a pdf, I get the error, "There was an error opening this document. Invalid action object." I can't get any pdfs on my computer to open, including pdfs that I know work as they opened fine last week. I don't think I've had any updates done to my computer over the weekend. Any ideas why it now doesn't work?Open Acrobat and go to HELP>Repair and see if that helps. After the repair, you may also want to do HELP>Updates.
-
Hello,
I just experienced this problem, and was able to successfully mitigate. I wanted to share my experience and Solution.
The problem started with the following error after succesfully exporting a PDF Document. "There was an error opening this document. This file is damaged and could not be repaired."
This is only applicable if you can still export and open SSRS Reports to other formats. Go to the Log files of the SQL Instance. In my particular case I used the Default MSSQL instance: C:\ Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting
Services\LogFiles
The Folder will begin with MSRS (SRS is for SQL Reporting Services)
Sort the files by date modified and check for the most recent log file: ex. SQLDmpr0000.log The 0000 will be the incremental amount of errors you have experienced in SRS. Check for the following error:
"System.DllNotFoundException: Unable to load DLL 'T2Embed': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"
Below is a sample from the log.
reportrendering!ReportServer_0-1!1b78!02/07/2012-11:56:03:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: , Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException:
An error occurred during rendering of the report. ---> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: An error occurred during rendering of the report. ---> System.DllNotFoundException: Unable to load DLL 'T2Embed': Access
is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.ReportingServices.Rendering.ImageRenderer.FontPackage.TTGetEmbeddingType(Win32DCSafeHandle hdc, UInt32& status)
at Microsoft.ReportingServices.Rendering.ImageRenderer.FontPackage.CheckEmbeddingRights(Win32DCSafeHandle hdc)
at Microsoft.ReportingServices.Rendering.ImageRenderer.PDFWriter.ProcessFontForFontEmbedding(PDFFont pdfFont, Dictionary`2 embeddedFonts)
at Microsoft.ReportingServices.Rendering.ImageRenderer.PDFWriter.EndReport()
at Microsoft.ReportingServices.Rendering.ImageRenderer.PDFRenderer.Render(Report report, NameValueCollection deviceInfo, Hashtable renderProperties, CreateAndRegisterStream
createAndRegisterStream)
at Microsoft.ReportingServices.Rendering.ImageRenderer.RendererBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo,
NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)
--- End of inner exception stack trace ---
at Microsoft.ReportingServices.Rendering.ImageRenderer.RendererBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo,
NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderFromOdpSnapshot(IRenderingExtension newRenderer, String streamName, ProcessingContext
pc, RenderingContext rc)
--- End of inner exception stack trace ---;
If you notice the error states that T2Embed.dll access is denied. In my case this due to a hotfix installed by Microsoft:
MS11-087: Vulnerability in Windows kernel-mode drivers could allow remote code execution: December 13, 2011
Be advised, in order to fix your problem and render pdf's, a vulnerability shall be created.
To fix this issue and allow the export to PDF work correctly, you must give the system Read/Execute Permissions, and Built-in\Administrators Full Control.
Go to Windows\System32 and find the T2Embed.dll Go to Security and modify the permissions as listed above. Do the same to the T2Embed.dll in the SysWow64 folder.
Restart Reporting Services and you will be able to export to PDF.
Best Wishes!
Mariano
www.lucontech.comI'm not convinced this is the exact cause of the issue. I will check my log files to see if I find anything like what you described. However, I get this error when a particular user tries to do a "print preview" from a custom button. The
code builds a ReportViewer object, sets the ReportPath, etc.
The reason I'm not convinced is because we have a separate reports page that has the report viewer embedded into it. If the user generates the report that way and exports to PDF, Word, etc...the user can generate the file and be on their way. As
soon as the user clicks our "Print" button on the page without the ReportViewer embedded, the above mentioned error occurs.
UPDATE: Perhaps we have a different problem since my issue is from a custom button. I found the solution
here and confirmed the solution with the customer. It had to do with the code using Response.Flush() instead of Response.End().
One thing I noticed before I implemented the change: When you would close the PDF, it would ask you to save changes to the PDF. After implementing Response.End() instead, that prompt went away. No doubt it has to do with the differences between
how Response.Flush() and Response.End() handle the stream returned.
Anyway, posting in case someone has the same issue. -
Hi,
After Adobe Reader and Acrobat updated to v11.0.06 I've started getting the following error message when I try to load PDF file into my AIR application on Windows (Vista and 7) machines: "There was an error opening this document. This file cannot be found."
I'm loading PDF just like it's been described in Flex/AIR documentation. HTMLLoader loads html that looks like: <html><body><object id="PDFObj" data="app:/pdfs/test.pdf" type="application/pdf" width="100%" height="100%"></object></body></html>
The file is in place and I've tried opening it from the Reader itself without any errors. When I uninstall Reader XI and install Reader X instead everything comes back to normal and the file is opened without an error.
What was changed in the Acrobat/Reader 11.0.06 that it prevents PDFs from being opened from AIR application? Or was it changed even before 11.0.06?
Kind regards,
RomanFyi, in addition to my earlier post, the other pc is using Adobe 8.1.1 and no other patch. I was trying to find 8.1.1 version but could not find a trust worthy site to load from. Do you think the error caused by using the 8.1.2 version? Thanks
-
To All,
I recently purchased a brand new Dell Laptop Inspiron 5521 Windows 7 Home Premium with purchase of Microsoft Office 2013 and already preinstalled Adobe Reader X. When trying to insert object being a saved pdf documentinto Word Doc., I keep receiving the following message: [There was an error opening this document. This file cannot be found.] Why?I don't know but I wouldn't expect it to work anyway. What do you expect to happen?
-
Hi,
I am trying to create report by writing MDx query. Just one hour back the report was working fine then i have done some changes it started throwing some error like
"An error occured during local report processing
An error has occured during report processing
Query execution failed for dataset'pDate'
The connection cannot be used while an XmlReader object is open."
The report is working withsome date combinations but when ever i am trying to display data with similar dates combinations like startdate: 01-01-2008 and Enddate:01-01-2008 then it is throwing error like this...
Could you please give any idea how to solve this...
Thanks...
maruthispWhile passing the Pdate parameters values to main report query, the parameter values was not proper for the main query. So I checked and modified the main report query to handle all the parameter values when I select from drop down selection.
Maruthi... -
Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library it says There was an error opening the database for the library. I have tried every thing. I updated the other libr but now it will not open the main to update. What do I do?
Try starting Aperture with the command and option keys held down. You'll get 3 options.
Try each, starting at the top, in order, checking after each to see if it fixes the issue. -
When I attempt to open a PDF file I saved from a website using Safari, I get the message "There was an error opening this document. The file is damaged and could not be repaired." When I save the same PDF file using FireFox it opens up immediately. Is there any way to correct this problem with Safari?
Back up all data.
Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
/Library/Internet Plug-ins
In the Finder, select
Go ▹ Go to Folder
from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
If you still have the issue, repeat with this line:
~/Library/Internet Plug-ins
If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again. -
I am running OS X 10.7.5 and Adobe Reader 11.0.02. In the last few days I have been unable to open PDF's downloaded from the web. Reader gives the error message 'There was an error opening this document. The file is damaged and could not be repaired'. Removing Reader and trying to use Preview to open these files give the error 'Preview cannot open this file. It may be damaged or use a file format that Preview doesn't recognise' (or something like that). Downloading the same files with Reader removed from my Mac Preview opens the files OK.
I was recently prompted to update Adobe software but did not note exactly what the update was nor when it was done.
Reader and Preview will both open PDFs I downloaded a week ago. Reader will also open files downloaded on another Mac running OS X 10.0.0 and copied to my Mac. Any ideas?Back up all data.
Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
/Library/Internet Plug-ins
In the Finder, select
Go ▹ Go to Folder
from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
If you still have the issue, repeat with this line:
~/Library/Internet Plug-ins
If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again. -
There was an error opening this document. Access denied.
Greetings,
When I did my taxes last year (March 2012), I downloaded some pdf files from the IRS. Form 1040 was a writable file and I filled it out as needed. This file was saved on a Vista machine running XP. A few months ago, I upgraded that pc to be Windows 7 SP1.
Today I'm getting ready to do my taxes for this year. When I double click on last year's Form1040.pdf, I get the following error message:
There was an error opening this document. Access denied.
Interestingly, I can open other pdf files, like the Form 1040 Instructions. I do not think that I password protected my Form1040.pdf. The reason that I think it isn't password protected is because I'm not being prompted to enter a password.
I copied the file to an old spare XP machine (XP Home, version 2002, SP3) that I have and it opened fine. It did not prompt for a password. I printed copies of last year's forms from that XP machine, so this isn't an emergency for me, but it is mildly annoying that I can't figure out what's wrong.
I have Adobe Reader XI version 11.0.2 installed on both machines (the Windows 7 machine and the old XP machine).
To summarize, it was created on Vista, I can't open it with Windows 7, but I can open it with XP.
Normally I would consider uploading the file in question, but in this case, I hope you'll agree that might be a bad idea!
Advice on how to get this to work on Windows 7 would be appreciated.Pat Willener: Thanks! That solved the problem.
For anyone else having this problem, here's a detailed list of how I used Pat's advice to solve my problem:
1. Right click on the problematic file
2. Select Properties
3. Select the Security tab
4. Press continue
5. In the "Permissions for MyFile.pdf" dialog, press "Add".
6. In the "Select Users or Groups" dialog, press "Advanced".
7. The next dialog that pops up is also named "Select Users or Groups". Press "Find Now".
8. Scroll down the list of search results until you find your username.
9. Double click on your username.
10. Press ok in the "Select Users or Groups" dialog.
11. Press ok in the "Permissions for MyFile.pdf" dialog
12. Press ok in the Properties dialog.
done.
Maybe you are looking for
-
My photo tab on iCloud is gone how do i get it back
there are several tabs on my icloud but my photo stream tab is not there how do i get it on or back?
-
So, I just wanted to know why that is happening and how can I get rid of that I already deleted and reinstalled my fb app; i added my mobile number and deleted it through my fb settings; i tried going offline - I am out of options! So if anyone knows
-
The problem is, changing location, but keeping my language. I moved from UK to Spain. I only speak english, and only have a Spanish bank account. Joining Iphone, or, trying to, everything comes through in spanish, hoy do I get over the language probl
-
Since yesterday's update, when I start Thunderbird, it appears in the task bar, but not on the desktop. I can select it, or use Task Manager to "switch to" it, but right-clicking it does not give me a menu. (It used to be that it opened outside the v
-
How do I get Photo Elements full version downloaded
I purchased (for $129+) the FULL Version of Photo Elements 12 & Premier Elements 12. Photo Elements 12 all of a sudden stopped working and said my TRIAL had expired. I have uninstalled the program and reinstalled the program and it still says my TR