473,386 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

VS 2005 & Express to SQL "005

kt
I am not sure if this is the proper place to put this query but we have had
no success elsewhere.

Creating a website using VS 2005 and using the "ASP .Net Configutration"
tool updates the database ASPNETDB.MDF. If we move the security and data
tables from Express to a SQL 2005 full version are there any issues other
than changing
the source/instance in the Web.Config file and the machine.config files as
referenced below.

Web.Config:
<add name="ASPNETDBConnectionString" connectionString="Data
Source=.\SQLEXPRESS;AttachDbFilename=|DataDirector y|\ASPNETDB.MDF;Integrated
Security=True;User Instance=True"
machine.config:
<add name="LocalSqlServer" connectionString="data
source=.\SQLEXPRESS;Integrated
Security=SSPI;AttachDBFilename=|DataDirectory|aspn etdb.mdf;User
Instance=true" providerName="System.Data.SqlClient" />

--
Thanks
Feb 17 '06 #1
1 1340
kt wrote:
I am not sure if this is the proper place to put this query but we
have had no success elsewhere.

Creating a website using VS 2005 and using the "ASP .Net
Configutration" tool updates the database ASPNETDB.MDF. If we move
the security and data tables from Express to a SQL 2005 full version
are there any issues other than changing
the source/instance in the Web.Config file and the machine.config
files as referenced below.

Web.Config:
<add name="ASPNETDBConnectionString" connectionString="Data
Source=.\SQLEXPRESS;AttachDbFilename=|DataDirector y|\ASPNETDB.MDF;Inte
grated Security=True;User Instance=True"
machine.config:
<add name="LocalSqlServer" connectionString="data
source=.\SQLEXPRESS;Integrated
Security=SSPI;AttachDBFilename=|DataDirectory|aspn etdb.mdf;User
Instance=true" providerName="System.Data.SqlClient" />


You shouldn't be needing to alter machine.config. THe full version
doesn't need to attach .mdf files, you just connect to the sqlserver
service using a connectionstring. As datasource you don't specify
..\SQLEXPRESS but the name of the server. You don't attache a file and
that's basicly it.

FB

--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Feb 17 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Subodh | last post by:
I'm trying to make a HTTP request to a Web server. The Perl module is executed in mod_perl on Apache 1.3 The code : ---------------- my $r = shift; my $browser = LWP::UserAgent->new( ); $url...
0
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager...
0
by: Dan | last post by:
Hi Friends: I create a Report (in ACCESS 2K) with Graph embeded on that, The Report and Graph are based on some fields of a query that have values with OPERATOR CHARACTERS set such as: "<= 1.007...
11
by: Dario (drinking coffee in the office…) | last post by:
The following program int main(){printf("%.2f\n", 90.625);} what it must print out? I try it on several compiler/operating system and I obtaing different results. On some compilers it...
9
by: Bernie Yaeger | last post by:
I'm trying to control the textbox keypress event to deal with a "." such that it disallows a second "." and no characters after 2 numbers beyond the "." (thus a currency value). I have no problem...
14
by: NormD | last post by:
We have a client-server app using Web Services on an IIS machine. The trace below shows that .NET is searching around for some things (e.g., SystemDrawing.DLL and System.Drawing.EXE) and taking a...
5
by: Philippe Martin | last post by:
Hi, Thanks to the NG, I got the script hereunder working. 1) I am not certain that the call to convert does much (checking the doc) 2) Can this be improved as far as the final image size in...
2
by: Chris Davoli | last post by:
I have written a web site (with other class projects) in VS.net 2003 (VB.Net). What does it take to convert to Visual Studio.Net 2005? Can the 2003 project just be opened up in 2005? Will that...
2
by: contractsup | last post by:
Environment: $ uname -a AIX <withheld2 5 000100614C00 $ db2level DB21085I Instance "<withheld>" uses "32" bits and DB2 code release "SQL08024" with level identifier "03050106"....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.