2012-08-17 3 views
3

Windows를 다시 설치했는데 이제는 컴퓨터를 다시 가동하기 위해 모든 것을 구성하고 있습니다. 내가 www.mysite.com에 탐색 할 때이 오류가 발생 해요 : enter image description hereHTTP 오류 500.19 - 내부 서버 오류 페이지의 관련 구성 데이터가 유효하지 않기 때문에 요청한 페이지에 액세스 할 수 없습니다.

나는 다양한 포럼에서보고 및 폴더 C를 준 : \ dropbpx \을 Inetpub \ 내 사이트 IIS_IUSRS에 대한 모든 권한, IUSR, 모든 사람 및 네트워크 서비스, 하지만 오류가 계속 발생합니다. 나는 또한 %의 WINDIR에서 applicationHost.config 파일에 IIS_IUSRS에 대한 모든 권한을 준 % \ SYSTEM32 \ inetsrv를 \ 설정 \

또한

IIS를 통해 내 웹 사이트로 이동하고 '인증'을 클릭하면 다음과 같은 에러가 발생합니다 이 작업을 수행하는 동안 오류가 발생했습니다. 세부 사항 : 파일 이름 : \ \ C : \ 드롭 박스 \을 Inetpub \ 내 사이트 \ Web.config의 오류 : 내 웹 사이트의

응용 프로그램 풀은 ASP.NET 4.0으로 설정되어

여기 내 웹 참조 .config

<?xml version="1.0" encoding="UTF-8"?> 

<!-- 
For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 
--> 

<configuration> 


<connectionStrings> 
<add name="conn1" connectionString="data source=(local);Initial Catalog=tt;User Id=sa;Password=dfsdf3454sdg;" providerName="System.Data.SqlClient" /> 
</connectionStrings> 
<system.web.extensions> 
<scripting> 
    <webServices> 
    <jsonSerialization maxJsonLength="5000000" /> 
    </webServices> 
</scripting> 
</system.web.extensions> 

<system.web> 
<httpRuntime maxRequestLength="5120000" requestValidationMode="2.0" /> 
<compilation debug="true" strict="false" explicit="true" targetFramework="4.0" /> 

<sessionState mode="InProc" timeout="60" /> 
<authentication mode="Forms"> 
    <forms name=".MyCookie" slidingExpiration="true" timeout="60" cookieless="AutoDetect" loginUrl="/login/" protection="All" defaultUrl="/"> 
    <credentials passwordFormat="SHA1" /> 
    </forms> 
</authentication> 
<roleManager domain="192.168.0.103" enabled="true" cacheRolesInCookie="true" cookieName=".ASPXROLES" cookieTimeout="60" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" cookieProtection="All" defaultProvider="AccessRoleProvider" createPersistentCookie="false" maxCachedResults="25"> 
    <providers> 
    <clear /> 
    <add name="AccessRoleProvider" connectionStringName="conn1" applicationName="/wedding" type="Samples.AccessProviders.AccessRoleProvider" /> 
    </providers> 
</roleManager> 
<membership defaultProvider="AccessMembershipProvider" userIsOnlineTimeWindow="30"> 
    <providers> 
    <clear /> 
    <add name="AccessMembershipProvider" type="Samples.AccessProviders.AccessMembershipProvider" connectionStringName="conn1" requiresQuestionAndAnswer="false" applicationName="/wedding" minRequiredPasswordLength="6" enablePasswordRetrieval="false" enablePasswordReset="true" requiresUniqueEmail="true" minRequiredNonalphanumericCharacters="0" passwordFormat="Hashed" /> 
    </providers> 
</membership> 
</system.web> 
<system.webServer> 
<!-- SEO-friendly URLS for IIS 7.0 (if you're using IIS 6.0 see above) --> 
<validation validateIntegratedModeConfiguration="false" /> 
<modules runAllManagedModulesForAllRequests="true"> 
    <add type="aspnetforum.ForumSEOHttpModule, aspnetforum" name="ForumSEOHttpModule" /> 
</modules> 
<handlers> 
    <add name="ScriptCombiner" verb="POST,GET" path="ScriptCombiner.axd" preCondition="integratedMode" type="ScriptCombiner, App_Code" /> 
</handlers> 
<security> 
    <requestFiltering allowDoubleEscaping="true" /> 
</security> 
<defaultDocument> 
    <files> 
    <clear /> 
    <add value="default.aspx" /> 
    <add value="Default.htm" /> 
    <add value="Default.asp" /> 
    <add value="index.htm" /> 
    <add value="index.html" /> 
    <add value="iisstart.htm" /> 
    </files> 
</defaultDocument> 
    <staticContent> 
     <mimeMap fileExtension=".kml" mimeType="application/vnd.google-earth.kml+xml" /> 
    </staticContent> 
</system.webServer> 
<system.serviceModel> 
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" /> 
<bindings> 
    <basicHttpBinding> 
    <binding name="VirtueleKassaWebServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true"> 
     <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" /> 
     <security mode="Transport"> 
     <transport clientCredentialType="None" proxyCredentialType="None" realm="" /> 
     <message clientCredentialType="UserName" algorithmSuite="Default" /> 
     </security> 
    </binding> 
    <binding name="VirtueleKassaWebServiceSoap1" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true"> 
     <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" /> 
     <security mode="None"> 
     <transport clientCredentialType="None" proxyCredentialType="None" realm="" /> 
     <message clientCredentialType="UserName" algorithmSuite="Default" /> 
     </security> 
    </binding> 
    </basicHttpBinding> 
</bindings> 
<client> 
    <endpoint address="https://secure.virtuelekassa.nl/webservice/VirtueleKassaWebservice.asmx" binding="basicHttpBinding" bindingConfiguration="VirtueleKassaWebServiceSoap" contract="virtuelekassa.VirtueleKassaWebServiceSoap" name="VirtueleKassaWebServiceSoap" /> 
</client> 
    <services> 
     <service name="RestService.weddingservice"> 
      <endpoint behaviorConfiguration="webHttp" binding="webHttpBinding" contract="RestService.Iweddingservice" /> 
     </service> 
    </services> 

<behaviors> 
    <serviceBehaviors> 
    <behavior name=""> 
     <serviceMetadata httpGetEnabled="true" /> 
     <serviceDebug includeExceptionDetailInFaults="true" /> 
    </behavior> 
    </serviceBehaviors> 
    <endpointBehaviors> 
    <behavior name="webHttp"> 
     <webHttp /> 
    </behavior> 
    </endpointBehaviors> 
</behaviors> 
</system.serviceModel> 
</configuration> 

그 밖의 무엇입니까?

+1

web.config 파일의 내용을 게시 할 수 있습니까? –

+0

내 web.config를 추가했습니다. 그러나 창을 다시 설치하기 전에 사용했던 것과 완전히 똑같습니다. 따라서 거기에 문제가 없어야합니다. – Flo

+0

언급 한 것과 비슷한 구성을 설정했습니다 (** IIS 7.5 **, 게시 한 ** Web.config ** 사용, 컴파일에 필요한 종속성 다운로드 및 IIS 웹 사이트 루트 폴더 설정 이 모든 것을 포함하는 하나) 그리고 나는 어떤 오류도 내지 않고있다. 폴더 사용 권한이나 기타 설정이 필요하지 않았습니다. '% WINDIR % \ Microsoft.NET \ Framework \ v4.0.30319 \ Temporary ASP.NET Files'의 모든 폴더를 삭제하려고 시도하지만 극도로 긴 장면이긴하지만 때로는 속임수를 사용합니다. –

답변

10

web.config의 일부분을 제외하지 마십시오. web.config에있는 urlrewrite 섹션이었습니다. 설치 (http://www.microsoft.com/web/gallery/install.aspx?appid=urlrewrite2) 이제 작동합니다. 다음 IIS 기능에 대한

3

점검에 있습니다. (응용 프로그램 개발 기능) 응용 프로그램 개발 기능에서 기능의 Windows에서 전원을 켜 있지 않은 경우

enter image description here

는 제어판에서 해제를 특징.

0

Thats because you have not registered the ASP in IIS.

Go to C:\Windows\Microsoft.NET\Framework\v4.0.30319 and execute aspnet_regiis.exe

Go to IIS, expand server, click Application Pools. If it doesn't contain "ASP.NET v4.0" and "ASP.NET v4.0 Classic" files, ASP is not registered in IIS.

Take command prompt, go to C:\Windows\Microsoft.NET\Framework\v4.0.30319 location. Type aspnet_regiis -i

Now it will show that ASP is getting registered. After it is completed, you can see "ASP.NET v4.0" and "ASP.NET v4.0 Classic" files in IIS under Application Pool

관련 문제