473,326 Members | 2,182 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,326 software developers and data experts.

Error installing Windows Services on Windows Server 2003

I try to install Windows Services but it show this error during the
installation process, "Insufficient System resources exist to complete the
requested service."

I created this Services in VB 2005.

I has other Windows Services installed on this machine. I try to install in
other computer with the same specification and its is OK.

Specification
OS: Windows Server 2003 Standard Edition
RAM: 4GB
CPU: Double CPU Xeon 3.60GHz
HD: with 27.8GB of free spaces

Thanks for your help.
May 16 '07 #1
15 2391

"Elioth" <El****@discussions.microsoft.comwrote in message
news:62**********************************@microsof t.com...
>I try to install Windows Services but it show this error during the
installation process, "Insufficient System resources exist to complete the
requested service."

I created this Services in VB 2005.

I has other Windows Services installed on this machine. I try to install
in
other computer with the same specification and its is OK.

Specification
OS: Windows Server 2003 Standard Edition
RAM: 4GB
CPU: Double CPU Xeon 3.60GHz
HD: with 27.8GB of free spaces

Thanks for your help.
My best guess is that you have something running that's taking up System
resources errantly, a memory leak in a program or something like that.

Anti Virus solutions and things like that while running can be causing
problems.

You should shutdown everything that's not needed that's running on the
computer like AV's, Spyware detection things like that to free up System
resources.

Also check the Virtual Page file size it may be too low for the amount of
physical memory that computer has, which could be causing problems.
May 16 '07 #2


"Mr. Arnold" wrote:
>
"Elioth" <El****@discussions.microsoft.comwrote in message
news:62**********************************@microsof t.com...
I try to install Windows Services but it show this error during the
installation process, "Insufficient System resources exist to complete the
requested service."

I created this Services in VB 2005.

I has other Windows Services installed on this machine. I try to install
in
other computer with the same specification and its is OK.

Specification
OS: Windows Server 2003 Standard Edition
RAM: 4GB
CPU: Double CPU Xeon 3.60GHz
HD: with 27.8GB of free spaces

Thanks for your help.

My best guess is that you have something running that's taking up System
resources errantly, a memory leak in a program or something like that.

Anti Virus solutions and things like that while running can be causing
problems.

You should shutdown everything that's not needed that's running on the
computer like AV's, Spyware detection things like that to free up System
resources.

Also check the Virtual Page file size it may be too low for the amount of
physical memory that computer has, which could be causing problems.

I do all that but the it gave me the same error. Any other suggestion?
Thanks for you help.
May 16 '07 #3

<snipped>
>>
I do all that but the it gave me the same error. Any other suggestion?
Thanks for you help.
Are you using the Installutil to install the service or some other method?
May 16 '07 #4


"Mr. Arnold" wrote:
>
<snipped>
>
I do all that but the it gave me the same error. Any other suggestion?
Thanks for you help.

Are you using the Installutil to install the service or some other method?
I am using the Setup Project of VB2005
May 17 '07 #5

"Elioth" <El****@discussions.microsoft.comwrote in message
news:BC**********************************@microsof t.com...
>

"Mr. Arnold" wrote:
>>
<snipped>
>>
I do all that but the it gave me the same error. Any other suggestion?
Thanks for you help.

Are you using the Installutil to install the service or some other
method?
I am using the Setup Project of VB2005
You should try the Service Installutil.exe to see if that buys you anything,
look it up on Google on how to use it. You may need to take the other
install stuff out if it's part of the project and simply build the project
to get the Servicename.exe so that you use that exe with Installutil at the
Command Prompt.

May 17 '07 #6
Thanks Mr. Arnold for you help.

I try with InstallUtil but it fail. This is the log.

Installing assembly 'E:\CopyFileApp\EVERCH_OutputFiles.exe'.
Affected parameters are:
logtoconsole =
assemblypath = E:\CopyFileApp\EVERCH_OutputFiles.exe
logfile = E:\CopyFileApp\EVERCH_OutputFiles.InstallLog
Installing service EVERCH_OutgoinFiles...
Service EVERCH_OutgoinFiles has been successfully installed.
Creating EventLog source EVERCH_OutgoinFiles in log Application...
Rolling back assembly 'E:\CopyFileApp\EVERCH_OutputFiles.exe'.
Affected parameters are:
logtoconsole =
assemblypath = E:\CopyFileApp\EVERCH_OutputFiles.exe
logfile = E:\CopyFileApp\EVERCH_OutputFiles.InstallLog
Restoring event log to previous state for source EVERCH_OutgoinFiles.
Service EVERCH_OutgoinFiles is being removed from the system...
Service EVERCH_OutgoinFiles was successfully removed from the system.

Thanks for you help.
May 17 '07 #7

"Elioth" <El****@discussions.microsoft.comwrote in message
news:A9**********************************@microsof t.com...
Thanks Mr. Arnold for you help.

I try with InstallUtil but it fail. This is the log.

Installing assembly 'E:\CopyFileApp\EVERCH_OutputFiles.exe'.
Affected parameters are:
logtoconsole =
assemblypath = E:\CopyFileApp\EVERCH_OutputFiles.exe
logfile = E:\CopyFileApp\EVERCH_OutputFiles.InstallLog
Installing service EVERCH_OutgoinFiles...
Service EVERCH_OutgoinFiles has been successfully installed.
Creating EventLog source EVERCH_OutgoinFiles in log Application...
Rolling back assembly 'E:\CopyFileApp\EVERCH_OutputFiles.exe'.
Affected parameters are:
logtoconsole =
assemblypath = E:\CopyFileApp\EVERCH_OutputFiles.exe
logfile = E:\CopyFileApp\EVERCH_OutputFiles.InstallLog
Restoring event log to previous state for source EVERCH_OutgoinFiles.
Service EVERCH_OutgoinFiles is being removed from the system...
Service EVERCH_OutgoinFiles was successfully removed from the system.

Thanks for you help.
Well, what's in the log?

logfile = E:\CopyFileApp\EVERCH_OutputFiles.InstallLog

May 17 '07 #8
This is the log.

Installing assembly 'E:\CopyFileApp\EVERCH_OutputFiles.exe'.
Affected parameters are:
logtoconsole =
assemblypath = E:\CopyFileApp\EVERCH_OutputFiles.exe
logfile = E:\CopyFileApp\EVERCH_OutputFiles.InstallLog
Installing service EVERCH_OutgoinFiles...
Service EVERCH_OutgoinFiles has been successfully installed.
Creating EventLog source EVERCH_OutgoinFiles in log Application...
Rolling back assembly 'E:\CopyFileApp\EVERCH_OutputFiles.exe'.
Affected parameters are:
logtoconsole =
assemblypath = E:\CopyFileApp\EVERCH_OutputFiles.exe
logfile = E:\CopyFileApp\EVERCH_OutputFiles.InstallLog
Restoring event log to previous state for source EVERCH_OutgoinFiles.
Service EVERCH_OutgoinFiles is being removed from the system...
Service EVERCH_OutgoinFiles was successfully removed from the system.

Thanks for help.
May 17 '07 #9

"Elioth" <El****@discussions.microsoft.comwrote in message
news:E5**********************************@microsof t.com...
This is the log.

Installing assembly 'E:\CopyFileApp\EVERCH_OutputFiles.exe'.
Affected parameters are:
logtoconsole =
assemblypath = E:\CopyFileApp\EVERCH_OutputFiles.exe
logfile = E:\CopyFileApp\EVERCH_OutputFiles.InstallLog
Installing service EVERCH_OutgoinFiles...
Service EVERCH_OutgoinFiles has been successfully installed.
Creating EventLog source EVERCH_OutgoinFiles in log Application...
Rolling back assembly 'E:\CopyFileApp\EVERCH_OutputFiles.exe'.
Affected parameters are:
logtoconsole =
assemblypath = E:\CopyFileApp\EVERCH_OutputFiles.exe
logfile = E:\CopyFileApp\EVERCH_OutputFiles.InstallLog
Restoring event log to previous state for source EVERCH_OutgoinFiles.
Service EVERCH_OutgoinFiles is being removed from the system...
Service EVERCH_OutgoinFiles was successfully removed from the system.

Thanks for help.
Even though that other install is failing are you sure it didn't somehow
list the Service? If it is listed in the Services, then you have to get it
uninstalled.

Or there is something wrong with the assembly itself are you sure you have
not left anything in that assembly dealing with the other install. If
something is there from that other install remove it out of the project.

Have you checked the registry to see if something is in the register?

Have you checked the O/S event logs to see if there are error messages,
because the log you have posted, really doesn't show why it stopped and
rolled back.

For future reference, if the Service is installed by Installutil, then to
install a newer assembly, you must Installutil exe -u to uninstall the old
one.

May 17 '07 #10


"Mr. Arnold" wrote:
>
"Elioth" <El****@discussions.microsoft.comwrote in message
news:E5**********************************@microsof t.com...
This is the log.

Installing assembly 'E:\CopyFileApp\EVERCH_OutputFiles.exe'.
Affected parameters are:
logtoconsole =
assemblypath = E:\CopyFileApp\EVERCH_OutputFiles.exe
logfile = E:\CopyFileApp\EVERCH_OutputFiles.InstallLog
Installing service EVERCH_OutgoinFiles...
Service EVERCH_OutgoinFiles has been successfully installed.
Creating EventLog source EVERCH_OutgoinFiles in log Application...
Rolling back assembly 'E:\CopyFileApp\EVERCH_OutputFiles.exe'.
Affected parameters are:
logtoconsole =
assemblypath = E:\CopyFileApp\EVERCH_OutputFiles.exe
logfile = E:\CopyFileApp\EVERCH_OutputFiles.InstallLog
Restoring event log to previous state for source EVERCH_OutgoinFiles.
Service EVERCH_OutgoinFiles is being removed from the system...
Service EVERCH_OutgoinFiles was successfully removed from the system.

Thanks for help.

Even though that other install is failing are you sure it didn't somehow
list the Service? If it is listed in the Services, then you have to get it
uninstalled.

Or there is something wrong with the assembly itself are you sure you have
not left anything in that assembly dealing with the other install. If
something is there from that other install remove it out of the project.

Have you checked the registry to see if something is in the register?

Have you checked the O/S event logs to see if there are error messages,
because the log you have posted, really doesn't show why it stopped and
rolled back.

For future reference, if the Service is installed by Installutil, then to
install a newer assembly, you must Installutil exe -u to uninstall the old
one.
I checked all and I see everything is OK. I make a new Services application
to make a test and it fail with the same error.

The services not is in Services List, no event log in the OS, no registry.

If you have another suggestion please let me know. Thanks so much for you
help.
May 18 '07 #11

"Elioth" <El****@discussions.microsoft.comwrote in message
news:94**********************************@microsof t.com...
>

"Mr. Arnold" wrote:
>>
"Elioth" <El****@discussions.microsoft.comwrote in message
news:E5**********************************@microso ft.com...
This is the log.

Installing assembly 'E:\CopyFileApp\EVERCH_OutputFiles.exe'.
Affected parameters are:
logtoconsole =
assemblypath = E:\CopyFileApp\EVERCH_OutputFiles.exe
logfile = E:\CopyFileApp\EVERCH_OutputFiles.InstallLog
Installing service EVERCH_OutgoinFiles...
Service EVERCH_OutgoinFiles has been successfully installed.
LOOK **** at that point above, it installed the service.

Creating EventLog source EVERCH_OutgoinFiles in log Application...
LOOK ******* at that point, it's trying to create the Eventlog in the O/S's
Application Event log area.
Rolling back assembly 'E:\CopyFileApp\EVERCH_OutputFiles.exe'.
Affected parameters are:
logtoconsole =
assemblypath = E:\CopyFileApp\EVERCH_OutputFiles.exe
logfile = E:\CopyFileApp\EVERCH_OutputFiles.InstallLog
Restoring event log to previous state for source EVERCH_OutgoinFiles.
LOOK ***** What's happening with the Eventlog?
Service EVERCH_OutgoinFiles is being removed from the system...
Service EVERCH_OutgoinFiles was successfully removed from the system.
Do you have some part of the project that you're doing a custom Eventlog,
something you have added to the project to create the eventlog?

You can create the Eventlog on the fly when the Service starts, without
using some special project stuff.

Is the problem in the area of the Eventlog creation?
May 18 '07 #12
Yes, I have a Function to write a log in the Event Log. In the function I
check if the Log exists, if not I create it. Below the code of the Function.

************************************************
Private Sub WriteLog(ByVal sMsg As String, Optional ByVal iEventLogEntry As
EventLogEntryType = EventLogEntryType.Information)

'Check if the Event Log Exists

If Not Diagnostics.EventLog.SourceExists("EVERCH_Outgoing Files") Then

Diagnostics.EventLog.CreateEventSource("EVERCH_Out goingFiles", "EVERCH
Outgoing Files Log") 'Create Log

End If

'Write to the log
Diagnostics.EventLog.WriteEntry("EVERCH_OutgoingFi les", sMsg, iEventLogEntry)

'****** IF ERROR, SEND E-MAIL *****
If iEventLogEntry = EventLogEntryType.Error Or iEventLogEntry =
EventLogEntryType.FailureAudit Or iEventLogEntry = EventLogEntryType.Warning
Then

'Send email with the problem description
SendEmail("EVERCH Outgoing Files Services", iEventLogEntry.ToString & "
found in EVERCH Outgoing Files Services at " & Now & vbCrLf & "Err desc.: " &
_ sMsg, "Technical Group")

End If

End Sub
************************************************** ******

I trying to install it services in the same folder of other services I has

Thank for you help and time.

May 21 '07 #13

"Elioth" <El****@discussions.microsoft.comwrote in message
news:19**********************************@microsof t.com...
Yes, I have a Function to write a log in the Event Log. In the function I
check if the Log exists, if not I create it. Below the code of the
Function.
Just a little tip here on the Eventlog creation, it should be done at the
service start-up one time only.

The creation of the Event Log should not be checked and/or try to create the
log every time WriteLog is called. Once the Event Log for an application is
created, it's there permanently, until it's deleted out of the registry
either manually or programmically.

What I didn't see was the EventLog.Source statement that ties the Service to
the log, in your code.

But the question is this. In installing the service with IntsallUtil and you
have code in the service to create the Eventlog on the fly/(while the
service is running), then how does the InstallUtil even know about this
Eventlog and is trying to do something with installing the log?

The install of the log doesn't work and the InstallUtil is rolling it back
off of the computer system.

Do you have a EventlogInstaller as part of the project.?

It looked to me in the InstallUtil logs that the service was installed, it
proceeded to install the Eventlog, it ran into a problem, and it rolled
everything back off of the computer system, including the service.

If you're telling the service to create the log, which it will take care of
doing everything it needs to create/establish the log, the .NET Framework is
doing it, then why is InstallUtil in trying to install the service is it
doing something to create the Eventlog?

The service was installed successfully, and then there was a problem with
the Eventlog being installed that it should not be trying to install,
because you're telling the service while it's running to create the Eventlog
if it's not there.


May 21 '07 #14
I not haved an EventLogInstaller.
I will make a new project and Copy and Past the Code. I removed the Creation
of the EventLog in my WriteLog Function and it Install OK from the Setup
Project, but the services not in the Services List. I try to install using
the InstallUtil but it fail with the same error.

I will make the new project and I will let you know about the status.
May 21 '07 #15
It work.

Let me explain you what I do and what I think that cause this problem and
let me know what you think.

I make a new Window Services Project and Copy and Paste all code and it work
fine.

Before created the new project, I was make the Windows Services in the same
Solution in that I has a Windows Form and other Windows Services. When you
told me, the problem may is in the Creation of EventLog or check the
assembly, I thinked the problem maybe is in the Solution, I think it can not
contain two project of windows services.

Thanks for you help and time.
May 23 '07 #16

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

Similar topics

5
by: Tony Wright | last post by:
Hi, I am having a problem installing an msi for a web site. The error message I am getting is: "The specified path 'http://mipdev05/features/Fas2' is unavailable. The Internet Information...
1
by: Venkat | last post by:
I just installed Visual Studio.Net 2003 and that is supposed to add that asp.net 1.1 extension. I got an error message while opening ASP.NET project.Error is : "visual studio.net has...
5
by: Ken Cox [Microsoft MVP] | last post by:
MS has posted this here: http://www.asp.net/faq/ms03-32-issue.aspx Fix for: 'Server Application Unavailable' Error after Applying Security Update for IE...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
3
by: Hamilton | last post by:
Hi there, I've seen this error appear a few times in newsgroups but unfortunately I haven't found one that actually provides a solution. I'm basically deploying a new website into an area at a...
0
by: Benny Ng | last post by:
Hi,All, When i deploy Enterprise library with my application ,i used XCOPY to deploy it into my test server. But when application runs, shown some error related registry. (But actually I haven't...
4
by: coosa | last post by:
Hi, I was installing SQL Server on my machine and during installation my PC freezed. It happens frequently on my machine. So i tried after restarting to install it again and since then i always...
1
by: =?Utf-8?B?Q29lbg==?= | last post by:
When I right click on My Computer, manage, I get a pop-up with the title "SQL Server Configuration Manager" In the pop up appears the following message: "MMC has detected an error in a snap-in. It...
2
Frinavale
by: Frinavale | last post by:
I thought it would be nice to share the solution to my IIS headache with the rest of the world. I have developed a web application that has been distributed. Upon installing my application, some...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.