objectdatasource assembly prefix

Posted on 2006-05-20
Last Modified: 2012-06-21
Hi All!


i m getting a "ambiguous reference" using objectdatasource in web application. To avoid this, the system ask me to apply a "assembly prefix".

how can i do that?

thx in advance.
Question by:FLUXWIRE
    LVL 11

    Expert Comment

    Can you post your code here?

    Author Comment

    what code? the objectdatasource? ok. but that is not the problem. the code is ok. already works. but i notice that in the availables datasources i got two. one that is in the application dll and another that is in the temporary dll.

    the first one is created when i use the IIS as web server and the second when i use the internal web server. How i am using the new model, web application, i suppose that this is a bug. i will report it in the correct forum.

    thx for you support.
    LVL 11

    Accepted Solution

    I have another quick suggestion, close your Visual Studio and clean out your VSWebCache folder, it can be found in C:\Documents and Settings\Your_User_Name\VSWebCache\list_of_all_your_projects.  Simply delete everything from there and try to compile and run your app.

    One more thing, try to swich your build mode, if you're currently in debug mode then switch to release and vise versa.

    I hope this helps.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    I have developed many web applications with asp & and to add and use a dropdownlist was always a very simple task, but with the new, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
    A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    737 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

    17 Experts available now in Live!

    Get 1:1 Help Now