Error when creating a SQLDataSource

Discussion in 'ASP .Net' started by BobLaughland, Feb 22, 2006.

  1. BobLaughland

    BobLaughland Guest

    Hi There,

    I have created an ASP .NET web site. Whenever I try to create an
    SQLDataSource I get the following message,

    'Following error occured while getting connection string information
    from configuration. "Cannot get web application service" '

    I have the following line in my web.config file, so I don't understand
    it,

    <connectionStrings>
    <add name="ConnectionString" connectionString="Data
    Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated
    Security=True;User Instance=True"
    providerName="System.Data.SqlClient" />
    </connectionStrings>
    BobLaughland, Feb 22, 2006
    #1
    1. Advertising

  2. BobLaughland

    BobLaughland Guest

    No worries, this problem has gone away!
    BobLaughland, Feb 22, 2006
    #2
    1. Advertising

  3. BobLaughland

    Guest

    BobLaughland wrote:
    > No worries, this problem has gone away!




    hey - how did you resolve this ???

    cheers
    , Feb 27, 2006
    #3
  4. BobLaughland

    BobLaughland Guest

    Can't quite remember, but I think I recreated the connection using an
    SQLDatasource.

    I think I did something dodgy when I was mucking around and the
    settings probably went a bit funny.
    BobLaughland, Feb 28, 2006
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ravi Ambros Wallau
    Replies:
    0
    Views:
    4,085
    Ravi Ambros Wallau
    Jun 1, 2005
  2. J. Jespersen
    Replies:
    4
    Views:
    1,861
    Kevin Spencer
    Oct 11, 2005
  3. Jesse Liberty
    Replies:
    4
    Views:
    5,188
    SoftwareLogic
    Nov 22, 2011
  4. Ravi Ambros Wallau
    Replies:
    0
    Views:
    306
    Ravi Ambros Wallau
    Jun 1, 2005
  5. Vik

    Creating control parameters in SQLDataSource

    Vik, May 8, 2009, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    733
Loading...

Share This Page