Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

Can not access MS SQL server remotly

andrew's Avatar

andrew

01 Mar, 2011 12:46 PM

Hi there

I have setup an app and published it. Using the DB connection string provided i'm trying to connect to my database remotly from by debug build. I can access the SB in SQL management studio and add the tables etc.
When i run my application i get an error about connecting to the DB.

I'm using Castle ActiveRecord in my implementation.

Any suggestions?

Thank you

  1. Support Staff 1 Posted by friism on 01 Mar, 2011 05:53 PM

    friism's Avatar

    Can you provide a more specific error message? Also, does it work if you push your code to AppHarbor?

  2. 2 Posted by andrew on 02 Mar, 2011 11:02 AM

    andrew's Avatar

    Thank you for getting back to me.
    Sorry I was being an idiot. I had pasted the connection string wrong. I was using the app with a local DB and had left the DataSource= in before the connection string.

    I felt really stupid when I found it.
    I can now confirm that i have the app running on AppHarbor and it works like a dream. Very simple and easy to use.

    Keep up the good work guys.

    I would also just like to say i was not keen on git at first but after using it for a while i really like it.

  3. Support Staff 3 Posted by friism on 02 Mar, 2011 05:00 PM

    friism's Avatar

    Great, happy you got it going and thanks for the encouragement!

  4. friism closed this discussion on 02 Mar, 2011 05:00 PM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac