Problem in Dotnetnuke to create module project - iis

I am new to the Dotnetnuke framework and I have problem to create module project.
I have VS2012, SQL 2008R2, IIS7.5, Win7, DNN_Platform_07.04.00 and I installed DotNetNuke Project Templates VSIX v2.5.
When I make a new project:
I get this error:
Any idea why I get this error and how to fix it?

Go to IIS Manager, select the site (in my case it's dnndev.me) under the Sites node in the tree. In the Actions panel, see the item "Edit Site" Bindings...
Click Bindings... and ensure Host Name is dnndev.me and not www.dnndev.me

Related

Unable to open the Web site 'http://localhost/XYZ'. Some of the properties associated with the solution could not be read

I copied a web application to my local development machine. When I open the solution in Visual Studio 2019, I get the following error:
Unable to open the Web site 'http://localhost/XYZ'. The Web site 'http://localhost/XYZ' does not
exist. Some of the properties associated with the solution could not be read.
I found this similar question and answer:
The Web site {site name} does not exist
But the directory that is indicated in the error message is different. My error is specifically targeting "http://localhost/...". I've been developing with Visual Studio for several years and I've worked with IIS a little - configuring application pools and converting directories to websites - but that's about it. Any idea what I'm missing here?
You can try the following steps to solve your problem:
Click Start, and then click Control Panel.
Click Programs and Features.
Click Turn Windows features on or off.
In the dialog box, expand Internet Information Services.
Expand Web Management Tools, and then expand IIS 6 Management
Compatibility.
Click to select the IIS Metabase and IIS 6 configuration
compatibility check box, and then click OK.

How to install ORCHARD CMS?

I'm not sure if this question is not allowed, in the structure that I am asking it. However, I want to know if there is a way to manually install ORCHARD CMS the same way I would manually install wordpress. I am a very adequate wordpress/joomla/linux developer but have been tasked with installing orchard.
I've never worked with a microsoft server, however have one set up through my hosting company. Can I just drop the the zip files in and it will work?
There are four ways you can install Orchard. You can:
Install it using the Microsoft Web Platform Installer.
Install it from Microsoft WebMatrix as shown in Working with Orchard in WebMatrix.
Download the Orchard .zip file and install it as described in Manually Installing Orchard Using a zip File.
Enlist in the Orchard source code and build Orchard from the command line or in Visual Studio.
This topic shows how to install Orchard using the Microsoft Web Platform Installer.
Requirements
The minimum requirements for running Orchard are the following:
ASP.NET 4.5
A web server such as IIS Express 8, 7.5 or IIS 7.x.
When installing IIS, make sure you enable the ASP.NET IIS modules. Also make sure that you run Orchard in an integrated pipeline ASP.NET 4 application pool.
Important: If you previously installed any pre-release versions of WebMatrix, ASP.NET Web Pages, or ASP.NET MVC 4, you should uninstall those products before Orchard will run correctly on your computer. To develop Orchard sites, many developers will want to use a database such as SQL Server, and a web page programming environment such as WebMatrix or Visual Studio 2013. The following installation was tested with a clean installation of Windows 8.1. It uses the Web Platform Installer and it includes Orchard, IIS 8.0 Express, and optional applications for Orchard development like WebMatrix and SQL Server Compact 4.0.
Installing Orchard
To begin, download and install the Web Platform Installer. When you're done, run it.
Find Orchard CMS and then click Add to include Orchard as an item to install.
Click Install. Accept the license terms in order to continue.
When the installation is complete, the dialog shows the list of installed tools in addition to Orchard. Click the Launch link to open the site in WebMatrix.
Running Orchard in WebMatrix
After WebMatrix starts, it should inmediately launch Orchard in the default browser. If not, you can launch Orchard by clicking the Run drop-down button, and selecting which browser to use. In WebMatrix you can click the Files workspace to see the contents of the Orchard site.
The first time Orchard is launched, you see in your browser the Orchard setup screen.
By default, Orchard includes a built-in database that you can use without installing a separate database server. However, if you are running SQL Server or SQL Server Express, you can configure Orchard to use either of those products instead by specifying a connection string. Optionally, you can enter a table prefix so that multiple Orchard installations can share the same database but keep their data separate.
The setup screen also includes a section where you can choose an Orchard recipe to set up your site. You can choose from the following Orchard recipes:
Default. Sets up a site with frequently used Orchard features.
Blog. Sets up a site as a personal blog.
Core. Sets up a site that has only the Orchard framework for development use.

Visual Studio 2015 Preview - Full IIS

Any idea how to run ASP.NET 5 project in full IIS (not express) from within Visual Studio 2015 (via start debugging with F5 key)?
Atm I'm getting:
Couldn't determine an appropriate version of KRE to run.
I know it's not officially supported yet, but since IIS Express can do it, so should full IIS?!?
Let's say you created an ASP.NET 5 web application out of the template provided in VS 2015 Preview, then you can follow either of the approaches below:
Run the kpm pack command to create the deployable package with the appropriate options.
Example:
kpm pack --runtime KRE-CLR-x86.1.0.0-beta2-10690 --out "C:\MyWebApps\WebApplication1" --wwwroot-out wwwroot --configuration Release
Right click on the web application project and do a Publish to local file system directory.
Once the above step is done, in IIS, you can create a virtual directory application (or Website if you wish) to this deployable package's wwwroot folder. Example: "C:\MyWebApps\WebApplication1\wwwroot"
I just had a similar issue with beta4.
Note that the names have changed now so instead of a KRE it's now a DNX, although IIS was still showing the error calling it KRE despite this.
Anyway the solution for me was to:
right click the project in question in Solution Explorer
select "project name" Properties
tick Use Specific DNX version
tell it exactly which one you want to use, for me that was 1.0.0-beta4, .NET Core, x64
The project then ran in the browser for me.

IIS Web Deploy's "Import/Export Application" Action Missing?

I had a working IIS 7.5 with Web Deploy 3.5 configuration such that the "Import/Export Application" feature in the right hand action pane showed up and functioned properly. Unfortunately I had to remove and reinstall IIS, and now the Import/Export functionality does not show up in the Actions pane, as if Web Deploy was not installed.
I tried to reinstall using the automated installer at http://www.iis.net/downloads/microsoft/web-deploy, but when I run it, the installer seems to think that Web Deploy is already installed and does not offer me any reinstall/uninstall option.
How can I force a reinstall of WebDeploy or force IIS to recognize that Web Deploy is still installed?
Go to http://www.iis.net/downloads/microsoft/web-deploy
Scroll to the bottom of the page to the "Download Web Deploy" header
Click the x86 or x64 link next to your language of choice. Do not click the WebPI link.
Once downloaded, click on the installer to open it.
Click Next
Click the Remove button
Now you can reinstall it using the Web Platform Installer, or just use the standalone.
On a side note...
If you don't see the Deploy options in IIS once you've reinstalled Web Deploy, try running IIS as Administrator. Hope this helps.
I am running IIS on my development machine on Windows 7. Web Deploy 3.6 seem to break something as the Import / Export Application options are not available. Had to uninstall 3.6 via control panel add/remove programs and then install 3.5 via Web PI.
I've installed Web Deployment Tool 2.1 then restart IIS Manager and the Import/Export Application appeared.
I was running a 'gallery template' Windows Server 2012 VM on Azure. Web Platform Installer said Web Deploy 3.5 was already installed. At first I thought this neat feature had been removed/moved.
In Add/Remove Programs, saw that Web Deploy 3.6 Beta was installed. Removed it and reinstalled 3.5 (without SQL stuff) via Web PI.
Ran IIS Manager as admin and all works fine.
Update - A new Azure VM also had this problem, but had 3.6 Beta3 installed. Again, removed and reinstalled 3.5 via WebPI.
None of the other answers here fixed this for me with Visual Studio 17 on Windows 10. The fix was here: https://developercommunity.visualstudio.com/content/problem/230372/web-deply-40-msi-location.html
Web Deploy 4 has moved to be distributed with Visual Studio 2017. This is nuts because the Web Deploy service and the Import/Export tools are for server administrators and not devs. The discussion in the link says they are working on adding Web Deploy 4 to the Web Platform Installer, but have encountered a few issues (read: we didn't create a proper deployment for it the first place.)
The fix for me was to uninstall Web Deploy 4 from Control Panel-Apps & features, then reinstall from the MSI provided with Studio. Look in C:\ProgramData\Microsoft\VisualStudio\Packages for a folder like Microsoft.VisualStudio.WebDeploy.Msi,version=...,chip=x64. The MSI file is within that. More detail in the link I mentioned.
My guess is if the IIS Manager is not turned on at the time Studio (and therefore Web Deploy) is installed, the hook for Import/Export can't be created.
My situation is slightly different as I never had the import/export menus. For what it's worth:
I tried to install the Web Deploy installer. It said that a newer version was installed. I tried repairing Web Platform Installer. Nothing changed. I tried changing but was told there were individual components. I tried uninstall/reinstalling WebPlatformInstaller.
After that, the IIS Manager showed a Web Platform Installer icon under the Management section after restarting, but still no Deploy menu on the right click.
Double-clicking that icon started the installer where I could then search for web deploy. There was a Web Deployment Tool 2.1 that was not installed. Clicking Add then Install and restarting IIS Manager (not run As Administrator) was all that was needed to get the Deploy menu:
According to this Microsoft document, the Web Platform Installer should have started automatically. Never did. But it is in the start menu. The steps are the same weather you start it from IIS Manager or standalone.

IIS 7.0 IIS Manager does not have the option "Manage Packages" available

Trying to deploy a mvc package, but looking at the instructions here:
http://vishaljoshi.blogspot.com/2009/07/importing-web-package-into-iis-manager.html
I do not see the "Manage Packages" option visible when I got to IIS Manager->Default Web Site
This is 2008R2 vanilla...
What am I doing wrong?
I was having this same problem. What I did to solve this in Windows 7 was:
Go to Add or remove programs
Search for Microsoft Web Deploy 2.0
Uninstall it (it was already installed on my machine)
Download the Microsoft Web Deploy 2.0 installation package here.
Run the installer as Administrator
Then go to Start -> Search programs and files and type InetMgr.exe hit enter and finally find the Deploy section under the Actions pane in IIS.

Resources