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

The current configuration system does not support user-scoped settings.

What does mean this error?
The current configuration system does not support user-scoped settings.

I'm accessing a my.settings data from a DAL dll referenced by an ASP.NET
app. I've a similar other application that works well. The one with the
problem is an 1.1 upgraded, the one that works a native 2.0. I cannot find
differences :(


May 3 '06 #1
3 8800
Ok, it was very stupid to find.. :((
"Trapulo" <tr*****@noemail.noemail> wrote in message
news:eq**************@TK2MSFTNGP05.phx.gbl...
What does mean this error?
The current configuration system does not support user-scoped settings.

I'm accessing a my.settings data from a DAL dll referenced by an ASP.NET
app. I've a similar other application that works well. The one with the
problem is an 1.1 upgraded, the one that works a native 2.0. I cannot find
differences :(


May 3 '06 #2
Hi Trapulo,

Thank you for posting.

My.Settings object in VB.NET 2005 is normally used to access user-scope
settings. User-scope settings are often used by WinForm applications which
run under a specific user account. Since ASP.NET applications run under a
server account, using user-scope settings here is not appropriate.

If you are using ConfigruationSettings.AppSettings previously in your 1.1
DAL dll, you can now use ConfigurationManager.AppSettings after upgraded to
2.0 (remember to reference System.Configuration assembly first).

If you still want to access user-scope settings, you can use Profiles in
ASP.NET 2.0.

If there is anything unclear, please feel free to post here.

Regards,

Walter Wang
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

May 4 '06 #3
Thank you.

In fact I jsut selected "user" scope insted of "application" scope on my
project's settings.
"Walter Wang [MSFT]" <wa****@online.microsoft.com> wrote in message
news:OZ****************@TK2MSFTNGXA01.phx.gbl...
Hi Trapulo,

Thank you for posting.

My.Settings object in VB.NET 2005 is normally used to access user-scope
settings. User-scope settings are often used by WinForm applications which
run under a specific user account. Since ASP.NET applications run under a
server account, using user-scope settings here is not appropriate.

If you are using ConfigruationSettings.AppSettings previously in your 1.1
DAL dll, you can now use ConfigurationManager.AppSettings after upgraded
to
2.0 (remember to reference System.Configuration assembly first).

If you still want to access user-scope settings, you can use Profiles in
ASP.NET 2.0.

If there is anything unclear, please feel free to post here.

Regards,

Walter Wang
Microsoft Online Community Support


May 5 '06 #4

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

Similar topics

11
by: Ken Varn | last post by:
I want to be able to determine my current line, file, and function in my C# application. I know that C++ has the __LINE__, __FUNCTION__, and __FILE___ macros for getting this, but I cannot find a...
2
by: Thom Little | last post by:
I have an ASP.NET application that I am trying to run on my local server. I have administrator privilege. It contains: private void btnThomButton_Click(object sender, System.EventArgs e) {...
4
by: Kristof Despiere | last post by:
Suppose you have one domain, filled with a couple of users. What needs to be done now is I need to start a windows application from a webform by pressing a button on the webform (for example). ...
2
by: Terry Holland | last post by:
I posted a follow up to an earlier post but did not receive response so here it is again (with original post and response) > This could be because you are running the index service over this web...
9
by: shorti | last post by:
I reviewed a similar post on an older version of DB2. I was wondering if there was anything available now that is more precise in gathering the db2 version for the new v8 calls. I am running...
7
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...
9
by: KarlM | last post by:
After reading some articles regarding confuguration data I'm a bit confused. Where is the right place for storing configuration data? - XML-files? - registry? - INI-files? (from a users point...
3
by: Lattis | last post by:
I have the following problem: User A is logged in to a windows 2000 terminal. He runs an application which runs under the credentials of a different user. If I try to see the current user...
7
by: =?Utf-8?B?RG91Z2llIEJyb3du?= | last post by:
Hi I've written custom configuration section (inherits from System.Configuration.ConfigurationSection) to simplify the contents of the config file and to make life easier when accessing them in...
8
by: Bill McCormick | last post by:
<!-- When deploying the service library project, the content of the config file must be added to the host's app.config file. System.Configuration does not support config files for libraries. --> ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.