Questions tagged [asp.net]
The asp.net tag has no usage guidance.
172
questions
0
votes
0
answers
6
views
ASP.NET MVC Core default layout page not loading if I navigate to any razor page in Identity area e.g login, register etc [migrated]
I am currently working on an ** MVC Core project using .Net8 preview**. Everything on the project works fine except the pages included after scaffolding identity. i.e Login, Register etc. When I ...
0
votes
0
answers
139
views
Cannot publish an ASP. Net application using Visual Studio as I cannot find password in website summary page on Somee.com
I am trying to publish an ASP.Net web application using Visual Studio. While I am trying to publish using Visual Studio, VS is asking user id, password, and other details. I can find other details on ...
0
votes
0
answers
821
views
IIS website is missing ASP.NET features
I have a site, which I have hooked up to IIS (10). Currently, I can't access my site, because I get a internal server error when I access it, and then it has this info:
This error occurs when there ...
0
votes
0
answers
157
views
slow first request in plesk shared hosting asp.net core site
I have multiple sites on a server with hundreds of other sites and I noticed that after some inactivity the first request will take a very long time.
To isolate the issue I've deployed the default ASP....
1
vote
1
answer
300
views
How to Create project asp.net core web2 app with .net 4.8?
I install visual studio 2022 and I want to Create project asp.net core web2 app with .net 4.8 .
When I try to create asp.net core app in vs get me .net6 (long term support) and .net core3(out of ...
1
vote
1
answer
950
views
Failed to create component ReportViewer
I'm using .NET Framework 6.0 and I need to make report, I have installed Microsoft.ReportingServices.ReportViewerControl.Winforms but I have yellow mark (warning) next to him, error what I get when I ...
0
votes
0
answers
284
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 ...
1
vote
1
answer
957
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 ...
1
vote
1
answer
266
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/...
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 ...
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 ...
0
votes
1
answer
350
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&...
0
votes
1
answer
42
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 ...
2
votes
1
answer
2k
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 ...
1
vote
1
answer
3k
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 ...
0
votes
0
answers
1k
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 ...
0
votes
1
answer
367
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 ...
0
votes
1
answer
5k
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-...
1
vote
0
answers
51
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 ...
0
votes
1
answer
116
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 ...
1
vote
0
answers
423
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 ...
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 ...
0
votes
1
answer
59
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 : ...
0
votes
0
answers
779
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 ...
0
votes
1
answer
167
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 ...
0
votes
1
answer
61
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
1
vote
1
answer
48
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 ...
0
votes
1
answer
77
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 ...
0
votes
1
answer
886
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. ...
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/...
0
votes
2
answers
573
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)
...
6
votes
2
answers
13k
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 ...
0
votes
1
answer
1k
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 ...
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 ...
1
vote
0
answers
97
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 ...
0
votes
0
answers
258
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-...
0
votes
1
answer
61
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 ...
1
vote
0
answers
336
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 ...
0
votes
1
answer
70
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 ...
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 ...
0
votes
0
answers
596
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 ...
0
votes
0
answers
46
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 ...
0
votes
1
answer
598
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/...
0
votes
0
answers
183
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 ...
0
votes
1
answer
65
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 ...
1
vote
0
answers
22
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 ...
0
votes
1
answer
346
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 ...
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 ...
0
votes
1
answer
147
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?
0
votes
0
answers
67
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 ...