Posts by PFVictor • 345 points
24 posts
-
0
votes1
answer1496
views -
5
votes1
answer1588
views -
1
votes1
answer191
viewsQ: Violation of multiple restriction
Someone has already come across this error in an Asp.net mvc application? Server Error in Application '/'. There was a restriction violation of multiplicity of relation: an Entityreference may not…
-
3
votes1
answer1334
viewsQ: Search field in a table with PHP
I created a frame on the intranet via Wordpress (php, Mysql) to list the employee extensions of the company. By clicking on link of extensions appears a table and the scroll bar to view the list. I…
-
3
votes1
answer557
viewsA: Delete on an UPDATE Trigger
"Deleting a record that is being inserted" does not make much sense. If you will delete the record that you will insert, it is more practical not to insert it right? So in case you would like to…
-
0
votes1
answer266
viewsQ: Script instability to hide/show fields
I have the following script: @Scripts.Render("~/bundles/jquery") <script> $(document).ready(function () { $('.ocultar').hide(); $('#dn').change(function () { if ($("#dn").attr("checked",true))…
-
1
votes1
answer161
viewsQ: Validation control Errormessage
I got the following model: public class Request : IEntity { public int Id { get; set; } [Required(ErrorMessage = "O Centro de Responsabilidade é obrigatório!")] public string Cadastro_Id { get; set;…
-
1
votes0
answers634
viewsQ: Publishing Asp.net application on IIS 8
I am trying to publish my application on a Windows server 2012 with IIS 8. I have taken the step by step to go to "Site -> Add Website" and fill in the coordinates, paths and etc. I have deployed…
-
0
votes1
answer1103
views -
1
votes1
answer263
viewsQ: Failed to create a site in iis 8
I am trying to publish my application on a windows server 2012 and IIS 8. I have deployed the files to the appropriate folder. In IIS, when creating a new website and testing the connection, I get…
-
1
votes1
answer70
viewsQ: IE does not resolve URL
I published an application in Asp.net c# on my Intranet. By entering the URL, the application works by Chrome, Firefox and IE gives error in the middle of the application and does not perform…
-
1
votes1
answer168
viewsQ: SCRIPT5017: Syntax error in normal expression
When I run my application through Chrome or Firefox it works perfectly. But by IE 10 at a certain point in the application gives this Javascript error. **JavaScript critical error at line 99, column…
-
1
votes1
answer5901
viewsQ: Alert/pop up message in ASP.Net MVC
How to create Alert or pop up to have the same effect as MessageBox in a web application? My code [HttpPost] public ActionResult NovaSolicitacao(Solicitacao pedidoSolicitacao) {…
-
6
votes3
answers1158
viewsQ: 'NT ANONYMOUS LOGON AUTHORITY' failure in SQL Server 2012 on remote server
I have a legal application running on my local server. I made some changes to it and prepared to publish an approval environment for testing. How we are migrating local banks and servers to a new…
-
1
votes2
answers330
viewsQ: How to execute C# query for request control
I am new to programming and need to add some functionality in a C# Asp.net. One of them is a control that prevents the user from proceeding with the request if he has any pending in the system. I…
-
0
votes2
answers1717
viewsQ: Hide/Display text fields in view
I have a table with dropdownlist and editorfor fields to fill in the user request. I need to add a new feature now which is: If the user selects a specific option in the dropdowlist 'Unit' two new…
-
1
votes2
answers1465
viewsQ: Automatic date field fill in application
I have a form in my C# ASP.Net application where I need to fill in an initial and final date, but I want to standardize so that the final date is always 5 days after the initial date. How to do…
-
1
votes1
answer326
viewsQ: Error changing C# Asp.net application model
I needed to change an application made some time ago in C# Asp.net. I added the column in the database I needed and when I add the corresponding field to the model, when running the application it…
-
1
votes1
answer654
viewsQ: Insert data into Active Directory via SQL SERVER
I’m working with integration between Sql Server and Active Directory. I can already import AD information through scripts. I would like to know if it is possible to enter information on AD users…
-
3
votes1
answer4362
viewsQ: Query to the C# mvc database
How is the syntax or how do I transform a query with multiple joins to a search in my application in c#Asp.net mvc? Example: I have a form with the following controller public ActionResult…
-
1
votes1
answer165
viewsQ: Save windows id Authentication
I have an application whose authentication is via windows login. With this class I get user login: public static class UserDetails { public static string GetLogin(string userName) { string login =…
asp.net-mvcasked PFVictor 345 -
2
votes3
answers1752
viewsQ: Alert message in Asp.net mvc
I have in an application in Asp.Net MVC a form that ends as follows <div class="modal-footer"> <input class="btn btn-primary" type="submit" value="Salvar" /> <a class="btn…
-
2
votes2
answers1351
viewsQ: Print queries
I have a view in my application in Asp.net mvc that allows the user to perform a search, which returns the name and data of that search. I wish I could print this search result. How do I print div…
asp.net-mvcasked PFVictor 345 -
2
votes1
answer240
viewsQ: Join for field search
I asked a question with another user but I do not know what happened that I could not recover the information and I had to create another one now. Anyway, I wanted to create a search field and I was…