473,385 Members | 1,912 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,385 software developers and data experts.

ASP 2.0 Direct Connection Question

Hi

We are new to the world of ASP Development and I have a simple question - we
are starting a test development in ASP 2.0 Beta and we are building an
application using a Direct Connection to our database which obviously is
specific to our own network setup server names etc.

My question is when we have finally built our app and then want to deploy
our final web based solution to our client how do we/they change the "direct
connection" to point to their own server ? Is it simply a case of changing
a config file ?

Where do the "direct connection" parameters live in an ASP 2.0 solution ?

Thanks

Mike
Nov 19 '05 #1
1 1277
Hi Mike,

Welcome to ASPNET newsgroup.
Not very sure about the "Direct Conenction" you mentioned. As far as I
know, for connectionstring of the .net connection objects, we can store
them in web.config and programmatically retrieve them and set to our
connection object at runtime. Also, the configuration API in 2.0 has been
much improved, here are some articles describing on this:

#Configuration API Improvements in ASP.NET 2.0
http://www.devx.com/dotnet/Article/27562

In addition, for .NET2.0 or whidbey related issue, I also suggest you try
posting in the msdn web forum since there're many experienced community
members and some MS dev guys there:

http://forums.microsoft.com/msdn/

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)




--------------------
| Reply-To: "Mike" <mi******@nospam.nospam>
| From: "Mike" <mi******@nospam.nospam>
| Subject: ASP 2.0 Direct Connection Question
| Date: Mon, 4 Jul 2005 11:00:18 +0100
| Lines: 19
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| Message-ID: <#j*************@TK2MSFTNGP10.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 217.205.201.142
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP10.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:110239
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi
|
| We are new to the world of ASP Development and I have a simple question -
we
| are starting a test development in ASP 2.0 Beta and we are building an
| application using a Direct Connection to our database which obviously is
| specific to our own network setup server names etc.
|
| My question is when we have finally built our app and then want to deploy
| our final web based solution to our client how do we/they change the
"direct
| connection" to point to their own server ? Is it simply a case of
changing
| a config file ?
|
| Where do the "direct connection" parameters live in an ASP 2.0 solution ?
|
| Thanks
|
| Mike
|
|
|

Nov 19 '05 #2

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

Similar topics

12
by: CJM | last post by:
I'm setting up some web-based (ASP) reports that query an Access DB. I also want certain people to be able to access and manipulate the database directly. However, if the database is open in...
0
by: Dr. Strangedub | last post by:
I am looking for information on changing a configured Direct Connection (that uses RAS via serial port) via a C# Windows program. I want to change back and forth between Host and Guest (i.e.,...
5
by: Patient Guy | last post by:
In my reading of the Strict and Transitional DTD for HTML 4.0, the table row (TR) elements are contained within table section elements: THEAD, TFOOT, and TBODY. The table section elements are...
0
by: Thomas Zimmermann | last post by:
Hi I have an Accesss 97 database that imports data from an Oracle database. Some of the text fileds in the oreacle database have a fileds size larger than 255 characters. If I just link the...
2
by: Dave | last post by:
Hi, I am writing a c# application that using a directshow to play file and display it on my C# gui, its work just fine but when i try to open another thread in my c# application the file stop...
0
by: Andrew Emsley | last post by:
Hi, Does anyone know how I would programmatically create a new direct cable connection ("Communications cable between two computers") under WinXP in c#? Thanks Andrew
2
by: bill | last post by:
I am using vb.net and SQL Server 2000. Hopefully i will soon be using VB.net 2005. I would like to prevent users from having direct access to a SQL Server database, and require them to access...
5
by: Remco van Engelen | last post by:
Hello, I have a question regarding the ISO C grammar. The syntax of a direct-declarator reads (section A.2.2, page 413 in my copy; the (R1) is just to 'name' the rule for later reference): ...
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: 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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.