Good morning;

I have this VB windows app that has suddenly lost the My object. That is
to say, when I am running the program both in the IDE and as a current
executable, My.User.Name equals "" or null. This error appeared suddenly
when prior, the application worked fine.

One of the things I am seeing - in the app.config file_ is in the
ConfigSections/SectionGroup name/section name is the
'RequirePermission="false" is tagged as a "warning". The warning message
says that "The requirePermission attribute is not declared".

I am importing the system.configuration object into the application.

I also attempted to get the value of
system.configuration.sectioninformation.requirepermission by using the
examples in the help file 

Dim x as sectionInformation
Dim value as Boolean
Value = x.RequirePermission

but when I run this in the IDE, I get the error "Type
System.Configuration.SectionInformation' has no constructors" for the
value of x

Here is what I have done so far.

1. I have reinstalled VS2005 and .NET V2.0. 
2. Older executables of this program run ok as executables.
3. I have rolled back the program in VSS to an earlier version - still
have the same problem.

Any thoughts anyone?


Best regards,


Jerry
  

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to