Binding net.pipe to Default Web Site via IIS - iis

When I attempt to set up appfabric to link up to my application and monitor and track and tract it, I get an error stating
“Workflow persistence is not functional because the net.pipe binding is not enabled for this web site.”
Now according to This Website I need to enable the net.pipe bindings for a site. It says that To enable the net.pipe binding for a site, right-click the site in the Connections pane of IIS Manager, click Edit Bindings, and add net.pipe with binding information of “*”.
I go to Default Web Site, right click and click edit bindings, but am unsure how binding information plays into it. I see site bindings, one of them http no host name, port 80, ipaddress of * and no binding information. When I click add I can put in a host name, put in a port, select an ip address, and select a type (http or https). Where would I edit the binding information to make it * and thus no longer show the error with appfabric.
Thanks in advance!

In fact, it's depending on IIS and/or Windows Server version.
As a prerequisite, you have to enable Net Pipe Activation first. You can add it via windows feature or Server manager.
Here is the illustrated explanation :
First, Go to the Advanced settings on your Web Site.
Under IIS manager, it's on the right after you select your WebSite.
In Enabled Protocols, add net.pipe (default is http)
At the end, Add a new Bidning (Right Pane when you select your web site), and add a net.pipe binding with a wildcard "*" for Bidning Informaiton.
That's all.

Cybermaxs basically has the correct answer, with one minor caveat in my experience: You might need to do an iisreset before things will work (that is, click win + R, and enter iisreset, or just run iisreset in a command line window).
As a bonus, what follows is the equivalent of what Cybermaxs included, only from Windows 8. Search for "Turn windows features on or off" to open this window:

Related

How do I set up IIS to debug classic ASP?

How do I set up IIS to debug classic ASP?
Help Needed Setting up Classic ASP Debugging
According to what I have seen on social media, in order for me to set up my computer for writing and debugging Classic ASP, I need to set up IIS a certain way -- which I did -- and then I have to enable ASP by doing the following:
IIS7 - IIS > ASP > Compilation > Debugging Properties > Enable Server-side Debugging
And I am stuck on this. Please, someone give me an idea of what I need to click on.
The steps to implement your requirements can be found easily from internet. The reason why you can't see "ASP" module in your screenshot is you didn't enable "ASP" feature. Please refer to the steps below:
1. Open your "Control Panel" --> "Programs" --> "Turn Windows feature on or off".
2. Then you can find "ASP" option under "Internet Information Services" --> "World Wide Web Services" --> "Application Development Features" like below screenshot.
3. Just enable "ASP" and then go to your IIS manager, choose the site which you want to edit under "Sites". Then you can find "ASP" module.
Hury Shen posted a very good answer. I might be ready now to have a go at making my first "Hello World" classic ASP program.
The answer provides content that even the online Microsoft Documentation I have read has left off. Namely, it is checking the ASP box.
I clicked on the help button and this lead me to a browser page which explained how to create an ASP page.
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831768(v=ws.11)?redirectedfrom=MSDN
This link offers this help:
and this takes me to a new page
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831387(v=ws.11)
I have accomplished the prerequisite and step 1 on the list. So I go to step 2
Step 2: Add a Classic ASP Website You can perform this procedure by
using the user interface (UI), by running Appcmd.exe commands in a
command-line window, by editing configuration files directly, or by
writing WMI scripts. To add a website by using the UI Open IIS
Manager. For Windows Server 2012, on the Start page click the Server
Manager tile, and then click OK. On the Server Manager Dashboard,
click the Tools menu, and then click Internet Information Services
(IIS) Manager. For Windows 8, on the Start page type Control Panel,
and then click the Control Panel icon in the search results. On the
Control Panel screen, click System and Security, click Administrative
Tools, and then click Internet Information Services (IIS) Manager. In
the Connections pane, right-click the Sites node in the tree, and then
click Add Website. In the Add Website dialog box, type a friendly name
for your website in the Site name box. If you want to select a
different application pool than the one listed in the Application Pool
box, click Select. In the Select Application Pool dialog box, select
an application pool from the Application Pool list and then click OK.
In the Physical path box, type the physical path of the Web site's
folder, or click the browse button (...) to navigate the file system
to find the folder. If the physical path that you entered in step 5 is
to a remote share, click Connect as to specify credentials that have
permission to access the path. If you do not use specific credentials,
select the Application user (pass-through authentication) option in
the Connect As dialog box. Select the protocol for the Web site from
the Type list. The default value in the IP address box is All
Unassigned. If you must specify a static IP address for the Web site,
type the IP address in the IP address box. Type a port number in the
Port text box. Optionally, type a host header name for the Web site in
the Host Header box. If you do not have to make any changes to the
site, and you want the Web site to be immediately available, select
the Start Web site immediately check box. Click OK.
It has been a long time since I have done anything like this. Basically, I assume I am turning my desktop computer into a web server. Am I right? If this is so, do I have to follow through with all the overhead and steps in buying a namespace? I hope not.
I have questions about step 4 : "If you want to select a different application pool than the one listed in the Application Pool box, click Select. In the Select Application Pool dialog box, select an application pool from the Application Pool list and then click OK." As I type out the site name, the field for "Application pool" repeats what I type for the site name. Since I am not creating a new application pool -- or I do not want to -- I click on select and choose the DefaultAppPool .
Since I am only wanting to write test code locally, I connect as an application user.
I did not put in an IP address.
It complained that I was using port 80. So I switched it to port 79 and clicked ok.
So now I think I have an asp website. What do you think?

How to set up IIS 10 for MVC 5?

The title is purposely generic as I have no clue to formulate my question in any different way.
I have made an MVC 5 project using .NET 4.7.
My goal is to use IIS 10 to point to a domain so I can use that as a testing ground.
I have already edited my host-file to point my localhost ip to the domain I have in mind.
After that I have followed every step mentioned in the video below meticulously.
However I keep ending up on the 403.14 error page.
I have adjusted security to no avail, checked the app-pool to use the correct .net version... I'm all out off ideas.
https://www.youtube.com/watch?v=IwbKquNBNgQ
I hope someone here has some idea of things I have not thought of myself, so feel free to ask anything you think might make the change I need to make this work. I will edit this message (and title) as much as needed to keep up to date as possible.
EDIT: I have followed the full guide that I have marked as an answer. I had 3 differences.
Difference 1 was in Windows Features. I think I just plain didn't correctly mark all the needed features..
Difference 2 was in Security. I did not have IIS_IUSRS added, only IUSR
Difference 3 is one I have purposely keep a difference and that is Directory Browsing. Without this being enabled, it works for me.
I hope that if anyone ends up on this page in the future, the answer provided below will be as helpful as it has been to me.
make sure you enabled below iis features:
please follow the below steps to publish your MVC project in iis.
1)open the visual studio. Select your site and right-click on that-> Click publish.
2)in pick up publish target Select folder option and create choose destination where you want to publish the site. (make a new folder and publish a site in that folder) and then select publish.
3)open IIS manager.
4)expand the server name and right-click on sites and select add a new site.
5)enter the site name, physical path, and site binding details.
ip address: select your machine ip address.
port: 80
domain name: your domain name
6)make sure you enabled directory browsing in iis.
7) The application pool is running under application pool identity, a version is correct and using the integrated pipeline.
8)anonymous authentication is enabled.
9)iis_iusrs and iusr have full permission to access the site folder.
host file enry:
bind your machine IP dress with a hostname of the site.
after doing all the changes refresh the site in iis and browse.

Windows server 2012 R2 set default site in iis with out changing port number

i would like configure website under port 80 in iis8.
i need to setup this without changing ipaddress and portnumber.
but it is showing following error message.
could you please help us to find the solution we are running out of time.
You can solve this one of two ways:
Stop the other website that is using the same IP and port
or
Add a host name to your website's binding that makes it unique from the other site(s).
In IIS, each site must have a unique combination of host name, IP address and port number.
There is always a default website on IIS.
Locate it on your left pan of IIS manager by clicking on sites, click on Default Web site and check your right pan, locate the manage website section and stop it.
Then add your website by right-clicking on site and add website, configure it and use default application pool

Installed IIS but get blank page and it doesn't show up in Windows services list

I am trying to install IIS on my Windows 8.1 laptop and followed the directions at Microsoft for installing IIS. But when I type localhost, instead of getting the IIS start page, I get a blank page.
When I do Windows + R and type services.msc, the resulting list of services is long but does not include Internet Information Services.
When I look at the Windows filesystem, I do find the inetpub folder with four subfolders, including wwwroot. In the wwwroot folder is the iisstart.htm file that is supposed to display when I type localhost into my browser.
I have read that one possible problem is that both Skype and IIS want to use Port 80 and there is a conflict. So I decided to try to change the default port for IIS, but I found that I don't appear to have the IIS Manager on my system. When I go to Administrative Tools, Internet Information Services Manager is not on the list of administrative tools.
I added both the HTTP Redirection module as well as the IIS Management Service on top of the initial basic installation that Microsoft described. Still no luck getting IIS working or IIS Manager to appear.
I have tried to research this problem of getting IIS to work on Windows 8.1 with no success and am at a loss. Suggestions welcome!
In Control Panel --> Programs --> Programs And Features --> Turn Windows features on or off -> Internet Information Services -> World Wide Web Services -> Common HTTP Features -> Static Content.
Also make sure .NET Extensibility 3.5 and .NET Extensibility 4.5 are checked.
Major fail by Microsoft. Why the hell would they turn off the most basic features by default. Go to Turn Windows features on or off (just search "features"). Look in IIS, WWW, Common HTTP Features. See attached image.screenshot
I have solved a couple of my problems.
I installed several more IIS modules: Static Content, IIS Management Console, and HTTP Errors.
I am now am able to find the IIS Manager in the Administrative Tools list and can use the IIS Manager.
Also, when I pressed Windows key + R and typed in services.msc, I still don't see Internet Information Services in the list. However, I do see "World Wide Web Publishing Service" in the list and it is shown as running. A page at Microsoft's Technet site indicates that it is related to IIS.
The HTTP Errors module gave me an error page rather than a blank page when I typed in localhost and also when I typed localhost/filename. This proved a HUGE help, because the error page identified the problem as a permissions issue. I thought I had dealt with the permissions issues, but this error page made it apparent that I had not.
When I typed in localhost, I got the permissions error. When I typed in localhost/iisstart.htm, I got the proper display of the file. When I created a simple .htm file, statictest.htm, and placed it in the wwwroot folder along with iisstart.htm, and typed localhost/statictest.htm, I got the permissions error.
So since one of the files was working and one wasn't, I decided to compare their permissions. (You do this using the File Explorer. Right click on the file, click on Properties, click on Security Tab. To make changes, click on Edit.) I saw that the successful one had a user listed that the unsuccessful one did not. So I added a user for the statictest.htm file to the permissions list with full control. That solved the issue for that file and it displayed normally.
I now am back to getting a blank page when I type in localhost. It must not be a permissions issue, because otherwise I'd get the permissions error page. I'm not sure what the cause of the blank page is. But as long as I can get files to display when I give their name, I am happy enough.
I am happy to report that my PHP installation is also working, at least as judged by the fact that the phpinfo() function displays properly.
So to sum up: if you are having problems getting IIS to work on Windows 8.1, try adding more IIS modules and make sure your permissions are in order. I think the most important ones to add are Static Content and HTTP Errors. Also, of course, CGI if you are going to use PHP.
I know this is an older post, but in case anyone, like me, already had "static content" enabled, there was one other thing that needed to be done to resolve this issue.
Under "Programs and Features" -> "Turn Windows features on or off"
Expand "Internet Information Services" -> "World Wide Web Services" -> "Application Development Features"
Make sure that "ASP.NET 4.5" (and if needed/installed 3.5) are selected. This should automatically check ".Net Extensibility" for the selected version, and it should also enable ISAPI filters and Extensions.
By default (for me at least) these options were not turned on when I enabled IIS. I was getting a 500 error in IE if I had "Show Friendly Error Messages" turned on in IE, but if I turned that option off, I would get a completely blank page.
For me, the reason was that I had two different HTTP handlers in the config with the same name. I didn't get any errors, just blank response.
I'm guessing that some other parts of the configuration may result in a similar behavior. Try commenting out some parts of Web.config file in case you cannot figure the problem out.
Same issue.
Win 10 upgraded from 7. Default documents server blank and without error.
Static Content and Default Document features already enabled.
I resolved by disabling both features, rebooted and tried(received error 404), enabled both features, rebooted, pages served properly.
For me, I was using Windows Server 2008 on an Azure machine, it was missing some packages which can be installed using "Web Platform Installer", and then search for "recommended server configuration for web hosting providers"
I encountered the blank page problem as well on IIS 8.5 on Windows Server 2012 R2.
I had StaticContent installed as Windows feature.
What finally fixed it for me was changing the Path Type of the StaticFile Handler under [IIS Manager -> Server on left pane -> Handler Mappings -> StaticFile] from "Unspecified" to "File or Folder".
You can also change this on a per web site basis instead of the entire server (but I don't really see a reason why to do so, as it breaks pretty much any page). Make sure, however, that the site does not have an overriding setting for the StaticFile handler, as the site scoped one is preferred over the global one.

SharePoint list webpart connections option not visible

I want to connect two list webparts. The problem is that when I go to "Edit Web Part -> Connections" this option "Connections" doesn't apperar.
Searching on google found this: http://office.microsoft.com/en-us/windows-sharepoint-services-help/connect-data-in-web-parts-HA010024105.aspx. There is a paragraph that says: "The Web Part menu may not be enabled or visible on your Web Part Page for several reasons, including that the Web Part or the zone does not support connections, you are using a browser that is not compatible with Windows SharePoint Services, or connections are disabled on your site"
I think connections are disable on my site. Where can I enable connections on a SharePoint site?
Thanks for your help!
Ha ha. In Internet Explorer 11, you have to view Sharepoint sites in "Compatibility Mode"! Imagine that! Without Compatibility Mode, IE won't display the connection menus - but Firefox and Chrome will! Apparently, this is even a problem with Sharepoint 2013.
I saw this problem even when Connections were enabled.
The workaround was to choose Edit Web Part and Click "Apply". This magically made the connection menu appear. However when the page is reloaded, the workaround needs to be applied again.
I'm not 100% sure if I remember correctly, but I had the same issue last week.
First you need access to the central administration at the sharepoint host.
In there, you have to click on "Application Managment" -> "Manage Web Applications"
Then select your web app and click on Web Part Security in the ribbon. If i remember right you should find an option there to allow connections between webparts.
Here in my experience I found that on wiki page web part connection is not possible, if you want to connect two web parts or two list, go and add your lists, or webpart onto webpart page, and on edit page connect them, ok.
There are some issue with placing filter web parts on a wiki page. The filter web part is not visible and it's impossible to select the webpart menu when in page edit mode.
I encountered it a few times. Like user2780851 states. Enable the publishing features, add a new (publishing) page (so in the 'pages' library not in the 'sitepages' library). When you add the filter webparts on this publishing page all the menu options (and the connection option) will be available.
I was able to get things to redisplay without using compatibility mode. In IE 11, what I had to do was hit F12 to pull up the developer menu, and then under the emulation tab, I switched my user agent to Internet Explorer 10, and then it started working correctly. My problem that lead me to this thread was that my web part menu wasn't displaying at all. This is a serious Microsoft fail. Probably why they are planning to abandon IE altogether. Good riddance, says I.
I've found that this issue has caused a lot of confusion, and led people to incorrectly think that connections between web parts isn't available on wiki pages.
The Connections option will appear as long as you are in the edit mode of any web part on the page - it doesn't have to be a web part which will be involved in the connection.
First you need access to the central administration at the sharepoint host.
In there, you have to click on "Application Managment" -> "Manage Web Applications" Then select your web app and click on Web Part Security in the ribbon. If i remember right you should find an option there to allow connections between webparts.
this is answer right i did it and it works

Resources