升级到WebAPI2和DotNetNuke的7.2.1和所有服务返回404.0 [英] Upgraded to WebAPI2 and DotNetNuke 7.2.1 and all services returning 404.0

查看:264
本文介绍了升级到WebAPI2和DotNetNuke的7.2.1和所有服务返回404.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写了使用的WebAPI一些的WebAPI控制器的DotNetNuke的7.0中使用此<一个href=\"http://www.dnnsoftware.com/community-blog/cid/142400/Getting-Started-with-Services-Framework-WebAPI-Edition\"相对=nofollow>方法

一切伟大的工作。

今天我升级DNN 7.2.1和更新我的项目的ASP.NET Web API2和我的服务我的本地机器上,现在不工作 - 他们回来了。HTTP错误404.0 - 未找到

我认为这是值得做的IIS扩展名和网址 - 我检查IIS和建议DesktopModules不是应用程序<一href=\"http://stackoverflow.com/questions/19203815/adding-services-framework-web-api-to-dnn7-module\">here.

我试过提琴手和F12调试工具和消息没有给出线索了。如何调试这找出问题所在?

感谢


解决方案

  1. 从应该不是一个应用程序,这意味着它假设使用主web.config中,该模块的WebAPI即将到来的文件夹。

  2. 检查web.config(文件差异),什么是得到了升级之间更改。

​Hi,

I wrote some WebAPI controllers using WebAPI for DotNetNuke 7.0 using this method

Everything worked great.

Today I upgraded DNN to 7.2.1 and upgraded my projects to ASP.NET Web API2 and my services on my local machine are now not working - they return "HTTP Error 404.0 - Not Found".

I think it is something to do with IIS and extensionless URLs - I checked IIS and DesktopModules is not an application as suggested here.

I tried Fiddler and F12 Debugging tools and the message is giving no clues away. How can I debug this to work out where the problem lies?

Thanks

解决方案

  1. The folder that the webapi module is coming from supposed to be not an application, meaning it suppose to use the main web.config.
  2. Check the web.config (file diff), what's got changed between the upgrades.

这篇关于升级到WebAPI2和DotNetNuke的7.2.1和所有服务返回404.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆