I had aproblem I had two
web site one of them with .net 3.5 and other with 1.0 and I want to run 1.0 in 3.5 but I couldnot and i tried to copy some section from 1.0 to 3.5 as
I copied this section
<add key="ConnectionString" value="data source=.;persist security info=True;user id=Sharp;Password=#Sharp;initial catalog=Sharp" />
<add key="ACProduct_Upload" value="SiteUploads/ACProducts/" />
<add key="ACPDF_Upload" value="SiteUploads/ACPDF/" />
<add key="ACCertifications_Upload" value="SiteUploads/ACCertifications/" />
<add key="Certifications_Upload" value="SiteUploads/Certifications/" />
<add key="flash" value="flash/" />
<add key="Product_Upload" value="SiteUploads/Products/" />
<add key="PDF_Upload" value="SiteUploads/PDF/" />
<add key="HTML_Upload" value="SiteUploads/HTML_Uploads/" />
<add key="WallPaper_Upload" value="SiteUploads/WallPapers/" />
<add key="News_Upload" value="SiteUploads/News/" />
<add key="mailserver" value="111.111.1.1" />
<add key="fromEmail" value="
[email protected]" />
</appSettings>
to 3.5 here
<add key="ACProduct_Upload" value="SiteUploads/ACProducts/" />
<add key="ACPDF_Upload" value="SiteUploads/ACPDF/" />
<add key="ACCertifications_Upload" value="SiteUploads/ACCertifications/" />
<add key="Certifications_Upload" value="SiteUploads/Certifications/" />
<add key="flash" value="flash/" />
<add key="Product_Upload" value="SiteUploads/Products/" />
<add key="PDF_Upload" value="SiteUploads/PDF/" />
<add key="HTML_Upload" value="SiteUploads/HTML_Uploads/" />
<add key="WallPaper_Upload" value="SiteUploads/WallPapers/" />
<add key="News_Upload" value="SiteUploads/News/" />
<add key="mailserver" value="192.168.6.3" />
<sectionGroup name="system.
web.extensions" type="System.
Web.Configuration.SystemWebExtensionsSectionGroup, System.
Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.
Web.Configuration.ScriptingSectionGroup, System.
Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.
Web.Configuration.ScriptingScriptResourceHandlerSection, System.
Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.
Web.Configuration.ScriptingWebServicesSectionGroup, System.
Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.
Web.Configuration.ScriptingJsonSerializationSection, System.
Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
<section name="profileService" type="System.
Web.Configuration.ScriptingProfileServiceSection, System.
Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="authenticationService" type="System.
Web.Configuration.ScriptingAuthenticationServiceSection, System.
Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="roleService" type="System.
Web.Configuration.ScriptingRoleServiceSection, System.
Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
<add name="Sharp" connectionString="Data Source=.;Initial Catalog=SharpHA;User ID=SharpHA;Password=#SharpHA;" providerName="System.Data.SqlClient"/>
</connectionStrings>
but this problem apear
Only one element allowed per config file and if present must be the first child of the root element.
please any one help me