none
web config error RRS feed

  • Question

  • I am using visual studio express on a windows 8.1.  I am getting a 404 error when I try to load the site. It use to work and now it isn't. The problem is adding the name Bumples connection site two times which I need to do.  How do I rewrite it so that it works. If I take one out then my default does not work.Below is part of the program showing the problem.

    Thanks Jen

    <?xml version="1.0"?>

    <configuration>
      <configSections>
        <section name ="bumplesMagazine" type="EP.BumplesMagazine.BumplesMagazineSection, __code"/>
      </configSections>
      <bumplesMagazine defaultConnectionStringName="BumplesConnectionString">
        <contactForm mailTo="contact@bumples.com"/>
        <newsletters fromEmail="info@bumples.com" fromDisplayName="Bumples Magazine" />
        <store sandboxMode="false" businessEmail="sales@bumples.com" />
      </bumplesMagazine>
      <connectionStrings>
        <!-- Local -->
        <add name="BumplesConnectionString" ( here is the problem)
             connectionString= "Server=server3000; Database=BumplesDataBase; uid=SERVER3000\Junior; Trusted_Connection=True;"
             providerName="System.Data.SqlClient"/>
        <!-- Remote -->
        <add name="BumplesConnectionString" (here is the problem.
             connectionString="Server=mssql1.myregisteredsite.com; Database=27534_BumplesDatabase; User Id=27534_login; Password=9u3673s!; Trusted_Connection=False;"
             providerName="System.Data.SqlClient"/>
      </connectionStrings>
      <system.net>
        <mailSettings>
          <!-- <smtp deliveryMethod="Network"> 
          <smtp deliveryMethod="PickupDirectoryFromIis" from="support@bumples.com">
            <network defaultCredentials="true" host="(localhost)" port="25" />
          </smtp>
          -->
          <smtp from="info@bumples.com">
            <network host="smtp.bumples.com" password="gr!77y09" userName="info@bumples.com"/>
          </smtp>
        </mailSettings>
      </system.net>
      <system.web>


    Jennifer Sheehan

    Monday, November 3, 2014 10:10 PM

Answers