?
Solved

URGENT HELP - The type specified in the TypeName property of ObjectDataSource

Posted on 2006-12-01
6
Medium Priority
?
480 Views
Last Modified: 2008-01-09
Works fine on my local machine but when deployed:

Exception Details: System.InvalidOperationException: The type specified in the TypeName property of ObjectDataSource 'ODS_DS' could not be found.

help
0
Comment
Question by:ziwez0
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 19

Expert Comment

by:DreamMaster
ID: 18052295
Hi ziwez0,

The error you are getting would indicate something missing or maybe a connectionstring that is not correct. Are you by any chance using a SQL Express version on your local machine and not on the deployed site? Did you change your connectionstring?

Did you copy all the files, it could be that there is a class file missing for example, in this case that would be the ODS_DS class, either it isn't being compiled, or for some reason not being moved. It all depends on the way you deploy your site.

Regards,
Max.
0
 
LVL 13

Expert Comment

by:jeebukarthikeyan
ID: 18052352
hi,

copy the App_Code

and then run

b u d d  h a
0
 
LVL 2

Author Comment

by:ziwez0
ID: 18052462
done still same prob
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 11

Expert Comment

by:ethoths
ID: 18052634
Sounds like a referrenced dll is missing. Copy the bin folder also.
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 18052656
I'd simply check for any differences in available sites. There has GOT to be something missing.

Regards,
Max.
0
 
LVL 7

Accepted Solution

by:
mjmarlow earned 2000 total points
ID: 18052761
Try this:
1.  Compile your project.
2.  Publish web, but to a local folder
3.  Go into your working development version of the website and copy bin folder to the bin folder in the publish web folder.
4.  Remove the web.config file from your publish web folder.
5.  Remove all files except web config and and non asp.net content that is not part of the "publish web" fodler from your production server version of the web.  
6.  Copy the contents of your publish web folder to your production server.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

764 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