开发者

.Net MVC - Restful URLs - The fully qualified file name must be < 260 characters, and the directory name must be <248 characters

I'm creating an MVC application that's following a RESTful URL approach.

I am experiencing the following error:

The specified pa开发者_开发知识库th, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters

This error occurs when my URL length >= 225 chars. Surely I can have much longer URLs without this problem. Doesn’t this relate to file paths rather than URLs?

Is there a way around it?


Apparently there is a problem with aspnet_isapi.dll as indicated at ASP.NET url MAX_PATH limit. Fortunately, it appears that it will be addressed in a future version of .NET.


looks like this is a known issue, as soon i i lost some of the / in my URL it worked - ASP.NET MVC, Url Routing: Maximum Path (URL) Length

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜