473,394 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Service Logon Problem

Hello,

I have a .Net service registered in my machine and set Logon type as "This
account" and gave my domain account name and it's password. It works fine
and I am able to connect to a remote drive and to a remote database etc from
the service.

How ever if I use a local user (administrator too) instead of my domain
account, it is failing to connect to either remote netwrork drive or remote
database. Does it require any special permission to be set?

Thanks in advance,
Sateesh.
Nov 16 '05 #1
3 1598
That's the way Windows networking is supposed to work.

For test purposes you could try setting up a local account on the remote
server with the same username/password (mirrored accounts).

A better solution though is to create a domain account specifically for your
service (i.e. a service account).
This is more secure and easier to administer.
Nov 16 '05 #2
Thanks for the information. As you said I tried with mirrored accounts,
but still I am unable to connect to the remote server.

"richlm" <ri*****@h0tmai1.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
That's the way Windows networking is supposed to work.

For test purposes you could try setting up a local account on the remote
server with the same username/password (mirrored accounts).

A better solution though is to create a domain account specifically for your service (i.e. a service account).
This is more secure and easier to administer.

Nov 16 '05 #3
If it works with your domain account, why would you use a local account?
Do as richlm suggested, create a domain account specifically for your
service and forget about "mirrored" accounts.

Willy.

"Sateesh" <n_*******@hotmail.com> wrote in message
news:uh*************@TK2MSFTNGP14.phx.gbl...
Thanks for the information. As you said I tried with mirrored accounts,
but still I am unable to connect to the remote server.

"richlm" <ri*****@h0tmai1.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
> That's the way Windows networking is supposed to work.
>
> For test purposes you could try setting up a local account on the

remote
> server with the same username/password (mirrored accounts).
>
> A better solution though is to create a domain account specifically for

your
> service (i.e. a service account).
> This is more secure and easier to administer.
>
>


Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jiho Han | last post by:
This seems like a often-asked topic. I created a windows service and installed it on my workstation. The application basically goes out and "receieves" messages from a queue on a remote server....
1
by: Nagina Eliav | last post by:
Hello I have problem to connect to Outlook from Nt Service i am using following code in c# Outlook.Application oApp=new Outlook.ApplicationClass(); Outlook._NameSpace oNameSpace = ...
10
by: Clint | last post by:
Hey all - I'm having a really confusing problem concerning a web service. Right now, I have an application that needs to call a web service that does nothing but return "true" (this will...
4
by: Primo | last post by:
Hi, This problem has been frustrating me for days and I hope you experts can help me out. I am trying to run a command, which I would normally run from the command line, from within my C#...
29
by: Ken Allen | last post by:
I have a number of services developed in C# (.Net), and they have been working fine for the most part. Recently someone reported that ipon occassion (originally rarely, but more frequently on some...
8
by: Manfred Braun | last post by:
Hello All! I am writing a management application, which has to access remote machines registry via System.Diagnostics.EventLog.CreateEventSource . For each machine, I connect to, I create a...
17
by: UJ | last post by:
Is there any way for a windows service to start a windows program ? I have a service that will need to restart a windows app if it needs to. TIA - Jeff.
2
by: deko | last post by:
When to use a privileged user thread rather than a windows service? That's the question raised in a previous post . It was suggested that if the service needs to interact with a WinForms app...
7
by: Ahmed Perlom | last post by:
Hi all, I am trying to start a windows application that has a GUI from a Windows service written in .NET 2.0. I have been searching on this for few days now with no avail. When using the...
6
by: tsmojver | last post by:
Does anyone know how to retreive the logon account username for a particular windows service? Or the current user that is running this service as a process. C# is the prefered language of choice. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.