Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jonas Berling 30 posts 50 karma points
    Jun 28, 2011 @ 20:44
    Jonas Berling
    0

    mySQL from classic ASP - disable Umbraco for test?

    I just installed Umbraco on my web hotel and Umbraco seems to work just fine. I also have a very small and simple web application in a subdirectory written in classic ASP and since I installed Umbraco that application does not work. After some investigation I discovered that I get a 500 error from the server as soon as I try to connect to my mySQL database. The code would look something like this

    set

     

    objConn = Server.CreateObject("ADODB.Connection")

     

    set rsDB = Server.CreateObject("ADODB.Recordset")

    objConn.Open myConnectionString <!-- Error happens here! -->

     

    The connection string is unchanged, so I'm quite sure it is ok. Classic ASP without the last line above works just fine. What could be the problem?

    For investigation and testing purposes I wonder if it is possible to disable Umbraco temporarilly? Remove the web.config or something?

    /Jonas

  • Jonas Berling 30 posts 50 karma points
    Jun 28, 2011 @ 20:53
    Jonas Berling
    0

    Sorry for the messy code snippet above. I've tried to edit my posting but I get an error message. It should be three simple lines of code.

    /Jonas

Please Sign in or register to post replies

Write your reply to:

Draft