|
Follow the instructions , so that you can view the detail of the error...to identify the cause...
<< >>
|
|
|
|
|
Hi,
Thank you very much for your suggession.
I followed the instructions given in the error message.
But that raised one another error.
The error is "Could not Access CDO.Message Object".
On each exception I am seding mail to the admin.
This error comes every time when I am trying to send email through code.
I have wrriten code as following.
catch(Exception ex)
{
string MessageBody = "Exception " + ex.GetType.ToString() + " occured on page " + this.ID + " on " + DateTime.Now.ToString();
MailMessage mail = new MailMessage();
SmtpMail.SmtpServer.Insert(0,"66.36.242.151");
mail.From = "chetan@innovault.com";
mail.To = "admin@innovault.com";
mail.Subject = "Error Occured in the system.";
mail.Body = MessageBody;
SmtpMail.Send(mail);
}
Error comes When the Last Line of code executes.
Can u tell me if anything is wrong in my code?
Thank you.
Regards,
Chetan Ranpariya.
|
|
|
|
|
Hi Chetan,
Looking at the error "Could not Access CDO.Message Object", I think there is a problem related to the permissions to relay through the IIS SMTP Service.
To allow access, open up the IIS Admin MMC. Locate the SMTP Virtual Server, and right-click, then select Properties. On the Access tab, click the Relay button. In the Relay Restrictions dialog, grant your IP address
(e.g 127.0.0.1) to the Computers listbox. Close down all dialogs, and restart the SMTP Service.
I got the same problem some time back and used the above procedure. Hope it helps u..
For more details u can check this link
http://www.systemwebmail.com/faq/4.2.3.aspx[^][^]
Thanks for reading,
Vaibhav
|
|
|
|
|
Hi Vaibhav.
Thanks for the reply.
You are right vaibhav.
I have tried that. That works on my system very well.
But when I uploaded my site on the server and tried to test it, it gives me error.
For example you open www.innovault.com and try to make your login there.
Your login will be created successfully but you will get error page with error "Could not Access CDO.Message Object" as well.
This error comes when system tries to send u a mail informing that your account has been created including your username and password.
Is there any thing to setup from my mailserver or something else?
Plz reply me soont its very urgent.
Thank you very much.
Regards,
Chetan
|
|
|
|
|
Hi there,
For this issue, you might contact to the administrator of your website to fix the problem...
<< >>
|
|
|
|
|
Have you copied the web.config file? If not please copy that and try again. This error may also occur when a required file is missing.
|
|
|
|
|
I want to add(insert) lable or textbox in the Footer of the Data gridheader
Please explain me how to do that
|
|
|
|
|
|
Hi,
I have a form with the following format:
a the the top there are two buttons, followed by a text field, followed by a submit button. When I load the page, and press enter, nothing happens. When i select the text box and type stuff and press enter, the first button gets selected. The problem is this is a logout button. By default I want the submit button to be selected. I tried tabindex=1 on it but that didnt work. Any ideas? Thanks in advance,
|
|
|
|
|
Hi there,
use js code to set focus to the control at page load....
just simply put this js code: getElementbyId("your_button_id").focus() into onload event in body tag of the form
<< >>
|
|
|
|
|
|
hi
I am able to resolve my earlier issue but now a new problem has come up in this a web page "tvOnDemand.aspx" has some nodes if i click colors node i get a msg box Error loading callback data.I i run the XmlGenerator.aspx page i get the following error: (Its in ComponentArt)
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
Only one top level element is allowed in an XML document. Error processing resource 'http://localhost/reere/XmlGenerator.as...
<HTML>
-^
Earlier i got error in the following lines "" so i just removed it now i am getting the above error "Only one top elemt..."
Here can anyone help me to solve this problem
thanks in advance
|
|
|
|
|
Hi,
I would like to use .net passport with an asp.net application. I have installed the passport SDK.
I came across a website that said that after installing the SDK, the developer has to create an application in the .NET Services Manager.
In other words, the developer must submit the application information to Microsoft using the Microsoft .NET Services Manager. This allows the ASP.NET application to access the Microsoft Passport servers. Particulars about the application has to be entered.
Is it possible to have .net passport functionality done locally, instead of using Microsoft's Passport servers?
All I need is just a .net passport user account which can access 2 different websites.
The page explaining passport can be found here:
http://www.builderau.com.au/program/windows/soa/Integrate_Passport_into_ASP_NET_apps/0,39024644,20273635-1,00.htm
|
|
|
|
|
I have store documentfile in table,know i want retrive the documentfile and diplay into TextArea, it is diplay only text..if in documentfile any images and tables not display in Textarea
plz give suggestion,
bye
S.Reddy
|
|
|
|
|
|
If you, or anyone, knows one of these editors (esp a free one!)that works on Mac browsers I'd be glad to hear of it, because I certainly haven't...
cheers
P
|
|
|
|
|
Currently, I have no...
You might ask uncle Google...
<< >>
|
|
|
|
|
I did try, but even the Great Google couldn't help with that one!
And (just in case you're wondering) no I do not use Macs, but unfortunately a lot of my clients do! (Arty types, wouldn't you know...)
|
|
|
|
|
|
Hi there,
Naveed Kamboh wrote: Is there any other way to connect to database directly without usieng web.confing file.?
Yes, sure you can. you can use your own file instead of web.config file
Naveed Kamboh wrote: My IIS server is on differnt computer and my Databse server is on different computer.
In this scenario would you pls let us know how to connect with databse?
In the connection string, you can specify the database hostname and user account to connect to DB...
<< >>
|
|
|
|
|
|
Hi,
Trying to send an email through asp.net 2.0
Here is the error message. Any ideas please?
Does this mean that the mail exchange server that I have provided is incorrect?
{"Unable to connect to the remote server"}
Here is what I am basically doing:
' Configure mail client (may need additional
' code for authenticated SMTP servers)
Dim mailClient As New SmtpClient(ncspConfiguration.MailServer)
' Create the mail message
Dim mailMessage As New MailMessage(from, [to], subject, body)
' Send mail
mailClient.Send(mailMessage)
|
|
|
|
|
Hi there,
fmardani wrote: Does this mean that the mail exchange server that I have provided is incorrect?
{"Unable to connect to the remote server"}
Not sure, but you can check this by sending email by email client (e.g: MS Outlook,...)
<< >>
|
|
|
|
|
If you mean being able to send email using outlook email then yes.
Thanks
|
|
|
|
|
For that, I just to make sure your mail server work fine
So the issue is from ur code, can u post ur snippet of code here? or you might try to debug your code to see which line cause the exception...
<< >>
|
|
|
|