I had situation where my agent1 (I run it on server like agent1.RunOnserver).
Agent1 create OLE object (WinHttp.WinHttpRequest or MSXML2.ServerXMLHTTP or it could be another OLE object without Quit/Exit method). As these objects do not have Quit/Exit method Domino continued to keep these objects in memory(?). So next time when I run agent I gave an error:
"Cannot create automation object"
I found workaround for this. It is strange, but it works.
I created new agent and called it on server instead of agent1 (f.x. agentNew.RunOnServer) This new agent called agent1 locally (f.x. Call agent1.Run). There is also article on IBM about solution for error Cannot create automation object
Funny, right?
Tuesday, February 23, 2010
Saturday, February 20, 2010
Action failed, document has been deleted
Problem was because I used profile document (and somebody re-save/re-create it).
So Actually profile was in database but LS was unable to get it.
as solution I just re-save it and it started to work.
So Actually profile was in database but LS was unable to get it.
as solution I just re-save it and it started to work.
Wednesday, February 10, 2010
Gmail Buzz
Today I found that my gmail account got new feature - Buzz.
Don't you like it? it looks very funny
Don't you like it? it looks very funny
Sunday, January 31, 2010
Approach to fill word/excel documents without Office installed
I've had task where we need to fill our word/excel templates with data from notes documents on Server and get URL to users (our application for web uses only). All users have Office installed but Domino server does not have (and will not have installed it).
So after some research I decided to use the most simple way from my point of view.
Idea is next -> put predefined text (f.x. ##fieldName1##, ##fieldName2##) on word/excel documents and then save them as XML. I did not use bookmark because it is impossible (at least looks like impossible) to process them in XML.
So what do we have at this point? Document saved as XML with predefined text on it.
Then when we need to fill and show document to user we just take our XML template, take all content from it and do many replaces (we replace predefined text on our data from notes document), then don't forget to remove all predefined text that were not filled by some reasons, and then important point print it for web user like this:
Print {Content-Type:application/msword}
Print {Cache-Control: public, must-revalidate}
Print {Expires: Sat, 26 Jul 1997 05:00:00 GMT}
Print xml_output
So after some research I decided to use the most simple way from my point of view.
Idea is next -> put predefined text (f.x. ##fieldName1##, ##fieldName2##) on word/excel documents and then save them as XML. I did not use bookmark because it is impossible (at least looks like impossible) to process them in XML.
So what do we have at this point? Document saved as XML with predefined text on it.
Then when we need to fill and show document to user we just take our XML template, take all content from it and do many replaces (we replace predefined text on our data from notes document), then don't forget to remove all predefined text that were not filled by some reasons, and then important point print it for web user like this:
Print {Content-Type:application/msword}
Print {Cache-Control: public, must-revalidate}
Print {Expires: Sat, 26 Jul 1997 05:00:00 GMT}
Print xml_output
Monday, January 25, 2010
8.5.1. FP1 found problem during installation. Error: version mismatch. Expected to find version "20090929.1223", found version(s): "20091002.1006".
I've tried to update Lotus Notes 8.5.1 on different PC and got problem
Error: version mismatch. Expected to find version "20090929.1223", found version(s): "20091002.1006".
I did not find the reason why I had older version then 20090929.1223 but I found one post on IBM with similar issue.
So, let me show how I avoided it, I unpacked installation to my PC, went to ..\deploy\hotfix folder and changed one variable in file fix.ini -> ForVersion=20091002.1006 (you can add some text to about lotus dialog if you change some another variables).
When you finish it, run setup.exe from root directory, it should installed then correctly.
p.s. Do it on your won risk, I'm not sure that it will not do some affects of LN :-)
Error: version mismatch. Expected to find version "20090929.1223", found version(s): "20091002.1006".
I did not find the reason why I had older version then 20090929.1223 but I found one post on IBM with similar issue.
So, let me show how I avoided it, I unpacked installation to my PC, went to ..\deploy\hotfix folder and changed one variable in file fix.ini -> ForVersion=20091002.1006 (you can add some text to about lotus dialog if you change some another variables).
When you finish it, run setup.exe from root directory, it should installed then correctly.
p.s. Do it on your won risk, I'm not sure that it will not do some affects of LN :-)
Subscribe to:
Posts
(
Atom
)