473,397 Members | 2,056 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,397 software developers and data experts.

Where's my settings file?

I've got a small web site and I've added some settings in appSettings
which appear in web.config. So far, so good.

I've just added a DLL to the site which was originally written to be
called from a Windows Forms app. The DLL has a settings file
(<name>.dll.config) when I use it in the Windows Forms app. I need to
change the settings but can't find the settings file on the ASP.NET
server. But it seems to be working.

How? And where are the settings?

I'm new to ASP.NET. So far, everything's going well but it's the
stuff not in books that keeps tripping me up!

Aug 31 '07 #1
2 2021
Hi,

In web.config's appSettings.
And you can even add old config-file to web project with minimal changes,
just update web.config with the string:

<appSettings file="<name>.dll.config"/>

Regards, Alex
[TechBlog] http://devkids.blogspot.com

sI've got a small web site and I've added some settings in appSettings
swhich appear in web.config. So far, so good.
s>
sI've just added a DLL to the site which was originally written to be
scalled from a Windows Forms app. The DLL has a settings file
s(<name>.dll.config) when I use it in the Windows Forms app. I need
sto change the settings but can't find the settings file on the
sASP.NET server. But it seems to be working.
s>
sHow? And where are the settings?
s>
sI'm new to ASP.NET. So far, everything's going well but it's the
sstuff not in books that keeps tripping me up!
s>
Aug 31 '07 #2
Cool, thanks.

On 31 Aug, 09:14, Alex Meleta <amel...@gmail.comwrote:
Hi,

In web.config's appSettings.
And you can even add old config-file to web project with minimal changes,
just update web.config with the string:

<appSettings file="<name>.dll.config"/>

Regards, Alex
[TechBlog]http://devkids.blogspot.com

sI've got a small web site and I've added some settings in appSettings
swhich appear in web.config. So far, so good.
s>
sI've just added a DLL to the site which was originally written to be
scalled from a Windows Forms app. The DLL has a settings file
s(<name>.dll.config) when I use it in the Windows Forms app. I need
sto change the settings but can't find the settings file on the
sASP.NET server. But it seems to be working.
s>
sHow? And where are the settings?
s>
sI'm new to ASP.NET. So far, everything's going well but it's the
sstuff not in books that keeps tripping me up!
s>

Aug 31 '07 #3

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

Similar topics

5
by: Sam Carleton | last post by:
It is my understanding that in .Net the registry is not the prefered place to save application settings. What has Microsoft put in place to replace it? I thought it was the .config file, but I...
4
by: harvie wang | last post by:
In .Net,Through System.Configuration.ConfigurationSettings Get Application's Settings I can't find the Configuration Value from Register Where the ConfigurationSettings saved? How to Read it...
7
by: Yongsub Eric Shin | last post by:
Hi. I'm just a beginner in ASP.Net. I started writing codes and I keep on getting this Runtime Error page, where it says "Description: An application error occurred on the server. The current...
10
by: Paul Cheetham | last post by:
Hi, I am developing an application that needs to store some machine-specific settings. The application is going to be published on the network in order to keep the clients on the latest version....
4
by: Dave | last post by:
I have some data values that will will rarely change over the life of the program. I don't think it is wise to save it in a database. Is it ok to save them in Properties.Settings if I have many...
3
by: v.davis2 | last post by:
Hi all, I am attempting to use Access97 as the database to hold the results of a python script. I seem to be able to make simple SELECT clauses work (like SELECT * FROM TableName), but have not...
4
by: Rob | last post by:
The app.config in VB 2005 appears to be riddled with bugs.... From solution explorer I right click on the Project | Properties... then I use the grid to add the app settings... AND they are saved...
3
by: Scott M. | last post by:
If I add a setting to my project in the settings designer and mark it as a user setting, and then access and modify the setting via code, where is the updated setting stored so that it won't be...
1
by: =?Utf-8?B?VGVycnk=?= | last post by:
I am using the My.Settings object to save user settings. During testing, I want to 'zero' out what has been saved to start with the defaults again. Where doies the framwork actually persist these...
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: 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
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...
0
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...
0
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,...

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.