Last post Nov 13, 2012 08:53 AM by Kriest
Nov 06, 2012 08:39 AM|Kriest|LINK
On my website i render building plans into 3D images etc, mostly WebGL, SVG but sometimes also normal JPG (because not every browser supports webGL). When i run my site from Visual Studio (F5) it works perfectly. But when i create a website in IIS and then
run it, it doesnt work completely.. The part that doesnt work is where i take a bunch of images and use them in a 3D image. It's all kinda complicated so i wont go into much detail.
But I think the problem is that i run my IIS website with Network Service application pool, and not like a normal User. Is this true? Do i have more 'access' when i run directly from Visual Studio?
Kind regards, Kriest
Nov 06, 2012 08:50 AM|bbcompent1|LINK
Under visual studio, when you run under the Cassini web server (vs interal web server) it is running under your ID as administrator with all rights. When you run under IIS, you are limited by the rights allowed to a web user. To get this to work, you would
need to use Application Pool Identity specified as a local server administrator account. Network Service has rights to read & list but is very limited on other rights as well.
Nov 06, 2012 10:14 AM|Kriest|LINK
Thank you for your reply. Could you explain what you mean with local server administrator account? I can choose the following options:
- Here i can fill in a name + password
Which one should i use? I tried the other account option and just filled in my Windows account login/password but it didn't work.
Nov 06, 2012 10:17 AM|bbcompent1|LINK
Use the other account option and fill in a local server user that has admin privileges on the box. Make sure it is a service type of account (password doesn't change).
Nov 06, 2012 10:19 AM|bbcompent1|LINK
Another thing to remember, make sure that this user you specify is part of the local group IIS_WPG or it will certainly fail.
Nov 07, 2012 05:48 AM|Kriest|LINK
Is it possible that I don't have that group? I have a group called IIS_IUSRS. But other then that 1, nothing with IIS in the name.
Nov 07, 2012 09:05 AM|bbcompent1|LINK
Really? That's kind of strange. IIS_WPG is installed with IIS. Let me do some research and I'll be back. You might want to post this question to the IIS Forums as well for what its worth.
Nov 07, 2012 09:09 AM|bbcompent1|LINK
Ok, that user group has replaced the IIS_WPG. So, make sure your user is a member of that group. Here is some additional background on that change:
Nov 13, 2012 08:53 AM|Kriest|LINK
This didn't resolve my issue. I created a thread on the IIS forums as it seems to be more of an IIS issue.