services

SQL connection issue from sharepoint after messing with service accounts

Hi, I had a win7 x64 box with a local Sharepoint 2010 installed on an SQLEXPRESS DB. Last week I also installed an SQL 2008 R2 instance with integration and analysis services next to the existing database. Because I had issues deploying analysis services solutions, I messed around quite some with the SQL Services Accounts. Eventually...

How to serialize member functions of ADO.NET for use in RIA Services

I am new to using RIA services and the Entity Framework so this is probably very simple. I am trying to extend an entity class using a public partial class in a separate file. My goal is to simply override the ToString() method. Doing this is as simple as... public partial class ClassName { public override string ToString() {...

Failed to start service Error 1920

Hi, I encountered an issue on running a service. Error description is: Error 1920.Service ABCD Service (ABC_ABCDEF) failed to start. Verify that you have sufficient privileges to start system services My configuration was run the service using "Local System account". If I switched this to "NT AUTHORITY\NetworkService" then the service...

Where does windows Service status stored?

I could see from MSDN documentations that a new windows service will be stored in the registry HKLM\System\CurrentControlSet\Services However the services registry key does not hold a value for the "service running status" Can anyone let me know where the service running status will be stored? ...

How do I clean Windows 7 from duplicate (Tomcat 6) services which seem to strangely shadow each other irregularly?

I'm experiencing something rather strange: I had to reinstall Tomcat 6 on my local Windows 7 machine. In sys control, there was no entry to uninstall, so I seem to have installed it by ZIP only. I just deleted all files. I then downloaded the installer for Tomcat 6 and installed into the same directory as before, WITH service. The inst...

How to perform a search query using Services_Twitter?

I am trying to perform a Twitter search using the PEAR package Services_Twitter. Unfortunately this only returns an array of status ids, for example *(var_dump)*: object(stdClass)#88 (2) { ["statuses"]=> array(11) { [0]=> int(49497593539) [1]=> int(49497593851) [2]=> int(49497598001) [3]=> int(4949759...

Modify the default SDDL of a service from the installer (VB.NET)

Hi all, i'm looking for a way to modify the security descriptor for a .net service from the services inatller. The service was developed with vb.net. Should i use some Win32 API or have a script that execute sc sdset , or some other approach? Thanks , any help will be very appretiated ...

Design pattern for an email notification service which monitors workflow/state

I'm sorry this question is going to be a bit vague because I'm not entirely sure what I'm looking for. Basically in my (Asp.net MVC) web app I have some basic (manually coded) workflow triggered by my various user inputs. I need to send email configurable notifications when certain events happen. For example, there is an update status...

Get EntitySetName from EntityName in WCF Data Services

Hi, I have a EnityName called Client and I need it's collection name Clients, it has to be generic so that I can get the EntitySetName from EntityName for any entity. It's exposed in the svc file but doesn't seem to be in the service proxy class. If I can do this then I can have a generic method like. public void Add<T>(IEnumerable<T> ...

Web Services with large volume of data

I am currently designing a set of Web Services using JAX-WS and the bottom-up approach. The problem with some of my services is that they will be used for reporting activities, and therefore they are very likely to return large volumes of data. My biggest concern is obviously the response time from a client's perspective. I am looking...

OS X 10.6 services - how to force reindexing

I have an application installed on OS X 10.6 which offers some services when a file or directory is selected in the Finder. After moving the application to trash, the service entries are still shown in the Finder. How to force OS X to "reindex" the known services? ...

Data Access Layer for Analysis Services w/Dynamic MDX

We have project that uses Analysis Services as it's datasource. To try to avoid having to create 100's of queries because of all the selection options we allow, we create our mdx queries with alot of switches and string concatenation. This is our "Data Access Layer". It is a beast to manage and the smallest mistake: missing spaces, m...

.NET windows service randomly stops and will not start due to a login failure.

Hi everyone, I created a service which monitors a few servers and file shares for exchange. Written in VB.NET 2. The service is installed and running fine(ish) but randomly and without any warning or entries in the event log it stops. Upon noticing it stops (the web front end that it generates stops working) we have to manage ther hos...

How to detect if "Web Services Feature Pack for WebSphere" is installed in Websphere server?

How do I detect if "Web Services Feature Pack for WebSphere "is installed in Websphere Application Server v6.1? I need this information to solve some classloading issues while deploying cxf webservices in Websphere. ...

Binding parent and child data into DataGrid in ria services for silverlight 4

hi, i've started learning Silverlight 4 RIA services. i've gone over alot of samples of how to bind data to a grid. but always there object being bound is a simple one with no child tables. in my DB there's a table for employees and a table for city names (with id field as pk). in the employee table theres a FK to the CityId field. t...

Silverlight 4 Business Project Windows Identity failure

Hi all, Hoping any Silverlight 4/RIA Services application developers might have seen the behavior I'm seeing and even better yet, have a solution. I have developed a new Silverlight 4 line of business application using the Silverlight Business Project template. The SL app is deployed inside our intranet environment at work and I've con...

Windows application or service to communicate with another service on remote desktop

Hi, I need to write an application in C# that has to communicate with a service on a remote desktop. I would like to know if it will be better to write an application that sends information to a local service which in turn communicates with the remote service or would it be better for the application itself to communicate with the remot...

Reporting Services - Giving a formula through Parameters

Hi, I'm using SSRS 2008, I'm building big reports and I use subreports, I need to give a formula by paramaters to a report. How can I do it ? I though about doing reflection on the parameters in order to use it like a formula. Do you have any ideas if it'll work ? Regards, ps : sorry for my bad english. ...

Reading HTTP headers from JAX-WS Web Service

Hi all, I currently have a JAX-WS Web Service that receives some credentials in the HTTP header. These are used for BASIC authentication. There is a filter that performs authentication by reading the HTTP headers and checking against the database. Still, I need the username from within the Web Service in order to perform other servic...

Designing a service interface to allow both synchronous and asynchronous implementations

Not sure how to describe this for sure, but I think I've boiled down what I want to do in the title. To elaborate, I'm looking for a design pattern that would let me have a implementation of a service that would in one situation return the result of a call synchronously but in another case return details on how to complete the call async...