Results 1 to 5 of 5

Thread: [RESOLVED] Aspnetdb.mdf moved

  1. #1

    Thread Starter
    Frenzied Member mickey_pt's Avatar
    Join Date
    Sep 2006
    Location
    Corner of the Europe :)
    Posts
    1,959

    Resolved [RESOLVED] Aspnetdb.mdf moved

    Hello

    In my project i use the aspnetdb.mdf to manage users/roles, and everyhting works fine, but today i had to change of machine, and i can't make the connection to work to this database...

    I have another connection to sql, and the connection string in the web.config, i only change this string and i can connect to the sql server, but i can't do nothing with the aspnetdb, can anyone tell me how to reconnect?

  2. #2

    Thread Starter
    Frenzied Member mickey_pt's Avatar
    Join Date
    Sep 2006
    Location
    Corner of the Europe :)
    Posts
    1,959

    Re: Aspnetdb.mdf moved

    No one...


  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Aspnetdb.mdf moved

    Did you change the connection string for the MDF then? What did you change it to? Is it in your web.config or is it just not there?

  4. #4

    Thread Starter
    Frenzied Member mickey_pt's Avatar
    Join Date
    Sep 2006
    Location
    Corner of the Europe :)
    Posts
    1,959

    Re: Aspnetdb.mdf moved

    Thanks for the answer.

    Yes i had to, to connect to the database that have all data of my website, i changed the web.config <conectionstring> (only have one connection string).

    I can connect with sqlserver and retrieve all data, that i want, but i can't connect to aspnetdb...

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Aspnetdb.mdf moved

    Hmm, I shouldn't have 'hinted' at this in my previous post.

    Dude, we are not psychic. Show us some code, and any error messages you're getting.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width