Questions tagged as 'c#'

0
answers

System.IO.File.ERROR_ACCESS_DENIED = 5 C #

I am working with "File.Exists", and as I enter the DEBUG I observe certain events that I do not understand. Someone has an idea that you can try, despite the message, manages to read the folders and files without inconvenience. I tell you that...
asked by 18.11.2018 / 04:19
0
answers

Problems opening a report from C # in Crystal Report

Working in a Windows Forms, Crystal Report 8.5, and SQL Server 2014 desktop application To connect from CR to my database is through ODBC the strange thing is that I have a report that only use a single table and works well if I do not send p...
asked by 16.11.2018 / 12:16
0
answers

Mask or hide url from a stream

I need to mask the external URLs that point to some songs and that the user can reproduce them from the browser. Being URL's outside the server I can not put them (As far as I know) as friendly Now there's something like this: <audio con...
asked by 15.11.2018 / 16:24
0
answers

Execute a Powershell file from ASP C # without exhausting / using the IIS memory

I have a Powershell file ps1 that I need to run from a webapp hosted on IIS created in ASP C #; the Powershell file is on the server where the app lives, when I run it manually from the server, it works well and it gives me the expected results,...
asked by 15.11.2018 / 19:18
1
answer

How to add the reporting element in Visual C # 2017?

I have installed Visual Studio Community 2017, the problem is that I added the Report Viewer but when adding a new element specifically the report, it does not appear in add new element. The Reporting line does not appear. I tried to add it b...
asked by 15.11.2018 / 02:01
3
answers

get the data of an app.config specifically from the listeners of the trace

I need to get the route that is in the InitialData of my app.config <sharedListeners> <add initializeData="c:\software\app_messages.svclog" type="System.Diagnostics.XmlWriterTraceListener, System, Version...
asked by 13.11.2018 / 22:11
0
answers

Adapter for various forms C # does not show data

I have the following forms: which would be the parent of the Alta, Modify and download forms. All the label and textBox are in Modifiquers Public. But when I inherit it I get the following error in the designer: What is the...
asked by 13.11.2018 / 00:01
0
answers

Unit Tests in an API Web Service

I'm researching how to perform unit tests for a Web API service. It turns out that I already have the method created and the unit test is already mounted fairly well, but when I want to return the result of a service method, I get incompatibil...
asked by 12.11.2018 / 11:46
0
answers

Delay when displaying photos on canvas

I have to take a list of products where you can see the photos that are in a web directory and so that I stay centered, of the same height, etc ... I need the canvas of the photo with white background be square, for example 250x250px and the pho...
asked by 12.11.2018 / 12:39
0
answers

It tells me it's a null variable, since it's local

I says that it is a null variable being that it is local and I do not know why var TarjetaAModificar = new tarjetaDtos { Id = EntidadId.Value, Descripcion = txtDescripcion.Text, };     
asked by 12.11.2018 / 05:11