iis-express

MVC 4 application goes to login page first using Windows auth when run

谁说胖子不能爱 提交于 2019-12-02 08:52:05
I am currently developing a project that will use Windows authentication to authorize users and set their specific permissions. However, every time I run the program to test, the default login page created by Visual Studio when I created the project (/Account/Login) always appears first, rather than going to Home/Index. The URL is usually http://localhost:50848/Account/Login?ReturnUrl=%2fViews%2fHome%2fIndex.cshtml when I start it up, rather than just http://localhost:50848 . I should also note that the program is getting the correct Windows authentication on the screen, so I know that part is

Oracle Data Access components 64 bit not working in IIS express 7.5

╄→尐↘猪︶ㄣ 提交于 2019-12-02 08:35:27
问题 I have installed ODAC (Oracle data Access Components 64 bit ) odp.net 4. But unfortunately it does not work with IIs Express. IIS express documentation says it supports both 32bit and 64bit systems. Is it possible that it can work with odp.net 4 (64 bit), or must we work with odac 32 bit components in development machines. thanks in advance! 回答1: Probably too late now, but IIS Express 7.5 is 32-bit and cannot host a 64-bit process. I'm assuming that's what your problem is/was because I had a

ASP.NET Core module not in IIS

☆樱花仙子☆ 提交于 2019-12-02 07:40:52
问题 I am keep getting 500.19(0x8007000d) error when running my .NET core project through IIS Express. After a bit digging, it looks like IIS doesn't recognize <aspNetCore> as a valid element in the web.config. Here are the things I've tried: installed URL rewrite module as someone suggested installed AspNetCoreModule throgh here: https://www.microsoft.com/net/download/dotnet-core/runtime-2.0.5. installed .NET Core Windows Server Hosting bundle. I've tried adding it as a managed module and put the

ASP.NET Core module not in IIS

好久不见. 提交于 2019-12-02 07:06:26
I am keep getting 500.19(0x8007000d) error when running my .NET core project through IIS Express. After a bit digging, it looks like IIS doesn't recognize <aspNetCore> as a valid element in the web.config. Here are the things I've tried: installed URL rewrite module as someone suggested installed AspNetCoreModule throgh here: https://www.microsoft.com/net/download/dotnet-core/runtime-2.0.5 . installed .NET Core Windows Server Hosting bundle. I've tried adding it as a managed module and put the path for AspNetCoreModule , but looks like it doesn't fix the issue. Enable stdoutLog doesn't work,

Cassini and IISExpress PUT/DELETE Verbs cause 405 Http Code

邮差的信 提交于 2019-12-02 02:33:43
I am currently having an issue running a Jessica application via VS2010 and Cassini. The code below is what I am running however when I attempt to use either PUT or DELETE verbs I get a 405 Method Not Allowed response. I tried the answer suggested at ASP.NET MVC got 405 error on HTTP DELETE request? but this did not work for me. I have also copied in my minimal web.config <?xml version="1.0"?> <configuration> <system.web> <compilation debug="true" targetFramework="4.0" /> </system.web> <system.webServer> <modules runAllManagedModulesForAllRequests="true" /> </system.webServer> </configuration>

FatalExecutionEngineError after restarting debug session

橙三吉。 提交于 2019-12-01 22:19:41
Since a few weeks (months?) I've been sometimes getting the following exception after restarting my ASP.NET application inside Visual Studio 2017 / 2019 Enterprise. It only happens when IIS Express was already running my application and I needed to start a new debug session after recompiling. Whenever this happens, I have to kill IIS Express ( taskkill /f /im iisexpress.exe ) and start a new debug session in VS. I can't figure out what triggers this issue. It started happening on VS 2017 Enterprise some day. Maybe because I received some Win10 update? Upgrading to VS 2019 Enterprise didn't

How to configure a different virtual directory for web site project with Visual Studio 2015

我是研究僧i 提交于 2019-12-01 21:34:10
I have a c# Web Site type project which was developed in VS 2012. I want to use VS 2015 and I have trouble specifying a different virtual directory than the default root which is /. In vs 2012, in the sln file there are these lines: VWDPort = "59903" VWDDynamicPort = "true" VWDVirtualPath = "/myapp" and everything works as expected, i.e. when the app launches in the browser it goes to: http://localhost:59903/myapp . I opened the solution in VS 2015 and vs creates a hidden .vs folder where it puts the applicantionhost.config file under the .vs\config folder. This is the entry it creates for the

Why is IIS Express returning HTTP 500 errors loading javascript and CSS?

旧巷老猫 提交于 2019-12-01 21:33:24
I am trying to develop an ASP.NET MVC5 solution using IIS Express for local debugging. Frequently, Chrome will report HTTP500 errors trying to load certain JS and CSS files (some using the built in bundling and minification feature of MVC, some on their own). WTH is going on with this and how do I stop it? Thanks, Matthew What helped worked is as follows. I am using Visual Studio 2015. Close the visual studio solution. In fact I closed the visual studio itself In the solution folder(the folder which contains the .sln file along with the project folders), you should find a .vs folder. I had

FatalExecutionEngineError after restarting debug session

不羁岁月 提交于 2019-12-01 21:12:18
问题 Since a few weeks (months?) I've been sometimes getting the following exception after restarting my ASP.NET application inside Visual Studio 2017 / 2019 Enterprise. It only happens when IIS Express was already running my application and I needed to start a new debug session after recompiling. Whenever this happens, I have to kill IIS Express ( taskkill /f /im iisexpress.exe ) and start a new debug session in VS. I can't figure out what triggers this issue. It started happening on VS 2017

Use IIS Express by default in Visual Studio 2010 (MVC3) web projects?

China☆狼群 提交于 2019-12-01 21:11:14
Just recently upgraded to Visual Studio 2010 SP1 and ASP.NET MVC3, but the only way I'm aware of using IIS with new projects is to set this up manually after the project is created. Is it possible to click a checkbox somewhere to make IIS Express the default development server for all of my VS web applications? In VS Studio go to options and in Project and Solutions select Web Projects. Then check the only checkbox available in settings: Use IIS Express for new file-based web sites and projects. 来源: https://stackoverflow.com/questions/5749508/use-iis-express-by-default-in-visual-studio-2010