Solved

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

Posted on 2009-04-13
4
1,941 Views
Last Modified: 2012-05-06
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

0
Comment
Question by:ppeterso
  • 2
4 Comments
 
LVL 3

Expert Comment

by:OmerFarukZ
ID: 24135488
      <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>
 
0
 
LVL 29

Accepted Solution

by:
David H.H.Lee earned 500 total points
ID: 24135522
Hi ppeterso,
It could be configuration issue. Have you set the folder as application in IIS?
Check this similiar asked thread:
http://www.tek-tips.com/viewthread.cfm?qid=1227255&page=1

If the proposed not resolve the issue, try to contact GoDaddy's support for further clarifications.
Hope it helps.
0
 

Author Comment

by:ppeterso
ID: 24139374
I will test this out and get back to you if it resolves the issue.  Thank you for the quick response.
0
 

Author Closing Comment

by:ppeterso
ID: 31569770
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.  
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now