Question

I've installed DotNetNuke 7 on my computer and it works perfectly. I managed to install the Christoc extension for visual studio 2010 and it also works perfectly (I watched the video). The problem is that the extension for vs2010 is outdated and I would like to use it on vs 2012. So I downloaded the vsix file from codeplex and installed it for vs 2012. The problem is that I get two errors when creating a "DotNetNuke 7 C# DAL2 Compiled Module" in VS 2012.

This is the first one (I don't think it is a blocking one): ("The project ('DNNVS2012') is configuerd to use the IIS Web server which...") The project ('DNNVS2012') is configuerd to use the IIS Web server which...

Then I get a second error: "An error occurred trying to create the site http://[...] applicationHost.config Error: Cannot write configuration file" An error occurred trying to create the site http://... applicationHost.config Error: Cannot write configuration file

And the I get the exception:

ComException

In the end, the project is not created at all. Does anyone know how to solve this? I launched unlocker on the applicationHost.config file and it did not find any lock on the file.

Thanks!

Was it helpful?

Solution

Do you have DNN running locally using IIS and DNNDEV.ME as the URL?

You might need to open Visual Studio as Administrator, instead of just opening it without Admin rights, as it needs access to IIS

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top