Botem Bao
Botem Bao

Reputation: 817

Error when deploy Web API on IIS

I have a Web API project, and will be deployed on IIS. When I publish the project through VS2012, I always got errors like - Unable to add file 'Scripts/jquery.unobtrusive-ajax.min.js'. Access is denied. No file in the package is copied into wwwroot.

But, on the other PC it works perfect.

Can anyone suggest on this?

Thanks Botem

Upvotes: 0

Views: 167

Answers (1)

Botem Bao
Botem Bao

Reputation: 817

I resolved this by running the VS2012 as administrator. Seems it's a permission problem.

Upvotes: 1

Related Questions