Error in [authorize(Roles = "Admin")] MVC C#
Vote count: 0 I'm with problem when I try to use [Authorize(Roles = "ADMIN")], the authorize is working, but, if I try to use with roles, any user without permission, but with authorization, can access the information. Have anybody already had this problem? asked 11 secs agoStephany Henrique This en...
Fatal error of echo a date variable that allow nulls
Vote count: 0 I'm trying to fill a HTML table with the different values of a table in SQL Server working with PHP. This is the code. ... while($datosPerfil = sqlsrv_fetch_array($resultado)){ echo "<tr>"; echo "<td>"; echo $datosPerfil['CPR_Name']; echo "</td>"; echo "<td>"; echo $datosPerfil['CON_SC...
Can not run service on Windows - Visual Studio 2015
Vote count: 0 When I start "F5" in a project in Visual Studio 2015, the program show me the message: "Can not you start the service from the command line or in the debugger. The windows service must be installed 's First (using installutil.exe ) and then started with ServerExplorer , the administrat...
Multiple answers for a node in IBM Watson Conversation service
Vote count: 0 How I can specify multiple answers for a specific dialog node? For example, when user asks “What is your name”, my VA should reply “My name is Alexander”, or “You can call me Alexander”, or “Friends call me Alex”. Maybe Conversation service must retu a code and application checks the c...
How to track missing requests - Webmin / iptables
Vote count: 0 I'm testing a website based on a CentOS server with NGINX and HHVM. The server regularly receives transactions / requests from an exte al provider and does some further processing with them. The exte al provider is claiming that transactions are being sent to us but rejected by our ser...
Using Spring RestTemplate for HTTPS call causes "javax.net.ssl.SSLHandshakeException" unable to find valid certification path to requested target
Vote count: 0 I am able to hit the service using postman(rest client) but the same fails while using Spring Rest Template. asked 17 secs agoVikas Rajoria This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at...
are middleware better than modules and handlers?
Vote count: 0 middleware bettter than modules and handlers? when i see the syntax they are some how similar to modules and handlers. But specifically made this concept was it only unting itself with iis and those features. Why they did not had better verison of modules and handlers? or is it a bette...
Selection substring until last occurrence
Vote count: 0 Im trying to select all substings from certain URL's but I know there is a smarter way to do it. Her is what I need: from the URL: http://www.example.com/a-b-c-d-123-456.html I would like to get everything before the last 2 '-', so in this case: http://www.example.com/a-b-c-d this is t...
Move myvenv and using virtualenvwrapper-win
Vote count: 0 I have this directory structure: C:/Python/projects/ | |__ myproject1name/ | |__project1site/ | |__myvenv/ | |__ myproject2name/ |__project2site/ |__myvenv/ To activate myvenv I digit C:/python/projects/myproject1name/myvenv/scripts/activate It works but it's boring so I want to use vi...
gains and have the superb sculpted physique you always wanted?
Vote count: -4 Use of junk food made simpler for us to consume scrumptious and spicy food in readymade packets however on the other hand it loses our complete Test X Core physique strength. Some senior food Nutritionists called it to be indigestible.Muscle constructing requires suitable nutrition to...
Returning result of payment to a third-party account
Vote count: 0 We are trying to set-up a system where a user submits a query to a lawyer via our user interface. What I need an advise now on is: if can we get a confirmation of a status of a payment if the payment goes directly to lawyer paypal account? So for us it is critical to get retu a result ...
Does Leshan support ObjLink?
Vote count: 0 I am trying to create my composite LWM2M object by using objlink type. For Leshan, the only source on how to write the spec file in json seems to be the official oma-objects-spec.json, which does not contain examples of objlinks. Can anyone provide an example on how to create an objlin...
Give focus to WPF application if other instances are running
Vote count: 0 I want to create a Spotify-like behavior for my WPF application. When the application is ru ing, but minimized in the taskbar and the user tries to start a new instace, it should restore it from the taskbar, and give focus to the already ru ing instance. The problem is stumble upon is ...
ASP.NET vNext page not found
Vote count: 0 I updated my vNext poject from RC1 to 1.0 (preview2), everything went fine, I can debug in Visual Studio without problems. Next I would like to upload the site on a Windows Server 2008 R2 and IIS 7.5. I installed the necessary Windows Hosting tools, and created the web application in t...