473,386 Members | 1,823 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.

Problem with connection strings being saved in the XSD files.

We have quite a few datasets that have been designed through the IDE. In
our application, we generate a connection string to the server based on
what the user configures the application for. The problem is, our
connection strings on the development machines are being saved into the
XSD files. While this isn't a huge issue, it's storing the password in
it as well. I have tried to make sure every dev's machine has the "Save
Password" option turned off, I also told it NOT to store the connection
string in the app.config, which it is not doing anymore...

How can I stop the studio from storing the connection string in the XSD
files? At least telling to stop storing the password would be acceptable
to me.

Visual Studio .Net 2005/Vb.Net
Feb 14 '07 #1
1 1359
What kind of database are you using? If using SQLServer, why not use
Windows authentication?

Having passwords anywhere in a file is a really bad idea. I'll be
interested to see if anybody provides a solution for you.

Robin S.
-----------------------
"CodeMonkey" <sp******@suck.comwrote in message
news:pb*****************@newssvr17.news.prodigy.ne t...
We have quite a few datasets that have been designed through the IDE. In
our application, we generate a connection string to the server based on
what the user configures the application for. The problem is, our
connection strings on the development machines are being saved into the
XSD files. While this isn't a huge issue, it's storing the password in it
as well. I have tried to make sure every dev's machine has the "Save
Password" option turned off, I also told it NOT to store the connection
string in the app.config, which it is not doing anymore...

How can I stop the studio from storing the connection string in the XSD
files? At least telling to stop storing the password would be acceptable
to me.

Visual Studio .Net 2005/Vb.Net

Feb 15 '07 #2

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

Similar topics

4
by: Mike Dole | last post by:
I'm working on a client - server application based on the 'How to Sockets Server and How to Sockets Client' code from the Visual Basic ..NET Resource Kit. Since I want to be able to send 'big...
1
by: amber | last post by:
Hello, I've just upgraded from .NET 2003 to 2005 and to SQL Server Express 2005. I've rebuilt my connection string. Before I used app.config, and now have the connection string is in the...
14
by: WebMatrix | last post by:
Hello, I have developed a web application that connects to 2 different database servers. The connection strings with db username + password are stored in web.config file. After a code review,...
4
by: Matt Colegrove | last post by:
I'm working on a web app that is published to a hosting service. I'm developing it on my local PC with VS 2005 and SQL Express. The hosting service DB is SQL Server 2000. I have two...
7
by: BillCo | last post by:
I need to Connect to an online mySQL database from Access using JET ODBC with no saved DSN. Anyone out there who as made this work and can give example of how it's done? I've seen lots of posts...
2
by: =?Utf-8?B?U2JhdGNodQ==?= | last post by:
How will i read connection strings in all web.config files in one particualr machine?
2
by: Mike P | last post by:
I've always put my connection strings in the web.config, but I've just recently seen an example of a connection string in a resource file. What are the advantages of doing this, and could you do it...
3
by: Harry Strybos | last post by:
Hi All I have a really strange problem occurring in my application. When I read in the application settings for connection strings the following happens: Here are my connection string settings...
0
by: BillE | last post by:
Using VB.NET, VS 2008 v9.0.21022.8 RTM, Windows Forms project. I have entered several settings of type (connection strings) on the Settings tab in the project properties screen. They all have...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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.