|
Hello Friends
The website which i created was working fine till yesterday .. i uploaded a file named dataservice.cs which a webservice file ..in app_code folder and got the parse Error
I have changed it many times but this is the first time i got error ..please tell me how to resolve it
link is provided below
http://1soft.co.uk/booking.aspx[^]
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
Access to the path 'C:\Inetpub\1soft.co.uk\App_Code\DataService.cs' is denied
set the access
|
|
|
|
|
How to set it ?
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
You do not have rights to that file location, you need to give your user account rights to it
|
|
|
|
|
Pinpoint the exact exception.
Any how try this.
Give rights to the account under which u r accessing the application on the folder in which u uploaded the file.
Regards
S.K.Ali
|
|
|
|
|
Hi all
i need to automatically change the direction and language upon pressing tab between 2 textboxes. I need to change the direction from LTR to TRL and language from English to Arabic without using the keyboard shortcuts. thanks
|
|
|
|
|
Handle the TabIndex changed event and then set the TextBox1.RightToLeft = true, also set the arabic font to the textbox
.....
|
|
|
|
|
I am using password recovery control.
the code for protected void PasswordRecovery1_SendingMail(object sender, MailMessageEventArgs e)
{
MailAddress MaTo=new MailAddress (e.Message .To .ToString ());
MailAddress MaFrom=new MailAddress (e.Message .From .ToString ());
MailMessage mm = new MailMessage(MaFrom, MaTo);
mm.Subject = e.Message.Subject;
mm.Body = e.Message.Body;
SmtpClient smtp = new SmtpClient();
try
{
smtp.EnableSsl = true;
smtp.Send(mm);
}
catch
{
e.Cancel = true;
}
}
my web.config smtp configuration is
<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<network
host="localhost" />
</smtp>
</mailSettings>
</system.net>
i am getting the message
your password has been send to you
but I am not recieving any mail
Please help?
modified on Tuesday, May 20, 2008 1:38 AM
|
|
|
|
|
what do you want actually??
|
|
|
|
|
anpm wrote: try
{
smtp.EnableSsl = true;
smtp.Send(mm);
}
catch
{
e.Cancel = true;
}
You might be getting some error when sending. You are not catching any of the exception, so it will be silently ignored here. Try removing try/catch or catch specific exceptions and try again.
|
|
|
|
|
when I removed try catch
i am getting exception
failure sending mail
I have changed my code like this
MailAddress MaTo=new MailAddress (e.Message .To .ToString ());
MailAddress MaFrom=new MailAddress (e.Message .From .ToString ());
MailMessage mm = new MailMessage(MaFrom, MaTo);
mm.Subject = e.Message.Subject;
mm.Body = e.Message.Body;
SmtpClient smtp = new SmtpClient("smtp.google.com", 465);
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
smtp.UseDefaultCredentials = false;
smtp.Credentials = new System.Net.NetworkCredential("daedalus.mail@gmail.com", "Daedalus1");
smtp.EnableSsl = true;
smtp.Send(mm);
|
|
|
|
|
So, your local machine is actually a mail server ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I have changed my code to this
MailAddress MaTo=new MailAddress (e.Message .To .ToString ());
MailAddress MaFrom=new MailAddress (e.Message .From .ToString ());
MailMessage mm = new MailMessage(MaFrom, MaTo);
mm.Subject = e.Message.Subject;
mm.Body = e.Message.Body;
SmtpClient smtp = new SmtpClient("smtp.gmail.com", 465);
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
smtp.UseDefaultCredentials = false;
smtp.Credentials = new System.Net.NetworkCredential("daedalus.mail@gmail.com", "Daedalus1");
smtp.EnableSsl = true;
smtp.Send(mm);
I am really new to asp..net
|
|
|
|
|
how to get current index of cursor
|
|
|
|
|
|
let me clarify i have used fckeditor n adding some text on clickevent i want to add that text on cursor position
|
|
|
|
|
hello
when i delete folder then session is getting null.
please help
Rajeev Kr. Sharma
VRI Software Pvt.Ltd.
New Delhi India
HumOnline.com
Stay Connected
|
|
|
|
|
When you delete what folder?
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
i think this is mac OS or SYSTEM based reply
but i am using windows .
Rajeev Kr. Sharma
VRI Software Pvt.Ltd.
New Delhi India
HumOnline.com
Stay Connected
|
|
|
|
|
You are confusing the message with the signature. You have a personal presentation as a signature, the person replying to your question has a quote as signature.
Try to read the message again, and concentrate on what's above the line.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
after login i can add folder in my account.
and also i have a option to delete that folder.
but when i delete any folder my session is set as null and redirect to login page.
Rajeev Kr. Sharma
VRI Software Pvt.Ltd.
New Delhi India
HumOnline.com
Stay Connected
|
|
|
|
|
Can you be a bit clearer about what you want, it doesnt make any sense as to what context you are in
|
|
|
|
|
Hello I have a grid view for a shopping cart. I want to validate the quantity box for greater them zero. If a user place the 0 then he should be presented with a message. I do not want to use javaascript.
If I use the control validator next to the control, the layout gets distorted.
Can I put a common row at the top of grid some where to display the error?
Regards,
Pavas
|
|
|
|
|
mpavas wrote: I do not want to use javaascript.
OK, then you don't want to be using control validators, because how do you think they work ?
mpavas wrote: Can I put a common row at the top of grid some where to display the error?
Yes, you can use a validation summary or just put the validators up the top, they can be anywhere on your page.
I'd put the validators in a row at the bottom but not have them show anything, and have a validation summary where you want to see the messages.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Does grid view do not provide the place holder for common messages..
If not how do you suggest to do this..
Regards,
Pavas
|
|
|
|