The type specified in the TypeName property of ObjectDataSource 'ObjectDataSource1' could not be fou

Discussion in 'Databases' started by adunfredco2, Mar 21, 2008.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Please Can anyone try to figure this error out. i am really stock in it. thanks

    The type specified in the TypeName property of ObjectDataSource 'ObjectDataSource1' could not be found.
    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.InvalidOperationException: The type specified in the TypeName property of ObjectDataSource 'ObjectDataSource1' could not be found.

    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:


    [InvalidOperationException: The type specified in the TypeName property of ObjectDataSource 'ObjectDataSource1' could not be found.]
    System.Web.UI.WebControls.ObjectDataSourceView.GetType(String typeName) +1329431
    System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1866
    System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +17
    System.Web.UI.WebControls.DataBoundControl.PerformSelect() +149
    System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
    System.Web.UI.WebControls.FormView.DataBind() +4
    System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
    System.Web.UI.WebControls.FormView.EnsureDataBound() +163
    System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +69
    System.Web.UI.Control.EnsureChildControls() +87
    System.Web.UI.Control.PreRenderRecursiveInternal() +50
    System.Web.UI.Control.PreRenderRecursiveInternal() +170
    System.Web.UI.Control.PreRenderRecursiveInternal() +170
    System.Web.UI.Control.PreRenderRecursiveInternal() +170
    System.Web.UI.Control.PreRenderRecursiveInternal() +170
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041


    this is my Web.Config file


    <configuration>
    <connectionStrings>
    <remove name='Personal'/>
    <add name='Personal' connectionString='Data Source=tcp:sql2k513.discountasp.net;Initial Catalog=SQL2005_475881_personal;User ID=SQL2005_475881_personal_user;Password=******;' providerName='System.Data.SqlClient'/>
    <remove name='LocalSqlServer'/>
    <add name='LocalSqlServer' connectionString='Data Source=tcp:sql2k513.discountasp.net;Initial Catalog=SQL2005_475881_personal;User ID=SQL2005_475881_personal_user;Password=******;' providerName='System.Data.SqlClient'/>
    </connectionStrings>
    <system.web>
    <pages styleSheetTheme='White'/>
    <customErrors mode='Off'/>
    <compilation debug='true'/>
    <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.0.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>
     
  2. Is it possible you didn't upload all of your code files to the remote server?
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page