I have a page which creates a word doc from templet
string location = Server.MapPath("~/temp/" + filename);
Application app = new Application();
Document doc = app.Documents.Add(location);
if(doc != null)
//Some code here
it works fine when i run from visual studio, but when i deploy it as a website in local IIS, its not working.I gave the permissions needed to access the folders in the website.
What should i do to make it work.
View Complete Post