I developed a site using asp.net with vb script.In local machine its working fine..
But when deployed it shows the following error
its my code
filepath = Server.MapPath( "http://www.mintmenadev .com/z/test/cms/Movies/" + FileUpload1.Fil eName)
FileUpload1.Sav eAs(Server.MapP ath(filepath))
it shows following error
System.Web.Http Exception: 'http://www.mintmenadev .com/z/test/cms/Movies/RomanceMovieGen eric.flv' is not a valid virtual path.
pls help me.......
But when deployed it shows the following error
its my code
filepath = Server.MapPath( "http://www.mintmenadev .com/z/test/cms/Movies/" + FileUpload1.Fil eName)
FileUpload1.Sav eAs(Server.MapP ath(filepath))
it shows following error
System.Web.Http Exception: 'http://www.mintmenadev .com/z/test/cms/Movies/RomanceMovieGen eric.flv' is not a valid virtual path.
pls help me.......
Comment