I have windows server 2019, and classic asp.net 3.5 application ,when I add this application to IIS it only shows folders and do not run the application, I have followed the normal process ,add folder to wwroot ,add application ,change pool permission ,and every thing worked as expected but still am not able to browse my application
Related
I had a previously running ASP.NET Core MVC application working fine on local IIS in Visual Studio when I hit the PLAY button, however some other sites and applications I was working on, on the same computer, did not run on IIS Manager when browsing directly to them from IIS manager or running them in Visual Studio.
Most applications that uses HTTPS for example mentioned that the "Remote Certificate is invalid for the validation procedure message". Yet for some other sites that used IIS Express, it worked fine.
What I have done to try to fix this is:
Removed the original IIS Self Signed Certificate from IIS Manager
Then deleted the website that was working fine
I then used GIT to clone the repository the application is located in
When I opened the solution again that previously worked in Visual Studio it gave me the following message about creating a new IIS Certificate:
Message I get when opening visual studio after deleting the already Self Signed IIS Express Certificate for Local development
Initially I hit YES to this which may be the cause of the problem
Now when I run the application that previously was working and seemed to be using LOCAL IIS, it keeps defaulting to IIS EXPRESS I can see beside the play button
Is there anyway I can put this back to running on LOCAL IIS for my ASP.NET Core MVC application? I cannot see it listed even in the IIS Manager on my computer.
Thanks
Henry
Created a default .NET Core Web Application with Angular (literally created through Visual Studio 2019 and then published through Visual Studio 2019 with the Linux x64 profile). I copied the entire publish directory to a directory on my linux machine and ran the application. The application starts and says browse to http://localhost:5000. Well this linux machine only has shell access. So from my Windows machine (which can access other web applications on this machine from a different port) I open up the website (assume name of linux server is called 'linuxsvr') http://linuxsvr:5000 in Chrome Browser and I get this site cannot be reached.
I deployed using Self Contained Deployment so I'm not reliant on .NET Core being on the Linux machine. I'm apparently missing something. What is the correct way to deploy to a Linux Machine (specifically Ubuntu Server 14.04) with Self Contained Deployment?
I have windows 7 home premium. The version of IIS is Home Premium 7.
I have created a website using DotNetNuke through WebMatrix. The files related to the website are created under the "My Documents" folder. However, when I open the IIS window, I do not see any website that I created in WebMatrix through DotNetNuke. Following are my questions:
1) I would like to understand how WebMatrix configures the website to be run without the website being visible under the IIS console?
2) Where does WebMatrix stores the configuration i.e the port assigned to Localhost (In my case it is localhost:32189)
WebMatrix does not create sites under the full version of IIS. It uses IIS Express. If you want your site to run under the full version of IIS, you need to configure that yourself.
You can usually find the IIS Express configuration file in C:\Users\<your-username>\Documents\IISExpress\config\. Its a file called applicationhost.config.
I have a Win 2008 R2 Enterprise machine that is running fine several websites each one with its own app pool.
I have no troubles giving permissions (using windows GUI) to IIS AppPool\A, IIS AppPool\B, etc... But today I have created one more app pool "C" and I can't find it in the GUI nor using icacls command. I'm trying to give permissions in a folder to IIS AppPool\C but it says it can't find! I'm including built-in security principals in the search and if I type any of the existing app pool identities windows finds then Ok. The problem is just with this new one.
Does anyone knows what is going on?
I don't know if it is reladed but the only change made to this server was to enable .net 3.5 WCF Activation for http and non-http. After enabling this, I got error in all my .net 4 sites and fixed by running aspnet_regiis.exe /iru as described here http://devonenote.com/2010/06/could-not-load-type-system-servicemodel-activation-httpmodule .
Turns out you need to start the associated IIS application for the first time before you can see your application pool in the windows GUI!
I have an MVC3 web application - it is a set of controllers and views without any DB access at the moment.
In the properties for the WEB App (in vs2010 Sp1) If I select
Use Visual Studio Development Server defaulting to a port 10905 then the app works great from an f5
If Instead I use local IIS WebServer with Use IIS Express ticked my project url is http://localhost:10905/ and the app works great.
But if I use local IIS WebServer with Use IIS Express NOT ticked my project url is
http://localhost/TunnelRats then f5 does not work - I literally get a browser popping up with no content displayed just the url address populated.
I created the virtual Directory (using the create directory button) and looked in the IIS Manager
The IIS Manager uses pool ASP.NET v4.0 which has enable 32 bit apps set to true and an integrated pipeline mode.
If I browsse directly from the virtual directory I get the same problem.
Its seems my IIS has a problem where my IIS express does not have a problem running my MVC 3 app.
I used aspnet_regiis -iru to reinstal v4 into IIS with no effect.
Any Ideas
thanks
Martin
might be that you do not have dynamic content enabled on you IIS.
Easiest way to set up IIS for asp.net this days is to use Web Platform Installer