Reading Verve settings from web.config not _verveconfig.asp
Posted by Jonathon Twigg on 30 August 2011 11:34 AM
The ability to read the Verve setting from the web.config, it will read from the sites root web.config if the _verveconfig.asp file does not exist.
You need the same settings as in the _verveconfig.asp as show below.

Application("verve_database") = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=MyUser;password=MyPassword;Initial Catalog=MyDatabase;Data Source=MYDBSERVER;"
Application("verve_admindatabase") = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=MyUser;password=MyPassword;Initial Catalog=Verve_Admin;Data Source=MYDBSERVER;"
Application("verve_environment") = "Live"
Application("verve_email_server_address") = ""
Application("verve_email_server_port") = "25"
Application("verve_email_from_address") = ""
Application("verve_email_from_name") = ""
Application("verve_email_404_site_errors_to") = ""
Application("verve_email_500_site_errors_to") = ""
Application("verve_email_404_cms_errors_to") = ""
Application("verve_email_500_cms_errors_to") = ""

        <add key="verve_environment" value="LIVE" />
        <add key="verve_email_server_address" value="" />
        <add key="verve_email_server_port" value="25" />
        <add name="verve_database" connectionString="Persist Security Info=False;User ID=MyUser;password=MyPassword;Initial Catalog=MyDatabase;Data Source=MYDBSERVER" providerName="System.Data.SqlClient" />
        <add name="verve_admindatabase" connectionString="Persist Security Info=False;User ID=MyUser;password=MyPassword;Initial Catalog=Verve_Admin;Data Source=MYDBSERVER;" providerName="System.Data.SqlClient" />
If the values are blank they are not required, though you could still have them.
(0 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako Fusion