RevTorA's Profile User Rating: *****

Reputation: 78 Whiz
Active Posts:
255 (0.14 per day)
22-April 11
Profile Views:
Last Active:
User is offline Oct 30 2015 04:53 PM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Favorite Gaming Platform:
Your Car:
Dream Kudos:
Icon   RevTorA has not set their status

Posts I've Made

  1. In Topic: Can't Query local DB

    Posted 26 Jul 2014

    View Postandrewsw, on 26 July 2014 - 07:16 PM, said:

    A guru will probably want to see the latest version of the connnection-string you are attempting. In particular, you need to double-up on all the back-slashes in a normal string, or precede the string with @ to create a verbatim string literal @"like\ this".

    Anyway, good luck.

    Yeah, I've escaped all the backslashes. Hopefully someone who has worked with these before will show up.
  2. In Topic: Can't Query local DB

    Posted 26 Jul 2014

    View Postandrewsw, on 26 July 2014 - 05:57 PM, said:

    This (LocalDB\v11.0); is different to this (LocalDB)\v11.0;.

    I believe you also actually type '|DataDirectory|', not App_Data.

    The site you linked actually shows two different versions, I'll try it with the closing parantheses further to the left.

    View Postandrewsw, on 26 July 2014 - 05:57 PM, said:


    I've been reading documentation and tutorials for two days to no avail.

    How so? You only mentioned recently that you didn't consider the need for a connection string :whistling:/>/>

    As I said, the documentation stated that the server would first look for the db name (without the extension) in App_Data first before looking for connection strings in the webconfig.

    Edit: When using |DataDirectory| I get an "Illegal Character" error. Replacing (LocalDB\\v11.0) with (LocalDB)\\v11.0 just gives the same error as before. I guess I'll just have to wait for the gurus to get back on :\
  3. In Topic: Can't Query local DB

    Posted 26 Jul 2014

    Database.Open() can receive the connection string, but regardless I get an error now that I didn't get before when just opening "db".

    Connection string "Data Source=(LocalDB\v11.0);AttachDbFileName=App_Data\db.mdf;InitialCatalog=db;IntegratedSecurity=True;MultipleActiveResultSets=True" was not found. 

    Any ASP.NET gurus around that can explain how this is supposed to work, I've been reading documentation and tutorials for two days to no avail.
  4. In Topic: Can't Query local DB

    Posted 26 Jul 2014

    View Postandrewsw, on 26 July 2014 - 01:25 PM, said:

    What does your connection-string look like? Presumably this is in your Database.Open() method.

    I'm sad to say I was under the assumption that a db would be found in the App_Data folder without the need for a connection string. I'll try fixing that using what you gave me for a local db.

    Edit: I want to confirm if this looks right:
    var db = Database.Open("Data Source=(LocalDB\v11.0);AttachDbFileName=App_Data\db.mdf;InitialCatalog=db;IntegratedSecurity=True;MultipleActiveResultSets=True");

My Information

Member Title:
D.I.C Regular
Age Unknown
Birthday Unknown
Years Programming:
Programming Languages:
C++, C#, FreeBasic, Java, Python

Contact Information




Page 1 of 1
  1. Photo

    ShadowViper001 Icon

    29 Oct 2014 - 04:50
    Hey, I love your tutorial on the RPG Engine, it is really helpful for me. May I ask when you will do the animation tutorial using Visual Studios?
  2. Photo

    janitar1 Icon

    29 Oct 2013 - 22:19
    Hey you should finish the Tile Engine tutorial, it was excellent, it would be nice to see a Player Class get added to it :)
  3. Photo

    sNIk Icon

    22 Sep 2011 - 02:44
    hey dude, i love your tile engine articles. thats a very good point to start with. :) simple and clean as it should be.
    just hope you are going to release the other parts covering animations, collisions and so on. :)
  4. Photo

    C++Noobster Icon

    20 Jul 2011 - 10:41
    You need to help us people that ask questions in your Tile Engine fourm post things
  5. Photo

    ishkabible Icon

    18 May 2011 - 06:04
    the maps in crysis are pretty well open world which was very innovative for an FPS. far cry had an even more open world and was more RPG like. so far games like Oblivion and Fallout take the cake for open world :)
  6. Photo

    ishkabible Icon

    17 May 2011 - 20:48
    ya, i still want to play Crysis 2. in my opinion COD4 MW2 had better graphics than Crysis, not to mention how clean it was. Crysis always seemed like it was only made for computers that could play it on high or ultra. even on High some of the stuff doesn't look perfect.
  7. Photo

    ishkabible Icon

    15 May 2011 - 10:45
    im up for Battle Feild 3. Crysis 2 isn't gonna have better graphics than Crysis 1, they just cleaned it up a bit(models, textures) and made it more efficient. in all honesty Crysis has fallen off its thrown a little lately.
  8. Photo

    RevTorA Icon

    13 May 2011 - 20:41
    Thanks man. I was starting to feel I wasn't really helping much hehe, glad some think so.
  9. Photo

    ishkabible Icon

    13 May 2011 - 18:12
    hey new member!! your doing a grate job in the C++ forums keep it up!!
Page 1 of 1