Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Deploy site with ASP.NET Web API 2.1
heidgert
#1 Posted : Tuesday, January 21, 2014 10:10:20 AM(UTC)
Groups: Member
Joined: 1/6/2014(UTC)
Posts: 6

Thanks: 1 times
Hi,

I have been using Microsoft ASP.NET Web API version 1 (http://www.asp.net/web-api) with great success in one of our applications hosted on UltiDev Web Server Pro.

After upgrading to ASP.NET Web API 2.1 we are receiving the following error message:

This operation requires IIS version 7.5 or higher running in integrated pipeline mode.

While I realize that this is in fact Microsoft that causes this behaviour, I was curious whether someone else have had the same problems. What's your approach on this? Are there any known workarounds?
heidgert attached the following image(s):
heidgert attached the following image(s): 2014-01-21_1606.png
Ultidev Team
#2 Posted : Tuesday, January 21, 2014 11:03:55 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi there!

We tried something as simple as the following, and it fails under non-IIS 7.5:

Code:

protected void Page_Load(object sender, EventArgs e)
{
    if (this.Response.ClientDisconnectedToken != null) // <-- Fails here
        this.Response.ClientDisconnectedToken.ToString();
}


ASP.NET lately has been edging towards higher depndency on IIS, like with WebSockets. Now this.. We have not looked at ASP.NET Web API 2.x yet, but if there is a way to use it synchronous mode, then there might be a way to work around this.

Please post any results your testing yields.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#3 Posted : Friday, March 30, 2018 7:41:04 PM(UTC)
Groups:

Message was deleted by a Moderator.
Rss Feed  Atom Feed
Users browsing this topic
Guest (5)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.