Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Some problem regarding site.

Some problem regarding site.

Scheduled Pinned Locked Moved ASP.NET
helpsysadminsecurityworkspace
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Chetan Ranpariya
    wrote on last edited by
    #1

    I currently hosted a site, and at the time of member registration we get the following error. Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".

    E D 2 Replies Last reply
    0
    • C Chetan Ranpariya

      I currently hosted a site, and at the time of member registration we get the following error. Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".

      E Offline
      E Offline
      enjoycrack
      wrote on last edited by
      #2

      Follow the instructions , so that you can view the detail of the error...to identify the cause... << >>

      C 1 Reply Last reply
      0
      • C Chetan Ranpariya

        I currently hosted a site, and at the time of member registration we get the following error. Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".

        D Offline
        D Offline
        dansoft
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • E enjoycrack

          Follow the instructions , so that you can view the detail of the error...to identify the cause... << >>

          C Offline
          C Offline
          Chetan Ranpariya
          wrote on last edited by
          #4

          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.

          V 1 Reply Last reply
          0
          • C Chetan Ranpariya

            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.

            V Offline
            V Offline
            VaibhavJ
            wrote on last edited by
            #5

            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 :-D

            C 1 Reply Last reply
            0
            • V VaibhavJ

              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 :-D

              C Offline
              C Offline
              Chetan Ranpariya
              wrote on last edited by
              #6

              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

              E 1 Reply Last reply
              0
              • C Chetan Ranpariya

                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

                E Offline
                E Offline
                enjoycrack
                wrote on last edited by
                #7

                Hi there, For this issue, you might contact to the administrator of your website to fix the problem... << >>

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups