Questions tagged as '.net'

1
answer

The member with identity 'Phase_Target_Project' does not exist in the metadata collection

I'm having a very strange error ... I do not make the least of it. This is my class: public class FaseProjeto { public int IdProjeto { get; set; } public int IdFase { get; set; } public virtual Projeto Projeto { get; set; }...
asked by 09.06.2015 / 16:30
0
answers

Sending files to google drive with .net

How to send a file to google drive in C #? I have an IntPtr from a file, do I have to convert to bytes and send? How would the shipment look? I got a tutorial code, but I did not understand the configs: class DriveCommandLineSample { stati...
asked by 17.06.2015 / 13:03
0
answers

Error 403 uploading aws s3 .net

   Just set the user permissions on S3 and everything worked perfectly! I am building a function to upload images in the s3 service of Amazon but I am with a 403 error, is there any additional configuration that I should do in my S3?...
asked by 26.06.2015 / 14:23
0
answers

When I change the value of a ComboBox all change

I have a database with two tables, Tab1 and Tab2. In Tab 1 I have Cd_Tab1 and Nm_Object. In Tab2 I have Cd_Tab2, Cd_Tab1. The two are related. In my project I have 4 ComboBox, all should represent the value of Cd_Tab2, but each one will write a...
asked by 15.05.2015 / 18:36
1
answer

Get nullable variable DateTime serialized in WCF service responses

I have a WCF service with a nullable DateTime variable in a DataContract as shown below. Because of business rules this DataMember can not have the EmitDefaultValue set to true and the type must be DateTime? [DataContract (Name = "D...
asked by 07.05.2015 / 18:56
1
answer

iTextSharp - Dynamic table

I'm trying via C # and with iTextSharp create a pdf doc with the following structure: I have a table with 3 Rows In the 1st I have X columns with X years. In the 2nd a Row with the Months (J, F, M ... etc) for each year, below I have another Row...
asked by 05.05.2015 / 18:53
1
answer

OracleException is not triggered!

Someone has already encountered the following problem: When an error occurs that should be of type OracleException, but in its place an Exception is triggered, then the oracle processing is not applied because of this (the "..." are deprecated i...
asked by 26.02.2015 / 22:58
0
answers

Problems with routes in ASP.NET MVC

Hello, I have the following route: routes.MapRoute("RelatorioDemonstrativoResultadoExercicio", "downloads/relatorios/Relatorio_DRE_{dataInicio}_{dataTermino}.pdf", new { controller = "RelatorioFinanceiro", action = "DemonstrativoResultadoExerc...
asked by 28.01.2015 / 19:47
1
answer

Visual Studio 2010 Professional does not display Visual Studio Solutions [closed]

Visual Studio 2010 Professional that you have in Add-> New Project- > Other Project Types does not display Visual Studio Solutions. I saw several posts on the internet indicating the following steps to solve the problem: Tools - >...
asked by 21.11.2014 / 01:46
0
answers

Querying Active Directory data in Sql Server

I have services (WCF) that do searches in Active Directory to provide data to many applications that use Microsoft Membership Provider, and also need some of this information in some queries in a Sql Server 2008 database, I generated a dll and I...
asked by 16.12.2014 / 16:25