13 Questions

Smith
Smith
Participant
360 Points
110 Posts
I'm trying to execute long running process by using System.Threading.Tasks and calling it from MVC controller action: new Task( () => { // long runing process and fetching data using EntityFrameworkCore }).Start(); I'm getting following error: A second operation started on ...
Views: 32
Total Answered: 4
Total Marked As Answer: 0
Posted On: 19-Apr-2019 04:51 
 
edx
edx
52 Points
16 Posts
I have created new index from existing one by using following Query DSL: POST _reindex { "source": { "index": "myindex" }, "dest": { "index": "new_myindex" } } Now, tried to search on new index but now I'm getting following error: { "error": { "root_cause": [ ...
Views: 7083
Total Answered: 2
Total Marked As Answer: 0
Posted On: 29-Mar-2019 05:47 
 
Smith
Smith
Participant
360 Points
110 Posts
I have web-service hosted on Azure. And I'm tried to request an endpoint that has long running process. I'm getting following error after around 2 minutes: <h2>502 - Web server received an invalid response while acting as a gateway or proxy server.</h2> <h3>There is a problem ...
Views: 7052
Total Answered: 2
Total Marked As Answer: 0
Posted On: 29-Mar-2019 02:08 
 
edx
edx
52 Points
16 Posts
I have user's birthday in datatime object format, how do I calculate their age in years?
Views: 7061
Total Answered: 3
Total Marked As Answer: 0
Posted On: 27-Mar-2019 02:45 
 
Raj
Raj
Member
18 Points
4 Posts
I'm using .netcore with vuejs development and with VS 2017. When try to build application, I'm getting following error: MSB3073 The command "node node_modules/webpack/bin/webpack.js" exited with code I have no idea what is happening here. Previously it was working fine and after upgading package ...
Views: 8144
Total Answered: 1
Total Marked As Answer: 1
Posted On: 03-Dec-2018 04:44 
 
Stevan
Stevan
26 Points
13 Posts
how to convert 24 hours string format to 12 hours format in c#? For examle: "20:30" to "8:30 pm" "09:30" to "9:30 am"
Views: 8189
Total Answered: 2
Total Marked As Answer: 1
Posted On: 07-Aug-2018 04:08 
 
kikme
kikme
8 Points
4 Posts
I'm using amazon AWSSDK.SimpleEmail email service to send email. I want to set the name as well as email address in the from email address. var message = new Message(subject, body); var request = new SendEmailRequest(emailModel.From, to, message); var client = GenerateClient(); var result = awa ...
Views: 8139
Total Answered: 1
Total Marked As Answer: 0
Posted On: 06-Aug-2018 00:18 
 
beginer
beginer
68 Points
29 Posts
I'm using nlog for logging but I'm getting following error: Warn Missing IHttpContextAccessor. Has it been registered before loading NLog Configuration? Consider reloading NLog Configuration after having registered the IHttpContextAccessor. public Startup(IHostingEnvironment env) { env.Con ...
Views: 8184
Total Answered: 1
Total Marked As Answer: 0
Posted On: 11-Jul-2018 02:28 
 
Stevan
Stevan
26 Points
13 Posts
I'm getting following error: "there is already an open datareader associated with this command which must be closed first" at System.Data.SqlClient.SqlInternalConnectionTds.ValidateConnectionForExecute(SqlCommand command) at System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute ...
Views: 8247
Total Answered: 2
Total Marked As Answer: 1
Posted On: 22-Jun-2018 03:21 
 
sam
sam
134 Points
62 Posts
I'm using hangfire in .netcore api project. Everything  working fine but dashboard not appearing on staging environment. In the local machine it's working fine.  On staging is showing "HTTP ERROR 401".
Views: 8384
Total Answered: 2
Total Marked As Answer: 0
Posted On: 01-Jun-2018 00:40 
 
banner

Blog

Active User (0)

No Active User!
 Log In to Chat