Link to home
Start Free TrialLog in
Avatar of ppeterso
ppetersoFlag for United States of America

asked on

TypeName property of ObjectDataSource 'ObjectDataSource1' could not be found on GoDaddy hosting account

I receive the below message on my GoDaddy hosted account.  My application works perfectly on my local pc and all else works except this one connection.  This objectDataSource1 is calling an .xsd/.xss under app_code.  The type specified in the TypeName property of ObjectDataSource 'ObjectDataSource1' could not be found.
Partial Code:
<asp:GridView ID="GridView1" 
    runat="server" 
    AllowPaging="True" 
    AllowSorting="True"
    AutoGenerateColumns="False" 
    DataSourceID="ObjectDataSource1" 
    Style="z-index: 100;left: 128px; position: absolute; top: 155px" 
    Width="850px" BackColor="White" CellPadding="4" 
    ForeColor="Black" GridLines="Vertical" PageSize="40">
         <Columns>
 
   <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
        SelectMethod="GetRideRequests" TypeName="ViewRidesTableAdapters.v_RequestRideTableAdapter">
    </asp:ObjectDataSource>

Open in new window

Avatar of OmerFarukZ
OmerFarukZ
Flag of Türkiye image

      <Columns> tag is missing?

try this:

<asp:GridView ID="GridView1"
    runat="server"
    AllowPaging="True"
    AllowSorting="True"
    AutoGenerateColumns="False"
    DataSourceID="ObjectDataSource1"
    Style="z-index: 100;left: 128px; position: absolute; top: 155px"
    Width="850px" BackColor="White" CellPadding="4"
    ForeColor="Black" GridLines="Vertical" PageSize="40">
</asp:GridView>


 
   <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
        SelectMethod="GetRideRequests" TypeName="ViewRidesTableAdapters.v_RequestRideTableAdapter">
    </asp:ObjectDataSource>
 
ASKER CERTIFIED SOLUTION
Avatar of David H.H.Lee
David H.H.Lee
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ppeterso

ASKER

I will test this out and get back to you if it resolves the issue.  Thank you for the quick response.
This worked!  Thank you, thank you.  I had to move my aspx forms up one level to a higher directory and then set that as an application in IIS settings.