• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 357
  • Last Modified:

How to start a worker process in IIS

I have a application running on my IIS. After about 20 minutes the worker process is automatically ended if it stay's idle.
After that happens I get the message
System.Security.SecurityException: That assembly does not allow partially trusted callers.
When this happens I have to restart the web site to get it working again.
How can I get the worker process up and running automatically?

Best regards
Oli
0
tolvudeild-VS
Asked:
tolvudeild-VS
  • 4
1 Solution
 
karl-henrikCommented:
Worker process should come back up when it is requested..
I found this bug perhaps it is applied to you aswell?

//Karl
0
 
tolvudeild-VSAuthor Commented:
We had .net framework 3.5 sp1 installed and we installed now version 4 but no change.
I really don't know if the problem is that the worker prosess doesn't start automatically or not. I just know that the web service gives me this error after the worker process ends.

We are runnig this on Window server 2008 standard sp2

This is the first time we are runnig web applications and this might be a configuration problem.
0
 
tolvudeild-VSAuthor Commented:
When the worker process ends and the application stops working I restart the site and then it works until the process is ended if idle for 20 minutes.
Does anyone have any idea how to fix this?
0
 
tolvudeild-VSAuthor Commented:
I have found the cause for this problem.
In the IIS manager you select the site and go to Advanced Settings and in Physical Path Credentials you must specify a user that has the rights to do what is needed, in this case I had put a user that did not have these rights. So I changed it to administrator and now everthing works fine.

kv
Oli
0
 
tolvudeild-VSAuthor Commented:
As this is the only right answer to this problem.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now