Questions tagged as 'c#'

0
answers

when redimensioning the form the title of the X axis is hidden from me

When resizing as shown, the chartArea is superimposed on the title of the axis, I have a chart control with two chartAreas, one on top of the other, by making the tab smaller than they contain them the titles of the X axes overlap and even...
asked by 04.05.2017 / 08:46
1
answer

How can I make a sound in a WPF app in Visual Studio using a controller?

very good, I'm trying to make a driver, specifically a button that when pressed, the WPF interface of Visual Studio gives me a simple sound (as if it is wav or mp3 format), however everything I've seen to do so they perform in Windows Forms and...
asked by 26.05.2017 / 09:17
0
answers

Error: File '../*.aspx' does not exist Application_Error Global.Asax

The error occurs when I changed the version of the Framework from 4.0 to 4.5.1. In the previous framework I did not have that problem. When you enter any page for the first time (example: ' Site / Folder / Pagina.aspx ') loads well, but wh...
asked by 04.05.2017 / 18:26
0
answers

Error 524 of timeout in Webservice in C #

I'm using a Web Service call that reads emails, when reading 240 emails it works perfect, but when it's more than 240 emails, I get the following error:    The remote server returned an unexpected response: (524) Origin Time-out. In the...
asked by 04.05.2017 / 18:16
1
answer

How to attach a PDF file encoded in base 64

I am developing a solution that consults PDF records from a WEB service. The result of the consumption of this service can be encoded and stored as PDF: File.WriteAllBytes(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + "\prueba...
asked by 03.05.2017 / 23:33
1
answer

Failed to consume WCF by ChannelFactory C #

This is my contract: [ServiceContract] public interface ILoginNetSSO This is the way I invoke it from the page_load method: BasicHttpBinding myBinding = new BasicHttpBinding(); EndpointAddress myEndpoint = new EndpointAddress("http...
asked by 12.05.2017 / 19:01
1
answer

Installation error .NET application (GAC)

I have an application that is published on a server and that checks against that server if there is a new version to install it, until now the updates have worked perfectly but this time, after adding a .dll library to generate excel files, it f...
asked by 03.05.2017 / 09:09
1
answer

IndexOutOfRangeException

The error marks me when it enters the Reader of my while and causes "who" using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using System.Data.OleDb; namespace tts { public class conexi...
asked by 03.05.2017 / 12:17
0
answers

Visual Studio 2017 and reportviewer

Let's see if I explain the case correctly: 1.- Intento realizar un report que visualiza los datos de un objeto. 2.- Programo en Visual Studio 2017, c# y para escritorio (no asp .net). 3.- Utilizo un report local (rdlc) y el componente...
asked by 03.05.2017 / 13:38
0
answers

I get an error when saving the data, Error: Can not find the stored procedure 'UpdateArticles'?

public partial class MantenimientoProducto : Mantenimiento { public MantenimientoProducto() { InitializeComponent(); } public override bool guardar() { try { string cmd = string.Format("EXEC...
asked by 14.04.2017 / 16:59