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. Web Development
  3. ASP.NET
  4. ADODB not working in 64 bit machine

ADODB not working in 64 bit machine

Scheduled Pinned Locked Moved ASP.NET
sysadmindata-structuresdebugginghelp
8 Posts 3 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.
  • N Offline
    N Offline
    N Surendra Prasad
    wrote on last edited by
    #1

    Hi, I have an website which has few pages accessing data in an old method(The ADODB method) and few pages using the ODBC method. All the pages works fine in an 32 bit XP machine. We have a server with 64 bit, when i deployed this website in that server, i got the following error, Class not registered Exception Details: System.Runtime.InteropServices.COMException: Class not registered Stack Trace: [COMException (0x80040154): Class not registered] ADODB.ConnectionClass.Open(String ConnectionString, String UserID, String Password, Int32 Options) +0 When it tries to opdn the ADODB connection, it fails. I have installed MDAC 2.8 in that server. Do i have to do anything more to get it work. Any suggestions would be of great use.

    N.Surendra Prasad

    A V 2 Replies Last reply
    0
    • N N Surendra Prasad

      Hi, I have an website which has few pages accessing data in an old method(The ADODB method) and few pages using the ODBC method. All the pages works fine in an 32 bit XP machine. We have a server with 64 bit, when i deployed this website in that server, i got the following error, Class not registered Exception Details: System.Runtime.InteropServices.COMException: Class not registered Stack Trace: [COMException (0x80040154): Class not registered] ADODB.ConnectionClass.Open(String ConnectionString, String UserID, String Password, Int32 Options) +0 When it tries to opdn the ADODB connection, it fails. I have installed MDAC 2.8 in that server. Do i have to do anything more to get it work. Any suggestions would be of great use.

      N.Surendra Prasad

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      did you install 64bit .NET Framework on that system !!!

      cheers, Abhijit Check My Latest Article

      N 1 Reply Last reply
      0
      • A Abhijit Jana

        did you install 64bit .NET Framework on that system !!!

        cheers, Abhijit Check My Latest Article

        N Offline
        N Offline
        N Surendra Prasad
        wrote on last edited by
        #3

        Yes, 64 bit .net framework is installed in that machine.

        N.Surendra Prasad

        A 1 Reply Last reply
        0
        • N N Surendra Prasad

          Yes, 64 bit .net framework is installed in that machine.

          N.Surendra Prasad

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          How did you deployed the sites on IIS ? did you published the Sites from visual Studio?

          cheers, Abhijit Check My Latest Article

          N 1 Reply Last reply
          0
          • N N Surendra Prasad

            Hi, I have an website which has few pages accessing data in an old method(The ADODB method) and few pages using the ODBC method. All the pages works fine in an 32 bit XP machine. We have a server with 64 bit, when i deployed this website in that server, i got the following error, Class not registered Exception Details: System.Runtime.InteropServices.COMException: Class not registered Stack Trace: [COMException (0x80040154): Class not registered] ADODB.ConnectionClass.Open(String ConnectionString, String UserID, String Password, Int32 Options) +0 When it tries to opdn the ADODB connection, it fails. I have installed MDAC 2.8 in that server. Do i have to do anything more to get it work. Any suggestions would be of great use.

            N.Surendra Prasad

            V Offline
            V Offline
            Vimalsoft Pty Ltd
            wrote on last edited by
            #5

            Did you Embed you DAta access code into your page or you have a DLL for that ? if so did you deploy it with your Application ?

            Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za

            N 1 Reply Last reply
            0
            • A Abhijit Jana

              How did you deployed the sites on IIS ? did you published the Sites from visual Studio?

              cheers, Abhijit Check My Latest Article

              N Offline
              N Offline
              N Surendra Prasad
              wrote on last edited by
              #6

              Yes, i published it through Visual Studio.

              N.Surendra Prasad

              1 Reply Last reply
              0
              • V Vimalsoft Pty Ltd

                Did you Embed you DAta access code into your page or you have a DLL for that ? if so did you deploy it with your Application ?

                Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za

                N Offline
                N Offline
                N Surendra Prasad
                wrote on last edited by
                #7

                The Data Access code is embedeed in my page. I donot have a separate DLL for that.

                N.Surendra Prasad

                V 1 Reply Last reply
                0
                • N N Surendra Prasad

                  The Data Access code is embedeed in my page. I donot have a separate DLL for that.

                  N.Surendra Prasad

                  V Offline
                  V Offline
                  Vimalsoft Pty Ltd
                  wrote on last edited by
                  #8

                  hi I deploy my application like this. I after i Build the Project,i use the Copy Website feuture of VS to the Production Folder that i have Created, and that will be all i dont use Publish feuture, i think thats where you got a Problem. i know what the Publish do , but in that case i dont rely on VS to do it for me. try not to use Publish, i have a 64 machine and i dont have problems. Thanks

                  Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za

                  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