connected to database successfully though database name not defined in connectionstring RRS feed

  • Question

  • User-1450269598 posted

    Hello ,

    I am using Microsoft enterprise library 4.1 for dataaccess,

    i removed database name from connection string,

    in DatabaseFactory.CreateDatabase(CONNECTIONSTRING) also not showing database name,

    though it will connect to database succesfully and performed all database operation, i do not defined default database in dataconfiguration.

    from where it gets database ?


    Wednesday, April 14, 2010 2:36 AM

All replies

  • User-1636183269 posted

    Check on root folder level at any uplevel web.config is exists, this can be occur.

    Wednesday, April 14, 2010 3:15 AM
  • User-1450269598 posted

    Thanks Sandeep,

    i checked but project (config)  is at root level,

    Wednesday, April 14, 2010 9:08 AM