.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

SA account password issue

Posted By:      Posted Date: October 25, 2010    Points: 0   Category :SharePoint

Hello and thank you to all who is willing to provide some insight.  I am running MOSS 2007 with a backend of SQL 2008.  I am receiving 'Failure Audit' messages in my Application Event Viewer (Windows 2003 x64).  It shows the famous 'Event ID: 18456 which from what I have researched can be just about anything.  I have nothing running under the sa account (I really did not setup my MOSS intranet site but I have taken it over).  I dont even have an sa account in AD?  So what I was wondering is if I simply change the password in SQL, will I blow everything up?  I do not know where to begin, so please ask me whatever you want and I will do my best to answer.


View Complete Post

More Related Resource Links

Execute Package Task password issue

I have a parent and child package. Both are stored on the file system and both are password protected. My problem is that when I call the child package from the parent using execute package task, I get prompted for the child package's password. Now the PackagePassword property of the Execute Package Task is supposed to take care of that. But for some reason the password stored in the Execute Package Task is not getting passed to the child package.  I've re-entered the PackPassword property several times, but it did not help.  I even tried loading the password from a config file, but that did not make any difference.  Can anyone help?

LDAP - directory entry issue with out user and password using impersonate and windows authentication

Hi All I am using the below code to fetch the user information from LDAP             DirectoryEntry entry = new DirectoryEntry("LDAP://DEV");             DirectorySearcher searcher =  new DirectorySearcher(entry);             SearchResult result;             searcher.Filter = "samaccountname=testuser";             result = searcher.FindOne(); here i am using windows authentication always and along with that when i enable the impersonate = true ,  the code fails at "result = searcher.FindOne();" with message "object reference not set to instance of an object "  also with the same code if i give the username and password along with the impersonate tag >> it works  or if i am using the user and password along with the DirectoryEntry  object then also it will work  but it fails with same user that i gave in impersonate tag / directory entry object with windows authentication enabled  and the  user logged to the application and no username and password tag in directory entry / impersonate tag  Interesting thing is that  in our development server ,  i am able to execute the same code with out user name p

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???

FAST Search Sever Installation - Domain / Password Issue


I have isntalled SharePoint Server 2010 and here is my configuration:  One virtual machine with Windows 2008 R2 as a domain controller.  One virtual machine with SharePoint Server 2010, SQL Server R2 2010.  SharePoint was installed as a farm pointing to the local SQL Server.  I also used the domain account domainname\SPUser during the SharePoint Server configuration wizard.  I then installed FAST Search Server 2010.  Everything worked without an issue until I try to run the FAST Search Server 2010 Configuration Wizard.  When asked to provide username and password, I try to use a domain account domainname\FSUser.  I receive the following:  User validation failed.  Username or domain is incorrect.

I tried logging into the SharePoint Server / FAST Search Server virutal machine with the domain account domainname\FSUser with no problem.

Any ideas?

Issue applying Unattended Service Account for PerformancePoint Service


I am having issues getting the Unattended Service Account to save on my standalone SharePoint implementation.  I have a Secure Store Service up and running with updated keys.  When I apply the UserName - Password and hit OK, the status bar stops around 30% and never completes.  I have no error messages in any of the logs.

I need to be able to demo this product, but will be unable to do so until this is resolved.  Any ideas would be helpful. 

Regards, Steve
If this post answers your question, please mark it as an Answer.

An exception occurred when trying to issue security token: The security token username and password



  I get a problem authenticating people in Sharepoint 2010 LDAP provider.

  Right now, I can successfully config the central admin for LDAP provider, (I can search people that in LDAP server,assign ldap people without problem). Also I can search LDAP people in my site. Then I tried to login using ldap username and password, it shows "An exception occurred when trying to issue security token: The security token username and password could not be validated.."

  First, I thought maybe there were some typo in my site web.config, so I enabled the windows login, log into my site using my windows account, there, I can search LDAP user in my site with no problem. So I believe that my site web.config is alright. The only thing left is the STS.But I am not sure what could be wrong , because membership and role part are just simple copied and pasted from my site web.config.

  Here is the web.config for STS. Please Help. Thank you.

<?xml version="1.0" encoding

SSRS Webservice issue on the hosting account


 I have couple of reports deployed on a hosting server. When I run my code to generate PDF files using these reports from my local machin it works fine. But when I run the same code on the hosting server I get the following error message. It seems that the service acocunt does not have enough permission in Temp ASP.NET folder on the hosting server. What can be done to resolve this issue?

Error Details:

Server Error in '/' Application. 
The request failed with HTTP status 401: Unauthorized. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.

Source Error: 

Line 264:        [return: System.Xml.Serialization.XmlElementAttribute("executionInfo")]
Line 265:        public ExecutionInfo LoadReport(string Report, string HistoryID) {
Line 266:            object[] results = this.Invoke("LoadReport", new object[] {
Line 267:                        Report,
Line 268:                        HistoryID});

Source File: c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\3a1f18d1\6aa08967\App_WebReferences.hy

Checksum of the Machine Account Password


I would like to be able to obtain a checksum, hash value or the actual machine account password for a Domain computer.  A C# application can be run on the computer itself with administrative privileges.  Perhaps I need to be asking a different question, but an authorized computer can drop out of a Domain and prevent user logins.  I want to be able to determine if the machine account password has just been changed or has stayed the same in order to help debug what is happening when a computer falls out of sync with the Domain.  Thanks.


How to Encrypt and Decrypt a Password using SQLSERVER 2005?(Video)

Encypt and Decrypt a Password using SQLSERVER 2005(Video)

symmetric key protected by a password

An alternative could be using a symmetric key protected by a password, as long as your application generates the CREATE SYMMETRIC KEY and OPEN SYMMETRIC KEY statements directly instead of calling them inside a SP (otherwise the password will still be passed as a parameter, and will be in clear in the profiler).

IsapiModule Error 500 Issue


I am about exhausted trying to figure out this error:

HTTP Error 500.0 - Internal Server Error

Description: The page cannot be displayed because an internal server error has occurred.

Error Code: 0x8007007b

Notification: ExecuteRequestHandler

Module: IsapiModule

Requested URL: http://localhost:80/ReportServer

Physical Path: c:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer

When I enable Failed Request Tracing Rules and view the log output I am supposing that the actual problem is in the 2nd call where there are 2 backslashes before the actual filename in the specified path:


CALL_ISAPI_EXTENSION DllName="C:\Windows\Microsoft.NET\Framework\v2.0.50727\\aspnet_isapi.dll"


MVC2 issue - Stuck. Trying to create a cms with nested partials


I am currently trying to display multiple items on a single page. I am not sure as to how to tackle this. What I have is a database table that has all the page data in. I have this run as a PagesController and this works fine. However what I would like to do is, if say the Products page is selected via the menu, I want to pull back not only the Products page html but also get all the products, and even be able to pull them through via category. I was trying to use a partial view, but I can't get it to work. The same would be for other pages, having partial views to display the other content, ie if Gallery is selected, the page html for Gallery shows and it then can push to a partial view that pulls all the gallery images from the gallery db table and so on. 

Maybe I am tackling this the wrong way. I have the pages stored in the db to allow for a CMS system I have setup. Maybe I need to use models for all the other items(Products, Gallery, Videos and such) and use the partial for the page html?

Any help would be greatly appreciated as I am confused.

SqlServer - Windows Account to install Application from Gallery


Referring to this tutorial: http://www.asp.net/webmatrix/tutorials/download-and-install-an-asp-net-application

I selected umbraco cms and got this wizard:

I already have Standard Sql Server 2005 on my machine which I wanted to us for above DB and not SqlExpress.

I did not remember "sa" account pwd nor I use explicitly any account to connect to my Sqlserver. I use Windows Authentication account i.e implicit authentication. So I created new account and gave all rights and used it in the above wizard and was able to install the database after some struggle.

My question is: What if I want to use my Windows Account to install the database above? Why the wizard don't have any option to use Windows Integrated Authentication?

Note: I can create the DB with external user I created, just looking specifics for using Windows Authentication for above installation.

Wrong Account being used to access files - Help - No Impersonation


I run a simple .aspx website on a Windows Server 2008 machine.

There is NO impersonation, and System.Security.Principal.WindowsIdentity.GetCurrent().Name returns NT AUTHORITY\NETWORK SERVICE, which it the account which the application pool runs. In my web.config, I have <authentication mode="Forms">.


I tried to test the security of the application and server by removing file permissions to the .aspx files. I was greatly worried when the website continued to run without problem (it should not have been able to read the .aspx files).

By turning on file level auditing, I discovered that the .aspx files were being read by the machine$ account (if the machine is called Serv1, then the files would be read by the Serv1$ account, which seems to have access to all files on the local machine).


Is this a security breach or is this behaviour by design ?

Please can somebody assist, as I am worried.

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.


xpath issue


Hi i am using xpath to loop through each node,

the xml is below i can get the value of "link" but i cant get the thumbnail value, have you got any ideas how i can do this, my code is below.



     <link>test 1</link>
     <media:thumbnail url="http://test.com/image.jpg" height="75" width="75" />



     <link>test 2</link>
     <media:thumbnail url="http://test.com/image.jpg" height="75" width="75" />


public void FindLinks(XPathNavigator p_xPathNav, DataTable dt)
            //run the XPath query
            XPathNodeIterator xPathIt = p_xPathNav.Select("//item");

            //use the

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