November 6, 2010 at 12:05 pm
I recently did an OS reinstall and tried to use my previously-working projects. I found that there was trouble connecting to the database for my aspnetdb.mdf. I have also tried a new project and adding a database to the project but I get the error 'a network related or instance specific...' error. I have tried reinstalling sql server 2005 express but still no luck. When I fire up sql server management studio i see the server name is the same as my computer name. I remember before the os reinstall that the server name was 'sqlexpress'.
Anybody got any ideas as to how I can create databases inside of visual web developer again?
Thanks in advance.
Andi.
December 3, 2010 at 4:37 pm
andi.keep (11/6/2010)
I recently did an OS reinstall and tried to use my previously-working projects. I found that there was trouble connecting to the database for my aspnetdb.mdf. I have also tried a new project and adding a database to the project but I get the error 'a network related or instance specific...' error. I have tried reinstalling sql server 2005 express but still no luck. When I fire up sql server management studio i see the server name is the same as my computer name. I remember before the os reinstall that the server name was 'sqlexpress'.Anybody got any ideas as to how I can create databases inside of visual web developer again?
Thanks in advance.
Andi.
It depends on your operating system go to the Windows folder in your C drive and go to Microsoft .NET folder in the .NET 2.0 folder you will find Aspnet_regsql.exe right click on it and you can create a new ASPNETDB.
Kind regards,
Gift Peddie
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply