Running Deployment project gives me "Something" is not a valid virtual path

285 Views Asked by At

I have a deployment project for web application when I run the deployment project it gives me this error Error 443 'http:/localhost:54333/Content/XXXX/XXXXXX/XXXXXX.ascx' is not a valid virtual path. thanks

2

There are 2 best solutions below

3
On BEST ANSWER

You cannot navigate to a .ASCX file. The .ASCX file is a user control, it's not a .ASPX web form.

0
On

ascx is used for user type controls ,its not denoting any page like .aspx does ,so you cant navigate to ascx