3
Answers

Sharepoint site showing system account instead of my username on the top right corner.

Yogesh Verma

Yogesh Verma

16y
15.4k
1
When i login with my username & password into sharepoint (2007) site, it displays as a "System Account" instead of my username on the top right corner of the website. What ever changes/Settings  i make inside the site for showing my username.


Thanks.
Answers (3)
0
red man

red man

NA 14 0 18y
Thanks a lot
0
Ganesh

Ganesh

NA 14 0 18y

1. Verify the namespace in Settings.cs. Say for example, if it is MyProject.Utilities, import this namespace where you are using. For example, if you are trying to get connectionstring in DataAccess.cs, then use "using MyProject.Utilities" in the top

2. You can get the connectionstring by the following code
Settings.Default. <name of your key>

note: you don't have to say Properties.Settings.Default

does this help? I had the same problem before but once I resolved namespaces conflict, everything started working. good luck