Latest developer linksBookmark and Share
 
HomeThis WeekTop MonthTop AlltimeSearchRegisterFAQ
  
 
Submit Your Link
Please login to submit your Link
 

SQL 2008 R2 assign Managed Service Accounts on install

Posted: Jan/22/2011   By: nikhil   Points:15   Category: .NET  - ASP.Net    Views:201   Vote Up (0)   Vote Down (0)    

I'm installing a fresh install of SQL 2008 R2 Express on Server 2008 R2, i've created a managed service account through powershell....question is if I can use said account on the service accounts install section.

I get the following error: The specified credentials for the SQL Server service are not valid. To continue, provide a valid account and password for the SQL Server service.

I know you can't add it directly, so i've added the managed service account to a global security group, but same error.

Any thoughts?

ADTU Enterprises

View Complete Post


Comments:
Be the first to comment this post.
 
Post Comment
Please login to post your comment
More Related Resources

Populate Dropdown Listbox using a Web Service

  

Hello, I would like to know how to populate a drop down listbox (dlName) from a web service with last and first name i.e. (LastName, FirstName). My Web Service XML that I am requesting is as follows:

<?xml version="1.0" encoding="utf-16"?>

<FindPartnerContactsAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <CompanyName>training</CompanyName>

    <IntegrationLoginId>cscw</IntegrationLoginId>

    <IntegrationPassword>cscw10</IntegrationPassword>

 

       <!-- Search conditions  Available fields are:

                - ContactRecID (number)

                - FirstName (text)

                - LastName (text)

                - CompanyName (text)

                - Phone (text)

                - Email (text)

                - Type (text)

                - Relationship (text)

                - DefaultFlag (boolean)

                - AddressLine1 (text)

                - AddressLine2 (text)

                - City (text)

                - State (text)

                - Zip (text)

                - Country (text)

        -->

   

    <Limit>10</Limit>

 

 

 

</FindPartnerContactsAction>

 

The following is the WebService Response XML.

<?xml version="1.0" encoding="utf-16"?>

<FindPartnerContactsAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

  <MemberID>zadmin</MemberID>

  <CompanyName>training</CompanyName>

  <IntegrationLoginId>mylogin</IntegrationLoginId>

  <IntegrationPassword>mypassword</IntegrationPassword>

  <Limit>1</Limit>

  <Skip xsi:nil="true" />

  <Contacts>

    <Contact>

      <ContactRecID>77</ContactRecID>

      <FirstName>Arnie</FirstName>

      <LastName>Bellini</LastName>

      <CompanyName>Your Company</CompanyName>

      <Type />

      <DefaultFlag>true</DefaultFlag>

    </Contact>

  </Contacts>

</FindPartnerContactsAction>



My code that I am using to populate the drop down list box is as follows which needs correcting:

   public  void btnSubmit_Click(object sender, EventArgs e)

        {

                        const string contactCompanyId = "3esi";

 

 

            var xmlRequest = new XElement("FindPartnerContactsAction", new XAttribute(XNamespace.Xmlns + "xsi", "http://www.w3.org/2001/XMLSchema-instance"), new XAttribute(XNamespa

User control does not let me assign values into Text boxes

  

Hello,

Got a problem that I do not know what is going on (using c# and .NET 2008):

I have a main web page and added a user control inside it. The user control has some textboxes. The problem I have is when I populate the textboxes with the data that is in the DB, they do not show the values. The strange thing is If I change the property of textboxes ReadOnly to TRUE, they show the values. The problem is that I need them to be ReadOnly=FALSE.

Could anyone do help me please?

Thanks,

Marco


JQuery Autocomplete Call WCF Service Method

  

I am trying to use the below code to call a wcf service method for Autocomplete functionality in a TextBox.  I have written the following query:

$(document).ready(function () {
            $("#<%= txtCompany.ClientID %>").autocomplete(http://localhost/PieScore/PieScore.Application.Services/EmployeeService.svc/GetTestCompanyList, {
                dataType: 'json',
                parse: function (data) {
                    var items = data.d;
                    var parsed = [];
                    for (var i = 0; i < items.length; i++)
                        parsed[i] = {
                            data: [items[i]],
                            value: items[i],
                            result: [items[i]]
                        };
                    return parsed;
                }
            });
        }); 


The same query works if I pass a Java Script array variable instead of the wcf service method.

Can someone please help me understand what I am doing wrong in this...



The wcf service method contract is :

[OperationContract]
        [WebInvoke(Method = "GET", BodyStyle = WebMessageBodyStyle.WrappedRequest, ResponseFormat = WebMessageFormat.Json)]
        string[] GetTestCompanyList(string prefixText, int count);









Visual Studio 2008 and Visual Web Developer 2010 Express launch ribbon menu item

  

My existing system has Visual Studio 2008 and Visual Web Developer 2010 Express. But Microsoft web installer for Webmatrix has made Wematrix Launch ribbon menu pointing to Visual Studio 2008. How could I make Webmatrix point to Visual Web Express 2010. To make use of IntelliSense and the debugger, I have to manually launch Visual Web Developer 2010 Express.

Any help to resolve this would be helpful Or is this a known issue at this time!




WCF Service Hosting with Certificate

  

Keyset does not exist

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.Security.Cryptography.CryptographicException: Keyset does not exist


Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[CryptographicException: Keyset does not exist
]
System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer) +369
System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle) +151
System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair() +85
System.Security.Cryptography.RSACryptoServiceProvider..ctor(Int32 dwKeySize, CspParameters parameters, Boolean useDefaultKeySize) +280
System.Security.Cryptography.X509Certificates.X509Certificate2.get_PrivateKey() +468
System.ServiceModel.Security.SecurityUtils.EnsureCertificateCanDoKeyExchange(X509Certificate2 certificate) +85


WHAT I DID SO FAR:


Created a WCF project

Used wsHttpBinding

Created a Certificate Root Authority on server

Created a Certificate from it

Hosted the service on MS Windows 2008 Server, IIS 7 as Web Application under Default Web site (tried to create a seperate web site as well, but didnt work)

and the result is above.


CHEKED LIST:

Network Service user has the rights to the key of certificate


All of the above was done exactly as above on the development enviroment, and it is working smooth, on production i need to test this, but it is not going through...any ideas???







Enterprise Library and Express 2008

  

What version of the Enterprise Library should be used with Visual Studio Developer Express 2008?

Looking at using the Data Access Application Block.

Currently using an earlier version in C# that doesn't seem to be closing connections properly.

Tim


EL Exception Handling block and WCF custom Service Fault Exception

  

I am currently working on a project to integrate WCF custom fault along with enterprise library exception block. 

I was following Guy Burstein's blog for doing this :

http://blogs.microsoft.co.il/blogs/bursteg/archive/2007/04/07/Shielding-WCF-Services-with-Exception-Handling-Application-Block-_2D00_-Part-1.aspx

This example only shows mapping for message and id. The message is of string data type and id is Guid data type.

But what if I have some other custom fields in my custom Fault object in which I have a CategoryID of type string to which I need to map the id of type Guid ?

When I try to do the mapping and propogate it, I get the value as null. Is there some way I could convert the Guid to string type while doing the mapping in EL?

[DataContract]

public class ServiceFault

{

    private string categoryCode;

    private string message;

  

    [DataMember]

    public string CategoryCode   

    {

        get { return categoryCode; }

        set { categoryCode = value; }

    }

 

 

    [DataMember]

    public string MessageText

    {

        get { return message; }

        set { message = value; }

    }

 

  }

 

 

 

 

 


Any framework for creating a job scheduler service?

  

Just curious to know if there was any official Microsoft code blocks, classes, or such for writing a service that runs other assemblies or WCF services?  That can be configured easily from a web page, pre-coded, for running tasks at certain times on certain recurring intervals?  I've already built one but am open to anything done better- which I'm sure there is.  Thanks!!!


Assign task to group

  

Hi every body


I have a group with name office manager and A,B users are memebers of this group.
I create a tasklist with name WORKS,When i assign a task(work) to office group,
I expect that it could be seen in tasklist of A and B ,but it didn't.
I don't know either my expectation is wrong or i should do some thing for this action.

Thanks for any guides

regards Ali


Problems Installing AKS 1.1 on Windows Server 2008 x64bit

  
Hi all, 

I am trying to install AKS 1.1 (not 2 or 1.0 cuz thats the only release i was able to find on aks.hisoftware.com) on a windows server 2008 x64bit machine. 
 
the toolkit installs in this location: C:\Program Files (x86)\HiSoftware\AKS  .... but nothing in the 12\template\features folder.

the script install_AKSFEAT.bat refers to a feature name "AKS", but i cannot see the feature anywhere in the features folder, and i cannot see a WSP pacakge to deliver this feature to sharepoint!

i event tried to look for the feature manifest to reverse engineer the works of the feature but no luck finding this file in the AKS install folder.

what am i missing here? how can i get AKS 1.1 to install properly and the feature to activate? please HELP!!


- mutaz
 
Categories:
.NET
Java
PHP
C/C++/VC++
HTML/XML
SAP
MainFrames
Data Warehousing
Testing
MySQL
SQL Server
Oracle
Javascript/VB Script
Others
Login
 
 
 
 
 Forgot password
 Contact Us   Terms Of use   Share your knowledge