HTTP Error 500.19 - Internal Server Error web config .net core web api - web-config

Detailed Error Information:
Module:
IIS Web Core
Notification:
BeginRequest
Handler:
Not yet determined
Error Code:
0x8007000d
Config Error:
Config File:
\?\C:\inetpub\wwwroot\webapi\web.config
can you help me?

I had similar challenge with an aspnet.core web application. I took these steps
1. I installed the Windows Server Hosting (.exe) from https://www.microsoft.com/net/download/windows
2. I granted full permission to the application directory
Hope this solved your problem

I had this same error, but different fix in case it helps someone. I thought sure that I had installed the .NET Core Runtime on the server. Turns out it wasn't actually there. Another sign that it's not installed is that in IIS Administrator, at the machine node, the Modules panel does not have the AspNetCoreModule registered (and indeed there was no aspnetcore.dll at \System32\inetsrv). Once I installed the .NET Core Runtime and restarted IIS, the application worked.
Another tip: installing the .NET Core SDK does not install the runtime components, including for IIS hosting. You must install specifically the Runtime to support apps on IIS.

Related

Upgrade .NET Framework 4.5 to 4.8 - Web Application Returning 404 Error

I have attempting to upgrade a web application that uses .NET Framework 4.5 to 4.8.
The application runs on a server that both compiles and runs the application, so I installed the .NET Framework 4.8 Developer Pack. I restarted the server and it has booted up successfully.
TeamCity successfully built and compiled the application and Octopus successfully deployed as per usual. However, when I now attempt to access the website, I get a 404 at the login page.
Looking at the folder structure, the file is definitely there. The code builds and runs successfully on my local machine, allowing me to login and perform any function on the system.
Is there something that I have missed running or doing on the server to get this to work?
Edit: Request for IIS Configuration
The configuration of this hasn't changed since I've upgrade the .NET Framework but here is what I have. If this isn't the configuration that is being asked about, please let me know.
Bindings
Everything else has been left as the default values.

MonoX cms installation process

Hi: I need help regarding monox installation process . i followed the user manual but unable to install the portal. if any one have idea kindly guide me through installation of monox. Thanks in advance.
You don't have MonoX installation problem but issue with IIS and ASP.NET as ASP.NET it's not registered inside the IIS.
You can register ASP.NET in IIS manually by following instructions from the following link or you can use Web Platform Installer where you need to search for 'register' and you will get the two packages listed named Execute ASP.NET IIS Registration Tool and you should install both of them.
After you install and register the ASP.NET in IIS you should restart the IIS Manager and IIS and try again.

Deploy MVC 4 application 4.5 Framework 1and1 hosting

I'm trying to deploy an mvc 4 project in vs2012 via FTP on 1and1.com
This is what I'm getting.
HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.
Are there settings on 1and1 I need to set somewhere because it's an MVC proj or changes in webconfig?
#dright, Are you still encountering the problem? It appears 1and1.com has updated their hosting package to support 4/4.5 Framework with their Basic Windows hosting plans (https://www.1and1.com/windows-hosting?linkId=hd.subnav.windowshosting). I purchased a plan as a sandbox for deploying little apps that I develop.
I have successfully deployed a Asp.Net application using the WebMatrix IDE. But I have struggled using VS2013 template/default applications' Web.Config. I was curious if you have had any luck.
Thanks!
1and1 windows package doesn't support MVC. You would need to update to their server package. ~59/month

Nuget Server returning 403's and 404's

I'm trying to host nuget on my Amazon EC2 VPS, and I'm having issues.
I've followed the instructions here ( Hosting your own NuGet Feeds )
I've read this thread ( NuGet: remote server returned an Error(403) Forbidden ) along the same lines.
I'm not running TFS
It "could" be a proxy issue, but I'm not entirely sure how to check.
My NuGet feed is located at http://nuget.infinitas.ws. You'll notice that both http://nuget.infinitas.ws/nuget/Packages and http://nuget.infinitas.ws/Packages are throwing errors.
Any help with this will be greatly appreciated.
You are probably running the NuGet.Server in a Web Site-project. Try to run it via an ASP.NET Web Application instead (in Visual Studio you can create one via File -> New -> Project -> ASP.NET Web Application)
Have you tried the latest version (1.5)?
The release notes include some changes related to proxy authentication:
Support for Proxies that require authentication
When using NuGet behind a proxy that requires authentication, NuGet will now prompt for proxy credentials. Entering credentials allows NuGet to connect to the remote repository.
I realize I'm a little late to the party but I've just spent a frustrating couple of hours with the same problem.
I found that switching the Application Pool from "Classic" to "Integrated" fixed the problem

Deploying ASP.Net 4.0 website on IIS 6.0

I recently upgraded an ASP.Net 2.0 website to ASP.Net 4.0 using VS2010 upgrade option.
Website works fine in cassini and even on our Windows 2003 server with IIS 6.0
But it will not come up on the client's environment.
Client too has a Windows Server 2003 with IIS 6.0 and .NEt Framework 4.0 installed.
I have registered ASP.NEt 4.0 with IIS 6.0 using
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis –ir
also configured the website with .NEt framework 4.0 like below
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>ASPNET_REGIIS -norestart -s "W3SVC
/1/ROOT/Website"
I have assigned the website a separate apppool dedicated to it.
I have tried restarting IIS and the machine but to no avail.
I have verified that under "Website Extensions" ASP.NEt 4.0 is allowed and also checked the site's configuration to confirm that .aspx among other is mapped to .NEt 4.0
I have given the internet user read access to the website directory.
I have been getting
"Server Application not available"
I also getting the following in the event log
Failed to initialize the AppDomain:/LM/W3SVC/1/Root/Website
Exception: System.IO.FileLoadException
Message: Could not load file or assembly 'System.Web, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Access is denied.
Another one after this event is
Failed to execute request because the App-Domain could not be created.
Error: 0x80070005 Access is denied.
Website uses Active Reports 6.0 and elmah. That's it.
I would appreciate any tips/pointers to figure this issue out.
Thanks
I could not get the above scenario to work.
So I downgraded the website to .Net 3.5 which uses Framework 2.0 and this made deployment painless.
Not sure what it was about asp.net 4.0 and IIS 6.0 but I could not get to work in the client't environment even though I had it working in our test environment.
If you end up getting in a similar situation again (or for anyone else landing on this from a search), try granting the IIS User access to the 'Temporary ASP.Net Files' folder (under a relavant folder in C:\Windows\Microsoft.Net).
I've run into this a couple of times and that generally seems to work at least in my development environment. You'll likely want to do a bit more research before applying this in production.