steps I have done
hosting with discountasp.net
set the directory to applications
edited the web.config
ftp'd the files up to a directory on the web server called NetPolls13
trying to use the access database
here is my web.config
<configuration>
<configSections>
<section name="netPollsSettings" type="System.Configuration.NameValueFileSectionHandler, System, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089"/>
</configSections>
<system.web>
<compilation debug="true"/>
<trace enabled="false" pageOutput="true"/>
<customErrors mode="Off"/>
<authentication mode="Forms">
<forms name="NSurveyWebAuth" loginUrl="~/NetPollsAdmin/login.aspx" protection="None" timeout="60">
<credentials passwordFormat="Clear">
<user name="vivid" password="vivid"/>
</credentials>
</forms>
</authentication>
<xhtmlConformance mode="Legacy"/></system.web>
<location path="NetPollsAdmin">
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>
<netPollsSettings>
<!-- Path where you copied the netpolls results images -->
<add key="NetPollsImagesPath" value="/images/Bar/"/>
<add key="DalAssembly" value="NetPolls" />
<add key="DalProviderName" value="DataIllusion.NetPolls.DataProvider.OleDbProvider" />
<add key="NetPollsConnectionString" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\web\vividcreati\htdocs\netpolls13\db\access\netpolls.mdb"/>
-->
<!-- UNCOMMENT THIS SECTION FOR SQL Server / MSDE -->
<add key="DalAssembly" value="NetPolls" />
<add key="DalProviderName" value="DataIllusion.NetPolls.DataProvider.SqlClientProvider" />
<add key="NetPollsConnectionString" value="server=(local);Integrated Security=SSPI;database=NetPolls" />
</netPollsSettings>
</configuration>
I get the login
After the login I get:
Server Error in '/NetPolls13' Application.
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: Only elements allowed.
Source Error:
Line 27: <add key="DalAssembly" value="NetPolls" />
Line 28: <add key="DalProviderName" value="DataIllusion.NetPolls.DataProvider.OleDbProvider" />
Line 29: <add key="NetPollsConnectionString" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\web\vividcreati\htdocs\netpolls13\db\access\netpolls.mdb"/>
Line 30: -->
Line 31: <!-- UNCOMMENT THIS SECTION FOR SQL Server / MSDE --> |
Have tried various directory paths, copying it to the root, to no avail.
Suggestions?
Thanks
Pete