.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links


Posted By:      Posted Date: August 30, 2010    Points: 0   Category :ASP.Net
Hi,I use urlrewriting and when virtual directory name was more than 248 characters see this error: The specified path, 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.how to fix it?I wont miss virtual directory name.tnx

View Complete Post

More Related Resource Links

Urlrewriting .htm to .aspx


Hey all -

I just finished converting a static .htm site to a .aspx/master page site for a client. They have a number of google site links (that I've blocked) that are .htm, but they're still showing up on Google. To preserve old bookmarks (and google sitelinks), I'd like to rewrite the URL from http://www.site.com/about.htm to http://www.site.com/about.aspx.

I'm using urlrewriter already, I just don't know enough about it to know how to rewrite this url. Should be pretty easy, something like:

<rewrite url="~/(*.htm)" to="~/(*.aspx)" />

but that isn't working.

Your help is appreciated,


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend