.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Who will create Super admin account?

Posted By:      Posted Date: October 21, 2010    Points: 0   Category :ASP.Net

On admin side how to create first secure admin account when there is no users/admin exists  without manuall entry ?

On any website how we can create Super admin account who will handle all the things? Except the entry in db manually. I c# or vb.net




View Complete Post

More Related Resource Links

ASP.Net account deleted. How to create it again?


 Hi I have created an intranet application using ASP.Net/IIS.

I normally need to web share the folder and allow full permission to ASP.Net user account.

However, I carelessly deleted this account. How to create it again ?

Pls help.... thanks.


What is the best way to create user account for big group of people?


I need to create individual account for a big group of people (around 200) from an Excel spreadsheet. What is the best practice? It will take too much time to create account using web form. I think there must be a way to do it. Please advice. I tried to use Stored procedures created by ASP.NET. NOT SURE whether it is a good idea.


Object Cache: The super user account utilized by the cache is not configured. This can increase the

Hi im having the following error in the windows event viewer Object Cache: The super user account utilized by the cache is not configured. This can increase the number of cache misses, which causes the page requests to consume unneccesary system resources.  To configure the account use the following command 'stsadm -o setproperty -propertyname portalsuperuseraccount -propertyvalue account -url webappurl'. The account should be any account that has Full Control access to the SharePoint databases but is not an application pool account.  Additional Data:  Current default super user account: SHAREPOINT\system after this the computer starts working slowly and slowly The account that the log shows is the aplication pool account of the first site collection I created   I followed the instrucctions in this link: http://technet.microsoft.com/en-us/library/ff758656.aspx I set new accounts to the superuser and super reader I also tried using the same account that the first error showed has superuser and super reader However  I always get this error when I try to access the Site Collection after performing this The user does not exist or is not unique.<nativehr>0x81020054</nativehr><nativestack></nativestack> In the sharepoint log I get this same error plus this Could not get token super user token, reverting to system account.&

Unable to create company account in ax 09

Hi All, I am using ax 09 sp1 with IND Localization standard(Base) package. when i tried to create an company from administrator/Company account it create the company.but when  again i reopen the same form company account  doesnt exist their.after that i checked in SQL server record is their but its not showing in AX(front End). i tired with different SQL server also but same issue persist. kindly suggest me the solution  or cause behind this. I am looking forward for response asap.

Create user account for web authentication from non-web/local application

Hi, I have an application which is installed on local pc and is using SQL db. It is a client management system where I want to add capability to register new clients and give them access to my web site which is sharing the same SQL database with local application. At the moment clients can register on the web site and I have ASP.NET authorisation system set up with aspnetdb_user, aspnetdb_membership and etc tables. But sometimes it happens that I need to register clients on my local application on PC and ideally would like that registration to create online account for the client as well. Then I want to be able to send him user id and password by email and let him know that he has been registered in my database and online account is ready for him as well. Basically I want to have full synchronization between asp.net membership service and local application through SQL db. As I said both online and local apps are shareing the same SQL database. I would like to know if it is possible at all and what would be the best practice to implement it. Thank you.  

create new email account in asp.net script

helloi want asp.net script to create new email account. i mean there should b registration form like gmail or yahoomail and my user can create their own account under my domain name.please help me.my client has extreme need this.thanks

Feature working only under Admin account



I had created a feature and activated in the site under the Admin account. The feature was to count the number of files under each sub folder. The feature got activated successfully. I tested the code under the Admin account, and it was working. I tried to test with other users, who had design and contribute access. But when the other users checked, the count was not showing.

This is the code I have used:


  public static void GetOpenItems()
 using (SPSite site = new SPSite(Constants.url))
using (SPWeb currentweb = site.OpenWeb())
 SPListCollection mylists = currentweb.GetListsOfType(SPBaseType.DocumentLibrary);
 for (int q = mylists.Count - 1; q >= 0; q--)                          
 SPList list = mylists[q];

 if (!list.Hidden)
currentweb.AllowUnsafeUpdates = true;
SPFolder folder = list.RootFolder;
SPView curview = list.Defau

How to create separate login account for members ?


I have developed a web application in which i manage details of different companies,,,for that i as admin add companies and their details in my database...right now my role is administrator in my web application

The problem is everytime i have to update company details and other information

I want companies to update their own information...

so how i can create a role and create usernames for companies so that they can login to their individual accounts and update the company information by themselves ?

One important thing of my requirement: One company can have multiple usernames accounts...

How to accomplish this ? please guide me ...

not able to create a new web application with farm account



I installed sharepoint 2010 on windows 2008 R2 machine. I used the farm account to configure the farm as per the documentation. When i logged in to the central admin application using farm account, "New" button (to create a new web application) is disabled under "Manage Web applications".  farm account is not added to the administrator group of sharepoint server.

The "New" buttons gets enabled if i run "Internet explorer" as administrator. Please advise what could be the solution to fix this.



Windows PGM socket access error with non-admin account




I'm trying to use PGM sockets to send data. I can listen and receive data fine from a PGM socket using a non-admin account, but when I try to create a socket to send data I get an exception at this step:

socket.Bind(new IPEndPoint(IPAddress.Any, 0));

The exception is:

An attempt was made to access a socket in a way forbidden by its access permissions

Note that if I run the same code under an admin account it works fine. Is there a way to create a sender PGM socket without running under an admin account?

Object Cache: The super reader account utilized by the cache does not have sufficient permissions to

Hi Just created a site collection on freshly installed SP2010 server and I get this error in the even log when I created site collection ( timing could be a coincidence) Message is as bellow which does say what needs to be done but need more info on portalsuperreaderaccount account before using the suggested solution. ( Note the stsadm although) Object Cache: The super reader account utilized by the cache does not have sufficient permissions to SharePoint databases. To configure the account use the following command 'stsadm -o setproperty -propertyname portalsuperreaderaccount -propertyvalue account -url webappurl'. It should be configured to be an account that has Read access to the SharePoint databases. Additional Data: Current default super reader account: NT AUTHORITY\LOCAL SERVICE Regards Yogesh

Site Collection Admin Unable to create subsite


Hi All,

We are running into a wierd kind of problem, we had a site called A, A had to be split for two different user base so A was exported into B. Now we have two sites A & B with its own user groups.

Site collection admins of B are not able to create subsites in B. But site collection Admins of both A & B are able to create subsites in either sites.

if site collection admin of  B is given read/write control on Site A then he is able to create sites in B (totally wierd)

Can anybody help me identifying what is happening here and points to start our troubleshooting.  

Thanks in Advance,



How Do You Create a Process Account?


I'm having problems getting replication to work in MSSQL 2005. I've create a publisher and subscriber, but when the subscriber is syncing with the publisher, I get the following error:

Agent message code 14080. The remote server "EPSTRM01" does not exist, or has not been designated as a valid Publisher, or you may not have permission to see available Publishers.

The options I used for the publisher are "run under the SQL Server Agent Service account" and "impersonate the process account". I would like to create Process Account to run under Snapshot Agent Security, but I'm not able to get anything working here. How do I create a process account?



Johan Cyprich

Trying to create a Computer Account for a specific user?



We are coding an intranet site using .net DirectoryServices and AccountManagement to create a computer account in Active Directory with access rules allowing a specific user to add the computer to the domain. Has anyone had any success using the AccessRuleFactory method to set access rules? I'm stumped with a few aspects. So far, this is what we have...

Using AccountManagement, we can easily add the computer:

                Dim dsamComputer As New ComputerPrincipal(dsamDomainContext)
                dsamComputer.Name = UCase(txtComputerName.Text)
                dsamComputer.SamAccountName = UCase(txtComputerName.Text) + "$"
                txtDesc.Text = Trim(txtDesc.Text)
                If txtDesc.Text.Length > 0 Then dsamComputer.Description = txtDesc.Text
                dsamComputer.Enabled = True

Next we get the DirectoryEntry and ObjectSecurity for the computer. Also dim the ACE object:

                Dim deComputerDirectoryEntry As DirectoryEntry = dsamComputer.GetUnderlyingObject
                Dim adsComputerObjectSecurity As ActiveDirectorySecurity = deComputerDirectoryEntry.ObjectSecurity
                Dim adarAccessControlEntry As ActiveDirectoryAccessRule

SharePoint 2010 Central Admin--Create/Extend Web Application button on Ribbon are disabled


My Dev Environment is  SharePoint 2010 on WIN 7. I have 2 users

1) Built in Administrator- Member of FARM Administrator

2) Dinesh02\Dd – Also member of FARM Administrator

Now when I Sign-in with my account and use Manage Web Application link, on the Top Ribbon none of Button is enabled. I can not create Web APP nor Extend it.  When I select web application from list, some button are enabled but not all. Also I can see role as Contributor

This does not happen When I sign-in with Built-in\Administrator account.

Create ActivityEvent Programmatically by Non Admin


I am trying to create a Custom Activity Application to get activity feeds from a Sharepoint List  . And on Event Receivers  create Activity event  . Problem with this approach is ActivityEvent.CreateActivityEvent only works for Admin Users . Is there a way non admins can create activity events?


Thanks in advance


Workflow doesn't strat automaticaly under non admin user account.



I need an email to be send to specified e-mail when an item is change by any user.

I ticked "Automatically start this workflow whenever an item is changed".

When I make any changes in the field by admin account workflow automatically starts, no problems with it.

But when I make any changes in the field by any other user account workflow doesn't start automatically. I still can start it manually but I need it to start automatically.

Thank you.


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend