Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Error BC30311. Can't convert

Error BC30311. Can't convert

Scheduled Pinned Locked Moved Visual Basic
helpdatabasequestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sybux2000
    wrote on last edited by
    #1

    Hi, I write a small class to access to database. This class is refered in two project which are in the same solution. In Project2, I call a class in Project1 which contain a method that need in parameter my DBClass. All was ok still this week. Now everytime I compile the solution, I get the following error : error BC30311: Value of type 'InfoDB.DataAccess' cannot be converted to 'InfoDB.DataAccess'. Where should be the matter ?:confused: :confused: Thx for help. Sybux

    V 1 Reply Last reply
    0
    • S sybux2000

      Hi, I write a small class to access to database. This class is refered in two project which are in the same solution. In Project2, I call a class in Project1 which contain a method that need in parameter my DBClass. All was ok still this week. Now everytime I compile the solution, I get the following error : error BC30311: Value of type 'InfoDB.DataAccess' cannot be converted to 'InfoDB.DataAccess'. Where should be the matter ?:confused: :confused: Thx for help. Sybux

      V Offline
      V Offline
      Vipul Bhatt
      wrote on last edited by
      #2

      Try first coping this file elsewhere (thru' windows explorer) then delete it from your project and add it. Just give it a try.

      S 1 Reply Last reply
      0
      • V Vipul Bhatt

        Try first coping this file elsewhere (thru' windows explorer) then delete it from your project and add it. Just give it a try.

        S Offline
        S Offline
        sybux2000
        wrote on last edited by
        #3

        I've already try this. I even deleted all file named as my DLL and it's still not working :((

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups