First off, I'm very sorry for the long delay. The holidays, conferences, and work tasks got the better of me.
The hang at setup_Rmainloop typical happens during an attempt at an engine re-init. My first suspicion about your code and issue is the reason it works fine under IIS Express, but when you move it to IIS is that you have an issue with your AppPool recycling. Of course, that doesn't make much sense since the app pool is supposed to be a process boundary, but I wonder if that's the only application you have running using R.Net in that AppPool? Of course, I don't understand why I can replicate it on my local machine. I'm going to spin up an ec2 instance and see what I can make happen there.
I'm going to keep looking at it. I don't know where you are located, or if you do conferences much, but I'll be at codemash next week if you want to collaborate. Perhaps we skype sometime tues or weds and you can demo the issue? I'm very intrigued by it (my poor response not withstanding).
Blue Skies,
Ritch
The hang at setup_Rmainloop typical happens during an attempt at an engine re-init. My first suspicion about your code and issue is the reason it works fine under IIS Express, but when you move it to IIS is that you have an issue with your AppPool recycling. Of course, that doesn't make much sense since the app pool is supposed to be a process boundary, but I wonder if that's the only application you have running using R.Net in that AppPool? Of course, I don't understand why I can replicate it on my local machine. I'm going to spin up an ec2 instance and see what I can make happen there.
I'm going to keep looking at it. I don't know where you are located, or if you do conferences much, but I'll be at codemash next week if you want to collaborate. Perhaps we skype sometime tues or weds and you can demo the issue? I'm very intrigued by it (my poor response not withstanding).
Blue Skies,
Ritch