Classifieds Kit

Discussion in 'ASP.NET Starter Kits' started by Bruce, Jun 15, 2006.

  1. Bruce

    Bruce DiscountASP.NET Staff

    Check your web.config file

    Make sure the mailSettings section is setup correctly

    <smtp>
    <network
    host='localhost'
    port='25'
    defaultCredentials='true'
    userName=''
    password=''/>
    />
    </smtp>

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  2. Thanks for reply


    I have the Email settings exactly as you specified,


    same error message





    C
     
  3. Try...

    1. defaultCredentials='false'
    2. remove userName and password attributes

    If that still doesn't work, set the customErrors mode to Off in the web.config so you can see a more detailed error message to get to the bottom of the cause.

    Aristotle

    DiscountASP.NET
    www.DiscountASP.NET
     
  4. Hello,

    In the Classifieds Kit

    When attempting to send email I get the following error

    "The email was not sent. Contact the system administrator for further details"



    Many Thanks

    C.
     
  5. Did as you said, Same result


    Changed this


    <system.web>


    <customErrors defaultRedirect="Error.aspx" mode="RemoteOnly" />
    to this




    <system.web>


    <customErrors mode="Off" />


    same error


    C.
     
  6. How do i do this??





    4) Install the Database Schema on DiscountASP.NET SQL server

    - The SQL script to generate the database is located in the /App_code directory
    - You can use your favorite SQL client to execute the script. Here, I am using osql as an example

    a) Execute the command below to create the schema

    osql -S <sql server name> -U <db_user> -P <DB_password> -d <DB_Name> -i <path to the starterKit>\App_datat\classifieds-add.sql

    b) Execute the command below to create some sample data

    osql -S <sql server name> -U <db_user> -P <DB_password> -d <DB_Name> -i <path to the starterKit>\App_datat\classifieds-categories.sql
     
  7. Bruce

    Bruce DiscountASP.NET Staff

    what do you mean??

    Isn't the instruction clear enough?

    Just run the following commands and replace your DB information

    osql -S <sql server name> -U <db_user> -P <DB_password> -d <DB_Name> -i <path to the starterKit>\App_datat\classifieds-add.sql

    osql -S <sql server name> -U <db_user> -P <DB_password> -d <DB_Name> -i <path to the starterKit>\App_datat\classifieds-categories.sql

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  8. I did Bruce....that is why I was asking for more clarity......such as go to the command prompt...etc.....looking for stuff like that just in case I did something wrong.....ultimately if I loaded the classified and i get an error to contact a administrator. see....www.birdzee.com
     
  9. Bruce

    Bruce DiscountASP.NET Staff

    This error is trapped by the application.


    I recommend you go to the web.config (on the server) and disable CustomError


    Set it to CustomError="Off"


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  10. The page cannot be foundThe page you are looking for might have been removed, had its name changed, or is temporarily unavailable.




    Please try the following:
    • Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
    • If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
    • Click the Back button to try another link.
    HTTP Error 404 - File or directory not found.
    Internet Information Services (IIS)




    Technical Information (for support personnel)
    • Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
    • Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.
     
  11. I am positive Bruce that the default.aspx is there and it is chosen at the top of the document list.
     
  12. Bruce

    Bruce DiscountASP.NET Staff

    hmmm.. i am not sure what else I can recommend.


    The web server error message is almost 100% accurate and if it returns 404, the file is definitely not there.





    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  13. Yes...to both.....Issue has been resolved. I sent a message on sat. stating that it was resolved....thanks for your help though...
     
  14. Did you ever get this issue resolved? I am having the same problem.
     

Share This Page