有遇到过这样的情况的吗?如下图
PS:我把程序发布后的.xbap文件是能用浏览器直接打开的,能看到登录界面。
但是我在IIS服务器上发布网站后,物理路径的目录的权限都是给了everyone的权限的,但是浏览就出现了这样的情况。谁来给我分析一下啊???我google之后的结果说可能是网络或者权限的问题,但这两问题我都排除了wpfiis发布网站

解决方案 »

  1.   

    这是错误日志。
    PLATFORM VERSION INFO
    Windows  : 5.2.3790.131072 (Win32NT)
    Common Language Runtime  : 4.0.30319.1
    System.Deployment.dll  : 4.0.30319.1 (RTMRel.030319-0100)
    clr.dll  : 4.0.30319.1 (RTMRel.030319-0100)
    dfdll.dll  : 4.0.30319.1 (RTMRel.030319-0100)
    dfshim.dll  : 4.0.31106.0 (Main.031106-0000)SOURCES
    Deployment url : http://168.0.17.99/WelfareInstitution.xbapIDENTITIES
    Deployment Identity : WelfareInstitution.xbap, Version=1.1.0.29, Culture=neutral, PublicKeyToken=6a6ada49cab48f75, processorArchitecture=msilAPPLICATION SUMMARY
    * Online only application.ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * An exception occurred while downloading the manifest. Following failure messages were detected:
    + Downloading http://168.0.17.99/Application Files/WelfareInstitution_1_1_0_29/WelfareInstitution.exe.manifest did not succeed.
    + The remote server returned an error: (404) Not Found.COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.WARNINGS
    There were no warnings during this operation.OPERATION PROGRESS STATUS
    No phase information is available.ERROR DETAILS
    Following errors were detected during this operation.
    * [2013-11-13 16:26:19] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
    - Downloading http://168.0.17.99/Application Files/WelfareInstitution_1_1_0_29/WelfareInstitution.exe.manifest did not succeed.
    - Source: System.Deployment
    - Stack trace:
    at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
    at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
    at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
    at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
    at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
    at System.Deployment.Application.DeploymentManager.BindCore(Boolean blocking, TempFile& tempDeploy, TempDirectory& tempAppDir, FileStream& refTransaction, String& productName)
    at System.Deployment.Application.DeploymentManager.BindAsyncWorker()
    --- Inner Exception ---
    System.Net.WebException
    - The remote server returned an error: (404) Not Found.
    - Source: System
    - Stack trace:
    at System.Net.HttpWebRequest.GetResponse()
    at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)COMPONENT STORE TRANSACTION DETAILS
    No transaction information is available.
      

  2.   

    人都被逼出来的,自己查了好多资料终于解决了。原来是我这机器上的iis不支持wpf,把iis里面的mime扩展类型加上几个就好了。
    坐等人来接分啊!!!!
      

  3.   

    ".manifest", "application/manifest", 
       ".xaml", "application/xaml+xml",
     ".application", "application/x-msapplication",
     ".deploy", "application/octet-stream", 
      ".xbap", "application/x-ms-xbap"