Click here to Skip to main content
16,005,141 members

Comments by Parag Sudhir Chaudhari (Top 4 by date)

Parag Sudhir Chaudhari 11-Jan-16 2:05am View    
thanks Giri,
I checked 25 port which was blocked,I changed port to 587
and its working now .
Parag Sudhir Chaudhari 8-Jan-16 3:10am View    
I am using following SP

EXEC msdb.dbo.sp_send_dbmail
@profile_name = 'MYProfile',
@recipients = 'xyz@gmail.com',
@copy_recipients = null,
@blind_copy_recipients = null,
@body = 'Test Body',
@body_format = 'HTML',
@subject = 'Subject'
Parag Sudhir Chaudhari 16-Oct-15 1:37am View    
Thanks its working now
Parag Sudhir Chaudhari 29-Jun-15 7:46am View    
I have set session time out in web.config
<sessionstate timeout="1">
If session timeout expires it redirect to login page. For that i have checked below code on page load
if (Session.IsNewSession)
{
Response.Redirect("~/Login.aspx");
}
This scenario works fine.
But for some times if hit application then it throw object reference error.
After that if i restart the iis then applications works.
I found this IIS restart issue on session time out.