16,016,562 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Mangesh9692 (Top 49 by date)
Mangesh9692
14-Apr-21 23:50pm
View
I have tried this but no luck. Could you please help me on this
let test=(TestTransctions
|join kind = inner
(TestTransctions)
on $left.GlobalID == $right.GlobalID
| where EventTimeStamp_t > ago(totimespan((TimeGenerated))) and type='event'
| summarize (ets1, ts1) = arg_min (EventTimeStamp_t,SpecialEventName_s), (ets2,ts2) = arg_max(EventTimeStamp_t1, SpecialEventName_s1) by GlobalID
| project ets1, ts1, ets2, ts2, ets3=ets2 - ets1,GlobalID
|project-rename JobStarted=ets1,JobStopped=ets2
|project-keep JobStarted,JobStopped,GlobalID);
let test2=(TestTransctions| where IsTransactionAdhoc_b=='false');
test2
|join kind=leftouter
(test)
on $left.GlobalID == $right.GlobalID
|where EventTimeStamp_t between (todatetime(JobStopped)..todatetime(JobStarted))
Mangesh9692
31-Mar-21 2:35am
View
Yes i have written it but it now working as SQL,Alias is not working. Not giving syntax error but output is not coming
let test=(TestTransctions
|join kind = inner
(TestTransctions)
on $left.GlobalID == $right.GlobalID
| where EventTimeStamp_t > ago(totimespan((TimeGenerated))) and type='event'
| summarize (ets1, ts1) = arg_min (EventTimeStamp_t,SpecialEventName_s), (ets2,ts2) = arg_max(EventTimeStamp_t1, SpecialEventName_s1) by GlobalID
| project ets1, ts1, ets2, ts2, ets3=ets2 - ets1,GlobalID
|project-rename JobStarted=ets1,JobStopped=ets2
|project-keep JobStarted,JobStopped,GlobalID);
let test2=(TestTransctions| where IsTransactionAdhoc_b=='false');
test2
|join kind=leftouter
(test)
on $left.GlobalID == $right.GlobalID
|where EventTimeStamp_t between (todatetime(JobStopped)..todatetime(JobStarted))
Mangesh9692
30-Mar-21 23:38pm
View
Yes this query is working fine as like my previous query but I have written KQL query for same but its not working
Mangesh9692
30-Mar-21 6:28am
View
OK let me give me my problem statement so u might be understand what I am trying to write
I have one table in Azure data explorer log analytics work space where I am logging my all transaction with their timestamp with type=transaction with different guid for each log, in the same table I am logging my background job start and stop against same guid(same guid for single cycle ie start and stop event) with their respective time stamp with type=event. Now I want find a record from this table with type=transaction those are falling in Job start and stop event timestamp .Thanks
Mangesh9692
30-Mar-21 5:04am
View
Yes I know but join is not usefull, and my concern is related to KQL(Kusto query language)
Mangesh9692
13-May-16 6:52am
View
The message are any type,i have two windows services that communicate through message queues,but 1st service send any message,data to queue in queue and second service supposed to read that data or message and process it,but at the time of if we bombard the many message then message are stuck in queues but still second window service in running state
Mangesh9692
9-Mar-16 4:46am
View
Can we add all domain account user in identity of application pool?
Mangesh9692
9-Mar-16 2:21am
View
Thanks for your response when i tried out one thing is that when i configured local machine user then in identity in app pool it would not be work but when i configured domain user then it works fine.
Mangesh9692
8-Mar-16 4:51am
View
ok i will give you this in scenario
There are two user viz a,b both have administrative rights
1)In web.config(for impersonation)-"A" Machine logged by "A" identity in app pool "A" working-Yes
2)In web.config(for impersonation)-"A" Machine logged by "B" identity in app pool "A" working-No
3)In web.config(for impersonation)-"A" Machine logged by "A" identity in app pool "B" working-No
4)In web.config(for impersonation)-"A" Machine logged by "B" identity in app pool "B" working-Yes
I want that app work for all administrative users of machine.
hope this will give idea about exact scenario.
Mangesh9692
8-Mar-16 4:45am
View
Ok i already tried that but it wont work for other administrative users other than configured in identity in app pool.
Mangesh9692
25-Feb-16 5:42am
View
Hi implement some code that i posting here which shutdown the machine but does not send email.
private static void SystemEvents_SessionEnding(object sender, SessionEndingEventArgs e)
{
Logger.Log("System is going to shutdown" + e.Reason, 3);
Services.SendAlert("Attention! System is going to shutdown","The configured services are going to stop due to system shutdown or by reason"+e.Reason);
e.Cancel = false;
}
Is there is any way to delay the system shutdown and send mail successfully.
when i running appliation in debug mode it successfully send message.
Thanks
Mangesh9692
23-Feb-16 7:57am
View
Deleted
Thanks
Mangesh9692
22-Jan-16 4:05am
View
Thanks it working
for %%G in (%*) do (
set /a count+=1
call :exec1 %%~G
)
:exec1
set mapArray[%count%]=%*
After this for loop should continue
Here how to contine for lopp....sorry i dont have idea about batch scripting..
Mangesh9692
21-Jan-16 23:50pm
View
Thanks for u r response but its shown error colon(:) expected at var DBServer;
Mangesh9692
20-Jan-16 7:32am
View
using .bat file
Mangesh9692
20-Jan-16 7:07am
View
Hi this working fine when i ran file file from desktop,but if i put it on folder inside d drive it wont work
Mangesh9692
20-Jan-16 3:57am
View
Thanks Asif it work for me
Mangesh9692
4-Jan-16 9:21am
View
putty create one file in c drive and and copy it to the another server...
have u any idea about above scenarios.
Mangesh9692
4-Jan-16 6:05am
View
I cant share code with you
Hi
I have one asp.net website which internally open putty.exe and run some command.
There two scenarios here
eg There is two machine users A and B,both have administrative rights.
1)A user configured in identity of application pool and when i login with machine user A
then my site open the putty and performed its task succefully but...
2)When B user login to that machine then it open putty.exe but does perform its
task.....at that time this if i changed identity from A to B then it works fine
what is the problem here
In web.config A user configured in imprsonate section
I want configuration or setting which will work for all administrative user thanks.........
Mangesh9692
4-Jan-16 6:04am
View
Hi
I have one asp.net website which internally open putty.exe and run some command.
There two scenarios here
eg There is two machine users A and B,both have administrative rights.
1)A user configured in identity of application pool and when i login with machine user A
then my site open the putty and performed its task succefully but...
2)When B user login to that machine then it open putty.exe but does perform its
task.....at that time this if i changed identity from A to B then it works fine
what is the problem here
In web.config A user configured in imprsonate section
I want configuration or setting which will work for all administrative user thanks.........
Mangesh9692
30-Dec-15 23:58pm
View
and what about if i want only monitor that message arrival time at that port
Mangesh9692
30-Dec-15 8:58am
View
That third party app is putty.exe which access some batch file stored on my c drive, and yes when every user(including remote user which accessing my site remotely using ip like 45.45.45.45\my site.aspx ) also run that app successfully,,but only user configured in identity of pool able to do that task successfully
Mangesh9692
30-Dec-15 8:46am
View
yes correct,actually i want monitor the queue
Mangesh9692
30-Dec-15 8:27am
View
i give u details of scenario
1)I configured user in identity of app pool which have admin rights and accessed site,that time it open one another third party app succussfully also that app also perform their task successfully. (Note i logon that machine with same user name and password as configured)
2)When i logon same machine with different user which also have admin rights it open site and internal app successfully but app does not perform its specified task.
this my exact problem.....
Mangesh9692
30-Dec-15 8:24am
View
Yes one .exe file like putty.exe it require admin rights
Mangesh9692
30-Dec-15 8:23am
View
last message in the sense when that particular queue is modified or message is arrived in that queue
Mangesh9692
30-Dec-15 3:57am
View
So i want only monitor when last message is passed at that port...plz help me about this
Mangesh9692
30-Dec-15 3:56am
View
Because it open internal app which require administrative rights.
Plz find below discussion for details
thanks
Mangesh9692
30-Dec-15 3:54am
View
Actually the message passed through MSMQ is not important and only timing of last received message is important.
The any tcp port may be 5053 and ip 127.0.0.1.
But if message is received as soon as in MSMQ it read by a another winodws service so i want to just filter that when last message is arrived
Is it possible?....This my question and if yes plz suggest site or code
Mangesh9692
30-Dec-15 3:54am
View
Actually the message passed through MSMQ is not important and only timing of last received message is important.
The any tcp port may be 5053 and ip 127.0.0.1.
But if message is received as soon as in MSMQ it read by a another winodws service so i want to just filter that when last message is arrived
Is it possible?....This my question and if yes plz suggest site or code
Mangesh9692
30-Dec-15 3:54am
View
Actually the message passed through MSMQ is not important and only timing of last received message is important.
The any tcp port may be 5053 and ip 127.0.0.1.
But if message is received as soon as in MSMQ it read by a another winodws service so i want to just filter that when last message is arrived
Is it possible?....This my question and if yes plz suggest site or code
Mangesh9692
30-Dec-15 3:53am
View
i give u details of scenario
1)I configured user in identity of app pool which have admin rights and accessed site,that time it open one another third party app succussfully also that app also perform their task successfully. (Note i logon that machine with same user name and password as configured)
2)When i logon same machine with different user which also have admin rights it open site and internal app successfully but app does not perform its specified task.
this my exact problem.....
I tried ur specified solution it does not worked for me...
Mangesh9692
29-Dec-15 8:23am
View
its 6.0
Mangesh9692
29-Dec-15 8:23am
View
Deleted
its 6.0
Mangesh9692
29-Dec-15 6:17am
View
Currently this is working on local computer but
what happened when user accessed that site on another machine using ip address/site.aspx
Mangesh9692
29-Dec-15 2:27am
View
hi Prasad, i already set above configuration.But my website some time used on another machine with other account using ip.
And other thing other internal application opened successfully,it dont ask username n password,but it dont run successfully.like when we open cmd.exe with user which dont have rights.
eg \\45.53.533.\my website.aspx
Mangesh9692
29-Dec-15 1:53am
View
thanks for response.I already set anonymous authentication to enable. My question is internal application which opened by my website always require administrative rights, which identity setting in application poool solve my problem.
Mangesh9692
29-Dec-15 0:55am
View
Actually the message passed through MSMQ is not important and only timing of last received message is important.
The any tcp port may be 5053 and ip 127.0.0.1.
But if message is received as soon as in MSMQ it read by a another winodws service so i want to just filter that when last message is arrived
Is it possible?....This my question and if yes plz suggest site or code
Mangesh9692
14-Oct-15 0:13am
View
How to give full access of message queue to everyone using batch(.bat) file
Mangesh9692
13-Oct-15 5:27am
View
Thanks for your reply.
But i have some questions
1)Actually my website hosted on one server and that site remotely used by other colleagues using server's ip address.So other member login their machine using their own id.So sometimes my colleagues don't have administrative access on their machine.
2)What is built in account which has full message queue access,because i cant create new user on my client machine. eg Local system,Network service,Application pool identity which is better.
Mangesh9692
12-Oct-15 8:49am
View
My msmq service running on network service and my pool identity is application pool identity.
Mangesh9692
12-Oct-15 8:45am
View
hi Ryan as already mentioned that i already given full access to everyone as per link you suggest.
This link is given permission to user. Any other help appreciated.
Mangesh9692
12-Oct-15 8:34am
View
Thanks for response.
But how to set that.
Mangesh9692
26-Jun-15 6:14am
View
Hi Thanks for reply,
yes, that class is present in my Global.asax.cs file
Is this error belonging to assembly version.
Mangesh9692
23-Jun-15 1:46am
View
Can you suggest some links,or settings
for above stated scenario
Mangesh9692
23-Jun-15 1:39am
View
Deleted
Is this problem related to IIS settings,
My interface log shown
Exception: at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.AbortCurrentThread()
at System.Web.HttpResponse.End()
at System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
at ITsecPS.MAS.Client.LoginWebForm.Page_Load(Object sender, EventArgs e)
Mangesh9692
23-Jun-15 1:35am
View
Helo thanks for your response,
my code is snippest below,i cant share you whole code,
protected void Page_Load(object sender, System.EventArgs e)
{
try
{
int userid = -1;
if (Session["userid"] != null)
userid = (int) Session["userid"];
// Don't show validation container unless an error occurs
validationContainer.Visible = false;
/*
* Don't display the login page if the user is still logged in
*/
if (userid != -1)
{
Response.Redirect("default.aspx");
}
if (FormsAuthentication.GetRedirectUrl(HttpContext.Current.User.Identity.Name, false).IndexOf("default.aspx") > 0)
lblError.Visible = false;
else
lblError.Visible = true;
}
catch(Exception _e)
{
//Handled Exception
}
}
Mangesh9692
13-Mar-15 2:00am
View
Is this problem depend upon no of worker process and application pools.And setting of application pool.
Mangesh9692
13-Mar-15 1:28am
View
But my project has windows server 2003 and iis 6.0 so i cannot upgrade it.
Please suggest me some configuration in IIS 6.0 to do same.
Thanks
Show More