I am having an issue with all of my Excel documents saving from the network drive. Whether I open the document then "save as" 97- 2003 or just do a straight "save" it will always come up as "Document not saved". I open some Word files and get a different error, "There has been a network or file permission error. The network connection may be lost (the drive contents here)" Now I am online and can do emails and open other documents from the network so I know my network connection is not lost. I work right off the LAN and not wireless.
I did take the file in both Excel and Word and copy them to the local drive then try the open / save as and it will work great like that no problem. Although this is a "work around" is there something I am missing? Our corporation has many new machines running Windows XP Pro along with Office 2007 Pro and this was the first I had seen this problem with. This is a laptop, but again others work fine ( that I know of)
19 Answers Found
Mark, we are experiencing the exact, same problem.
If you find a more permanent resolution, please post. Thanks.
The Way to fix this problem is to go to the
Select Offline Files
Then Disable Offline Files
Restart the computer
Everything should work after that.
I have the same issue. Any answers?
Answer 4This tip fixed my problem, thank you!
Answer 5This is not a fix but a workaround. I am having the same issue but need my offline files!!
We are seeing this also - anything new on this? I haven't seen anything additionally posted to fix this. The Offline Files fix didn't correct the problem in our case.
I too have run into this problem. I am running Excel 2007 and trying to save an offline file (i.e. one that normally lives on the network but has been copied to my computer and gets synchronized with the network files) in Excell 97-03 Workbook format. I get the message "Document not saved."
I have found that if I do a Save As and save the file to my desktop, then copy it back to the original location on my computer, it works.
To prevent this problem from occurring, you can add the NetworkResiliency and PivotTableNetworkResiliency subkeys to the registry. To do this, follow these steps.Warning
Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
, and then click Run
In the Open
box, type regedit
, and then click OK
In the left pane, expand the following items in the order that they appear, as appropriate for the version of Excel that you are running.Microsoft Excel 2002
HKEY_CURRENT_USERMicrosoft Office Excel 2003
HKEY_CURRENT_USERMicrosoft Office Excel 2007
In the left pane, click the Options
On the Edit
menu, point to New
, and then click DWORD Value
, and then press ENTER.
Double-click the NetworkResiliency
In the Value data box, type 1, and then click OK.
On the Edit menu, point to New, and then click DWORD Value.
Type PivotTableNetworkResiliency, and then press ENTER.
Double-click the PivotTableNetworkResiliency icon.
In the Value data box, type 1, and then click OK.These changes take effect the next time that you start Excel. For both registry keys, setting the key to 0 turns the setting off and 1 turns the setting on. The only difference between the two registry keys is that the default value when the registry keys are not present are On for VBA and OLE, and Off for PivotTable Cache.
have you tried the fix that i posted about document not saved in office 2007? or did you find another fix?
have you tried the fix that i posted about document not saved in office 2007? or did you find another fix?
They won't - it's just another PoS broken M$ application that never had any QA check.
We have only recently (~ second week of April, 2010) experienced this problem but it is affecting Word 2007 as well and likely all MS Office 2007 products. Initially I thought that it may have been caused by a recent MS Security Update.
I tried the Registry fix that was suggested but to no avail.
I perform a nightly backup of selected server shares to an external hard drive for redundent backups. I recently created a folder on the ext. drive and imposed quotas on it. It forced the quota on all users in the domain for that share.
During the backup, it copies the ntfs security properties from the server shares to the backed up folders on the ext HD. I'm wondering if that has done something. I disabled the quota then performed the backup and now receive an error that
it cannot copy the ntfs security to the ext HD folders. Strangely, though, I can't save office 2007 documents to ANY folder location on the affected servers - not even folders that are omitted in the backup so I'm not sure that quotas are
a part of the problem. Whatever the problem, it appears to be server specific. Also, the servers that are experiencing the problem have NT 4.0 OS.
Also, the servers that are experiencing the problem have NT 4.0 OS.
The issue is not related to quotas. I have two NT 4.0 servers and am having the same problem. The interesting thing is that there is one XP pro machine I am currently testing that does not have this problem of saving to theshares.
I do have four other machines that do have this problem. It may be related to XP (leaning more towards office) updates but have not fully started peeling them off. I first came accross this on this past Monday. I had never before had this
type of problem. I HAVE attempted removing and recreating shares (failed). I have attempted the Microsoft Office integrated repair tool (failed). I have verified NT server privileges (failed). Any other basic troubleshooting like clearing cache, prefetch,
etc. made no difference either.
I have tested saving to NT from a Server 2003 and it was successfule.
I have NOT attempted Office reinstallation or NT server account recreation yet.
OK, here is the solution. As is always the problem. THere is an Microsoft security update that has caused this problem. Remove it, restart machine and presto.
The update to remove is KB980232.
Thank you so much, "E". Removing the KB980232 works for me.
I'm using Windows XP Pro and Office 2007. Saving to a network share giving me the "Document not saved." message.
Thank you for this solution. Resolved the problem for me where we were unable to save Office 2007 files to a DFS share. We could save the files if we used a UNC path.
Some of our computers do not have the security update KB980232 installed even though they are up-to-date with the Microsoft updates. I searched the registry and couldn't find it. So removing the KB980232 is not a solution for me in this case.
I went to this link http://support.microsoft.com/kb/983458/en-us
and downloaded the hotfix. The problem is fixed after I installed this hotfix. You can try to install this
hotfix before removing the security update KB980232. This hotfix also resolved the same issue for Microsoft Office 2010. Hope this helps.
Some of our computers do not have the security update KB980232 installed even though they are up-to-date with the Microsoft updates. I searched the registry and couldn't find it. So removing the KB980232 is not a solution for me in this
case. I went to this link http://support.microsoft.com/kb/983458/en-us and downloaded the hotfix. The problem is fixed after I installed this hotfix. You can try to install
this hotfix before removing the security update KB980232. This hotfix also resolved the same issue for Microsoft Office 2010. Hope this helps.
This solution worked for me. Thanks.
Yep, this helped me too - thanks very much!
Have a big headache trying to upgrade Office Pro 2003. At this point, I un-installed Office Pro 2003, and performed full install (I omitted programs from the first installation). Loaded first
disk for Office Pro 2007 Upgrade, and got 3/4 into the install and received the following; " ERROR 1303.Setup cannot access the folder C:\Program Files\Common Files\Microsoft Shared\INK. Verify that the folder exists in your system
and that you have sufficient permission to update it." I do have the folder in question which 'denies access' when double-clicking it. Once again Microsoft fails to tell you HOW to verify the folder and what do next.
When my system was set up, there was no need for an administrator since I and one other person uses the computer. When I originally tried to do the installation, it was recommended that Office Pro 2003 be deleted, install the
Upgrade, and when the new installation requested product verification for 2003, just insert the disk. Wehn I followed these instructions, all sorts of errors occurred. Running on Windows XP pro.
I'm at a stand-still and would appreciate help.
I have two computers installed with Excel 2007 today. On one machine I could save an Excel 2003 file as Excel 5.0/95 format using Office 2007. However, on another machine I can't and get the error message: "Document not saved". Please let me know what's
wrong with my second machine.
This problem has been mentioned by many other users (in a different thread subject), so I wanted to start a new thread. I have tried many suggestions, but none have worked for me.
My MODI has been a print option for me until just recently. It disappeared from my printers folder. I have repaired, removed, and re-installed Microsoft Office. The MODI will still not appear in the printers folder.
Please Help!Read more...
I have read numerous threads on this forum regarding problems with Microsoft Office Document Imaging not functioning properly with upgrades. We recently upgraded to Windows 7, Office 2007 and I have tried EVERYTHING I have read on here to get full
functionality of Microsoft Office Document Imaging and nothing has worked. 1st off, it is not installed by default, 2nd... once it is installed, it does not work properly or at all. Shame on Microsoft for disabling a perfectly functiong program
that seemed to be used by many! Neither Adobe or XPS Document Viewer have the editing capabilities that MODI had. Would love to have it work properly with our new setup.
I have installed MODI on my Windows 7 and can open the program, but have tried everything to add as a printer and it is not listed in available printers no matter what I do. However, it is not going to work properly as I have read on here, please
just tell me the solution is to just forget MODI and move on.
For some reason I have a program that is called Windows Defender Pro or XP Defender Pro got installed on my computer randomly and it says my computer is infected with viruses, trojan horses, malware, and others. It asks to register for the program and I click no and then it goes to http://pc-livecare.com/buy.html. I don't know how to uninstall it or I don't know how it got on my computer. This also replaces Microsoft's Windows Defender. Can you help me?Read more...
I recently upgraded one of our office 2003 add-ins to work with office 2007. Though there were some pretty severe issues with the upgrade I think everything turned out ok. We have one remaining issue however. During my office's internal
testing it was discovered that "occasionally" we could not save a word 2007 document back to Alfresco after adding a hyperlink to the document.
I am able to replicate this issue with a standard document that does not contain our add-in. There doesn't seem to be any way to consistently make the issue appear either.
The document does not appear to be corrupted after the error. In fact, I am able to save to my hard drive, map to the web folder it should have saved to in the first place, and manually add the document to the Alfresco store. The document can
be pulled down again and edited without issues, unless another hyperlink is added (albeit occasionally).
This issue is not apparent on our test network with XP boxes, nor does it happen with Office 2003 documents. Considering the issues surrounding Vista's use of the WebDav mini-redirector I would bet money that it has something to do with this issue.
Has anyone else come across an issue similar to this? If so, were there any resolutions?
i am new to asp.net programming i am trying to create an ms excel file with charts drawn in it,
i wrote the complete code for it but the it is saying
Microsoft Office Excel cannot open or save any more documents because there is not enough available memory or disk space.
i have set the permissions to my complete disk space and all user accounts, and i tried with anti-virus disabling also it didnt work please try to help me out and my code is :
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim ConnString As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Book.accdb"
Dim SQLString As String = "SELECT Sheet1.TLT_ADDRESS3_NEW, Sheet1.TLT_FIN_NM_NEW2, COUNT(*) AS [count] FROM Sheet1 WHERE Sheet1.TLT_ADDRESS3_NEW = 'ADILABAD' GROUP BY Sheet1.TLT_ADDRESS3_NEW, Sheet1.TLT_FIN_NM_NEW2"
Dim OleDBConn1 As System.Data.OleDb.OleDbConnection = New System.Data.OleDb.OleDbConnection(ConnString)
Dim DataSet1 As New DataSet()
Dim OleDbDataAdapter1 As System.Data.OleDb.OleDbDataAdapter = New System.Data.OleDb.OleDbDataAdapter(SQLString, OleDBConn1)
GridView1.DataSource = DataSet1.Tables("Sheet1")
Dim xlApp As Excel.Application
Dim xlWorkBook As Excel.Workbook
Dim xlWorkSheet As Excel.Worksheet
Dim misValue As Object = System.Reflection.Missing.Value
Dim i As Integer
Dim j As Integer
xlApp = New Excel.ApplicationClass
xlWorkBook = xlApp.Workbooks.Add(misValue)
xlWorkSheet = xlWorkBook.Sheets("sheet1")
For i = 0 To GridView1.Rows.Count - 2
For j = 0 To GridView1.Rows.Count - 1
xlWorkSheet.Cells(i + 1, j + 1) = GridView1.Rows.ToString()
Dim chartPage As Excel.Chart
Dim xlCharts As Excel.ChartObjects
Dim myChart As Excel.ChartObject
Dim chartRange As Excel.Range
Dim sheet1 As New Excel.Worksheet
xlCharts = xlWorkSheet.ChartObjects
myChart = xlCharts.Add(50, 150, 400, 250)
chartPage = myChart.Chart
chartRange = xlWorkSheet.Range("B1:B9", "C1:C9")
chartPage.ChartType = Excel.XlChartType.xlDoughnut
' Add series data labels and change to show percentage only.
False, False, False, False, False, True, True, False, True)
' Adding title to the chart.
chartPage.HasTitle = True
chartPage.ChartTitle.Text = "Percentage of Sales by Financiers"
chartPage.ChartTitle.Font.Size = 12
'changing chart type.
chartPage.ChartStyle = 42
MsgBox("You can find the file C:\DISTWISE FINANCIERS\ADILABAD_FINANCIERS.xlsx")
End SubRead more...
Not loaded. A runtime error occured during the loading of the COM Add-in.
Again. I am sorry to open yet another thread around that topic. Please be sure I read as many threads on the topic as possible. And tried the troubleshooting steps proposed there. Still I could not figure out what is wrong.
I develop an Excel add-in using Visual Studio 2010. For now it is an empty add-in, no code yet, just what the VS template created. The targets are Office 2010 and .NET 4. I publish the (empty) add-in using clickonce.
And I wanted to check that the add-in was loading as promised in Office 2007. So I setup a fresh test workstation with Windows 7, Office 2007 SP2, .NET4, VSTO 4 redistributables. I install my add-in and that works, it appears to be loaded by Excel 2007.
Then I setup a fresh workstation with Windows XP SP3, Office 2007 SP2, .NET4, VSTO 4 redistributables. And that does not work. The add-in is not loaded. "Not loaded. A runtime error occured during the loading of the COM Add-in."
Could you help me getting to the root cause of that issue? Thanks a lot,
I am working on a C# Windows Forms application that is using a webservice to handle the saving of data. There is a Document table which has the Document ID and a Document Data column which is a varbinary(max). I am trying to save a PDF into
this table and I can successfully get the byte array, but as soon as the save fires I get the following error: Data at the root level is invalid. Line 1, position 1. I have been able to save other pdf and docx files successfully but ones I've actually
published from Office 2007 seem to always be breaking. Any help would be appreciated. Thanks.Read more...
I am working on a C# Windows Forms application that is using a WFC Data Service to handle the saving and retrieveing of data. There is a Document table which has the Document ID and a Document Data column which is a varbinary(max). I am trying
to save a PDF into this table. I can successfully get the byte array, but as soon as the save fires I get the following error: Data at the root level is invalid. Line 1, position 1. I have been able to save other pdf and docx files successfully
but ones I've actually published from Office 2007 seem to always be breaking. Any help would be appreciated. Thanks.Read more...
Can anyone tell me how to install Microsoft Office Document Imaging Printer
in Office 2007 (RFP). Although the Imaging program installs, the Printer
does not, and the Microsoft Office 2007 Professional (86) Installer say that it is not an available feature.Read more...
I would like know what will be effect on moss 2007 documents when I upgrade from office 2003 to office 2010.
i.e - Various Macros function won't work correctly when upgrading office 2003 to 2010. ( I am not sure about this)
we receive error while trying to create excel sheet using the template we have uploaded on the SharePoint 2007.
This occurs on a machine that has Office 2010 installed. Earlier the machine had Office 2007 and everything was working fine.
Can you let me know why is problem is coming and how to resolve this.
I have an MS Access app developed in Office 2000 and worked in Office 2003. Now I have a user using Office 2007 and the "Analyze It With MS Excel" toolbar Office Link I set up for exporting to Excel is grayed out and broken.
I also have a "Publish It with Word" toolbar link that continues to work albeit with a little help copying MSWORD.OLB to the appropriate Office11 folder under Program Files. Word export seems to work differently than Excel in that it required a reference being set whereas Excel didn't. I tried setting a reference for Excel but that didn't work.
Does anyone know how to fix this short of installing Excel 2003?
When any of our Windows 7 Pro computers that run Office 2007 Pro attempt to open a Word document that resides in a WSS 2.0 document library by using the drop down menu and selecting "Edit with MS Word", the documents open in read-only. Our work-around
is to save the document locally, modify it, and then save it back to the document library.
We have some Windows XP and Vista systems that run Office 2007 and they are fine and can simply edit the document and save it. We also have a handful of pc's that run Office 2003 and they are not having any issues either.
Things I've tried:
Office 2007 Repair - no luck Office Reinstall - no luck Some registry mod HKCU\Software\Microsoft\Office\12\Internet\OpenDocumentReadWrite=1 (noted on a MSKB article) - no luck and after re-reading the article it clearly states that this will not address content hosted on WSS or SPS sites
Clearing IE temp files, resttting IE to defaults - no luck
Once again, this only seems to happen to Win7Pro pc's that run Office 2007. Honestly, I can't tell if IE8 has anything to do with this.
Any thoughts or help would be extrememly appreciated.
Thanks, Read more...
I have reference of iTextSharp.dll files required to create pdf files on Windows XP Pro and Visual Studio 2008, which when deployed runs fine. If I run using ASP.NET Development server in Visual studio 2008 / windows 7 it works fine too.
But if I try to deploy the application on IIS 7 and use Visual Studio 2008 to publish it. After I open it in web browser, I get this error.
Please help me here. Thanks.
Could not load file or assembly 'iText' or one of its dependencies. An attempt was made to load a program with an incorrect format.
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.BadImageFormatException: Could not load file or assembly 'iText' or one of its dependencies. An attempt was made to load a program with an incorrect format.
|An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Assembly Load Trace: The following information can be helpful to determine why the assembly 'iText' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
[BadImageFormatException: Could not load file or assembly 'iText' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +416
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +166
System.Reflection.Assembly.Load(String assemblyString) +35
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +190
[ConfigurationErrorsException: Could not load file or assembly 'iText' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +11207304
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +232
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +210
System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +76
System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +283
[HttpException (0x80004005): Could not load file or assembly 'iText' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +1025
[HttpException (0x80004005): Could not load file or assembly 'iText' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11301302
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +11174792
hi all. when i'm using Range.Group method from Interop.Excel it groups me by columns, the issue is that i want to group my data by rows .
this is my code:
static object useDefault = Type.Missing;
static void SetCellValue(Worksheet targetSheet, string cell,
static void GenerateGroupedRows()
// Declare variables that hold references to excel objects.
ApplicationClass excelApplication = null;
Workbook excelWorkBook = null;
Worksheet targetSheet = null;
Range testRange = null;
// Declare helper variables.
string workBookName = @"E:\TestExcel.xlsx";
string workSheetName = "group rows";
// Create an instance of Excel.
excelApplication = new ApplicationClass();
//Create a workbook and add a worksheet.
excelWorkBook = excelApplication.Workbooks.Add(
targetSheet = (Worksheet)(excelWorkBook.Worksheets);
excelWorkBook.Worksheets.Add(System.Reflection.Missing.Value, targetSheet, 1, System.Reflection.Missing.Value);
targetSheet.Name = workSheetName;
// Add Data to the Worksheet.
SetCellValue(targetSheet, "A2", "0");
SetCellValue(targetSheet, "B2", "1610");
SetCellValue(targetSheet, "C2", "0");
SetCellValue(targetSheet, "D2", "0");
SetCellValue(targetSheet, "E2", "0");
SetCellValue(targetSheet, "F2", "1000");
SetCellValue(targetSheet, "G2", "0");
SetCellValue(targetSheet, "H2", "1000");
SetCellValue(targetSheet, "A3", "1610");
SetCellValue(targetSheet, "B3", "1610.01");
SetCellValue(targetSheet, "C3", "0");
SetCellValue(targetSheet, "D3", "0");
SetCellValue(targetSheet, "E3", "0");
SetCellValue(targetSheet, "F3", "500");
SetCellValue(targetSheet, "G3", "0");
SetCellValue(targetSheet, "H3", "500");
SetCellValue(targetSheet, "A4", "1610.01");
SetCellValue(targetSheet, "B4", "1610.01.01");
SetCellValue(targetSheet, "C4", "0");
SetCellValue(targetSheet, "D4", "0");
SetCellValue(targetSheet, "E4", "0");
SetCellValue(targetSheet, "F4", "250");
SetCellValue(targetSheet, "G4", "0");
SetCellValue(targetSheet, "H4", "250");
testRange = targetSheet.get_Range("A2", "H4");
testRange .Group(useDefault, useDefault, useDefault, useDefault);
// Save the Workbook.
excelWorkBook.SaveAs(workBookName, useDefault, useDefault,
useDefault, useDefault, useDefault,
XlSaveAsAccessMode.xlNoChange, useDefault, useDefault,
useDefault, useDefault, useDefault);
catch (Exception ex)
// Release the references to the Excel objects.
testRange = null;
// Release the Workbook object.
if (excelWorkBook != null)
excelWorkBook = null;
// Release the ApplicationClass object.
if (excelApplication != null)
excelApplication = null;
I uninstalled Windows search 4.0 because I was having a lot of issues with it so I decided to do an uninstall and then to reinstall but everytime I try to re-install, I'm getting a Setup Error and file KB940157.log is being created. I opened
the file but I can not find what the issue is. Can someone please help and advise if I can post the log file.
Thanks Read more...
We will be implementing Document Search (DOC, DOCX, PDF, TIFF, PPT, PPTX, XLS, XLSX) for one of our customers. We were evaluating a few MOSS 2007 based solutions, and happened to visit your site. What we intend to achieve are the following functionalities:
User should be able to search through 1000s of documents which are in a Sharepoint Document Library
The documents could be in English, International Languages.
Each document is 70-100 pages, and therefore it is important that the Search Results show the relevant pages on which the Search Text appears (Get Highlighted) within each document . Clicking on the link will take the user to the right
The additional requirement is Synonym search. So, I can search for
V.A.T or Value Added Tax and get the same results:
Search Results Page should display the same no. of documents
The Text which has been searched should be all 3 keywords since they are all synonyms and mean the same. This will ensure that the relevancy of search improves - it doesn’t only highlight the Text (within the document) which is searched
for, but highlights all the 3 keywords automatically
Vinay Kumar SinghRead more...