2,321 questions
0
votes
1
answer
55
views
Using LibreOffice portable to convert Excel to PDF in an ASP.NET Core Web API (IIS and IIS Express for development)
I had used LibreOffice portable a while back to convert documents to PDF and I cannot for the life of me figure out how to do it again.
Every time I run this in IIS Express for development I am ...
3
votes
1
answer
56
views
Two projects with same launchsettings.json load with different port numbers
I have a large solution stored in a repository on GitHub. It is working fine. But when I download that repository to another computer, it does not run in debug mode.
The solution runs two projects: My ...
1
vote
1
answer
51
views
ASP.NET web application : Dcom configuration interop exception
I have an ASP.NET web application to export an Excel file with multiple sheets. Each sheet contains multiple tables on it created using Microsoft.Excel.Interop.Services package. The export ...
0
votes
1
answer
28
views
Unable to connect to web server 'IIS Express'. Output from IIS Express:
Unable to connect to web server 'IIS Express'. Output from IIS Express: Starting IIS Express... Successfully registered URL "http://localhost:5001/" for site "MyProject" ...
0
votes
1
answer
60
views
IIS express, visual studio, chrome won't load MP3 correctly
I have an MP3 file which I'm trying to have my browser play (I've tried both through JavaScript and through the <audio> tag but I'm getting some super unusual behavior).
For context it is a .NET ...
0
votes
1
answer
91
views
Change URL project IIS ASP.Net
I have a problem when trying to change the project URL in my ASP.NET webforms project. I want to change this because, for security reasons, an application does not allow testing locally, as it ...
0
votes
1
answer
217
views
ASP.NET Core Launch Profiles with Multiple Sites and Environment Variables
So I'm new to ASP.NET Core and I'm trying to configure environment variables in Visual Studio for the site we're developing. Right now I've got a Development launch profile, which I want to use with ...
-1
votes
1
answer
333
views
Problem with IIS Express in Visual Studio 2022
I have the next problem: it occurs when I try to debugg my project.
I checked other threads with similar problems but the solutions didnt work to me.
I tried to delete the folders .vs, .bin, ...
0
votes
0
answers
138
views
Rider won't run multiple .NET Framework apps in IIS together if they share a port
Our csproj files for each project look like this:
Project1:
...
<IISUrl>localhost:xyz/</IISUrl>
...
Project2:
...
<IISUrl>localhost:xyz/Playground</IISUrl>
...
In Visual ...
0
votes
2
answers
800
views
Visual Studio IIS Express Won't Show Updated Code Changes
I'm developing a web application that has a Login page. In that page's code behind page, I'm calling a function from another class called "MyOtherClass". That class uses the "Sub New(...
2
votes
1
answer
524
views
Login with Windows challenge goes in loop in ASP .Net app
I created an ASP.Net Core app with dotnet 8 for one identity service with individual user login
dotnet new mvc --auth Individual -o MyTestProject
Then I added code change for login with username and ...
0
votes
1
answer
64
views
URL rewrite webconfig settings broke iisexpress
I was doing a merge for another devs app. vs2013 wvc web app ,net 4.5.2.
part of the merge was adding this to the config for url rewrite.
<system.webServer>
<caching enabled ="...
0
votes
1
answer
572
views
Run coverage test with dotCover on ASP.NET application
I have written a series of tests against the front end of my web application. I really wanted to know what my test coverage looked like, so I downloaded and installed ReSharper and dotCover. These ...
0
votes
0
answers
21
views
IIS Express forces all applications to use the first application's application pool [duplicate]
I'm trying to run two applications on the one site, in IIS Express. The relevant part of my applicationhost.config shows them both configured to use different application pools:
<site name="...
0
votes
2
answers
507
views
running asp.net intranet application on localhost asking for authentication
I have an intranet application written int ASP.net core, when I run this application on localhost, I get a pop window asking me to authenticate and once I enter my domain name\my username and password ...
0
votes
0
answers
91
views
IIS Express: configure domain to be used for Windows authentication
When running an ASP.NET project that uses Windows Authentication in VS using IIS Express on a computer joined to domain C.B.A, the authentication works and local groups of C.B.A that the user is part ...
1
vote
1
answer
879
views
ASP.NET Core 8 - Cannot debug using IIS Express
UPDATE:
I forgot to add the default controller route/endpoint in config. Adding the following code to Program.cs solves the problem but I do get a warning message that says "Suggest using top ...
4
votes
1
answer
684
views
Blazor .NET 8 - Staging launch profile not starting website VS2022
I have a Blazor .NET 8 application and I am trying to have it run in Staging in VS2022 in order to apply config transforms:
Setting launch profile as follows:
When I run my application I can see it ...
0
votes
1
answer
103
views
Brand new ASP .NET Core Web app gives 404 errors
I am running Visual Studio 2022 and have a .NET web app that has been working perfectly for quite some time. I got a new laptop about a month ago and have a clean install of everything and it has been ...
0
votes
0
answers
168
views
Is it possible to set IIS Express service ID to an AD service Account
I am attempting to debug an anomaly between IIS 7 and IIS Express. My application runs fine in IIS 7 and when I debug it in Visual Studio/IIS Express. However, I am required to change the service ...
1
vote
1
answer
952
views
Can I use IIS Express using .NET Framework 4.8 using a .csproj file written in the SDK format?
Due to external factors, my project cannot be moved to .NET 6 or later; I'm stuck on .NET Framework 4.8 for the foreseeable future. I have a project that consists of various WebApi controllers. I've ...
1
vote
0
answers
148
views
Why is my BackgroundService getting cancelled?
I have a simple BackgroundService.
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{
while (!stoppingToken.IsCancellationRequested)
{
NotifyBase? ...
0
votes
1
answer
407
views
CORS configuration error with IIS express (from a fresh workstation install)
I moved in a new workstation and I have reinstalled IIS Express. Also, I have installed CORS module because my application is using .net 4.8 with Visual Studio 2019
But when I try to start the ...
0
votes
0
answers
333
views
HTTP Error 500.30 - ANCM In-Process Start Failure in Visual Studio 2022 for .NET Core 3.1
My .NET Core 3.1 Razor page application is working fine in VS 2019, but when I am trying to run same application in newly installed VS2022 17.8, I am getting below error. While installing VS2022 I had ...
0
votes
0
answers
72
views
Visual Studio unable to launch the IIS Express Web Server
I am using Windows server 2019 and IIS v10. When I run Debug in Visual Studio (2022) the project builds successfully but then gives the message "unable to launch the IIS Express Web Server."...