rahulsahay19 / AMA

Ask Me Anything
0 stars 1 forks source link

angular in iis #4

Open hadizamani opened 7 years ago

hadizamani commented 7 years ago

hello, i have problem for publish your example angular spa withh asp mvc (MovieReview ) in iis not found path in server.. HTTP Error 404.0 - Not Found can you help me ????? thanks

rahulsahay19 commented 7 years ago

Hi,

Which Book you are talking. Have you just downloaded the sample and run the same and then try to host or you have followed the path which I have explained in the book?

Thanks, Rahul

hadizamani commented 7 years ago

hi unfortunately i can not speak english good. Building SPA using MVC 5 and Angular book. this book help me a lot.very good book.. both . run sample and followed the path which you have explained in the book.. in visual studio works very good.. but when host in iis not work... not found pages. very Thanks

rahulsahay19 commented 7 years ago

hmm, so looks like path it is not finding, you can debug in chrome, and see when 404 happens for particular view, what path it is looking, then you can improvise the path for IIS. although, this shouldn't happen, because, when i hosted on IIS, I never changed the path. It might happen, that your root directory is not actually pointing where it is expected to.