Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. SQL Express Installation Problem While Deploy .NET Poject

SQL Express Installation Problem While Deploy .NET Poject

Scheduled Pinned Locked Moved Database
databasehelpcsharpsysadmin
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ahsansharjeel
    wrote on last edited by
    #1

    Hi All I have developed an application in which I use SQL Express 2005 All of my reports in the application are linked to database via instance name [MachineName]\OPMS Now I want his SQL Express 2005, so that while deployment of the application, SQL Express 2005 create an instance name "OPMS" instead of SQLExpress which is infact default instance name. Can any one please help me because I am in trouble Regards Muhammad Sharjeel Ahsan

    F 1 Reply Last reply
    0
    • A ahsansharjeel

      Hi All I have developed an application in which I use SQL Express 2005 All of my reports in the application are linked to database via instance name [MachineName]\OPMS Now I want his SQL Express 2005, so that while deployment of the application, SQL Express 2005 create an instance name "OPMS" instead of SQLExpress which is infact default instance name. Can any one please help me because I am in trouble Regards Muhammad Sharjeel Ahsan

      F Offline
      F Offline
      Farhan Noor Qureshi
      wrote on last edited by
      #2

      First of all, do not hard code connection string. Secondly, you can install another version of SQLExpress with a different instance name.


      Farhan Noor Qureshi

      A 1 Reply Last reply
      0
      • F Farhan Noor Qureshi

        First of all, do not hard code connection string. Secondly, you can install another version of SQLExpress with a different instance name.


        Farhan Noor Qureshi

        A Offline
        A Offline
        ahsansharjeel
        wrote on last edited by
        #3

        The connection string is no hard coded, I have placed connection string in App.Config so that user may change that string after deployment, but the problem is that Crystal report hard code the instance name of database E.g. .\SQL2005 After deployment and during running of the application, crytal report search for that "SQL2005" So I want the SQL Express to have a user defined instance name which I first assign to All of report (under push or pull process) and then define that insance name to somewhere so that during installation of my application, tha instance name created while insallation of SQL Express, Please note that default insance name is SQLExpress but I do not need that name at all. More over, if I install SQL Express directly then it asks for instance name but while installing as a pre requisite, it create SQLExpress. Please reply asap Regards

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups