Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net 为什么添加Gliew nuget包会导致我的mvc3app无法启动。。?_.net_Glimpse - Fatal编程技术网

.net 为什么添加Gliew nuget包会导致我的mvc3app无法启动。。?

.net 为什么添加Gliew nuget包会导致我的mvc3app无法启动。。?,.net,glimpse,.net,Glimpse,Spile看起来很酷/令人兴奋,但通过nuget安装,自制 我的应用程序无法启动(“未找到资源”) (好像在路由方面发生了一些事情?) 我可以访问/scape/Config/page ok 但我的实际应用程序并没有启动 配置已按nuget安装保留 i、 e.在下,我有: <section name="glimpse" type="Glimpse.Net.Configuration.GlimpseConfiguration" /> <glimpse on="true" save

Spile看起来很酷/令人兴奋,但通过nuget安装,自制 我的应用程序无法启动(“未找到资源”) (好像在路由方面发生了一些事情?) 我可以访问/scape/Config/page ok

但我的实际应用程序并没有启动

配置已按nuget安装保留

i、 e.在
下,我有:

<section name="glimpse" type="Glimpse.Net.Configuration.GlimpseConfiguration" />
<glimpse on="true" saveRequestCount="5">
    <ipAddresses>
      <add address="127.0.0.1" />
      --><!--IPv4--><!--
      <add address="::1" />
      --><!--IPv6--><!--
    </ipAddresses>
    <contentTypes>
      <add contentType="text/html" />
    </contentTypes>
</glimpse>

下,我有:

<section name="glimpse" type="Glimpse.Net.Configuration.GlimpseConfiguration" />
<glimpse on="true" saveRequestCount="5">
    <ipAddresses>
      <add address="127.0.0.1" />
      --><!--IPv4--><!--
      <add address="::1" />
      --><!--IPv6--><!--
    </ipAddresses>
    <contentTypes>
      <add contentType="text/html" />
    </contentTypes>
</glimpse>


--> @Jay您是否使用任何自定义路由提供商或类似的服务。另外,如果在您的环境中只创建一个基本解决方案,您是否会遇到相同的问题?

在.config文件中似乎存在语法错误。尝试用以下内容替换:

<glimpse on="true" saveRequestCount="5">
    <ipAddresses>
      <add address="127.0.0.1" />
      <!--IPv4--><!--
      <add address="::1" />
      --><!--IPv6-->
    </ipAddresses>
    <contentTypes>
      <add contentType="text/html" />
    </contentTypes>
</glimpse>


您是否复制了错误的配置?其中的注释太多(
此配置在中不再有效。Spile有一个新的简化配置。您现在需要的是