+1-888-365-2779
Try Now
More in this section

Forums / Set-up & Installation / Project creation problem with oracle

Project creation problem with oracle

10 posts, 0 answered
  1. Oscar
    Oscar avatar
    5 posts
    Registered:
    09 Dec 2007
    30 Jul 2009
    Link to this post
    I have installed a sitefinity 3.6 on a win2008 server with Oracle 10g following the "bullet proof guide" http://www.sitefinitywatch.com/blog/09-05-04/Bullet_Proof_Guide_to_Installing_Sitefinity_3_x.aspx , but when I try to create a new project I get this error:


    There was an error trying to connect to the Database Server:
    Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.

    Any ideas?



  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    30 Jul 2009
    Link to this post
    Hello Oscar,

    Please take a look at the following links which describes the same problem

    http://www.broculos.net/tutorials/badimageformatexception_was_unhandled/20080307/en
    http://social.msdn.microsoft.com/Forums/en-US/phoenix/thread/9a43e9a1-a744-4a1a-bb34-3604254c126b
    http://msdn.microsoft.com/en-us/library/k7137bfe(VS.80).aspx ( or file tip is valid in this case)

    System.BadImageFormatException: possible reason for this error could be  when you are trying to run Sitefinity on a 64-bit platform attempts to load a DLL that does not support native 64-bit execution. If the application.  To fix this, the application should run in 32-bit mode  and allowing the 32-bit dll to be accessed.


    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Oscar
    Oscar avatar
    5 posts
    Registered:
    09 Dec 2007
    31 Jul 2009
    Link to this post
    Does that mean that I also need to install the 32-bit oracle client on my server which already has the 64-bit client ?
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    31 Jul 2009
    Link to this post
    Hi Oscar,

    The error states that "This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed". It seems that you need to run in 32 bit mode or use another client mode.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  5. Oscar
    Oscar avatar
    5 posts
    Registered:
    09 Dec 2007
    31 Jul 2009
    Link to this post
    Hi Ivan,

    This error is misleading, I am already running IIS in 32 bit mode as suggested in another sitefinity forum, and I have followed all the steps in this guide http://www.sitefinitywatch.com/blog/09-05-0/Bullet_Proof_Guide_to_Installing_Sitefinity_3_x.aspx to install the cms . As far as I have read in other non-sitefinity forums I will have to install the 32bit client in this 64 bit server, which I really wouldnt like to do because it already has the 64 bit client on it and I dont know if they both can coexist. Please confirm if I have to do this to run sitefinity in a 64 bit platform, windows 2008 and oracle 10g.
  6. Vlad
    Vlad avatar
    498 posts
    Registered:
    15 Jul 2016
    05 Aug 2009
    Link to this post
    Hello Oscar,

    We haven't tried this, but I think it should be possible if you install the 32bit oracle client libraries in a different ORACLE_HOME.

    Regards,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  7. Oscar
    Oscar avatar
    5 posts
    Registered:
    09 Dec 2007
    05 Aug 2009
    Link to this post
    Thanks Vlad for your answer, but maybe I didnt do the correct question.... The question is .... In order to install sitefinity on a 64bit server with oracle, must I use the 32 bit oracle client libraries?
  8. Vlad
    Vlad avatar
    498 posts
    Registered:
    15 Jul 2016
    06 Aug 2009
    Link to this post
    Hello Oscar,

    Sitefinity itself is a platform independent, because it is a .NET Application. So it can work on 32 or 64Bit .NET Framework. The oracle client is unmanaged code, which depends on the platform.
    If you run the Sitefinity in 32Bit mode, you should use 32Bit Oracle client. In case you run the Sitefinity project in 64Bit mode, the Oracle Client should be 64Bit.
    If the above is true for you, and you still get this error, could you please send us more information about the error. You can look into the Sitefinity.log file in the ~/App_Data folder for the detailed error stack trace.

    Greetings,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  9. Oscar
    Oscar avatar
    5 posts
    Registered:
    09 Dec 2007
    06 Aug 2009
    Link to this post
    Hello Vlad,

    At the beginning I thought that sitefinity was a .net platform independent software and It would run smoothly on a 64 bit machine, but I had to configure it to run as a 32 bit app as suggested in this thread http://www.sitefinity.com/support/forums/sitefinity-3-x/general-discussions/win-2k8-and-64bit.aspx, If I enable this app to run as 64 bit I get this error

    HTTP Error 404.17 - Not Found

    The requested content appears to be script and will not be served by the static file handler.

  10. Vlad
    Vlad avatar
    498 posts
    Registered:
    15 Jul 2016
    07 Aug 2009
    Link to this post
    Hi Oscar,

    The mentioned thread (http://www.sitefinity.com/support/forums/sitefinity-3-x/general-discussions/win-2k8-and-64bit.aspx) describes problems only with the Sitefinity Project Manager with creating new project. However, the Sitefinity Web Site should run really smoothly on a 64 bit mode on Windows 2008/IIS7, and we are not aware of any issues there.

    As to the error 404.17 - Not Found your get,  it could not be related to Sitefinity. Seems it is thrown by the IIS and I suspect that something is wrong with the .NET Framework64 configuration on the IIS. May be reinstalling the .NET Framework could fix the problem. You can more information about this error in the internet, e.g.:

    http://www.google.com/search?hl=en&safe=active&rls=GGLG,GGLG:2006-01,GGLG:en&q=iis7+404.17&btnG=Search&aq=f&oq=&aqi=

    I am sorry for the troubles you have.
    Please do let us know how can we help you further.

    All the best,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
10 posts, 0 answered