IIS7 can't read web.config on shared Mac filesystem
Posted
by
RobG
on Server Fault
See other posts from Server Fault
or by RobG
Published on 2012-10-21T01:51:52Z
Indexed on
2012/10/21
11:04 UTC
Read the original article
Hit count: 244
I'm running a VirtualBox virtualized Windows 2008 Server on my Mac, just finished setting it up today. On it, I have SQL Server 2008, IIS and ColdFusion 9. I want to serve websites from my Mac filesystem (for development purposes). So I created a new website in IIS and pointed it at the appropriate path using a UNC path: \vboxsvr\rob\Sites\testsite, which contains the ColdFusion code and a web.config file.
When I attempt to modify the file at all, or view the site in a web browser, I get an error:
HTTP 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.
I did some Googling, and found several similar problems, but nothing exactly like I have. The closest one seemed to indicate permissions. So I recreated the site and set it up to allow the Administrator (in Windows) to access the stuff. That didn't help. I can read/modify the files just fine from within Windows, but IIS itself can't seem to do it.
What do I need to do to fix this? Thanks!
© Server Fault or respective owner