Questions tagged as 'asp.net'

1
answer

how to load two models to the same view from a third model that contains both?

link first here I leave the project uploaded to github .. second here the code // este es el modelo que contiene ambos modelos namespace MyFirstWebsite.Models { public class Modelo { public List mod...
asked by 10.07.2018 / 16:50
0
answers

System.Diagnostics.Process.Start does not work in IIS

When I run System.Diagnostics.Process.Start from my ASP.Net application locally (from visual studio) it works, but when I run it from localhost in iis it stops working. Someone knows why and how I can do it to work in IIS     
asked by 12.07.2018 / 19:43
0
answers

how to solve HTTP Error 404.15

My problem is that when making an Ajax request, when I send my information I receive this error:    The Request Filtering module is configured to deny a request when the query string is too long. I see in other forums that it is because o...
asked by 05.07.2018 / 23:21
1
answer

How to sort a table for a second field in case the 1st field is repeated? in MVC of Asp.Net and VisualStudio2017

I am using Visual Studio 2017 with ASP.Net and MVC . Where I am sorting the fields of a table by a field Call number . public ActionResult Index(){ var hojaArchivo = db.HojaArchivo.Include(h => h.HojaInicial).Include(h => h.Mat...
asked by 04.07.2018 / 18:23
0
answers

how to configure visual studio 2017 with the auto sync css?

happens that the CSS code works only in explorer and edge but not in chrome or firefox and I saw that there is a way to configure the "auto sync css" but I do not know how to do it, I do not know if I need to install some Ngget, is the first tim...
asked by 04.07.2018 / 21:31
0
answers

Report path Crystal Report

I am making an application ASP.NET in C# and I have a report in Crystal Report recorded in a directory where the application is: aplicación\bin\reportes\CR.rpt When I try to give the route to the report it throws...
asked by 04.07.2018 / 14:43
1
answer

How can I return something in the constructor to use it in my class?

I have an action filter to make a log in a class called LogActionFilter which has its respective methods to perform each specific task, and from my control I call this filter as follows [LogActionFilter] up there all right . The...
asked by 03.07.2018 / 18:15
0
answers

Why do I generate a .Debug .Release file when I deploy from VS?

I have a project in visual studio which I have a file of type config example mifile but when I publish it from the platform (vs) it generates two more files apart from the original, which are mifile.Debug and mifile.Relea...
asked by 03.07.2018 / 16:45
0
answers

Save a data in a sql table

I have a dilemma with a webpage project that I am doing. You see, it is a record of certain products sold, creating invoice type, then I need a folio. The folio that will be assigned by default to each user will be 1, the number will be saved in...
asked by 04.07.2018 / 16:37
0
answers

Request error to the server when clicking on an ASP.Net C # image

I show some images on a page that when I clicked it returns the error:    "Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was...
asked by 04.07.2018 / 16:38