Bitmap.Save 'A generic error occurred in GDI+'

Hello All,
I was just going to play around by generating some bitmaps programatically.
I started off with this simple example, expecting everything to go smoothly, but have run into a strange error.
The following code is by no means good, just something simple and complete I would expect to work:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace BitmapOutput
    public partial class Form1 : Form
        /// <summary>
        /// The picture i am drawing
        /// </summary>
        System.Drawing.Bitmap myBitmap;
        /// <summary>
        /// Graphics object for drawing
        /// </summary>
        System.Drawing.Graphics myGrafx;
        public Form1()
            InitializeComponent();
            this.myBitmap = new Bitmap(800, 600);
            this.myGrafx =                 System.Drawing.Graphics.FromImage(this.myBitmap);
            this.DrawPicture();
            this.ShowPicture();
            this.SavePicture();
        public void DrawPicture()
            this.myGrafx.DrawEllipse(
                new Pen(System.Drawing.Color.AliceBlue),                 new Rectangle(0, 0, 100, 100));
        public void ShowPicture()
            this.pictureBox1.Image = this.myBitmap;
        public void SavePicture()
            this.myBitmap.Save("Output\\out.bmp" ,                    System.Drawing.Imaging.ImageFormat.Bmp );
This runs fine until the SavePicture(...) function is called.
I get the exception:
"A generic error occurred in GDI+."
at the this.myBitmap.Save(...); line.
Most likely there is some detail that I have overlooked, and I appreciate it if anyone could point out to me what I could do to fix it.
But, I'd like to think that this code would work, it makes sense, and requires little effort, that should be one of the goals of .net
Any help or ideas are greatly appreciated!
P.S. how do I use 'code' tags?

Actually, the fix is to properly dispose of your objects in order.  This is one advantage of C#, with the using() syntax:
// new image with transparent Alpha layer
using (var bitmap = new Bitmap(330, 18, PixelFormat.Format32bppArgb))
using (var graphics = Graphics.FromImage(bitmap))
// add some anti-aliasing
graphics.SmoothingMode = SmoothingMode.AntiAlias;
using (var font = new Font("Arial", 14.0f, GraphicsUnit.Pixel))
using (var brush = new SolidBrush(Color.White))
// draw it
graphics.DrawString(user.Email, font, brush, 0, 0);
// setup the response
Response.Clear();
Response.ContentType = "image/png";
Response.BufferOutput = true;
// write it to the output stream
bitmap.Save(Response.OutputStream, ImageFormat.Png);
Response.Flush();
Notice how I dispose (end the using) of the graphics parameter, before I save it?  You don't have to use the using() statements, just call Dispose() at the end of the scope I show above.
I ran into this problem today on Azure (works locally in the cloud, just an Azure 1.3 thing!), and I saw the link to the blog post above.  That was a good link, as it pointed me in the direction of disposing the graphics earlier.
But, there is no point of increasing hte memory usage of two bitmaps if you dispose of your graphics properly before saving.
http://eduncan911.com

Similar Messages

  • A generic error occurred in GDI+ while assing tiff image file to Bitmap and Image

    Hi,
    I am getting "A generic error occurred in GDI+" error while reading the tiff image file to Bitmap or Image.
    Below is my sample code.
    string filePath=@"c:\Images\sample.tif";
    Bitmap bmp=new Bitmap(filePath);   // here getting exception
    int totalpages=bmp.GetFrameCount(.....);
    etc......
    I tried using Bitmap.FromFile() and also from FromStream() even for Image also but there is no use.
    Moreover i m having full permissions for the file path and the tiff file is having multiple pages.
    Can anyone help me to solve this issue please.
    Thanks & Regards,
    Kishore
    Kishore

    Make sure that the Tif file is valid (can other software open it)?  If you are able to save a Tif using GDI+, try saving that Tif, then opening it.  Part of me wonders if there is something about that specific Tif that GDI+ doesn't like.
    You could also try using WIC to open the TIF, perhaps you would have better luck there.

  • ExternalException was unhandled : A generic error occurred in GDI+.

    I am try to save this bitmap as jpg file for every 5 sec. It works fine at another application, before I move this method to another app. The error message shows ExternalException was unhandled : A generic error occurred in GDI+. I do not know if
    it is write permission issure or anything else. Since I use same computer and try to save at same file path, the error message keep going. I think I need help.
    The error code:
    public void captureScreen()
    bmpScreenshot = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
    Debug.WriteLine("width:{0}, height:{1}", Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
    gfxScreenshot = Graphics.FromImage(bmpScreenshot);
    gfxScreenshot.CopyFromScreen(Screen.PrimaryScreen.Bounds.X, Screen.PrimaryScreen.Bounds.Y, 0, 0, Screen.PrimaryScreen.Bounds.Size, CopyPixelOperation.SourceCopy);
    //Save the screenshot to the specified path that the user has chosen
    i++;
    string i1 = Convert.ToString(i);
    string name = "good" + i1 + ".jpg";
    ImageCodecInfo jpg = GetEncoder(ImageFormat.Jpeg);
    System.Drawing.Imaging.Encoder myEncoder = System.Drawing.Imaging.Encoder.Quality;
    EncoderParameters myEncoderParameters = new EncoderParameters(1);
    EncoderParameter myEncoderParameter = new EncoderParameter(myEncoder,
    50L);
    myEncoderParameters.Param[0] = myEncoderParameter;
    bmpScreenshot.Save(name, jpg,
    myEncoderParameters);
    Bitmap bitmap = new Bitmap(name);
    System.Drawing.Image image = (System.Drawing.Image)bitmap;
    The error shows here:
    bmpScreenshot.Save(name, jpg,
    myEncoderParameters);
    And Only alow me save one jpg, then pop up error

    Hi
    Since I can't reproduce your issue with some
    undefined code.
    Just take a look at from
    Graphics.FromImage Method
      in MSDN  document.
    You should always call the Dispose method to release the
    Graphics and related resources created by the
    FromImage method.  Please try and test it again.
    If still can't resolve, please post the complete code.  Thanks.
    Have a nice day!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SSRS 2012 SP2 - Windows 2008R2 - Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: A generic error occurred in GDI+

    Hi,
    I have built new SQL 2012 SSRS SP2 with Windows 2008R2 and BAR reports are not showing (just "x" mark in the left corner).
    Following is the log file information. I have gone through other forums and all are with windows 8 or windows 2012. Your help is much appreciated.
    library!ReportServer_0-15!d7c!08/13/2014-10:52:17:: i INFO: RenderForNewSession('/ProductionReporting/PlantProduction')
    reportrendering!ReportServer_0-15!d7c!08/13/2014-10:52:18:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: , Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: A generic error occurred
    in GDI+. ---> System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
       at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
       at Microsoft.Reporting.Chart.WebForms.Chart.Save(Stream imageStream, ChartImageFormat format)
       at Microsoft.ReportingServices.OnDemandReportRendering.ChartMapper.GetImage(ImageType imageType)
       --- End of inner exception stack trace ---;
    Thanks,
    Vel
    Vel Thavasi

    Hi Vel,
    According to the error message, the issue is related to GDI+. Based on my research, it is a known issue that the GDI+ need to be updated on Windows Server 2008 R2. If we want to know what version of GDI+, we can do a file search for Gdiplus.dll.
    To fix this issue, please install the hotfix for your Windows Server 2008 R2 from the following kb:
    http://support.microsoft.com/kb/2495074
    There following thread about the similar issue is for your reference:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/50c071db-b4fc-4a2e-a9f4-e10e833c97d2/report-not-rendering-charts-in-pdf-a-generic-error-occurred-in-gdi?forum=sqlreportingservices
    If there are any other questions, please let me know freely.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Report not rendering charts in pdf (A generic error occurred in GDI+)

    I've found the following exception stack trace in the Report Server log:
    ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: , Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: A generic error occurred in GDI+. ---> System.Runtime.InteropServices.ExternalException:
    A generic error occurred in GDI+.
       at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
       at Microsoft.Reporting.Chart.WebForms.Chart.Save(Stream imageStream, ChartImageFormat format)
       at Microsoft.ReportingServices.OnDemandReportRendering.ChartMapper.GetImage(ImageType imageType)
       --- End of inner exception stack trace ---;
    I've got no idea what this is, any help would be appreciated. I don't know what could potentially cause this, so I don't even know how to start looking for a fix.
    Other info:
    SSRS 2012 BI
    Win Server 2008 R2 (Running on Hyper-V)
    The pdf report(s) renders and is saved to the location it is meant to, but devoid of any charts. A data driven subscription controls the rendering.

    Hi,
    This is a known issue with Windows GDI+. To resolve the issue, please install the hotfix for youR Windows Server 2008 R2 from:
    http://support.microsoft.com/kb/2495074
    Regards,
    Mike Yin
    TechNet Community Support

  • Save Query - An error occurred while creating connection strings for the query

    A workbook trying to edit and reload I get the following error "Save Query - An error occurred while creating connection strings for the query" No Power Pivot data model or anything.

    I am getting the same error when editing a Power Query in an Excel spreadsheet. It happens when I change a Group By step to do a Sum instead of Count Rows.

  • Generic Error with Priemiere Elements

    I am beginning to shoot footage for a stock company and was trying out the trial version of Premiere Elements 11. I am running an iMac version 10.7.5 and the camera I am using is the Panasonic HDC-HS700 HD. I shot the footage in that then used the Aunsoft Panasonic ACVHD converter to convert the H.264 vodeo .mov format. This worked fine and I did a quick edit using MPEG Streamclip program and was able to submit the footage. But I wanted a more robust editing program so I DL'd the Premiere Elements 11 trail. The installation went fine but when I tried to drag or open the file I would get that a generic error occurred with no further explaination. This happened when I dragged the file in and also when I tried to import it from the organizer. I tried rebooting the computer but that did not fix the issue.
    I had read that Quick Time needed to be a current version and I have version 10.1.
    I can view the file in Quicktime and I can also drag it into iMovie without a problem. There just seems to be an issue with getting it to load into Elements. Any help would be appreciated. Thank you.
    Dave

    Welcome to the forum.
    I am not sure exactly what you were trying to do with PrE (the PrE 11 trial).
    Let's step back to what one needs to do, to edit with PrE.
    First, a New Project will need to be created. This can be done from the Welcome Screen. Locate and name that New Project.
    Once created, and Open in PrE 11, there will initially be nothing showing - a blank Timeline.
    Go to Get Media, navigate to where you media files are located, and Import those.
    Then, from the Project Panel, with those Imported media files, drag 1, or more, to the Timeline.
    For more background on working with PrE, Steve Grisetti has a great Basic Training Series on Muvipix.com (a sister site to this forum): http://www.muvipix.com/products.php?searchphrase=basic+training&btn.x=21&btn.y=7 Just scroll down to the Premiere Elements 11 Basic Training Series. That will quickly get you up to speed.
    If you decide that PrE 11 is the program, that you want to use, I strongly recommend Steve's Muvipix Guide to PrE 11, also available from Muvipix.com, and Amazon. When you get past the basics, he has a great Tips & Tricks book, that is a companion, that takes one into the realm of highly creative and advanced video-editing techniques.
    Good luck,
    Hunt

  • GDI+ Generic Error, multple frame tiff, multiple image formats

    This is a question I posted on stack exchange, but have not gotten any answers.  This is occurring on Windows Server 2008 R2 systems.
    I have seen many issues involving the GDI+ Generic Error, but I have not seen this particular matter raised before. We are consistently getting the error, on Windows systems other than Windows 8, when attempting to read (System.Drawing.Image.SelectActiveFrame)
    a multiple-frame tiff that includes frames in mixed Photometric Interpretation formats. That is to say, the file includes both RGB color and min-is-white formats, with corresponding differences in the Bits/Sample and Samples/Pixel frame parameters. The error
    is consistently raising as soon as a frame is encountered with a format that is different from that of the first frame.
    // Convert File from .tiff to .PDF
    static void ConvertFile(string file, string pdffilename)
    string localMessage = string.Empty;
    try
    //if it's a PDF Just renamed it and continue
    if (file.ToLower().Contains(".pdf"))
    File.Copy(file, pdffilename);
    return;
    // If file exists return
    if (File.Exists(pdffilename)) { return; }
    using (var stream = new FileStream(pdffilename, FileMode.Create))
    localMessage = "01";
    var document = new iTextSharp.text.Document();
    localMessage = "01";
    var writer = iTextSharp.text.pdf.PdfWriter.GetInstance(document, stream);
    localMessage = "02";
    var bm = Bitmap.FromFile(file);
    localMessage = "03";
    var total = bm.GetFrameCount(FrameDimension.Page);
    localMessage = "04";
    document.Open();
    //iTextSharp.text.pdf.PdfContentByte cb = writer.DirectContent;
    localMessage = "05";
    iTextSharp.text.Image img = null;
    for (var currentframe = 0; currentframe < total; ++currentframe)
    localMessage = "06=>" + currentframe.ToString();
    bm.SelectActiveFrame(FrameDimension.Page, currentframe);
    localMessage = "07=>" + currentframe.ToString();
    img = iTextSharp.text.Image.GetInstance(bm, ImageFormat.Bmp);
    localMessage = "08=>" + currentframe.ToString();
    img.ScalePercent(72f / img.DpiX * 100);
    localMessage = "09=>" + currentframe.ToString();
    img.SetAbsolutePosition(0, 0);
    localMessage = "10=>" + currentframe.ToString();
    iTextSharp.text.Rectangle pageRect = new iTextSharp.text.Rectangle(0, 0, img.ScaledWidth, img.ScaledHeight);
    localMessage = "11=>" + currentframe.ToString();
    document.SetPageSize(pageRect);
    localMessage = "12=>" + currentframe.ToString();
    document.NewPage();
    localMessage = "13=>" + currentframe.ToString();
    document.Add(img);
    localMessage = "14";
    bm.Dispose();
    localMessage = "15";
    document.Close();
    localMessage = "16";
    stream.Close();
    catch (Exception exception)
    string msg = exception.Message + "\r\n" +
    "Coversion Error--\r\n" +
    "\tinput file name: " + file + "\r\n" +
    "\toutput file name: " + pdffilename + "\r\n" +
    "\tlocal message" + localMessage + "\r\n";
    Console.WriteLine(msg);
    SaveError(msg);
    throw;
    The "local message" is always "06=>n", where n is the 0-based index of the frame that transitions to a new format.
    The error occurs whether the transition is from black and white to color, or color to black and white.  The issue does not seem to occur on Windows 8 boxes, but we only have W8 developer PCs, not servers.  It is a production process and needs to
    be deployed on a server.
    Does anyone know why this is happening or how to fix it?

    Hi,
    For the GDI related issue, i think you may ask in the following forums:
    http://forums.asp.net/150.aspx/1?System+Drawing+GDI+
    Thanks for your understanding.
    Regards.
    Vivian Wang

  • "An error occurred while trying to save your photo library..."

    Installed iPhoto6.
    Started app. It said it would take a few seconds or minutes to upgrade.
    About 6 hours later after churning on thumbnails it is now claiming this error over and over with some time that goes by in between:
    "An error occurred while trying to save your photo library."
    "Some recent changes may be lost. Make sure your hard disk has enough space and that iPhoto is able to access the iPhoto Library folder."
    It says I have 22,759 photos in Library. The Library was a subset of my images, named "iPhoto Library 2005" and it was intentionally kept below the 25,000 limit of iPhoto5.
    Since Steve claims iPhoto6 can easily handle 250,000 photos, I clicked on the upgrade button with confidence. This now appears to be a mistake. Last night I was working on an iDVD for the local school and the majority of that work has simply vanished. There were 320 photos. I spent hours adding keywords, ranking, adjusting temperature, focus, exposure, etc.
    Of the 320, only 16 photos survived. They are 16 in a row from the middle of the roll near the end but not at the end. The roll name was lost. The name is now just "Roll 226" and none of the photos have keywords. I know at least one of the 16 should have the keyword "DUPE" and the ranking 2 STARS since it precedes a double that I ranked 2 during a slideshow, sorted by ranking, and dragged to the DUPE keyword. All 16 should have the ACROCK keyword which I initially assigned to all photos.
    Again, 304 of 320 have vanished and the 16 that remain have no keywords or rankings.
    I watched the slide show in iPhoto5 three times with different music candidates so I know the keywording and rankings evaporated in iPhoto6. I also clicked ACROCK and option clicked DUPE and POOR so that all of the music program photos except dupes and poor images would vanish. I only deleted one photo so there were not a lot of changes to the library in terms of photos in it. I cannot think of any reason why the 16 chosen survived. Only two were placed in a DVD dropzone and they are scattered amongst the 16 survivors.
    Also, the ACROCK and DUPE keywords are also gone while the POOR keyword added in August is in the keyword table just fine.
    I exported these 320 photos last night to iDVD and tried almost all of the different themes and I dragged about 10 different photos to the dropzones, hit play, hit motion, etc.
    It seems very strange that 16 photos from the middle of the pack would survive.
    It seems extra odd that iPhoto5 and iDVD treated these as "established" photos, not photos hanging in the wings somewhere ready to vanish in an upgrade.
    I gracefully saved and quit iDVD and iPhoto5 and there were no crashes and nothing strange happened while making the DVD. I was hoping today to try out the new themes and maybe find one that is just right for the kids. Instead, about 300 of 320 photos of the kids went bye-bye along with all the work on the photos!
    I'm nervous that many more photos are missing but I will need to do a ton of checking to see what else has been deleted by the upgrade.
    The user message that iPhoto6 presents is nearly useless and strange. It offers little if anything to go on in terms of a repair procedure. After saying an error has occurred, it says some recent changes could be lost but doesn't expand at all on what they may be or why.
    From my experience, recently added photos, keywords, keyword assignments, rankings and maybe more can all be lost. To compound matters, before the upgrade it says that you cannot go back to the prior (working!) library in iPhoto5. Beware!
    It finishes by suggesting two vague steps to take. The first is to make sure your disk has "enough" space. How much is "enough"? It doesn't say something like X GB available, Y GB needed. A user would have no clue about how much space to free up. I have over 17 GB and assumed that would be enough. I sure hope it doesn't require double the space of the existing library. I would hope it has a smarter algorithm than that since 23,000 photos at about 3 MB each maps to about 70 GB. That's a lot of "temporary" space to require to perform an upgrade. Since the upgrade/error message provide no details (unlike package installers which supposedly tell you how much space you need), users like me would have no clue if 70 GB is plenty or not enough.
    I found 24 GB secretly used by iPhoto 5 for an iPod Photo Cache and a tech bulletin saying this just grows and grows without control and it can be deleted SO I wouldn't put huge hidden disk usage past iPhoto6.
    The last none-to-helpful suggestion is that a user make sure that iPhoto is able to access the iPhoto Library folder. Huh?!??!?
    Wouldn't this be a great thing to confirm via software before setting about on 6+ hours of work, especially if there is an error message hard-coded in the software confirming that Apple knows the result may be losing valuable customer photos and hours of work on enhancing, keywording, creating DVDs, etc.?
    Of course. This appears negligent. To know that customer file loss will likely result but not checking these things out in advance before taking that risk seems like putting the cart before the horse at customers' expense & pain and certain loss of irreplaceable family photos (for the, say, 80%+ of iPhoto users that "plan" to get a backup routine established?).
    I got burned in the iPhoto5 upgrade as well, losing photos, so I was sure to have a backup so it wouldn't happen again. Most I fear won't be so fortunate so be advised of the risk and work with copies of your photos only.
    Also, why would iPhoto5 have all the permissions it needs to store, edit, tag and otherwise work with 320 photos added last night? Why would version 5 have plenty of permissions to use the folders and the photos in them. Why would iPhoto 6 suddenly lose those permissions or not have enough? This hardly makes any sense. The only way the permissions were set, the iPhoto libraries got created and the albums got created was by dragging a folder of images onto the albums pane in iPhoto5. So, iPhoto5 set all the permissions, everything is under one user account and there should be no surprise permissions for iPhoto6 to deal with.
    It seems unbelievable that iPhoto 6 couldn't do what iPhoto 5 was doing. I never changed permissions and never touched files in the iPhoto 5 structure.
    I can only guess that recently added keywords, recently added photos and recently added rankings and keyword taggings linger in some at-risk staging area that a version 6 upgrade doesn't know how to deal with. This seems like a lame way to code this app so I don't consider this a good guess but what else could it be?
    Anyone else have a better hunch at a root cause?
    Anyone else have an idea of a cure?
    Anyone else run into this?
    It sure doesn't look like there was a test case for having near 25,000 photos (an iPhoto 5 documented requirement), working with the latest roll and then doing a version 6 upgrade because it failed miserably--user data loss--without any special effort to find defects. In a former life I tested software and released software was much more difficult to break than this.
    I would appreciate any other user experiences/solutions related to this problem. I am reluctant to import another 22,000 photos from iPhoto Library 2004 only to find more photos go poof without any rhyme or reason.
    Thanks in advance for your help and I hope this alerts others to a potential for valuable photo loss (i.e., back up before you upgrade, verify iPhoto Library permissions--whatever that means--and have scads of disk space available assuming there's any truth to the error message!).
    --Sam
    G5 Dual 2.7 GHz 2 GB DDR SDRAM   Mac OS X (10.4.4)  

    I'll check if I have copies of copies of copies. This could take a while due to the number of files.
    I picked up a brand new 300 GB Western Digital hard drive thinking 20GB or so was not enough for temp files for upgrading and/or importing.
    I formatted it as a mac os extended, journaled drive, not case sensitive, one full-size partition. I started iPhoto6 with the option key. I had a CF in my other WD 300 GB (with media reader). iPhoto6 asked about the photos on the card. I told it not to download those (again). Because I was holding the option key down, iPhoto6 asked if I wanted to select a different library or create one. I created one on the brand new, 100% empty 300 GB drive. I'm not sure if/where iPhoto6 creates temporary/cache files (like iPhoto iPod Cache folder) as it sets up a new library. I was hoping the empty 300 GB drive would give it ample room to load an existing iPhoto5 library.
    When I dragged an old iPhoto5 Library onto the new iPhoto6 Library Album pane. I saw the "Importing..." start and it went on and on and on and... I let it run for HOURS and HOURS. When I checked around midnight, it had crashed. When I started it again, it said it had run across some huge number of stray photos.
    I have no idea why iPhoto6 would have trouble importing an iPhoto5 library that was below the 25,000 photo mark for 5. This is especially bizarre since iPhoto6 claims it supports 250,000 photos!
    I'll be trying to figure out if these stray photos got imported as dupes, if they lost iPhoto5 keywords, etc. I fear something different but equally bad happened since the number of photos it came up with was like 79,000--again many stray photos that didn't make it into the first import for no known reason. Since libraries in iPhoto5 were around 25,000 or less, I'm not sure what's happening.
    Maybe there's a cache or temp file still created on Macintosh HD and not on the empty new 300GB drive and a bug exists for imports when space on Mac HD is "low" (i.e., under 3.5 GB). Maybe it's seeing thumbs as files it should import? Maybe it's seeing Orig and Modified images as worthy of reimporting?
    I had told it not to import dupes but who knows if it goes by file name, checksum, byte-for-byte comparison, etc.
    I'm not sure if I can even pull up iPhoto5 and 6 at the same time now to scroll through the libraries to see if dupes, thumbs, original/modifies/etc. are showing up to boost the count from under 25K to 79K!
    Ideas? At least I know I'm not the only G5 dual user with this problem!
    --Sam
    G5 Dual 2.7 GHz 2 GB DDR SDRAM Mac OS X (10.4.4)
    G5 Dual 2.7 GHz 2 GB DDR SDRAM Mac OS X (10.4.4)

  • Why does an unknown error occur when I try to save a document as a word file?

    why does an unknown error occur when I try to save a document as a Word file?

    Hi Judy,
    Deleting the Preferences files seems to be missing from your list.
    Quit AppleWorks,
    In the Finder, go to:
    username > Library > Preferences
    In the Preferences folder:
    Locate and Delete the File com.apple.appleworks.plist
    Locate and Open the Folder AppleWorks
    In the AppleWorks folder, delete the following files:
    AppleWorks 6 Assistants Cache
    AppleWorks 6 Preferences
    AppleWorks 6 Translators Cache
    Optional:
    AppleWorks Button Bars
    This file contains your Button Bar preferences. If you have made changes to the Button Bar, but hanve NO issues that can be traced to the Button Bar, it may be left in place.
    Regards,
    Barry

  • While downloading podcasts to my library, I am getting the message, "the iTunes Library file cannot be saves. An unknown error occured (-54)." Any idea of what is going on?

    While downloading podcasts to my library, I am getting the message, "the iTunes Library file cannot be saves. An unknown error occured (-54)." Any idea of what is going on?
    Thanks.

    The problem went away on its own. Not sure what was the problem but perhaps somehow the system was out sync internally due installing Lion 10.7.3/Snow Leopard 10.6.8/10.7/10.7.3 with iTunes 6 installing after the 10.7.3 and then needing to be installed again after the second 10.7.3 install from the updater model.
    I kept accepting the error message and checking iTunes music file. No podcast downloads were actually rejected.

  • Error occurred while loading Generic extraction using Function module

    Hi all
    I'm trying to do INIT for Generic Extractor using Function module, but i'm getting error as "Error occurred in the source system"
    Error message from the source system
    Diagnosis
    An error occurred in the source system.
    System Response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Extractor .
    Refer to the error message.
    Procedure
    How you remove the error depends on the error message.
    Note
    If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.
    Job terminated in source system --> Request set to red
    Message no. RSM078
    Can u help plz....

    Hi Vishnu
    This are the Job log details i found in source system...Can u tell what whould be the problem?
    Message
    Job started
    Step 001 started (program SBIE0001, variant &0000000002861, user ID
    Asynchronous transmission of info IDoc 2 in task 0001 (0 parallel tasks)
    DATASOURCE = ZYFI102
    RLOGSYS    =
    REQUNR     = REQU_D9Y4CZDQULRIHRRVU33KOLQZO
    UPDMODE    = D
    LANGUAGES  = *
             Current Values for Selected Profile Parameters               *
    abap/heap_area_nondia......... 0                                       *
    abap/heap_area_total.......... 10737418240                             *
    abap/heaplimit................ 40000000                                *
    zcsa/installed_languages...... DE                                      *
    zcsa/system_language.......... E                                       *
    ztta/max_memreq_MB............ 2047                                    *
    ztta/roll_area................ 3000000                                 *
    ztta/roll_extension........... 2000000000                              *
    No authorization for Acct type D
    Job cancelled after system exception ERROR_MESSAGE
    Thanks in advance
    Edited by: MohanDP on Feb 25, 2011 11:58 AM
    Edited by: MohanDP on Feb 25, 2011 12:01 PM

  • Permissions issue: An error occurred while trying to save your photo librar

    I recently upgraded from a Mac mini running OS X 10.4.10 (iPhoto 08) to an iMac Core2Duo (2.4ghz) running Leopard (and also iPhoto 08).
    My iPhoto library resided on an external Firewire drive when running on the Mac mini, but now that the iMac has such a large hard disk (750gb), I wanted to move my library there. I copied the library over to the Pictures folder in my user folder on the iMac and started up iPhoto, and everything seemed fine.
    When iPhoto is running for any length of time, I get the following error:
    *An error occurred while trying to save your photo library.*
    *Some recent changes may be lost. Make sure your hard disk has enough space and that iPhoto is able to access the iPhoto Library.*
    (I have over 300gb available on the disk and my library folder is approximately 40gb.)
    I've repaired the permissions on the library using iPhoto's built-in mechanism (command-option while booting iPhoto) and Disk Utility. Additionally, I've used BatchMod to give my user and group full read/write/delete permissions (as posted elsewhere in the forums), but I still get the error.
    Searching the forums yields other users w/ the same issues. What's the scoop? TIA!

    Sean:
    I just had the very same problem when I was messing with permissions and reset my unknown group to staff. I lost all write permissions in my nome folder. Here's how you can reset it for your pictures folder:
    In the Terminal type in "sudo chmod -R -N " (there's a space after the N) and drag the Pictures folder into the Terminal window. Then hit the enter key. It should chug along for a couple of seconds and return a new prompt. Give iPhoto another try after that.
    I had to do that for my entire home folder and it fixed the problem.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • IPhoto: An error occurred while trying to save your photo library.

    "An error occurred while trying to save your photo library.
    Some recent changes may be lost. Make sure your hard disk has enough space and that iPhoto is able to access the iPhoto Library."
    Basically, the same issues as this thread:
    http://discussions.apple.com/thread.jspa?threadID=1588998&tstart=0
    I have tried the BatchMod with no luck. If it matters, this is on an external hard drive and I am the only user on this computer. Looking at the info of the library file, I have read/write/execute permissions and my group has read permissions only. I thought BatchMod would change these permissions but it doesn't seem to work.
    Actually, I restarted my computer and it works now. But I am still worried it might happen again. Has anyone else encountered this problem?
    Thanks.

    Welcome to the Apple Discussions. If it's working now it could have been a one time hiccup. Do you backup your library on a regular basis? If not you definitely should.
    If the library gets damaged/corrupted you won't lose your photos but can lose all of your organizational effort that you put into the library. If the external HD crashes then you will lose all.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier versions) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. There are versions that are compatible with iPhoto 5, 6, 7 and 8 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    NOTE: The new rebuild option in iPhoto 09 (v. 8.0.2), Rebuild the iPhoto Library Database from automatic backup" makes this tip obsolete.

  • "An error occurred while trying to save..." Library

    Perhaps it's something minor, but I had this message out of the blue with iPhoto:
    "An error occurred while trying to save your photo library. Some recent changes may be lost. Make sure your hard disk has enough space and that iPhoto is able to access the iPhoto Library".
    After that message I closed iPhoto, and just restarted my Mac. The message hasn't displayed again. So far I haven't found any error or "lost changes" in my library. Those two recommendations from the message are checked and OK. There's plenty of space, I can access my photos and everything seems OK.
    I keep iPhoto running all the time even when my Mac is sleeping. It runs from an external HD.
    Should I rebuild my library just in case, before my next full back up? I have a current backup of the dB Library (I use OT's Automator action). Should I restore it as well? Or just ignore that unusual warning? Ever since I use a managed library, it's the first time an error seems to occur.
    Thanks.

    Thanks. I have already purchased Library Manager from some time ago. I'll give it a try to its rebuilding funtion, even though it's a big copy to be made (my library is about 90GB).
    Before that huge task, I'd like to point out some comments I've found in the iPLM help. It mentions a possible corruption of the AlbumData.xml file regarding keywords (invisible "null" characters on any keyword), and I have LOTS of keywords. I use Keyword Manager, by the way. That, and other considerations are listed for possible sources of an error.
    Also, I found this thread regarding the same issue:
    http://discussions.apple.com/thread.jspa?threadID=1588998&tstart=0
    The link to arbysoft doesn't seem to work, by the way.
    http://macchampion.com/arbysoft/
    In that thread this was used as an alternative after unsuccessfully rebuilding with iPLM. Maybe can I try this easier-at-a-glance option first?
    JJ

Maybe you are looking for