473,785 Members | 2,506 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

application keys in web config (no taking new ones?)

hi Folk

this is frustrating as heck...

1. new keys are only showing 'Nothing' as their value...
2. VS.NET: rebuilding everything, restarted IIS, no bad XML, ...
3. old keys are still showing values (and can change and is reflected).
4.another developer just looked at this with me and we're looking at each
other just wondering what the heck is going on.
5. this is web.config at the virt. dir level.
6. just bounced server and can't see my new keys with Application.All Keys,
just the original keys from web.config?

figured it's some kind of cache issue, but not after I bounced the OS?
anyone have more of a clue than us?

rob
Dec 12 '05 #1
3 1261
Are you talking about appSettings values in the web.config that aren't
showing up in the Application object?

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"RobKaratza s" <Ro*********@di scussions.micro soft.com> wrote in message
news:5F******** *************** ***********@mic rosoft.com...
hi Folk

this is frustrating as heck...

1. new keys are only showing 'Nothing' as their value...
2. VS.NET: rebuilding everything, restarted IIS, no bad XML, ...
3. old keys are still showing values (and can change and is reflected).
4.another developer just looked at this with me and we're looking at each
other just wondering what the heck is going on.
5. this is web.config at the virt. dir level.
6. just bounced server and can't see my new keys with Application.All Keys,
just the original keys from web.config?

figured it's some kind of cache issue, but not after I bounced the OS?
anyone have more of a clue than us?

rob

Dec 12 '05 #2
hi Karl

yes.

it appears that somebody from our dev team deleted some Application.Add code
from Application_Sta rt in Global.asax.vb :(

everything was declared in web.config, but nothing showing? add the code:

Application.Add ("myMissingSett ing",
Configuration.S ettings.AppSett ings("myMissing Setting"))

and values now show up.

rob

"Karl Seguin" wrote:
Are you talking about appSettings values in the web.config that aren't
showing up in the Application object?

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"RobKaratza s" <Ro*********@di scussions.micro soft.com> wrote in message
news:5F******** *************** ***********@mic rosoft.com...
hi Folk

this is frustrating as heck...

1. new keys are only showing 'Nothing' as their value...
2. VS.NET: rebuilding everything, restarted IIS, no bad XML, ...
3. old keys are still showing values (and can change and is reflected).
4.another developer just looked at this with me and we're looking at each
other just wondering what the heck is going on.
5. this is web.config at the virt. dir level.
6. just bounced server and can't see my new keys with Application.All Keys,
just the original keys from web.config?

figured it's some kind of cache issue, but not after I bounced the OS?
anyone have more of a clue than us?

rob


Dec 12 '05 #3
Yes, I was going to say that appSettings don't automatically get put into
the Application object. You should check any HttpModule, Global.Asax or
custom confirugrations you have to see where the working ones are being
loaded, and add the not-working ones to it.

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"RobKaratza s" <Ro*********@di scussions.micro soft.com> wrote in message
news:AC******** *************** ***********@mic rosoft.com...
hi Karl

yes.

it appears that somebody from our dev team deleted some Application.Add
code
from Application_Sta rt in Global.asax.vb :(

everything was declared in web.config, but nothing showing? add the code:

Application.Add ("myMissingSett ing",
Configuration.S ettings.AppSett ings("myMissing Setting"))

and values now show up.

rob

"Karl Seguin" wrote:
Are you talking about appSettings values in the web.config that aren't
showing up in the Application object?

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"RobKaratza s" <Ro*********@di scussions.micro soft.com> wrote in message
news:5F******** *************** ***********@mic rosoft.com...
> hi Folk
>
> this is frustrating as heck...
>
> 1. new keys are only showing 'Nothing' as their value...
> 2. VS.NET: rebuilding everything, restarted IIS, no bad XML, ...
> 3. old keys are still showing values (and can change and is reflected).
> 4.another developer just looked at this with me and we're looking at
> each
> other just wondering what the heck is going on.
> 5. this is web.config at the virt. dir level.
> 6. just bounced server and can't see my new keys with
> Application.All Keys,
> just the original keys from web.config?
>
> figured it's some kind of cache issue, but not after I bounced the OS?
> anyone have more of a clue than us?
>
> rob


Dec 12 '05 #4

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

Similar topics

1
7755
by: José Joye | last post by:
Hello, I have an assembly that is used by a VB6 application. This application can be a normal exe or an ActiveX (called through CCW). My assembly needs to get extra info from a config file. In order to hide it from the VB client, I want to link the config file to my assembly and not to the applicaction. In that sense, the config file will be called <myAssemblyName>.dll.config and will be located in the same directory as my assembly dll.
9
3006
by: Marina Anufreichik | last post by:
Hi, After deploymnet web application on web server I can access page on local machine and login fine but when I'm trying to access web site from remote machine I can see login page, but when I'm trying to login with correct credentials it give me error: Server Error in '/PDVMgr' Application. ----------------------------------------------------------------------------
2
1174
by: Stephen | last post by:
Hi, I have developed my application using VS.NET and used project properties to both IE and Netscape. I am testing my application on IE and Netscape. The pages appear perfect on IE but totally messed up on Netscape. can anyone please suggest me how to solve this problem? Thanks, Stephen
10
1820
by: Steve Taylor | last post by:
I am having trouble understanding the ASP.NET application boundaries. Here's my setup: 1. Win2003 Server with IIS 6 and an application defined at the root "SalesNow" (www.salesnow.com). 2. A Default.aspx at the root which redirects the user to "Pages/Main.aspx" using javascript window.location. 3. On the Pages/Main.aspx page a HyperLink control which I add a javascript onclick event which does the following: - NewLeadWin =...
7
1321
by: Edward Yang | last post by:
In my test, I have two web applications app1 and app2, and I configure them as follows in IIS: $/comboapps |--web.config |--bin | app1.dll | app2.dll |--app1 | form1.aspx
7
6149
by: Steven Cliff | last post by:
I have started to use the new Enterprise Library (Jan 06) and have set up a skeleton project using the DAAB. This all seems to work fine apart from when I come to secure the app.config file via encryption. I have encrypted the connectionsettings block in the config file but obviously when I come to deploy the solution to other PC's, it cannot read the block as it doesn't have the keys to decrypt. I understand that as far as ASP.NET...
5
2471
by: Chris Dunaway | last post by:
I have an application which is installed on a network share to be run from one or more workstations. I have granted trust to the applications on the workstations and the appropriate permissions on the shared folder and the user's can execute the app with no problem. I do have a problem, however, after the application starts. In the application's .config file, the connectionStrings section of the file is encrypted upon first run of the...
16
1844
by: eSolTec, Inc. 501(c)(3) | last post by:
Thank you in advance for any and all assistance. I'm looking for a way to programmatically retrieve the following if possible: Windows Installation Key or COA from the registry Windows installed applications, like: MS Office 97-2003 MS FrontPage MS Word MS Works
0
895
by: perplexed | last post by:
I have a website that will contain several web apps at some point. The website is actually an ASP.NET 2.0 web app. I've compiled a DLL and have a bin folder on the web server. There is only one DLL at the moment named mysite.dll. I will put future web apps (?) in subfolders of this site but may later on move them into their own root folder (once I'm on a dedicated server). I'd like recommendations for the best way to go about setting...
0
9647
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
9485
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10356
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...
0
10161
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8986
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
5390
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
4058
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3662
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2890
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.