Questions tagged [asp.net]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
30 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
1answer
42 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
1answer
753 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
0answers
31 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
1answer
43 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 ...
0
votes
0answers
135 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 ...
1
vote
2answers
1k 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
0answers
11 views

Website in web hosting service and DB in local server

I have my webapp (ASP.NET) and database (SQL SERVER) in my own server. I plan on moving the website to a web hosting service like GoDaddy but I need to keep the DB in my server. Is there a way to get ...
0
votes
1answer
43 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
0answers
232 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
1answer
55 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
0answers
29 views

Files not loading in .Net Core application. Showing Error

I am working in Dot Net core application. But when i created new project in visual studio 2017, it displayed Error like: The SDK 'Microsoft.NET.Sdk.Web' specified could not be found. C:\Users\My PC\...
0
votes
1answer
48 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
0
votes
0answers
26 views

Asp.net application - Key not valid for use in specified state - ELB

I've deployed my ASP.net application (.net 4.7) to a couple of amazon ec2 instances, and set up a classic load-balancer. I enabled Sticky Sessions (LB managed) and configured the machine keys to be ...
0
votes
0answers
26 views

How can I check current session state size in asp session state service?

I need to check current size of session state that is stored in ASP Session State Service under Windows Server 2016 and IIS 10. I can attach to ASP Session State Service process by windbg, ...
0
votes
0answers
359 views

Downgrading from asp.net core 2.2 to 2.0

I need to downgrade from ASP.NET Core 2.2 to 2.0. I have tried to follow the steps: Right click on project -> properties-> target framework 2.0 Uninstalled Microsoft.Aspnetcore.App 2.2 and installed ...
0
votes
0answers
209 views

How to add EFcore 3.0 preview to a blazor project

I am trying to build an app with blazor (.net core 3.0). I am using an additional class library for my data models. I have tried adding a migration but i kept getting the error below. Could not load ...
0
votes
0answers
12 views

Multiple Users unable to login in dotnet application

Our application(500MB) with 20,000 users is hosted on cloud with 8 GB RAM and 60 GB disk space.The OS is windows server 2012 R2, IIS 7.0, ASP.NET 3.5. MS-SQL Server 2016 is hosted on another server ...
0
votes
0answers
23 views

Error installing nodejs inside docker container

I'm having trouble installing nodejs inside my docker container. I had it working once and now it seems to fail. What am i doing wrong? Here is there error: ## Installing packages required for setup: ...
0
votes
0answers
15 views

IIS 7 interval trouble during automation test

I have application Umbraco by Microsoft installed on IIS 7. When i run automation tests the website is not responding on interval time. Only one user of the application takes the tests. I have not ...
0
votes
0answers
69 views

An unhandled exception occurred while processing the request. RuntimeBinderException: 'Newtonsoft.Json.Linq.JArray' does not contain a definition

when i run the code i cannot get the values from the orchard CMS to asp.net it shows the above error. this is the code written in asp.net @Html.Raw(plan.Content.BagPart.ContentItems.flipCardSmall....
1
vote
1answer
40 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
0answers
5 views

FullCalendar SCRIPT65536 Error

I have a page that uses the FullCalendar plugin, and for myself and some users it works fine, but other users are getting a SCRIPT65535 when the calendar is initializing, from FullCalendar/core/main....
0
votes
0answers
87 views

Unable to access Blob storage from docker linux container

I am new to docker and seeking for experts help. I am trying to store a blob in azure blob container from asp.net core application which is hosted in docker linux container but i am facing ssl ...
0
votes
0answers
133 views

Error is not a valid identifier in asp.net

I am building a website on the ASP.NET platform and using jquery to process data. I have a code like the one below: <script type="text/javascript"> $(document).ready(function () { ...
0
votes
1answer
54 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
0answers
28 views

How can I add nuget packages in my Azure DevOps Artifacts feed?

I have an Azure git repo in Azure Devops where I am deploying an ASP.NET MVC project. I am facing issues to use my nuget packages in my project. In my local computer I have a folder named "packages" ...
0
votes
1answer
382 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. ...
2
votes
1answer
659 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
2answers
95 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) ...
0
votes
0answers
16 views

External HTML page to PDF

I would like to convert a HTML page to a PDF. I need it to work with asp.net core 2.2. I am interested in finding a free solution which allows me to convert a HTML page (dynamically changed) and with ...
2
votes
2answers
4k 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
1answer
234 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
2answers
855 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
0answers
71 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
0answers
180 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
0answers
24 views

Insert SQL error

Does anyone know what is causing this error? Im inserting into a database and for some entries I get this error for some not; it is really inconsistent. PDFMain.aspx.vb - saveToDB() - Error! at ...
0
votes
1answer
49 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
0answers
89 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
1answer
28 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
1answer
2k 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
0answers
353 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
0answers
36 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
1answer
405 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
0answers
171 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
1answer
31 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
0answers
17 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
1answer
280 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
1answer
705 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
1answer
89 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?