When going to http://localhost/ on my personal machine, I get a blank screen.
I have a site at C:/inetpub/wwwroot/
but the contents of that folder aren't listed like they should be.
I tried going directly for the site, and I got this error:
Line 16 is the error
15: <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
16: <section name="scriptResour开发者_运维问答ceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
17: <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
Removing the line from the Web.config doesn't seem to help. The error persists and even claims the line wasn't removed. I made sure I saved my edit.
I then tried making a Virtual Directory and going there. The exact same error showed up. I added the proper user with the needed rights, but that didn't seem to do anything.
So there are 2 problems here: Localhost won't list folders and this error I keep getting.
Can anyone tell me what I might be doing wrong?
EDIT: code added
regarding the blank localhost
did you put a default page in the wwwroot folder ?
regarding the line 16 error
is there a space in the website name?
can you send the whole web.config
精彩评论