Questions tagged as 'c#'

0
answers

MaxReceivedMessageSize (6553 6) was exceeded. How to solve?

I'm consuming a web service by SOAP, however the following message is displayed:    The maximum size of incoming messages (6553 6) was exceeded.   To increase the quota, use the MaxReceivedMessageSize property on the   appropriate membership...
asked by 04.10.2017 / 19:49
0
answers

Send form with file using ajax web api entity framework

I'm trying to send a file along with the form to the bank, but when I send it it returns the error 400 bad request, I do not understand why. CurriculosController // POST: api/Curriculos [ResponseType(typeof(Curriculos))] publi...
asked by 13.10.2017 / 03:09
0
answers

Call Controller Search Action

I have an Action in My controller that calls a Service that does a Search using Stored Procedure and returns me a List. I made the form in the View to call this Action, only it is not calling Follow the Codes for each Process Search Form &l...
asked by 02.10.2017 / 14:27
0
answers

ASP.NET MVC system does not bring newly registered data, only the oldest data on the production server

I have a system developed in ASP.NET MVC that has a registry of authors. The system works normally on my machine but when I upload it to the production environment it only brings back only the oldest records in the data list. The data...
asked by 02.10.2017 / 15:05
1
answer

Uploading files (images) in ASP.net does not send the image

I can not send images (banners) in my asp.net application My controller: [HttpPost] [ValidateAntiForgeryToken] [ValidateInput(false)] public ActionResult Save([Bind(Include = "BannerId,DatHorLan,Tit,Atv")] Banner banner)...
asked by 02.10.2017 / 03:07
1
answer

Error deleting entity

In the code below, I check the checkboxes in the ListView. When a check is checked the id assigned to that checkbox in the database, when I click again and uncheck it it should delete this id from a table in the database, however I am missing th...
asked by 13.10.2017 / 20:02
0
answers

There is no vs_setup.msi file, like I do

Use the VS2017. The Other Project option does not exist. I had to download an extension, install, to be able to have this option, because I am doing a windows service and I will need to install this service. When I try to mount the installer,...
asked by 02.10.2017 / 10:56
1
answer

Error registering on form

When you select the value and I'm going to register, it tells me an error.    System.ArgumentException: The value "System.Object []" is not of type "BlogWeb.Models.Compra" and can not be used in this generic collection.   Parameter name: valu...
asked by 13.10.2017 / 19:26
1
answer

Modal BootStrap can not get variable asp from codebehind

Dear, good morning! I'm starting and catching a lot on my first opportunity as a rsrs programmer In My Sales2.aspx I have <div id="myModal" class="modal fade"> <div class="modal-dialog"> <div class="modal-content">...
asked by 13.10.2017 / 15:35
1
answer

Registering attributes of different classes in the same View [closed]

I have a Teacher class that has a User, and I want to register the User fields in Teacher View. How can I do this? public class Usuario { public int Id { get; set; } public int Matricula { get; set; } public string Nome { g...
asked by 13.10.2017 / 19:49