Questions tagged as 'asp.net'

0
answers

Error sending mail C Sharp

For 16 RAM servers I have no problems, mail is sent normally, but with servers with less RAM, I can not send emails. I have added the following as the waiting time but the problem persists. SmtpClient client = new SmtpClient();...
asked by 06.01.2017 / 04:18
1
answer

There is no ViewData item of type 'IEnumerableSelectListItem' that has the key 'SearchToners'. But the DropDownList is NOT within the Form

I have this form: @using (Html.BeginForm("Create", "Equipments", FormMethod.Post, new { })) { @Html.AntiForgeryToken() @Html.HiddenFor(model => model.Parts) @Html.HiddenF...
asked by 05.01.2017 / 20:27
1
answer

Asp.Net project when uploading to server stops working

Working with my project locally works perfectly, but when I try to upload it to my server, some problem occurs and it marks the following error Any suggestions?     
asked by 17.01.2017 / 03:32
2
answers

Export to Excel in ASP.NET

I would like to know how to export from Asp.net a DataGrid to Excel (if you know of any other way please explain it), I get an error, it is commented on the line where it appears: protected void ImageButton1_Click(object sender, ImageClick...
asked by 26.12.2016 / 20:18
1
answer

Calling a PageMethod with ajax from a WebForm within an mvc project

I would like to know why this "404 (Not Found)" error is flagging me when I try to call a WebMethod with ajax from a WebForm or aspx, now the detail is that the webform is inside a Mvc project I do not know if it has something to do I leave t...
asked by 26.12.2016 / 17:36
1
answer

MVC - Return View (Model) when I make a POST

I have the following problem. My Controller has 2 Functions. This: <AllowAnonymous, HttpGet> Function Register(urlBack As String) As ActionResult Try Dim DBIvas As New BLIva() Dim DBProvincias As Ne...
asked by 29.11.2016 / 21:30
1
answer

Consume ASMX WebService (.Net) from PHP

I have a WebService with ASMX extension made in .Net running in IIS on a server in my local network ip:x.x.x.10 . The URL of my WebService is link , requires a parameter codigo of type int and returns a Data...
asked by 03.01.2017 / 18:36
1
answer

MVC4 modify a model parameter of a partial view, from another controller

Please if anyone could help me modify the property value of a partial view model. The problem is the following I have the view A that invokes the partial view A1. I call the partial @Html.Action("Child", "Token") in the controller o...
asked by 13.12.2016 / 21:05
0
answers

How to update a partial view that is within a normal view

I have a partial view that should show data that comes from the BD, this partial view is within a normal view, what I need to know is how I do so that when the main view action returns the data, the view partial also get data and be updated. Thi...
asked by 25.11.2016 / 19:08
1
answer

Error using HttpModules in ASP.NET

It turns out that I'm using httpModules to handle the AuthenticateRequest and AuthorizeRequest events in the application. In the web.config I have it linked in the following tags: <system.webServer> <modules> <add t...
asked by 02.11.2016 / 16:46