Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 18, 2013 01:27 PM by Rion Williams
Jan 17, 2013 03:47 PM|LINK
I have a MVC project which runs successfully when I execute from visual studio that is using ASP.net development server. But when I published to a specific folder during publish, the files are getting created under c:\inetpub\wwwroot\new folder but when
i browse it, it is saying "Access denied" and i put a break point in Global.asax, it is not hitting it also.
Could you please suggest.
Thanks in advance.
Jan 17, 2013 05:04 PM|LINK
You likely do not have read permission to that specific folder, you will need to set your permissions through IIS to gain access to it.
Additional O'Reilly Tutorial on MVC Deployment (discusses handling Permissions etc.)
Jan 18, 2013 01:22 PM|LINK
Hi Rion Williams,
Thanks for your reply. when I debug the app, i get the context null so I am getting reverted to Access denied page of the application. The session state in IIs says "Duplicate key error for the connection string name in Web.config.
Thanks & Regards,
Jan 18, 2013 01:27 PM|LINK
It sounds like within your Web.config file you have two connection string elements that use the same name, which is causing a conflict. You should consider renaming or commenting out one of them and that should fix your issue.