none
HTML5Sample does not work in IIS 8 and Windows 8 RRS feed

  • Question

  • Hello,

    I know this thread "HTML5Sample does not work in IIS7 on Windows 7" and i have the same problem...

    But it doesn t work for me. 

    System:

    • System: Windows 8 - 64 Bit
    • Framework installed: x64 and both packages

    Error:

    [Sync Error]:Error occurs during sync. Please check logs below.

    [Upload Change Response Error]: 0 Response: 

    [Upload Change Request]:http://localhost:59952/ListService/DefaultScopeSyncService.svc/defaultscope/UploadChanges?userid= {"d":{"__sync":{"moreChangesAvailable":false,"serverBlob":""},"results":[{"__metadata":{"type":"DefaultScope.Item","tempId":"89d79128-7736-a2e1-a1fa-2d9c18afe45c","isDirty":true},"ID":"89d79128-7736-a2e1-a1fa-2d9c18afe45c","ListID":"67acb374-b603-7e2d-d1bd-b80bbf5a2a6a","UserID":"","Name":"Nerw Item","Description":"","Priority":null,"Status":null,"StartDate":"/Date(1372942591000)/","EndDate":"/Date(1372942591000)/"},{"__metadata":{"type":"DefaultScope.List","tempId":"67acb374-b603-7e2d-d1bd-b80bbf5a2a6a","isDirty":true},"ID":"67acb374-b603-7e2d-d1bd-b80bbf5a2a6a","UserID":"","Name":"NewList","Description":"","CreatedDate":"/Date(1370350583642)/"}]}}

    [Login]:User Info {"name":"sdsdfsdfsdf","id":""}

    [Login]:Login from http://localhost:59952/ListService/Login.ashx?username=sdsdfsdfsdf

    Fiddler response me:(detailed list buttom)

    200 http://localhost:4086/HTML5Sample/ListSample.htm
    200 http://localhost:4086/HTML5Sample/css/ListSample.css
    200 http://localhost:4086/HTML5Sample/js/DebugLog.js
    200 http://localhost:4086/HTML5Sample/js/WebStorage.js
    200 http://localhost:4086/HTML5Sample/js/SyncFormatter.js
    200 http://localhost:4086/HTML5Sample/js/UserLogin.js
    200 http://localhost:4086/HTML5Sample/js/SyncController.js
    200 http://localhost:4086/HTML5Sample/js/ListSample.js
    404 http://localhost:4086/favicon.ico
    500 http://localhost:59952/ListService/Login.ashx?username=dsfsdf
    500 http://localhost:59952/ListService/DefaultScopeSyncService.svc/defaultscope/UploadChanges?userid=

    • if Sync Framework 2.1 x86 is installed: HTTP Error 400
    • if sync Framework 2.1 x64 is installed: HTTP Error 500

    I need help, please.Thanks.

    Last detailed Fiddler2 Errors:

    GET http://localhost:4086/favicon.ico HTTP/1.1
    Host: localhost:4086
    Connection: keep-alive
    Accept: */*
    User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36
    Accept-Encoding: gzip,deflate,sdch
    Accept-Language: de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4
    Cookie: ASP.NET_SessionId=pa42p3x0mnolf4mls4jpsw2n
    
    
    HTTP/1.1 404 Not Found
    Server: ASP.NET Development Server/10.0.0.0
    Date: Wed, 05 Jun 2013 06:48:11 GMT
    Content-Length: 1221
    Content-type: text/html;charset=utf-8
    Connection: Close
    
    <html>
        <head>
            <title>Not Found</title>
            <style>
            	body {font-family:"Verdana";font-weight:normal;font-size: 8pt;color:black;} 
            	p {font-family:"Verdana";font-weight:normal;color:black;margin-
            	b {font-family:"Verdana";font-weight:bold;color:black;margin-
            	h1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
            	h2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
            	pre {font-family:"Lucida Console";font-size: 8pt}
            	.marker {font-weight: bold; color: black;text-decoration: none;}
            	.version {color: gray;}
            	.error {margin-bottom: 10px;}
            	.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
            </style>
        </head>
        <body bgcolor="white">
    
                <span><h1>Serverfehler in der Anwendung "/HTML5Sample".<hr width=100% size=1 color=silver></h1>
    
                <h2> <i>HTTP-Fehler 404 - Not Found.</i> </h2></span>
    
                <hr width=100% size=1 color=silver>
    
                <b>Versionsinformationen:</b>&nbsp;ASP.NET Development Server 10.0.0.0
    
                </font>
    
        </body>
    </html>
    
    
    ------------------------------------------------------------------
    
    GET http://localhost:59952/ListService/Login.ashx?username=dsfsdf HTTP/1.1
    Host: localhost:59952
    Connection: keep-alive
    Accept: */*
    Origin: http://localhost:4086
    User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36
    Referer: http://localhost:4086/HTML5Sample/ListSample.htm
    Accept-Encoding: gzip,deflate,sdch
    Accept-Language: de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4
    
    
    HTTP/1.1 500 Internal Server Error
    Cache-Control: private
    Content-Type: text/html; charset=utf-8
    Server: Microsoft-IIS/8.0
    X-AspNet-Version: 2.0.50727
    X-SourceFiles: =?UTF-8?B?Qzpcc3luY29wZW5zcmNcU2FtcGxlc1xMaXN0U2VydmljZVxMb2dpbi5hc2h4?=
    X-Powered-By: ASP.NET
    Date: Wed, 05 Jun 2013 06:48:13 GMT
    Content-Length: 9792
    
    <html>
        <head>
            <title>Die Datei oder Assembly &quot;ListService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&quot; oder eine Abh&#228;ngigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.</title>
            <style>
             body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 
             p {font-family:"Verdana";font-weight:normal;color:black;margin-
             b {font-family:"Verdana";font-weight:bold;color:black;margin-
             H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
             H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
             pre {font-family:"Lucida Console";font-size: .9em}
             .marker {font-weight: bold; color: black;text-decoration: none;}
             .version {color: gray;}
             .error {margin-bottom: 10px;}
             .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
            </style>
        </head>
    
        <body bgcolor="white">
    
                <span><H1>Serverfehler in der Anwendung /ListService.<hr width=100% size=1 color=silver></H1>
    
                <h2> <i>Die Datei oder Assembly &quot;ListService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&quot; oder eine Abh&#228;ngigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.</i> </h2></span>
    
                <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
    
                <b> Beschreibung: </b>Unbehandelte Ausnahme beim Ausführen der aktuellen Webanforderung. Überprüfen Sie die Stapelüberwachung, um weitere Informationen über diesen Fehler anzuzeigen und festzustellen, wo der Fehler im Code verursacht wurde.
    
                <br><br>
    
                <b> Ausnahmedetails: </b>System.BadImageFormatException: Die Datei oder Assembly &quot;ListService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&quot; oder eine Abh&#228;ngigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.<br><br>
    
                <b>Quellfehler:</b> <br><br>
    
                <table width=100% bgcolor="#ffffcc">
                   <tr>
                      <td>
                          <code>
    
    Beim Ausf&#252;hren der aktuellen Webanforderung wurde einen unbehandelte Ausnahme generiert. Informationen &#252;ber den Ursprung und die Position der Ausnahme k&#246;nnen mit der Ausnahmestapel&#252;berwachung angezeigt werden.</code>
    
                      </td>
                   </tr>
                </table>
    
                <br>
    
                <b>Stapelüberwachung:</b> <br><br>
    
                <table width=100% bgcolor="#ffffcc">
                   <tr>
                      <td>
                          <code><pre>
    
    [BadImageFormatException: Die Datei oder Assembly &quot;ListService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&quot; oder eine Abh&#228;ngigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.]
       System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
       System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
       System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean forIntrospection) +127
       System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean forIntrospection) +142
       System.Reflection.Assembly.Load(String assemblyString) +28
       System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46
    
    [ConfigurationErrorsException: Die Datei oder Assembly &quot;ListService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&quot; oder eine Abh&#228;ngigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.]
       System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +613
       System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +203
       System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +105
       System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
       System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir) +163
       System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) +53
       System.Web.Compilation.BuildManager.BatchCompileWebDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors) +175
       System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +86
       System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +261
       System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +101
       System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +83
       System.Web.UI.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +19
       System.Web.UI.SimpleHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) +38
       System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +307
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +155
    </pre></code>
    
                      </td>
                   </tr>
                </table>
    
                <br>
    
                <hr width=100% size=1 color=silver>
    
                <b>Versionsinformationen:</b>&nbsp;Microsoft .NET Framework-Version:2.0.50727.6400; ASP.NET-Version:2.0.50727.6387
    
                </font>
    
        </body>
    </html>
    <!-- 
    [BadImageFormatException]: Die Datei oder Assembly &quot;ListService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&quot; oder eine Abh&#228;ngigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.
       bei System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
       bei System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
       bei System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       bei System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       bei System.Reflection.Assembly.Load(String assemblyString)
       bei System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
    [ConfigurationErrorsException]: Die Datei oder Assembly &quot;ListService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&quot; oder eine Abh&#228;ngigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.
       bei System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
       bei System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()
       bei System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)
       bei System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)
       bei System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir)
       bei System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors)
       bei System.Web.Compilation.BuildManager.BatchCompileWebDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors)
       bei System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
       bei System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
       bei System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
       bei System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
       bei System.Web.UI.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
       bei System.Web.UI.SimpleHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
       bei System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       bei System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    -->
    
    ------------------------------------------------------------------
    
    OPTIONS http://localhost:59952/ListService/DefaultScopeSyncService.svc/defaultscope/UploadChanges?userid= HTTP/1.1
    Host: localhost:59952
    Connection: keep-alive
    Access-Control-Request-Method: POST
    Origin: http://localhost:4086
    User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36
    Access-Control-Request-Headers: accept, origin, content-type
    Accept: */*
    Referer: http://localhost:4086/HTML5Sample/ListSample.htm
    Accept-Encoding: gzip,deflate,sdch
    Accept-Language: de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4
    
    
    HTTP/1.1 500 System.ServiceModel.ServiceActivationException
    Server: Microsoft-IIS/8.0
    X-SourceFiles: =?UTF-8?B?Qzpcc3luY29wZW5zcmNcU2FtcGxlc1xMaXN0U2VydmljZVxEZWZhdWx0U2NvcGVTeW5jU2VydmljZS5zdmNcZGVmYXVsdHNjb3BlXFVwbG9hZENoYW5nZXM=?=
    X-Powered-By: ASP.NET
    Date: Wed, 05 Jun 2013 06:48:13 GMT
    Content-Length: 0
    
    
    
    ------------------------------------------------------------------


    Same with Any CPU / x86

    GET http://localhost:59952/ListService/Login.ashx?username=jzg HTTP/1.1
    Host: localhost:59952
    Connection: keep-alive
    Accept: */*
    Origin: http://localhost:4086
    User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36
    Referer: http://localhost:4086/HTML5Sample/ListSample.htm
    Accept-Encoding: gzip,deflate,sdch
    Accept-Language: de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4
    
    
    HTTP/1.1 200 OK
    Cache-Control: private
    Content-Type: text/plain; charset=utf-8
    Content-Encoding: gzip
    Vary: Accept-Encoding
    Server: Microsoft-IIS/8.0
    X-AspNet-Version: 2.0.50727
    X-SourceFiles: =?UTF-8?B?Qzpcc3luY29wZW5zcmNcU2FtcGxlc1xMaXN0U2VydmljZVxMb2dpbi5hc2h4?=
    X-Powered-By: ASP.NET
    Date: Wed, 05 Jun 2013 07:21:29 GMT
    Content-Length: 155
    
    ‹      í½`I–%&/mÊ{JõJ×àt¡€`$ؐ@ìÁˆÍæ’ìiG#)«*ÊeVe]f@Ì흼÷Þ{ï½÷Þ{ï½÷º;N'÷ßÿ?\fdlöÎJÚÉž!€ªÈ?~|?"öö&{÷öòÛŸ>œoïïžl?œ=˜lOvï?Ø;¿—ïÜϳÿGçÌ^$   
    
    ------------------------------------------------------------------
    
    OPTIONS http://localhost:59952/ListService/DefaultScopeSyncService.svc/defaultscope/UploadChanges?userid= HTTP/1.1
    Host: localhost:59952
    Connection: keep-alive
    Access-Control-Request-Method: POST
    Origin: http://localhost:4086
    User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36
    Access-Control-Request-Headers: accept, origin, content-type
    Accept: */*
    Referer: http://localhost:4086/HTML5Sample/ListSample.htm
    Accept-Encoding: gzip,deflate,sdch
    Accept-Language: de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4
    
    
    HTTP/1.1 400 Bad Request
    Content-Type: text/html
    Server: Microsoft-IIS/8.0
    X-SourceFiles: =?UTF-8?B?Qzpcc3luY29wZW5zcmNcU2FtcGxlc1xMaXN0U2VydmljZVxEZWZhdWx0U2NvcGVTeW5jU2VydmljZS5zdmNcZGVmYXVsdHNjb3BlXFVwbG9hZENoYW5nZXM=?=
    X-Powered-By: ASP.NET
    Date: Wed, 05 Jun 2013 07:21:29 GMT
    Content-Length: 1198
    
    <?xml version="1.0" encoding="utf-8"?><HTML><HEAD><STYLE type="text/css">#content{ FONT-SIZE: 0.7em; PADDING-BOTTOM: 2em; MARGIN-LEFT: 30px}BODY{MARGIN-TOP: 0px; MARGIN-LEFT: 0px; COLOR: #000000; FONT-FAMILY: Verdana; BACKGROUND-COLOR: white}P{MARGIN-TOP: 0px; MARGIN-BOTTOM: 12px; COLOR: #000000; FONT-FAMILY: Verdana}PRE{BORDER-RIGHT: #f0f0e0 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #f0f0e0 1px solid; MARGIN-TOP: -5px; PADDING-LEFT: 5px; FONT-SIZE: 1.2em; PADDING-BOTTOM: 5px; BORDER-LEFT: #f0f0e0 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #f0f0e0 1px solid; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e5e5cc}.heading1{MARGIN-TOP: 0px; PADDING-LEFT: 15px; FONT-WEIGHT: normal; FONT-SIZE: 26px; MARGIN-BOTTOM: 0px; PADDING-BOTTOM: 3px; MARGIN-LEFT: -30px; WIDTH: 100%; COLOR: #ffffff; PADDING-TOP: 10px; FONT-FAMILY: Tahoma; BACKGROUND-COLOR: #003366}.intro{MARGIN-LEFT: -15px}</STYLE>
    <TITLE>Anforderungsfehler</TITLE></HEAD><BODY>
    <DIV id="content">
    <P class="heading1">Anforderungsfehler</P>
    <BR/>
    <P class="intro">Fehler bei der Verarbeitung der Anforderung auf dem Server. Weitere Details finden Sie in den Serverprotokollen.</P>
    <P class="intro"></P>
    </DIV>
    </BODY></HTML>
    
    ------------------------------------------------------------------


    • Edited by Didadadu Wednesday, June 5, 2013 7:24 AM
    Wednesday, June 5, 2013 7:05 AM