0

I am publishing a web app in IIS Manager. The project successfully builds, but I get this output when navigating to the page:

Detailed Error Information:
Module     IIS Web Core
Notification       BeginRequest
Handler    Not yet determined
Error Code     0x8007000d
Config Error       
Config File    \\?\D:\<myProject>\web.config

I've searched through many similar issues with this error and have found no solution. I even created an entire partition just for this website and gave read/write permissions to IIS_USRS as well as DefaultAppPool. Still have the issues.

In addition, when I try to access any of the Features for the website in IIS Manager, I get this error:

There was an error while performing this operation.

Details:

Filename: \\?\D:\<myProject>\web.config
Error:

I'm kind of interested in why the filename has '\\?' at the beginning. Is that actually what this filename is being read as? If so, then that's the problem, though I have no idea how to fix that if it is!

For reference, this is the simple web.config file:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <location path="." inheritInChildApplications="false">
    <system.webServer>
      <handlers>
        <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
      </handlers>
      <aspNetCore processPath="dotnet" arguments=".\<myProject>.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
    </system.webServer>
  </location>
</configuration>

Anyone have any idea? The files publish fine to the directory, just I can't seem to access it at all through browser or IIS Manager.

Thanks!

ruttergod
  • 81
  • 6
  • For simple cases like that, search for existing discussions (a lot of them) before posting. – Lex Li Dec 06 '21 at 20:50

0 Answers0