'Add New Module' error

Jun 5, 2012 at 11:07 AM

I've followed the Video on DNN, have MSBuild, but when I try and add a new module using the template I get:

Website\DesktopModules\MyModule\MyModule.csproj: The Web Application Project MyModule is configured to use IIS. The Web server 'http://dnndev/desktopmodules/MyModule/' could not be found.

I did edit the template, and changed the URL reference to my DNN setup (localhost/Dotnetnuke_Community).

All the files get generated and put in the websites 'desktopmodules' folder, but no project created in Visual Studio.

Any thoughts?

Jul 14, 2012 at 2:17 AM

I am having the same problem.  Did you get it to work or does anyone have any ideas?

 

Thanks!

Jul 14, 2012 at 2:45 AM

I ended up fixing it by editing the template file and changed dnndev to localhost.  For some reason the hosts file wouldn't work even though it worked through the browser.

Jul 27, 2012 at 9:35 AM

I got the very same problem, I changed the template to use localhost, not dnndev (as I configured the IIS this way, I can reach the website through http://localhost), but it doesn't seem to take that into account. What should I do to fix this?

Nov 28, 2012 at 8:46 PM

I am having the same problem. Did anyone fix this issue?

Thanks!

Coordinator
Nov 28, 2012 at 9:01 PM

JP this usually occurs if you haven't setup your development environment following the instructions for using the template. 

What is the address of your development website?

Nov 28, 2012 at 10:05 PM

Hi Christoc,

Thank you for quick response. I followed your video and setup the module development environment. When I tried to create a module using Microsoft Visual Studio 2010, I got the error "The Web Application Project hello is configured to use IIS. The Web server "http://dnndev/desktopmodules/hello/' could not be found."

my development website is "http://www.dnndev.me"

Thanks!

Coordinator
Nov 28, 2012 at 10:55 PM

If you are using www.dnndev.me then you will need to change the templates, it is designed currently for DNNDEV not www.dnndev.me 

If you've already created a project you can edit the CSPROJ or VBPROJ files (with notepad) to point to the different name (search in the project file for DNNDEV. 

Nov 30, 2012 at 4:57 PM

Hi Christoc,

I reset the iis to point the url http://dnndev by following your instruction, but somehow when loading http://ndddev, it goes the domain, not the local.

Any idea or anything I am missing?

Thanks,

Jane

From: christoc [email removed]
Sent: Wednesday, November 28, 2012 3:55 PM
To: Jianping Zhang - Battery-Biz
Subject: Re: 'Add New Module' error [christoctemplate:358398]

From: christoc

If you are using www.dnndev.me then you will need to change the templates, it is designed currently for DNNDEV not www.dnndev.me

If you've already created a project you can edit the CSPROJ or VBPROJ files (with notepad) to point to the different name (search in the project file for DNNDEV.