Questions tagged [asp.net]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
5 views

ASP.Net Website - Server.Transfer with preserveForm=True triggers stackoverflow when transfering to the page that's already active [migrated]

I recently encountered a bug in my workplace where Server.Transferring to the page that's already active triggers a StackOverflow if the preserveForm param is True. Example button that would trigger ...
user avatar
0 votes
0 answers
36 views

Localhost issue: .NET API endpoints giving 403 error but a doc page from the same project loads. Both are under localhost

I am not sure if this is the right place to post this, but doing so with this hope that it might relate to some kind of IIS settings! I have .NET website setup with SQL Server database. This is ...
user avatar
0 votes
0 answers
22 views

Using asp.net on manjaro

i am using manjaro i have downloaded vscode and i also downloaded from the arch wnki the dotnet core (dotnet-sdk , dotnet-runtime) this is the link : https://wiki.archlinux.org/title/.NET_Core i want ...
user avatar
1 vote
1 answer
201 views

IIS Express returns HTTP Error 400 after calling from Ubuntu WSL

I'm working on two web applications: App1 is an application written in ASP.NET and runs directly on Windows 10. This application can be reached via browser at https://localhost:44311/ App2 is written ...
user avatar
1 vote
1 answer
128 views

How to compile an ASP.NET project without using Visual Studio?

I'm doing an internship. I have a project to make that needs Visual Studio, ASP.NET and database resources to be done. I have concluded all but the problem is... I need to find a way to run/build/...
user avatar
0 votes
0 answers
13 views

"Site can't be reached" when trying to query database from webapp page in IPSEC infrastructure

things are like this: VM with Windows Server 2012 for asp.net webapp - APPServer VM with Windows Server 2012 for sql server database(different from 1 - but same network) - DBServer CLient1 - Another ...
user avatar
  • 99
0 votes
0 answers
18 views

Website project not including files in the underlying directory

I am using Visual Studio 2019 to work on ASP.NET Website project. I have one specific git branch that behaves really weirdly. When I switch to that branch, some of the files (the ones that exist in ...
user avatar
0 votes
1 answer
137 views

Repeated w3wp.exe in Task Manager

If I have the poolname "WApp1" configured with a single application "WebS1" then why do I see 2 processes running in the Task Manager? w3wp.exe -app "WApp1" -v "v40&...
user avatar
  • 1
0 votes
1 answer
31 views

What else should I do to run my asp.net core application?

I want to deploy my mvc asp.net core application on debian server. What I have done so far: Installed dotnet-runtime-5.0 Installed dotnet-sdk-5.0 Downloaded my application from git to server Now, I ...
user avatar
2 votes
1 answer
1k views

APT - Unable to locate package (aspnetcore/dotnet runtime, Ubuntu)

I'm trying to install the aspnetcore-runtime-3.1 package, I have added the microsoft package signing key with wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O ...
user avatar
0 votes
1 answer
1k views

How to troubleshoot an Apache reverse proxy?

As a heads up: I've asked this question on the Webmaster StackExchange and ServerFault and both times it got closed. On ServerFault I was redirected here. I've been going out of my mind trying to ...
user avatar
  • 111
0 votes
0 answers
749 views

Can we execute a BATCH(.bat) file from a .dll? I am not able to do so

I have an application where you can create custom dll's for the purpose of alerting and monitoring. I need to run a batch file through that custom dll so that previously running environments could ...
user avatar
0 votes
1 answer
201 views

IIS is not accessible remotely on VPS hosting

Hosting at Windows 10 Pro, not Server. I'm trying to share local IIS website using external static IP provided by hoster. When I go to a website using http://localhost it works fine, but if I'm ...
user avatar
  • 111
0 votes
1 answer
4k views

ASP.NET Core application responds with 503 Service Unavailable on Ubuntu 18.04

I have a stock, nearly unmodified Visual Studio template ASP.NET Core application I am trying to run on Ubuntu 18.04. I've followed this guide: https://docs.microsoft.com/en-gb/aspnet/core/host-and-...
user avatar
  • 27
1 vote
0 answers
48 views

Jenkins with .net core, angular 8 and postgre

My question is related with automation. In our project we are using BackEnd- .Net Core 2.2 (right now in localhost but will be dockerize) FrontEnd- Angular 8 (right now in localhost but will be ...
user avatar
0 votes
1 answer
70 views

Is there a default cert that can be used for SSL with localhost without installation?

I have an app that will require a simple webserver to run (https) on localhost. I need to install this server on many devices. I can create a server certificate, but I want to avoid manually ...
user avatar
  • 101
1 vote
0 answers
307 views

Omnisharp not working on Manjaro Linux

today I've installed .NET Core 3.0 on my newly setup Manjaro system but I get an error everytime I want to open a Project with VS Code. The following is the output of "dotnet --info": .NET Core SDK ...
user avatar
3 votes
2 answers
4k views

Edit and continue not working for asp.net core 3.0 with VS 2019 (C#)

I have VS 2017 latest Community edition installed on my machine. I was able to edit any class file and razor pages (cshtml) of my ASP.Net Core web application while debugging. I installed VS 2019 ...
user avatar
  • 81
0 votes
1 answer
57 views

ASP.NET/C# web app cannot 'find' Azure SQL server database

I've done similar web apps in the past and I've never had an issue with the SQL connection string. I've tried several variations and still I get the following error: iisexpress.exe Error: 0 : ...
user avatar
0 votes
0 answers
611 views

Nginx - hosting .net core app with signalr

I have an ASP.NET Core web app which is using signalR hub to communicate with clients. I'm hosting this on Raspberry Pi 2 with nginx reverse proxy. The app is working on localhost port 5000. I'm ...
user avatar
  • 1
0 votes
1 answer
118 views

Randomly Failing Azure SignalR Auction Hub Method

Thank you ahead of time. I can't figure this out. It worked 100% of the time with the local signalr but if I use the Azure Signalr service it randomly has an error like this: Error: There was an error ...
user avatar
0 votes
1 answer
56 views

Visual studion 2017 cannot find asp.net web project

enter image description here I cannot see asp.net web project here, what am i missing in my visual studio 2017 ? I want to create a asp.net web page, please help. Thanks
user avatar
1 vote
1 answer
44 views

Unable to View Local .Net Core ASP Application

Scenario Attempting to view locally published .Net Core ASP application from local inetpub/wwwroot/ directory. Issue Able to view application on laptop (just fine), however, not able to view the ...
user avatar
0 votes
1 answer
73 views

Non-technical person facing technical issues with .Net framework

Like the title says I have near to no clue as to what is going on with the .net framework programs. I tried installing programs like discord onto my laptop only to experience a error saying "net ...
user avatar
  • 1
0 votes
1 answer
685 views

Access to Cosmos db emulator on local machine from Linux docker

I little confused with Linux docker and cosmos db emulator. I have an emulator installed on my local machine. On my Windows 10 I have a Linux docker container with Web API ASP.NET core application. ...
user avatar
  • 1
3 votes
1 answer
2k views

Why is an ASP.NET server running on localhost:8084?

While trying to kill a mono process, I ran ps -aux | grep mono. It came up with one entry that started yesterday and was run by the user www-data, and with the command /usr/bin/mono /usr/lib/mono/4.5/...
user avatar
  • 135
0 votes
2 answers
368 views

JsonConvert SerializeObject Slow for nested objects

I have a controller that has a controller method looking like: [Route("GetDashboard")] [HttpPost("GetDashboard")] public async Task<IActionResult> PostDashboard([FromBody]Period period) ...
user avatar
  • 1
6 votes
2 answers
12k views

Visual Studio 2019 Web Site Template

How can I create a new Web Site project (not Web Application) in Visual Studio 2019? The only options I have available are all Web Applications that require compilation to publish. For ASP.NET ...
user avatar
  • 161
0 votes
1 answer
765 views

Give IIS 8 Permission to Write to a Network Folder

Created an API using ASP.Net MVC on the .Net Framework. It runs on Windows Server 2012R2. I built a POST Action that uploads an image locally to the server, compresses and renames it. This part works ...
user avatar
1 vote
2 answers
2k views

ASP.NET, visual studio won't build

I'm an absolute beginner in asp.net and I want to follow this Microsoft tutorial. Problem is, right at the beginning, just after I have created my project, and try to "build without debugging", an ...
user avatar
1 vote
0 answers
76 views

Web application failing to map a shared drive

I've got a web application which uses in its code behind net use in order to map a net work drive that is shared on a different server and then it writes data onto the mapped drive. This worked fine ...
user avatar
  • 351
0 votes
0 answers
214 views

ASP.NET returns always error when configured with SSL/TLS certificate

I've configured ASP.NET Core Web API on IIS and added a Let's Encrypt certificate. I've added that same cert. to two websites ( within the same domain ) One is the API and another is the Angular front-...
user avatar
0 votes
1 answer
54 views

Use a Router to connect 2 subnetworks

I created an IIS server for an asp.net application in one of my job PCs. This PC is connected to the main LAN, and has a static IP (ex. 10.138.1.92). Beside, I need to connect a Switch with 3 PCs to ...
user avatar
1 vote
0 answers
214 views

IIS with Windows Authentication and session id in url unreliable

We use Windows authentication for an ASP.NET application that also uses cookieless sessions, so the session id is encoded into the URL. If the users login via the root url, no problem. But they also ...
user avatar
0 votes
1 answer
44 views

Webmethods totally disabled site-wide in ASP

I was screwing with the configuration for my website to fix an unrelated problem when, about a week ago, all of the webmethods on my site stopped working. Currently, whenever I make an AJAX call with ...
user avatar
  • 111
1 vote
1 answer
3k views

.NET Targeting Error on Server 2016

I have an app (wcf service) compiled to 4.7.2. All of the projects in the solution target that framework version. On the server (Windows Server 2016), Framework 4.7.2 is installed (and is reported ...
user avatar
  • 31
0 votes
0 answers
486 views

iis the directory name is invalid

I have an asp.net project with mvc5 that uses filesystem watcher to monitor a directory which is a shared folder by a server. So the path would be starting with a double backslash \\ Running the ...
user avatar
0 votes
0 answers
43 views

Publishing asp.net core

I have a problem when publishing my web application to IIS.  The application works fine when running it locally, after the publishing I get the following error when accessing view which requires ...
user avatar
0 votes
1 answer
441 views

Install Package (.Net Core) on Linux Mint

I'm trying to install the .NET Core packages, but I have an issue and I do not know how to solve it. I followed the steps on this page, but I get the below error: https://dotnet.microsoft.com/...
user avatar
0 votes
0 answers
179 views

Use IdentityServer with ASP Core and Web API

I'm working on converting a monolithic web application to a ASP Core client with a (ASP Core) Web Api. Right now the application uses a Microsoft login. We're investigating using IdentityServer to ...
user avatar
0 votes
1 answer
49 views

Loading a local ASP.NET app takes forever

I'm working on a large ASP.NET application on my local machine (IIS7, local SQL Server 2014, ASP.NET 4.6.2). Since a few days, this application usually loads ok (kind of) after a clean/build ...
user avatar
1 vote
0 answers
20 views

Asp.net web application and ADAM

I wonder if this is the right place for my question. I have a Asp.net web application that use Windows authentication and a customer's CTO asked me if there are problems with the application with ADAM ...
user avatar
  • 147
0 votes
1 answer
324 views

Microsoft Framework Update (KB4054981) Causing Issues With Crystal Reports 13 Not Displaying

Per the title, I am having issues getting a Crystal Report to display on my website. Here are the necessary details: Microsoft security and quality update for framework 4.6/4.7 was applied to a ...
user avatar
0 votes
1 answer
1k views

Import Excel Spreadsheet Data into an ASP.net webform form using VBA

I am trying to use Excel VBA to export data from a spreadsheet into an aspx online form and submit it. Example: I have a spreadsheet with column A titled "NAME". The rows are populated with the ...
user avatar
  • 13
0 votes
1 answer
128 views

Will the size of web.config effect the speed website?

In my ASP.NET website, in order to block some countries to visit my website, I add many IP items to web.config file. The size of the file web.config reach 1 MB, will it cause my website to be slow?
user avatar
0 votes
0 answers
66 views

Controlling access to video stream

I'm not sure if this is the right forum for this question, but here goes. I have a video stream from a device on the local network that I would like to expose behind some kind of authentication. It's ...
user avatar
0 votes
0 answers
89 views

difference between asp net core and asp net framework

What is the difference between ASP.NET Core Web (.NET Core) vs ASP.NET Core Web (.NET Framework)? I don't see clearly the main difference between the two project types, actually which sense have the ...
user avatar
  • 327
2 votes
0 answers
178 views

Azure File Storage Offline

If one was to use Azure File Storage via SMB (net user mounting) is it correct to assume that it can also be configured for offline caching (should network connectivity fail). The reason being is, i'...
user avatar
1 vote
0 answers
870 views

Strange IIS behaviour. It send data to local requests very slow

We have a C# mvc project that runs fine on several computers. On one PC I have a strange issue and at first I thought it was coding related, hence a question on stackoverflow. But after some tests, it ...
user avatar
0 votes
1 answer
2k views

Running .net core as systemd service on ubuntu 14

this works fine, webadmin@sandbox:/www/web/prod/prereg.example.org/prereg-sample$ dotnet restore Restoring packages for /www/web/prod/prereg.example.org/prereg-sample/WebApplication/WebApplication....
user avatar