p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 (http://p2p.wrox.com/book-beginning-asp-net-2-0-book-vb-isbn-978-0-7645-8850-1-c-isbn-978-0-470-04258-8-228/)
-   -   WroxUnited Install Problems with SQL2005 (http://p2p.wrox.com/book-beginning-asp-net-2-0-book-vb-isbn-978-0-7645-8850-1-c-isbn-978-0-470-04258-8/54293-wroxunited-install-problems-sql2005.html)

owhite February 20th, 2007 02:52 AM

WroxUnited Install Problems with SQL2005
 
I changed the connection strings to install the WroxUnited asp site and here is the message I get when I run the application by pressing F5:

Server Error in '/WroxUnited' Application.
--------------------------------------------------------------------------------

Unable to find the requested .Net Framework Data Provider.It may not be installed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Unable to find the requested .Net Framework Data Provider.It may not be installed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ArgumentException: Unable to find the requested .Net Framework Data Provider.It may not be installed.]
System.Data.Common.DbProviderFactories.GetFacto ry(String providerInvariantName) +1372023
System.Web.UI.WebControls.SqlDataSource.GetDbPr oviderFactory() +63
System.Web.UI.WebControls.SqlDataSource.GetDbPr oviderFactorySecure() +19
System.Web.UI.WebControls.SqlDataSourceView.Exe cuteSelect(DataSourceSelectArguments arguments) +120
System.Web.UI.WebControls.Repeater.GetData() +50
System.Web.UI.WebControls.Repeater.CreateContro lHierarchy(Boolean useDataSource) +232
System.Web.UI.WebControls.Repeater.OnDataBindin g(EventArgs e) +53
System.Web.UI.WebControls.Repeater.DataBind() +72
System.Web.UI.WebControls.Repeater.EnsureDataBo und() +55
System.Web.UI.WebControls.Repeater.OnPreRender( EventArgs e) +12
System.Web.UI.Control.PreRenderRecursiveInterna l() +77
System.Web.UI.Control.PreRenderRecursiveInterna l() +161
System.Web.UI.Control.PreRenderRecursiveInterna l() +161
System.Web.UI.Control.PreRenderRecursiveInterna l() +161
System.Web.UI.Control.PreRenderRecursiveInterna l() +161
System.Web.UI.Control.PreRenderRecursiveInterna l() +161
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210


is there someone who can help.here are my connection strings that are located in the web.config:

<connectionStrings>

    <add name="WroxUnited"
    connectionString="Data Source=localhost;INITIAL CATALOG=WROXUNITED;Integrated Security=true"
        providerName ="System.Data.sqlClient"/>
    <remove name="LocalSqlServer"/>
    <add name="LocalSqlServer"
    connectionString="Data Source=Localhost;INITIAL CATALOG=ASPNETDB;Integrated Security=true"
    providerName ="System.Data.sqlClient"/>
</connectionStrings>

Owen

DanM April 5th, 2007 09:32 AM

hi there,

Try making sure your provider names are capitalized as follows

System.Data.SqlClient

Rather, use a capital s for the s of SqlClient. That should get it working

dan

Dan Maharry
Read the feed at http://feeds.feedburner.com/dansarchive


All times are GMT -4. The time now is 10:44 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.