Click here to Skip to main content
15,891,777 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Enable button and change label's text clientside Pin
raju melveetilpurayil26-Jun-10 0:08
professionalraju melveetilpurayil26-Jun-10 0:08 
GeneralRe: Enable button and change label's text clientside Pin
Ankur\m/25-Jun-10 18:20
professionalAnkur\m/25-Jun-10 18:20 
Questionend session on closing the browser [modified] Pin
Hemant Thaker25-Jun-10 1:01
Hemant Thaker25-Jun-10 1:01 
AnswerRe: end session on closing the browser Pin
R. Giskard Reventlov25-Jun-10 2:31
R. Giskard Reventlov25-Jun-10 2:31 
QuestionConvert generic list into datatable Pin
zeego24-Jun-10 20:11
zeego24-Jun-10 20:11 
AnswerRe: Convert generic list into datatable Pin
PSK_24-Jun-10 21:28
PSK_24-Jun-10 21:28 
QuestionCompare Datatables and get changed rows. Pin
zeego24-Jun-10 20:04
zeego24-Jun-10 20:04 
QuestionError sending email Pin
Dot-Net-Dev24-Jun-10 17:46
Dot-Net-Dev24-Jun-10 17:46 
Hi,

I have designed ASP.NET C# 3.5 (MySQL) website and it is hosted on shared web server.

I have to send email to site users. I have written the all required code, I am sending mail from "info@mysitename.com" to yahoo or gmail but having the following exception.


Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Line 41: objEmail.Priority = MailPriority.Normal;
Line 42:
Line 43: SmtpClient smtpClient = new SmtpClient(smtpServer, Convert.ToInt32(port));
Line 44: System.Net.NetworkCredential basicAuthenticationInfo = new System.Net.NetworkCredential(fromAddress, pwd);
Line 45:

Thanks
AnswerRe: Error sending email Pin
Sandeep Mewara24-Jun-10 19:41
mveSandeep Mewara24-Jun-10 19:41 
QuestionIs any problem in Image Uploading in IE7? Pin
raju melveetilpurayil24-Jun-10 10:52
professionalraju melveetilpurayil24-Jun-10 10:52 
AnswerRe: Is any problem in Image Uploading in IE7? Pin
Sandeep Mewara24-Jun-10 19:43
mveSandeep Mewara24-Jun-10 19:43 
GeneralRe: Is any problem in Image Uploading in IE7? Pin
raju melveetilpurayil25-Jun-10 13:28
professionalraju melveetilpurayil25-Jun-10 13:28 
Questionhow to insert digital signature in Word Application from Sql Server database in Windows Application Pin
raghvendrapanda24-Jun-10 9:28
raghvendrapanda24-Jun-10 9:28 
Questionkeep track of folder's activities Pin
ariez8824-Jun-10 8:32
ariez8824-Jun-10 8:32 
AnswerRe: keep track of folder's activities Pin
Paladin200024-Jun-10 11:25
Paladin200024-Jun-10 11:25 
GeneralRe: keep track of folder's activities Pin
ariez8824-Jun-10 21:36
ariez8824-Jun-10 21:36 
GeneralRe: keep track of folder's activities Pin
Paladin200025-Jun-10 3:46
Paladin200025-Jun-10 3:46 
GeneralRe: keep track of folder's activities Pin
ariez8827-Jun-10 4:33
ariez8827-Jun-10 4:33 
QuestionHow to loop through a ASP.Net Repeater using JQuery Pin
immu524-Jun-10 6:19
immu524-Jun-10 6:19 
AnswerRe: How to loop through a ASP.Net Repeater using JQuery Pin
Not Active24-Jun-10 7:52
mentorNot Active24-Jun-10 7:52 
GeneralRe: How to loop through a ASP.Net Repeater using JQuery Pin
immu524-Jun-10 8:05
immu524-Jun-10 8:05 
GeneralRe: How to loop through a ASP.Net Repeater using JQuery Pin
Not Active24-Jun-10 8:12
mentorNot Active24-Jun-10 8:12 
GeneralRe: How to loop through a ASP.Net Repeater using JQuery Pin
immu524-Jun-10 8:20
immu524-Jun-10 8:20 
GeneralRe: How to loop through a ASP.Net Repeater using JQuery Pin
Not Active24-Jun-10 8:35
mentorNot Active24-Jun-10 8:35 
GeneralRe: How to loop through a ASP.Net Repeater using JQuery Pin
immu524-Jun-10 8:40
immu524-Jun-10 8:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.