Solved

"Cannot save bitmap to disk" problem

Posted on 2004-04-19
12
4,399 Views
Last Modified: 2013-12-18
Hi all,

I have this Lotus Notes Client application to allow user to approve a form raised by staffs.
Staff can put a few attachments(not more than 1MB) in the form and submit to Manager.
So when the Manager approves the form, the system will generate another form (with the same data, ie. copy all items into another form and save it).

Now, one of the managers encountered this error --> "Cannot save bitmap to disk" when she approves the form (ie. saving the other form with the same data).

The application is in R5.0.12 design, and the server is using R5.0.12, but the manager is using Client R6.0.1.
Is that cause the problem?

And, I suspect it could be due to the application size too.
The current size of the application is 1868MB.

Could someone enlighten me on how to resolve this problem?

Thanks very much in advance!

~kspuea
0
Comment
Question by:kspuea
  • 5
  • 2
  • 2
  • +3
12 Comments
 
LVL 19

Expert Comment

by:madheeswar
ID: 10866472
Size should not be a problem
0
 
LVL 19

Expert Comment

by:RanjeetRain
ID: 10866503
Does it happen with certain type of attachemnts? Does it happen only with that particular manager or with anyone at random? If only with that manager, can she work with other documents without a hitch? Or in her case it always gets stuck? If this is just one case, it will need thorough This is more likely to be a client problem than a DB size problem. For that particulatr manager, please check if she has got proper permissions on the file system, enough free disk space on the system volume for swap space and swap file size is set to grow as per demand.

DB size on server is irrelevent from what you are saying. The Lotus Notes client is unable to perform an action it tries. Possibly, in that particular case, the data's in-memory image is too big to handle.
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 10866770
R6.0.1 isn't the best R6-client around. Can you upgrade, e.g. to 6.0.3?
0
 

Author Comment

by:kspuea
ID: 10866988
Hi RanjeetRain, madheeswar, sjef_bosman,

Thanks very much for your response.

Firstly, not only this manager has encountered this problem. I have 2 cases reported before too.
This manager has no problem to approve the other forms that submitted to her (those are with attachments as well). The attachment in this particular form is only 5K bytes. Thus, the size of attachment should not be a problem.
This manager is able to approve some forms which having larger attachments.
I just don't understand why she can't approve this form this time round.

I did a testing before, asked the user to remove the attachment, and submit the form again, and then the manager managed to approve the form without this error.

Please advise.
Thanks very much!

~kspuea
0
 
LVL 19

Expert Comment

by:RanjeetRain
ID: 10867579
Just a wild guess! Do your users sometime create an embedded object rather than attachments? That is to say, will those documents having issues treat the content as attachments and not like an embedded objects? I have seen issues liek that in past.
0
 
LVL 24

Assisted Solution

by:HemanthaKumar
HemanthaKumar earned 50 total points
ID: 10868493
Is this attachment a html ? or do you use any html in the richtext fields ??

Ask the user to use R5 client and perform the same operation.. That should take care. When you develop app in down level client and user uses higher level then you will come across this kind of problems.. Better change the dev platfor or deployment platform !!


~Hemanth
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 31

Accepted Solution

by:
qwaletee earned 100 total points
ID: 10869961
C'mon, an easy google comes up with

    http://notes.guilford.edu/help/help4.nsf/0/c3ad9900e30f36c4852564d2001d01fa?OpenDocument

    http://www.csdevelopment.cz/domino/hermes.nsf/0/c1256cc9003ab692c1256a2d007e6730?OpenDocument



The known issues are with corrupt mail files, or embedded OEL objects.  I believe I have also seen this with corrup cache files.
0
 

Author Comment

by:kspuea
ID: 10874134
RanjeetRain,
My users attached usually, Word doc, or TXT file in the form, definitely not embedded objects.

HemanthaKumar,
Nope, I don't use any html in the RichText field. It's a Notes Client app, not web app.
As for changing platform, I don't it's the platform difference causes the problem. I have a manager having the same problem, and he is using R5.0.12, same version as the server.

qwaletee,
I agree with your points. I also suspect it's due to the attachment corruption.
Because I did a testing before, asking the user to submit a new form with the same attachments, and the manager has no problem to approve it.

Thanks very much!

~kspuea
0
 

Author Comment

by:kspuea
ID: 10916740
Hi all,

Finally, I got the cause of the problem.
I did a testing in R6 & R6.5, and proved that both versions have this problem.
It's not due to the attachment corruption.

Ok, let me explain how my application works:
I have a form in my application, which users raise and attach a few attachments in the form and submit to their approver.
So, when the approver opens the form, we will display another subform (which shows the attachments - computed subform), and hide all editable fields (including the attachment field). However, the attachment field in the computed subform can't show properly the attachments user had put in.

Hence, we changed the method of displaying the editable and computed RichText fields. We put all editable fields into a subform (ie. take out from the main form). And in the main form, embed a subform based on formula, so at each time, only 1 subform is displayed (ie. 1 RichText field is displayed). Then it works fine.

Does someone encounter this problem in R6 or R6.5?
Thanks very much!

~kspuea
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 11034820
So, it was rich text on a subform tht was embedded in another subform?
0
 

Author Comment

by:kspuea
ID: 11036914
Not really, it was rich text on a subform that refers to the rich text embedded in another form.

And I have tested in R6.5, if you are using a Computed Rich Text field in a subform to refer to another hidden (and editable) Rich Text field in the main form, then you will have this problem.
0
 

Author Comment

by:kspuea
ID: 11036920
Strange thing is, the same method works fine in R5.0.12.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now