小编Sma*_*tie的帖子

IE:无法从*下载*.无法打开此Internet站点.请求的网站不可用或无法找到

我的网站和IE有问题.我有一个文件Document.ashx,它根据查询字符串中传递的参数成为我数据库中的文档.

该文件适用于:

  • 您在我的网站上并单击下载链接.
  • 您可以访问我的网站上的任何内容并将URL粘贴到地址栏中并访问它.
  • 您之前已经访问过一次文档链接,即使它出错也是如此.

如果:

  • 您没有在当前IE打开的情况下访问我的网站,并将链接粘贴到地址栏中.它显示以下错误:

Windows Internet Explorer

无法从MyHostName下载Document.ashx.

无法打开此Internet站点.

请求的网站不可用或无法找到.

请稍后再试.

有没有人知道会导致这种情况的原因.当然它在Firefox中运行良好.

我在办公室里找了几个人用IE来试试,他们都遇到了同样的问题.他们都说它适用于Firefox.

internet-explorer download

47
推荐指数
6
解决办法
8万
查看次数

在Visual Studio Professional 2015中使用团队资源管理器上的合并按钮的异常

当我在Visual Studio Professional 2015中单击团队资源管理器中的合并按钮时,我收到异常.

An exception has been encountered. This may be caused by an extension.
You can get more information by examining the file C:\Users\XXXX\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml'.
Run Code Online (Sandbox Code Playgroud)

ActivityLog.xml的内容如下:

<record>775</record>
<time>2016/02/23 11:22:08.722</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>
    System.ArgumentNullException: Value cannot be null.&#x000D;&#x000A;Parameter name: key&#x000D;&#x000A;
    at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)&#x000D;&#x000A;
    at Microsoft.VisualStudio.Html.Package.Extensions.ExtensionsManager.OnTextViewCreated(ITextView textView, ITextBuffer textBuffer)&#x000D;&#x000A;
    at Microsoft.Web.Editor.Controller.TextViewConnectionListener.OnTextViewGotAggregateFocus(ITextView textView, ITextBuffer textBuffer)&#x000D;&#x000A;
    at Microsoft.VisualStudio.Html.Package.Commands.Html.VsHtmlTextViewConnectionListener.OnTextViewGotAggregateFocus(ITextView textView, ITextBuffer textBuffer)&#x000D;&#x000A;
    at Microsoft.Web.Editor.Controller.TextViewConnectionListener.&lt;&gt;c__DisplayClass24_0.&lt;OnTextViewConnected&gt;b__0(Object sender, EventArgs eventArgs)&#x000D;&#x000A;
    at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent(Object sender, EventHandler eventHandlers)
</description>
Run Code Online (Sandbox Code Playgroud)

team-explorer visual-studio-2015

13
推荐指数
1
解决办法
1100
查看次数

如何更改 Visual Studio 2022 中内置拼写检查器使用的语言?

我最近将 Microsoft Visual Studio Professional 2022 更新到版本 17.5.2,现在出现大量拼写错误。

有没有办法将拼写检查器更改为使用英式英语?

大量的“拼写错误 - 颜色不是一个单词”的警告根本没有帮助。

我的 Windows 语言和区域设置设置为英语(英国)。

spell-checking visual-studio-2022

7
推荐指数
1
解决办法
3621
查看次数

角度选择/下拉分层数据

我有一个文件夹结构,我想使用 angular 将其放入 html 选择中。

我在下面创建了一个示例,显示了结构并将其输出到嵌套列表结构中。我也把它放到了选择中,但它只显示了文件夹的顶层。有没有办法让选择显示所有带有缩进的文件夹,以便您可以直观地看到选择中的结构?

我可以将另一个属性添加到具有文件夹深度的文件夹中,以帮助缩进。这些文件夹是用户在系统中定义的,所以如果不查看数据,我不知道它有多少个级别。

谢谢

var app = angular.module("selectFolderApp", []);

app.controller("selectFolderController", ['$http', '$scope',
  function($http, $scope) {

    var ctrl = this;

    ctrl.folders = [{
      "name": "Housing",
      "id": "1",
      "children": [{
        "name": "Datasheets",
        "id": "2",
        "children": [{
          "name": "Folder 1",
          "id": "3",
          "children": []
        }, {
          "name": "Folder 2",
          "id": "4",
          "children": []
        }]
      }, {
        "name": "Charts",
        "id": "5",
        "children": [{
          "name": "Folder A",
          "id": "6",
          "children": []
        }, {
          "name": "Folder B",
          "id": "7",
          "children": []
        }, …
Run Code Online (Sandbox Code Playgroud)

javascript angularjs

3
推荐指数
1
解决办法
2965
查看次数