0

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

2
  • Ether the file is not in the correct location, ether did not have permission for read it. Probably the first. Commented Feb 5, 2013 at 14:14
  • I resolved this by running the VS2012 as administrator. Seems it's a permission problem. Thanks. Commented Feb 6, 2013 at 1:50

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.