Where do I set the database login info?
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngibuyspy' list.


John Nelson
When I uploaded to an ISP (who does support .NET and SQL) I had to create a
DB, a DBUsername and it's Password. All of these are different than
whatever the version is that was on my local machine using the default
setup.

So, where do I need to go to specify the SQL login information? DBName,
DBUsername and DBPassword?

Thanks!

John W. Nelson

Reply to this message...
 
    
Freeborn
In the web.config file like this

<!-- application specific settings -->
<appSettings>
<add key="ConnectionString"
value="server=dell-laptop;database=portal;uid=sa;pwd=x123;" />

</appSettings>
-----Original Message-----
From: John Nelson [mailto:Click here to reveal e-mail address]
Sent: Thursday, July 11, 2002 2:30 PM
To: aspngibuyspy
Subject: [aspngibuyspy] Where do I set the database login info?

When I uploaded to an ISP (who does support .NET and SQL) I had to
create a
DB, a DBUsername and it's Password. All of these are different than
whatever the version is that was on my local machine using the default
setup.

So, where do I need to go to specify the SQL login information? DBName,
DBUsername and DBPassword?

Thanks!

John W. Nelson

| [aspngibuyspy] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngibuyspy.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
    
Brian Desmond
Edit the web.config file, there will be a variable towards the bottom
called connection - change the UN and PW values.

--Brian Desmond
Click here to reveal e-mail address

-----Original Message-----
From: John Nelson [mailto:Click here to reveal e-mail address]
Sent: Thursday, July 11, 2002 1:30 PM
To: aspngibuyspy
Subject: [aspngibuyspy] Where do I set the database login info?

When I uploaded to an ISP (who does support .NET and SQL) I had to
create a
DB, a DBUsername and it's Password. All of these are different than
whatever the version is that was on my local machine using the default
setup.

So, where do I need to go to specify the SQL login information? DBName,
DBUsername and DBPassword?

Thanks!

John W. Nelson

| [aspngibuyspy] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngibuyspy.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 7/1/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 7/1/2002

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com