ppeterso
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>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I will test this out and get back to you if it resolves the issue. Thank you for the quick response.
ASKER
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.
try this:
<asp:GridView ID="GridView1"
runat="server"
AllowPaging="True"
AllowSorting="True"
AutoGenerateColumns="False
DataSourceID="ObjectDataSo
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" OldValuesParameterFormatSt
SelectMethod="GetRideReque
</asp:ObjectDataSource>