ChrisHammond / DNNTemplates

Christoc's DotNetNuke Extension Development templates for Visual Studio
http://www.christoc.com/Products/DNN-Development-Templates
Other
97 stars 38 forks source link

The Web server xx could not be found. #43

Closed VashJuan closed 7 years ago

VashJuan commented 7 years ago

I've set up a fairly new (originally DNN v8.x, upgraded to DNN 9.1) instance of DNN that runs fine locally at http://dnndev.me/. I even moved the physical directory to c:/websites/dnndev.me in case that helped. It didn't. I've reread the old & current install instructions a few times.

I still get this error repeatedly - though the new DAL2 MVC module directory is created and populated: 5-19-2017 at 11 47 05 am

The only issues I can think of:

What else can I look for or try?

Thanks!

ChrisHammond commented 7 years ago

Check to see if the Virtual Directory/app is configured in IIS

Check the desktopmodules folder

the MVC folder

and the module folder under there.

Chris


Chris Hammond http://www.christoc.com

On Fri, May 19, 2017 at 3:14 PM, John notifications@github.com wrote:

I've set up a fairly new (originally DNN v8.x, upgraded to DNN 9.1) instance of DNN that runs fine locally at http://dnndev.me/. I even moved the physical directory to c:/websites/dnndev.me in case that helped. It didn't. I've reread the old & current install instructions a few times.

I still get this error repeatedly - though the new DAL2 MVC module directory is created and populated: [image: 5-19-2017 at 11 47 05 am] https://cloud.githubusercontent.com/assets/8594671/26262973/9b598e30-3c8b-11e7-89cf-34b1a327942c.jpg

The only issues I can think of:

  • I'm running Windows 10 Pro and enabled the native IIS. (Is this the same as IIS Express?)
  • I'm running Visual Stuidio 2017 Enterprise Edition. There was an old note mentioning the VSIX files might only run on Visual Studio Express? I've uninstalled and reinstalled the VSIX files from within Visual Studio - i.e., NOT using the ones from this GitHub repository.

What else can I look for or try?

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ChrisHammond/DNNTemplates/issues/43, or mute the thread https://github.com/notifications/unsubscribe-auth/ABk9lkm_qzKS35bncrN29ctlEUyGdkpxks5r7en4gaJpZM4Ng6dw .

VashJuan commented 7 years ago

Brilliant Chris! Many thanks.

For others here's exactly what worked for me to move past the error: Open IIS Manager, navigate to into Sites | DnnDev.me | DesktopModules |MVC |yourModuleName and right click on that.

[The ~8MB directory with ~80 files were created already by Visual Studio as a result of creating the new project, filling out 2 dialogs and clicking OK. The error dialog was displayed, but the vitals WERE created.]

5-19-2017 at 2 07 04 pm

Select the "Convert to Application" option. The icon should change reflecting your choice. Close IIS Manager.

Return to Visual Studio and open C:\websites\dnndev.me\DesktopModules\MVC\yourModuleName\yourModuleName.csproj Then save all (creating a project).

Then change from debug to retail build. 5-19-2017 at 2 35 34 pm

Right click on the solution (in Solution Explorer) and select "Build Solution"

{I get "warning CS7035: The specified version string does not conform to the recommended format - major.minor.build.revision" which I could ignore.]

You should find the resulting extension's Install (and Source) ZIP files in the Install directory.

Go to your http://dnndev.me web site, add the extension you just created to the site, then add the extension to a page on the site, then in Edit Page mode, select the pencil icon at the upper right of the module to "Add an Item". 5-19-2017 at 2 41 13 pm