PC Review


Reply
Thread Tools Rate Thread

How to change default sql server?

 
 
MXC
Guest
Posts: n/a
 
      21st Nov 2009
I am learning asp.net

while I try to add SQL server database to ASP NET Application or Web Site
project, I message show up:
Connections to SQL Server files(*mdf) require SQL server Express 2005 to
function properly.

My laptop has SQL server 2008 standard version insatlled.
I tried install SQL server Express 2005 but always failed.

How to change default sql server from SQL server Express 2005 to SQL server
2008?
I check web.config of new web site project, I do not find SQL server
Express 2005 in this file.

help needed

Thanks

 
Reply With Quote
 
 
 
 
Mr. Arnold
Guest
Posts: n/a
 
      21st Nov 2009
MXC wrote:
>
> My laptop has SQL server 2008 standard version insatlled.
> I tried install SQL server Express 2005 but always failed.


You alrady had SQL server on the machine. Why do you need Express SQL
server?

 
Reply With Quote
 
MXC
Guest
Posts: n/a
 
      22nd Nov 2009
When I try add a new item of SQL Server Database in App_Data or try to open
a mdf file, I get the error message:

Connections to SQL Server Files (*.mdf) require SQL Server Express 2005 to
function properly. Please verify the installation of the component or
download from the URl: http:go.microsoft.com/fwlink/?linkID=49251


"Mr. Arnold" <(E-Mail Removed)> wrote in message
news:%23$(E-Mail Removed)...
> MXC wrote:
>>
>> My laptop has SQL server 2008 standard version insatlled.
>> I tried install SQL server Express 2005 but always failed.

>
> You alrady had SQL server on the machine. Why do you need Express SQL
> server?
>


 
Reply With Quote
 
MXC
Guest
Posts: n/a
 
      22nd Nov 2009
My problem is solved.
VS check if the SQL Server Express 9 or higher version is installed when you
try to add a mdf file.
So even I installed SQL server 2009 standard version I still have to install
express version.
install SQL server 2005 express failed but install SQL server 2009 was
success.



"MXC" <(E-Mail Removed)> wrote in message
news799A253-A9F5-4E21-9FCB-(E-Mail Removed)...
>I am learning asp.net
>
> while I try to add SQL server database to ASP NET Application or Web Site
> project, I message show up:
> Connections to SQL Server files(*mdf) require SQL server Express 2005 to
> function properly.
>
> My laptop has SQL server 2008 standard version insatlled.
> I tried install SQL server Express 2005 but always failed.
>
> How to change default sql server from SQL server Express 2005 to SQL
> server 2008?
> I check web.config of new web site project, I do not find SQL server
> Express 2005 in this file.
>
> help needed
>
> Thanks


 
Reply With Quote
 
Alexey Smirnov
Guest
Posts: n/a
 
      23rd Nov 2009
On Nov 22, 6:16*am, "MXC" <mxchen...@hotmail.com> wrote:
> My problem is solved.
> VS check if the SQL Server Express 9 or higher version is installed when you
> try to add a mdf file.
> So even I installed SQL server 2009 standard version I still have to install
> express version.
> install SQL server 2005 express *failed but install SQL server 2009 was
> success.
>
> "MXC" <mxchen...@hotmail.com> wrote in message
>
> news799A253-A9F5-4E21-9FCB-(E-Mail Removed)...
>
>
>
> >I am learning asp.net

>
> > while I try to add SQL server database to ASP NET Application or Web Site
> > project, I message show up:
> > Connections to SQL Server files(*mdf) require SQL server Express 2005 to
> > function properly.

>
> > My laptop has SQL server 2008 standard version insatlled.
> > I tried install SQL server Express 2005 but always failed.

>
> > How to change default sql server from SQL server Express 2005 to SQL
> > server 2008?
> > I check web.config *of new web site project, I do not find SQL server
> > Express 2005 in this file.

>
> > help needed

>
> > Thanks- Hide quoted text -

>
> - Show quoted text -


Yes, you need SQL Express if you want to use mdf and App_Data.

You can use standard version too. In this case your database must be
created on the appropriate server and connection string (usually in
the web.config file) must be changed to that server.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change default Email server from OE to Outlook Plugger Windows XP General 2 20th Apr 2005 09:26 PM
Change default DNS server on client with 2 nics Nick Trenary Microsoft Windows 2000 Networking 11 30th Jul 2004 02:14 AM
Change default DNS server on client with 2 nics Nick Trenary Microsoft Windows 2000 DNS 11 30th Jul 2004 02:14 AM
Change Outlook default mail server Andrew Microsoft Outlook Discussion 0 10th Feb 2004 07:31 PM
2k server how to change default install directory JeffIT Microsoft Windows 2000 Setup 0 12th Sep 2003 08:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:46 AM.