System.ComponentModel.Win32Exception (0x80004005): Access is denied on ixwebhosting

3

I will host my site on ixwebhosting. I tested my site several time. On my local server, 'System.ComponentModel.Win32Exception (0x80004005): Access is denied' error doesn't occur. but On ixwebhosting, it occurs. I don't know why does this error occur. Definitely File is in exactly path.

Do I have to set options?? It's first time manage site on ixwebhosting.

Thank you.

file
exe
web-hosting
asked on Stack Overflow Jul 16, 2015 by Peter JU

4 Answers

5

Simply remove/comment the codedom section from the Web.config, this solves the problem.

answered on Stack Overflow Mar 18, 2017 by CageE
2

Your application runs under admin account locally, when you deploy it to web server, it will be running under the IIS user. Hence, assigning necessary permissions to IIS user is essential to make your application running on web server. Also, make sure that Application pool identity of your application is Network service. Following threads will be helpful to you.

System.ComponentModel.Win32Exception: Access is denied..... Error

System.ComponentModel.Win32Exception: Access is denied Error

answered on Stack Overflow Jul 31, 2015 by AccuWebHosting.Com • edited May 23, 2017 by Community
1

Peter, I had a very similar problem and nothing was working for me. I fixed it by changing the .NET framework version to 4.5 instead of 4.5.2.

I wrote a short article about it which shows you how to change the framework version and includes other solutions to try that might fix the error for your. Hopefully this helps!

answered on Stack Overflow Aug 19, 2015 by Brendan L
0

Just to increase answer base, I solved this by running my webApi from Visual Studio. Basically, this error comes when there's a malfunctioning api connection.

answered on Stack Overflow May 28, 2018 by Esther Lalremruati

User contributions licensed under CC BY-SA 3.0