473,609 Members | 1,901 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Configure Sql Connection String

54 New Member
Hello,

I created an asp.net application written in C#.It connects to a Sql Server database that is installed on the Client machine. It does not need internet connection to work and is hosted using Cassini Utilidev so the client is not required to have Internet connection. I am looking to create an Installation package that will install Sql Server Express, Create Database, Install Cassini UtiliDev, Install my program and register with Cassini. Since I dont know what the Server name will be after installing Sql Server Express how would i write my connectionstrin g in the web.config file?

Thank You
Feb 3 '10 #1
0 1221

Sign in to post your reply or Sign up for a free account.

Similar topics

2
2395
by: Andreas Dahl | last post by:
Hi, I use urllib to retrieve data via HTTP. Unfortunately my program crashes after a while (after some loops) because the connection timed out. raise socket.error, msg IOError: (60, 'Connection timed out') I am not so familiar with python, but is there a possibility to configure the 'waiting time'? Or how can I handle such an event? To skip
1
6699
by: Lance | last post by:
Hi, Is there a way to control the connection pools using SQL Server 2000? I know how to alter the connection string to do this(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguid e/html/cpconconnectionpoolingforsqlservernetdataprovider.asp), but I am looking for a setting in SQL Server that allows me ultimate control over all connections to the DB. eg: I'd like all connection pools to timeout after 5min of...
1
4380
by: Fred | last post by:
I just started using MySQL, and cannot find how to configure host access in the my.cnf file. I want to be able to allow access to a MySQL database from a remote host, and also from a particular network. How do you configure access of this sort? -Thanks
16
27899
by: MLH | last post by:
Using MS Access, I have attached to MySQL servers in other states and other countries on the other side of my router. But when I use the MySQL ODBC driver 3.51 to connect to a MySQL server on my own LAN, the driver tells me it cannot make the connection. Here are the ODBC driver connection parms: Data Source Name: (free field - name my "my linux box" will do nicely) Host/Server Name (or IP) - something like MSQLUserName@ServerName.net...
2
1278
by: Jim Heavey | last post by:
When I use the command to retrieve the information, nothing comes back, what am I doing wrong? Here is my code... private string connString = System.Configuration.ConfigurationSettings.AppSettings; I'm working on a WINDOWS application.
1
9518
by: Michael Swinarski | last post by:
I am working on setting up our new SQL Server 2005 servers. One of them will eventually be our Replication Distributor. However when I attempt to set this up within the wizard, I get the following error: ------------------------------ TITLE: New Publication Wizard ------------------------------ SQL Server could not configure 'Server\Instance' as a Distributor. ------------------------------
14
3046
by: david | last post by:
I have developed web forms including login by using ASP.NET via HTTP. Now I want to secure the connection from client to the server via HTTPS. How can I configure the server or something else to make the change? Thank you David
3
2336
by: =?Utf-8?B?SGFtZWRfMTk4Mw==?= | last post by:
hi i have a asp.net website and i want to send mail from my site (in iis from my computer) to my mail(for example outlook),but how to configure my email seeting in my iis on my computer ? if possible guide me for configure my outlook for receive and show mails. thanks.
5
2385
by: alee | last post by:
Hi, I am trying to configure DNN 4.05.03 on VS 2005 (DotNet 2) But i am unable to get it working. I have followed the steps but i am being failed continuously. Here is the detail what i have done and where i get fail. I installed DNN 4.04.03 using VSI Installer. It installed successfully. I created a DNN Project with HTTP server and the address was
1
3583
by: Jim McCullars | last post by:
Greetings: Getting configure errors trying to build PHP 5.2.5 under Solaris 9. The configure command I use is this: ../configure --with-mysql --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-zlib-dir=/usr/local --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=/usr/local and I get this error:
0
8129
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8571
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8220
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8404
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6997
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5509
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4017
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
1667
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1386
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.