Line 20: <sessionState cookieless="false" regenerateExpiredSessionId="true" mode="Custom" customProvider="OutSystemsSessionProvider"> Line 21: <providers> Line 22: <add name="OutSystemsSessionProvider" type="OutSystems.HubEdition.RuntimePlatform.SessionState.SqlSessionStateStore" /> Line 23: </providers> Line 24: </sessionState>
Hi Paulo,
Thanks for your feedback. I have followed all the check-list in a brand new server, but I still get the same error. I´m sure I must be doing something wrong, but I can´t find out what it is ! Here is a step-by-step to reproduce what I am doing, maybe just looking at it you will see what I am missing:
1) In Service Studio, create a new application (from Style Guide). Name it "DetachTest", and 1-Click Publish it to localhost. 2) Test the application, opening it from Service Studio or Service Center - it runs ok. 3) Test the application from the browser, using URL https://localhost/DetachTest/Home.aspx - works ok too. 4) In Service Center, open the "DetachTest" eSpace and click "Download Source" and "Download". I attached here the "DetachTest_v1_Source.zip" file that I got from this step. 5) Create a new folder "DetachTestSource" in c:\inetpub\wwwroot and unzip this file there. 6) In IIS Manager, create a new Virtual Directory, call it DetachTest and point to "C:\Inetpub\wwwroot\DetachTestSource\DetachTest" 7) From IE, open the URL https://localhost/DetachTestSource/Home.aspx Bingo ! Here I get the 'System.OutOfMemoryException'. I also tried to rebuild the application with Visual Studio 2008, deploy it to a different server, but I always get this error. Please, can you help me to find out what I am doing wrong ?
Hello all,
Months ago Daniel Lourenço guided me to learn how to detached application and I fastly encounter this System.OutOfMemoryException error. Looked for google and I thought it required tunning of the IIS like Paulo Tavares mentioned. But after several days of struggle I got the following conclusion: -It happened when your project have a with circular reference "referência circular", for instance Enterprice with Enterprise Manager.. Audit Events with Enterprise Manager.
I don't know how Ricardo Ardito tested, as you said once you added a reference to Enterprise you got the error.. (I'm assuming you left all other components in Service Center and tried to detach only the DetachTest.oml)
But what I tried was, since there's no Solution component in IIS, I had to Build eSpace one by one, in their nature order... (first the ones without Producer, then others, etc).. everything goes well even with reference to other eSpace. The thing goes ugly when it goes to Enterprice or Enterprise Manager or AuditEvents!!! Since they have circular reference there's no way you can tell which one should be Build first...
The work around I found (not fully tested), but indead doesn't solve the problem, is to add those eSpace into IIS without any circular reference, ie for example: Enterprise Manager (without reference to Enterprise or AuditEvents), then add Enterprise, then AuditEvents. Now delete EM from the IIS Pool and now you can build the original one Enterprise Manager (with all the reference).. somehow, in this way the IIS won't go Out of Memory. Strangely but works. After that I keep adding eSpace (that use Enterprise) to the pool and it works fine. But like I said this work around is not acceptable.
2) I also found another problem... BPT popup box doesn't work... when opening a browser I get a JavaScript error saying that it can't find the EPA_Taskbox, even I have it built like any other eSpace.
I never ended the conversation with Daniel Lourenço (sorry) because I went to another project, but now I'm back and hopefully we can find a solution.
Please help, Victor Santos