Sorry I have uninstalled sql express 2005 and inastalled sql 2005

Discussion in 'ASP.NET / ASP.NET Core' started by Dr. Kazemainy, Jun 18, 2008.

  1. Hi. I have uninstalled sql express from my computer and installed sql 2005. How can I change my web.config file to point to sql 2005?!
    Your help is highly appreciated
    Thanks in advance
    p.s. I have recently installed visual studio 2008 team system and this is my platform
     
  2. Hi,
    Post your conn sectionand I'll help you re-write it.
    Also provide your Conn string from your Control Panel but comment out the password here in the forums.
    Salute,
    Mark
     
  3. OK...Your conn string will look like this:


     
  4. Thank you very much but what do you mean by the second part? Becauase I have only one config file so whereelse can I use the second part?
    Thanks a lot for all tour kindness /emoticons/smile.gif
     
  5. The second part I added can be accessed by any code aware 2005 or 2008 IDEs.
    As an example, if I were creating a data connection to a ListView control in VS2008, it would find that.
    Salute,
    Mark
     
  6. Thank you very much for all your help /emoticons/smile.gif
     
  7. Hi here you are:
    Connection String 'Data Source=tcp:sql2k526.discountasp.net;Initial Catalog=SQL2005_741573_databank1;User ID=SQL2005_741573_databank1_user'
    Thank you very much
     

Share This Page