.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

Register new managed account problem

Posted By:      Posted Date: September 22, 2010    Points: 0   Category :SharePoint

When i try to register managed account it is showing me the following error and not possible to create the managed account


The specified user 'accountname ' is a local account. Local accounts should only be used in stand alone mode.

Help please

View Complete Post

More Related Resource Links

Unable to Register Managed Account

Error occuring while registering a new Managed Account

The given key was not present in the dictionary.

Sharepoint 2010 Register Managed Account


I newly created an AD Domain user account.  I'd like to add it in Sharepoint 2010 Managed Accounts.  However, I got this error:

The specified user domain\user could not be found. Some or all identity references could not be translated.

I check on Activie Directory Users and Computers.  This account is there for sure.

How do I add this user account to managed accounts, so, I'll be able to use it for Application Pool.

Thank you!!


Problem with Dimension of type Account

Hi, I have a simple fact table where I have a dimension time and a dimension of type acount. The fact table looks like this FinanceKey AccountKey ProfitCenterKey DateKey DateAlternateKey ScenarioKey Amount 1 11 5 7308 2010-01-01 1 131 2 11 3 7308 2010-01-01 1 62115 3 11 0 7308 2010-01-01 1 27626 4 11 6 7308 2010-01-01 1 12 5 11 2 7308 2010-01-01 1 74316 6 11 7 7308 2010-01-01 1 14 7 11 5 7339 2010-02-01 1 147 The account dimension looks like this AccountKey AccountAlternateKey ParentAccountKey AccountName_en AccountName_de AccountType Operator CustomMembers ValueType CustomMemberOptions 1 1 NULL Statistical Accounts Statistische Kennzahlen Statistical ~ NULL Units NULL 11 11 1 Customer Count Anz. Kunden Balances ~ NULL Units NULL If I browse my cube I get no data for the measure amount. When I remove hte parent Account "Statistical Accounts" and ste the parent of "Customer Count" to NULL I will get the correct Customer count. Any idea?

Linked server and sensitive to register name of table. Problem with UPDATE.

Hi All. I try to work with table with "sensitive to register" name through Linked Server (MSSQL 2005/2008) and get the problem with UPDATE statement. Reason: MSSQL generates UPDATE statement with "un-quoted" table name. With SELECT/INSERT/UPDATE - no any problems. ----- Linked Database Information: 1. Firebird 2.5 2. OLEDB Provider: IBProvider v3 3. Database dialect: 3 Metadata: CREATE GENERATOR "GEN_ID_TableWithMixName1"; CREATE TABLE "TableWithMixName1" ( TEST_ID INTEGER NOT NULL, "Col" VARCHAR(100), DUMMY_COL INTEGER, CONSTRAINT "PK_TableWithMixName1" PRIMARY KEY (TEST_ID) ); CREATE TRIGGER "BI_TableWithMixName1_TEST_ID" FOR "TableWithMixName1" BEFORE INSERT AS BEGIN IF(NEW."TEST_ID" IS NULL)THEN NEW."TEST_ID" =GEN_ID("GEN_ID_TableWithMixName1",1); END; ------- MSSQL Test 1. MSSQL: select * from IBP_TEST_FB25_D3_V3...TableWithMixName1; IBProvider: Command_Execute   SELECT "Tbl1002"."TEST_ID" "Col1004",         "Tbl1002"."Col" "Col1005",         "Tbl1002"."DUMMY_COL" "Col1006"   FROM "TableWithMixName1" "Tbl1002" No Problem ------- MSSQL Test 2. MSSQL: delete from IBP_TEST_FB25_D3_V3...Tabl

Managed Account Password Changes Failing

<!-- [if gte mso 10]> <mce:style> I was troubleshooting a problem with the Profile Sync Service and discovered some permission problems.  I noticed that my monthly timer job (which is running daily now) for generating new passwords is failing.  Watching ULS while manually running the job returned some curious records. At the end of the list was an Access is Denied error which I assume – but am not convinced – is the problem.  The w3wp process is running under the farm admin account which is an db_owner of the SP_Config database.  If it needs more perms, please let me know what they are. There were other strange records returned by the ULS in the Database category.  These are, in order There was a warning that “A large block of literal text was sent to sql…” Slow Query Duration: 43.39… Slow Query Stack Trace-Managed:… ConnectionString: ‘Data Source=xxx;Initial Catalog=SP_Config…” and now for the winner SqlCommand: ‘BEGIN TRAN; EXEC … The SqlCommand had 78,111 characters (not an exaggeration) and is clearly malformed.  There was a single-quoted string:   ‘… EXEC @PutDepReturnValue = dbo.proc_putDependency @ObjectId0, @DependantId; IF (@PutDepReturnValue <> 0) BEGIN ROLLBACK TRAN; RETURN; END EXEC @PutDepReturnValue = dbo.proc_putDepend

managed account password changes with a RODC

We are using sharepoint 2010 with a RODC,  I was informed that we needed to changed the Farm Admin password, since the we are using the RODC I cannot cahnge the PW in sharepoint, I have to change the PW by having a Doamin Admin change the AD account password, then in  central admin > managed Accoutnts I use this "To set the stored password value to a current known value, select use existing password and enter a password value."  I can log on with the new password and it says welocme system account...  eveything seems to work..,  EXCEPT the lookup to "select people and groups" that are using FORMS Auth, I can now only get the NT Auth users and groups. How do I change the paswwords using a RODC and have everything work???

Register for COM Interop Problem


I am developing an class library application using .Net 2.0. In the  project property. I have  selected "Register for Com-Interop" property in VS2005 . I want to generate the target library as  64 bit DLL. So in the configuration manager I have selected the target platform as 64 bit.

While building the solution I get the following errors and warning and the build fails even though the DLL is generated but not the TLB.

WARNING : assembly 'mscorlib.dll' targets a different processor.

ERROR : C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(2720,9): error MSB3097: File "C:\ClassLibrary1\bin\x64\Debug\ClassLibrary1.dll" is not a valid assembly.

1. VS2005 is using csc.exe from Microsoft.NET/Framework and not Microsoft.NET/Framework64, not sure if this is a problem, How can I configure VS2005 to use csc.exe present in Framework64

2. Can someone let me know what command VS2005 is executing as a result of selecting "Register for COM Interop"

- Jainish

Account login problem


I have some problems with sahrepoint 2010 account management...

In my windows 7 i have 2 accounts: an administrator account (let's call it "admin") and a standard user (called "reader"). In the SP2010 central administration i have correctly added both accounts as "managed accounts". In my site i have modified the "site permissions": "admin" account was already in the "[Site collection name] Owners" group, and i have added the "reader" account to the "[Site collection name] Visitors" group.

When i open a SP website i have to login: let's say i log in as "reader". Then i want to log in as "admin", so i select "Sign in as a different user" in the top-right corner of the page. Now when i insert username and password of the "admin" account, i get some kind of error, as if the password is wrong (but i get no message, just the same window again asking me for username and password). At the third attempt, i get the 401 UNAUTHORIZED page. But when i close the page a re-open it, i result logged in as "admin", without having to insert username and password!

Is this a normal behavior? Otherwise, what could be the problem?

stsadm change in 2010? login as system account problem


I have installed SharePoint 2010 beta 2 on a HP Blade in a Domain Environment. SQL Server 2008 SP1 CU2 is on a seperate Blade. Installation and configuration went ok. Everything runs under my Domain-Admin Account (SQL, Farm, ...)

The first few sites went smooth, after a while i noticed that not my Domain-Admin Account was written in the top-right corner, but "System Account". I remembered that problem from MOSS 2007 and tried stsadm updatefarmcredentials. Result after 30 seconds of waiting:
Value cannot be null.
Parameter name: farm

To be exactly i tried: stsadm -o updatefarmcredentials -userlogin XXX -userpassword XXX

There is definatly no typo and i tried varios different things like with "" and without "", with -identitytype and withou, and so on..

When i change the Farm-Account at the GUI, to a normal Account, i see my Domain-Admin Account in the top right corner again instead of System Account. When i change back, the same problem occurs.

Im pretty sure i resolved the issue in 07 with the command written above. Did the syntax change? Do i have to use Powershell? It looks like i have to specify the farm somehow (even thou there is only one farm consisting of one server on which im running the command)

Of course i'd be happy for any other solution to th

Problem updating a managed metadata column value



I have a document library where I've added a managed metadata column that contains a list of city names.
So far so good, I can add documents and set a value for this column.

The problem starts when modifying a city name. E.g. I change New York into Washington.
All items that were linked to New York will still show New York and not Washington.
When adding a new document I can pick Washington from the list of cities, but in my view it will still show New York (even though I picked Washington and there is no sign of New York in the values). When opening "view properties" it will still show New York. When opening "edit properties" it will show Washington.

This is very confusing to users (and also for me)!
Is there a timer job or something that should run before all items will use the correct updated value ?

Removing duplicate managed account used by ForeFront


I know that reinstalling the farm will take care of the problem, but I am still hoping there is got to be a better way.

There is a duplicate managed account. When I try to remove it with remove-spmanagedaccount, it blows up with "The account xxx is still being used by ... User Profile Synchronization Service..".

Forefront console does not run.  Forefront services are stopped and none of them has this account. What else can I try?

Error: The SQL Server Service account does not have permission to register the supplied URL on the e



I've developed a SQL webservice which works absolutely fine on the server but it doesn't work on my VMware. It generates following error:

"The SQL Server Service account does not have permission to register the supplied URL on the endpoint.  Use sp_reserve_http_namespace to explicitly reserve the URL namespace before you try to register the URL again. An error ('0x80070005') occurred while attempting to register the endpoint."

Here's my webservice:

WEBMETHOD 'GetCountries'( NAME=N'[TestDatabase].[dbo].[GetCountries]'
WEBMETHOD 'GetCities'( N

Problem when creating managed bridge between C++ and C#


I'm currently writing a managed C++ wrapper for an old C framework. My goal is to use it from C# managed. I'm not really sure though how to handle certain data types when returned back as byref to C#. Here is the wrapper snippet:


namespace ManagedITK {
	int AOM::m_AOM_ask_value_string(unsigned int tag, String^ prop_name, String^ &value)
		marshal_context^ context = gcnew marshal_context();
		char *tmp = NULL;
		int result = AOM_ask_value_string(tag, context->marshal_as<const char*>(prop_name), &tmp);
		value = marshal_as<String^>(tmp);
		delete context;

		return result;


The definition for the original C function is:

int AOM_ask_value_string(tag_t tag, const char *prop_name, **char retval);

When the C++ wrapper is exposed to C# it's defined as:


Managed Metadata Service Application Problem



I've been trying for a whole day to configure managed metadata services on a windows server 2008 R2 environment but I keep getting this error:

The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started. Please Contact your Administrator.

I've tried searching for a resolution and here's what I got:

  1. Change the application pool account / Check that the pool is running.
  2. Download hot fixes KB981002 and KB976462.
  3. IISRESET / Restart the server.
  4. Ensure that Managed Metadata service is running.

The third solution worked for me in my development environment which is Windows 7, but I couldn't get it to work in Windows server 2008 R2 which is the production environment.

Any help would be appreciated :)

Problem importing ECDSA key into managed code

I need to sign a piece of data in a native dll and verify it in .Net app.
So I'm trying to import a public key created with BCryptExportKey(...BCRYPT_ECCPUBLIC_BLOB...) or NCryptExportKey().
I'm getting "The parameter is incorrect" exception from CngKey.Import(keyBuf, CngKeyBlobFormat.EccPublicBlob), same with GenericPublicBlob.
Pls help.

Problem to group radio button across gridview rows

In general no one can easily group or make a single selection from radio button list inside gridview rows. There are a lot of way to make a single or unique selection from list. Here i want to share how i can address this problem in the most easiest way. Googling the problem most of the cases i saw the grouping in horizontal way. Thats why i tried to group the radio buttons in vertical manner. Let i have a requirement like below:

Regrading Sharpoint 2010 problem and solutions

We can write your question and problem on this blogger.you get ans.use.
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