After deploying the site to DiscountASP.net and an error has occurred like the following. Please help me. I'm a begginer. </o> > > Server Error in '/' Application. > ------------------------------<WBR>------------------------------<WBR>-------------------- > > Configuration Error > Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. > > Parser Error Message: The value of the property 'mode' cannot be parsed. The error is: The enumeration value must be one of the following: RemoteOnly, On, Off. > > Source Error: > > Line 18: <system.web> > Line 19: <pages styleSheetTheme="White"/> > Line 20: <customErrors mode="remoteonly"/> > Line 21: <compilation debug="false"/> > Line 22: <authentication mode="Forms"> > > Source File: E:\web\healingmiss\htdocs\web<WBR>.config Line: 20 > ++++++++++++++++++++++++++++++++++++++++++++++++++++++ Could anybody checkthe following "web.config" and let me kwow what's wrong? <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> <connectionStrings> <add name="personal" connectionString="Data Source=.Wsql2k503.discountasp.net ;Integrated Security=false;Initial Catalog=SQL2005_242817_sqldiscount ;UserID=SQL2005_242817_sqldiscount_user ;Password=0292shm" providerName="System.Data.SqlClient"/> <remove name="LocalSqlServer"/> <add name="LocalSqlServer" connectionString="Data Source=.Wsql2k503.discountasp.net ;Integrated Security=false;Initial Catalog=SQL2005_242817_sqldiscount ;UserID=SQL2005_242817_sqldiscount_user ;Password=0292shm" providerName="System.Data.SqlClient"/> </connectionStrings> <system.web> <pages styleSheetTheme="White"/> <customErrors mode="remoteonly"/> <compilation debug="false"/> <authentication mode="Forms"> <forms loginUrl="Default.aspx" protection="Validation" timeout="300"/> </authentication> <authorization> <allow users="*"/> </authorization> <globalization requestEncoding="utf-8" responseEncoding="utf-8"/> <roleManager enabled="true"/> <siteMap defaultProvider="XmlSiteMapProvider" enabled="true"> <providers> <add name="XmlSiteMapProvider" description="SiteMap provider which reads in .sitemap XML files." type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" siteMapFile="web.sitemap" securityTrimmingEnabled="true"/> </providers> </siteMap> </system.web> <location path="Admin"> <system.web> <authorization> <allow roles="Administrators"/> <deny users="*"/> </authorization> </system.web> </location> </configuration>
yep...sometimes case matters. J. L. Technical Support/IT Admin/MIS Developer Maxtop Enterprises Inc. http://www.maxtop.ca</CODE>
I think Joel meant try using 'RemoteOnly' instead of 'remoteonly'. People are trying to help here, your last message was a bit.... snippy
Yes. Web.config is case sensitive. It may be natural to the UNIX folks, but many Windows programmers have a hard time adjusting to unless you are from a C background. Bruce DiscountASP.NET www.DiscountASP.NET