Link to home
Start Free TrialLog in
Avatar of ViceroyFizzlebottom
ViceroyFizzlebottomFlag for United States of America

asked on

Attaching .mdf file to MSDE

I have an ASP.NET application that was given to me, written in C# and using an .mdf database. I can't seem to figure out how to get the database going though. I have seen references to an sp_attach command that should get the database registered with MSDE.
Question is: Is that approach valid (sp_attach) and if so, how exactly is the command implemented and from where? Secondly, everything seems to be configured right for the applciation to start (IIS seems to be working, VS.NET can start the application), but I have a button that does this:

System.server.transfer("anotherpage.aspx"); //- Or something to that effect, I don't have the source code in front of me

Anyway, after I have started the app through VS.NET and press that button, nothing happens. Could that be in anyway related to not having the .mdf file attached correctly?

Any help would be greatly appreciated.
Avatar of mcp_jon
Flag of Portugal image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial