Lotus/.Net Problem

I’m trying to develop a web applocation using C# and everytime I try to instantiate a NotesSession object like so:

m_session = new NotesSessionClass();

the object throws an exception with the message:

“Not enough storage is available to complete this operation.”

Has anyone encountered this problem before?

Please Revert…:slight_smile:

Subject: Lotus/.Net Problem

i think it is what it is. did you check how much space is in the hard disk of your server? and i think lotusscript does not run on web applications.

Subject: RE: Lotus/.Net Problem

Just an FYI:

Though this is NOT LotusScript code being used, LS DOES work in web apps. You just can’t use the UI classes (because there’s no Notes Client UI being used). However, the back-end LS classes work fine in a web browser and are accessed either through the WebQueryOpen/WebQuerySave events or via passing a url to the server which runs the agent (agentname?openagent). I use these quite often with ajax calls to LS agents that process information and return it to the browser as xml or html. However, they can be done without using AJAX style calls as normal WQO/WQS agents. Just be aware, when using these two styles of agents, of the event processing order if you have onLoad or onSubmit code.

Subject: Lotus/.Net Problem

This was all I could find. Not much help, sorry.https://www-10.lotus.com/ldd/nd6forum.nsf/0/7724cc331dc2aa1685256fd4003906de?Open