2010-05-29 3 views
2

Microsoft Visual Web Developer 2010 Express와 함께 제공되는 오류 메시지와 관련하여 도움이 필요합니다.인식 할 수없는 구성 섹션 Microsoft Visual Web Developer 2010 Express가 포함 된 Web.Config의 httpHandlers

내 사이트의 갤러리를 만들어서 codeplex에서 NotesForGallery를 다운로드했습니다. 설치 지침에 나와있는 것처럼 프로젝트에 참조를 추가했습니다. 지침은 다음 Web.Config 파일 (httpHandlers 섹션)에 ThumbnailHandler 등록

말 :.

<httpHandlers> 
… 
<add verb="*" path="ThumbnailHandler.ashx" type="NotesFor.ThumbnailHandler, NotesForGallery"/> 
… 
</httpHandlers> 

그래서 내가 내 솔루션에서 web.config 파일을 열고 나가에 추가 내가 할 때와 웹 사이트를 시작하십시오 (웹 개발자의 재생 버튼을 클릭하십시오). 오류 메시지가 나타납니다.

구성 섹션 httpHandlers를 인식 할 수 없습니다.

내가 얻을 오류의 전체 목록은 다음과 같습니다

메시지 1은 요소 'httpHandlers'에 대한 스키마 정보를 찾을 수 없습니다. C : \ Documents and Settings \ adam \ My Documents \ Visual Studio 2010 \ WebSites \ FatBoyFudge \ Web.config 38 4 C : ... \ FatBoyFudge \ 메시지 2 'add'요소에 대한 스키마 정보를 찾을 수 없습니다. C : \ Documents and Settings \ adam \ My Documents \ Visual Studio 2010 \ WebSites \ FatBoyFudge \ Web.config 39 8 C : ... \ FatBoyFudge \ 메시지 3 '동사'특성에 대한 스키마 정보를 찾을 수 없습니다. C : \ Documents and Settings \ adam \ My Documents \ Visual Studio 2010 \ WebSites \ FatBoyFudge \ Web.config 39 12 C : ... \ FatBoyFudge \ 메시지 4 '경로'특성에 대한 스키마 정보를 찾을 수 없습니다. C : \ Documents and Settings \ adam \ My Documents \ Visual Studio 2010 \ WebSites \ FatBoyFudge \ Web.config 39 21 C : ... \ FatBoyFudge \ 메시지 5 'type'특성에 대한 스키마 정보를 찾을 수 없습니다. C : \ Documents and Settings \ adam \ My Documents \ Visual Studio 2010 \ WebSites \ FatBoyFudge \ Web.config 39 50 C : ... \ FatBoyFudge \ 오류 6 인식 할 수없는 구성 섹션 httpHandlers. C : \ Documents and Settings \ adam \ My Documents \ Visual Studio 2010 \ WebSites \ FatBoyFudge \ Web.config 38
경고 7 C : \ Documents 및 Settings \ adam \ 내 문서 \ Visual Studio 2010 \ WebSites \ FatBoyFudge \ Gallery. aspx : ASP.NET 런타임 오류 : httpHandlers 구성 섹션을 인식 할 수 없습니다. (C : \ Documents and Settings \ adam \ My Documents \ Visual Studio 2010 \ WebSites \ FatBoyFudge \ web.config 줄 38) C : \ Documents 및 Settings \ adam \ 내 문서 \ Visual Studio 2010 \ WebSites \ FatBoyFudge \ Gallery.aspx 1 1 C : ... \ FatBoyFudge \

내가 만든 프로젝트는 도움이된다면 웹 사이트였습니다.

<configuration> 
    <connectionStrings> 
     <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/> 
    </connectionStrings> 
    <system.web> 
     <compilation debug="true" targetFramework="4.0"/> 
     <authentication mode="Forms"> 
      <forms loginUrl="~/Account/Login.aspx" timeout="2880"/> 
     </authentication> 
     <membership> 
      <providers> 
       <clear/> 
       <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/> 
      </providers> 
     </membership> 
     <profile> 
      <providers> 
       <clear/> 
       <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/> 
      </providers> 
     </profile> 
     <roleManager enabled="false"> 
      <providers> 
       <clear/> 
       <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/> 
       <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/> 
      </providers> 
     </roleManager> 
    </system.web> 
    <system.webServer> 
     <modules runAllManagedModulesForAllRequests="true"/> 
    </system.webServer> 
    <httpHandlers> 
     <add verb="*" path="ThumbnailHandler.ashx" type="NotesFor.ThumbnailHandler, NotesForGallery"/> 
    </httpHandlers> 
</configuration> 

당신은 내가 잘못

답변

5

넣어 뭐하는 거지 모르겠어요 때문에 저를 편리하게 될 것이다 줄 수있는 어떤 도움을 다음과 같이

전체의 Web.config입니다 귀하의 httpHandlerssystem.web 섹션에 있습니다.

+0

위대한 답변을 주셔서 감사합니다. – lardymonkey

관련 문제