Questions tagged as 'asp.net'

1
answer

SERVER FileUpload Network Shared / Shared Path

ASP.Net MVC - AdoDB I used to upload and download from the web server where I published my files in this way, it worked correctly. Server.MapPath("~/UploadedFiles/pdfDocuments/"); But now, I want to send them to another route outside the...
asked by 23.05.2018 / 17:42
0
answers

TemplateField asp

I am using a TemplateField to be able to represent in a column of a gridview the name of an enumerator and not its numerical value, which is what I have in the database. What I can not do is make that column a HyperLinkField. How could I do it?...
asked by 21.05.2018 / 08:17
0
answers

ASP.NET - Crystal Reports error in security

The following security error occurs when running the reports in Crystal Reports on a host: The web.config is the following:                                                                                                                ...
asked by 22.05.2018 / 07:04
0
answers

MVC always returns null when I save an image

Hi, I am developing an application in MVC and I want to save an image in a table called Inventory in my database but it always tells me that it can not return null Here is my code My model public partial class Inventario { pu...
asked by 21.05.2018 / 01:08
0
answers

help with AjaxControlToolkit error

I'm learning how to use AjaxControlToolkit, add it to my project and it throws me the following error:    Unable to load the file or assembly 'AjaxControlToolkit,   Version = 18.1.0.0, Culture = neutral, PublicKeyToken = 28f01b0e84b6d53e 'ni...
asked by 17.05.2018 / 19:18
1
answer

Encrypt audio url to block access to the mp3 resource

I have a list of audios and two types of users. Some can [play] and others [play and download]. The audios charge them dynamically after a query to the BD and I show them with the following code: <audio controls="controls" controlsList="...
asked by 16.05.2018 / 01:43
1
answer

MasterPage Home

I would like to ask how to leave the masterpage as default in an asp.net project (web site), I believe it, I put the navigation menus, but when loading it I throw this error HTTP Error 403.14 - Forbidden The web server is configured to not li...
asked by 15.05.2018 / 19:11
0
answers

How to make a list with ASP.net C # Angular?

I'm doing this little example to show what I'm going to enter in the textbox. the entered object arrives at the controller and returns, when loading it to my table is where it does not come out view <!DOCTYPE html> <html>...
asked by 14.05.2018 / 18:45
0
answers

Read PDF hosted in my ASP: NET project

I need to read a PDF document that I have stored in a folder within my project, I have the following code but it does not do anything, I can not find the error: protected void btnConfirmar_Click(object sender, EventArgs e) { bool a...
asked by 14.05.2018 / 17:01
1
answer

The Instance of my class does not take me Connection

This is my Conexion class: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using System.Data.SqlClient; namespace CapaAccesoDatos public class Conexion {...
asked by 13.05.2018 / 09:53