Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Help ME- ObjectDataSourceHelp ME- ObjectDataSource
Previous
 
Next
New Post
1/24/2009 4:16 AM
 

Hai,

I got this error when i try to use objectdatasource.

The type specified in the TypeName property of ObjectDataSource 'ObjectDataSource_Tasks could not be found.

<asp:ObjectDataSource ID="ObjectDataSource_Tasks"
     runat="server"
     DataObjectTypeName="YourCompany.Modules.
                         GuestBook.GuestBookInfo"
DeleteMethod="GuestBook_Delete"
    InsertMethod="GuestBook_Insert"
    OldValuesParameterformatString="original_{0}"
    OnInit="Page_Load" SelectMethod="GuestBook_GetAll"
    TypeName="YourCompany.Modules.GuestBook.GuestBookController"
    UpdateMethod="GuestBook_Update">
<SelectParameters>
  <asp:Parameter DefaultValue="00" Name="ModuleId" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>

 

I followed http://www.codeproject.com/KB/custom-controls/Creating_A_DNNModule.aspx. Nothing miss in my code.

Plz help me

Regards

Fen

 

 

 

 

 

 

 
New Post
1/24/2009 2:42 PM
 

I wrote that tutorial. It's 3 years old so I recommend you use this tutorial instead:

Creating a DotNetNuke® Module using LINQ to SQL
http://www.codeproject.com/KB/aspnet/DNNLINQtoSQL.aspx

However, to answer your question, it appears you do not have the file "GuestBookController.vb" in your app_code directory.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
1/26/2009 4:34 AM
 

Hai Mike,

Thanks for the reply.....I have the file "GuestBookController.vb" in my app_code directory and it contains all the methods. Anyway i will check the new link....Hope it works...

 

Regards

Fenie Thomas

 

 
New Post
1/26/2009 4:38 AM
 

Hello ,

I am using VS 2005 and DNN 4.9.1. Please send me a link that works with this configuration.

Regards

Fenie Thomas

 
New Post
1/26/2009 12:02 PM
 

Fenie Thomas wrote

Hai Mike,

Thanks for the reply.....I have the file "GuestBookController.vb" in my app_code directory and it contains all the methods. Anyway i will check the new link....Hope it works...

 

Regards

Fenie Thomas

 

RESOLVED...the prob was that TypeName is split in two lines. SIMPLE MISTAKE.....but lost My Precious hrs...:(

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Help ME- ObjectDataSourceHelp ME- ObjectDataSource


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out