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

C# VS2003 Windows Service: Deploying on Server

47
Hello,

My service is written in C# and works wonderfully but i cannot remember how to install onto the server which is Windows 2003. I can install locally using InstallUtil but cannot remember how to install on the server. Is there a way of doing this in a bat file by setting a path then doing gacutil -i windowService.exe without SN'ing?

Thanks.
Apr 10 '08 #1
1 1227
Mr Gray
47
Hello,

My service is written in C# and works wonderfully but i cannot remember how to install onto the server which is Windows 2003. I can install locally using InstallUtil but cannot remember how to install on the server. Is there a way of doing this in a bat file by setting a path then doing gacutil -i windowService.exe without SN'ing?

Thanks.

DOH! I solved this myself by using the following code in a batch file:

Expand|Select|Wrap|Line Numbers
  1. set path=C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
  2. cd \ServiceDirectory
  3. installutil -i "ServiceName.exe"
  4. pause
  5.  
So basically just forgot the location of the InstallUtil.exe program after i found it i could install as desired.
Apr 10 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Kalem | last post by:
Hi all. I've created a web service that runs fine on my development PC running W2K. The service is consumed by an ASPX page. (written using vb.net). I can deploy the webservice without any issues...
3
by: Chris Dunaway | last post by:
A quick scan of the group did not immediately reveal an answer to my questions so here goes. First let me describe my app and then I'll ask the questions. I am writing a Windows Forms App (not...
0
by: JG | last post by:
Hi All, I tried to deploying a .NET windows service to Windows 2000 (SP4) server using installutil.exe utility. It installed successfully.But it could not start. The error message said: "Could not...
1
by: Simon Verona | last post by:
Hope somebody can help. I have a web service written in vb.net which works fine localling on my Windows XP Pro development machine without a problem. I have deployed in onto a Windows Server...
10
by: Bryan Dickerson | last post by:
I fairly have my Web Service working the way that I want, so my next step will be to deploy it on a server. Do I just add a deployment/install project, build it and install it on the server? ...
15
by: Joseph Geretz | last post by:
OK, I'll admit it up front - I just don't get it. Here's our previous VS2003 development model. Developers develop the WS solution on their own workstations, using their own IIS web servers...
5
by: Tony | last post by:
Hi all, Here's the link to the issue we were seeing on our ASP.NET system when modifying, adding and deleting directories in framework 2.0....
0
by: =?Utf-8?B?bWo=?= | last post by:
Hello, I am planning on developing a windows service in C# using VS 2005 on a Vista 32bit operating system. I am going to be deploying this windows service on a 2003 server in our Production...
3
by: kkao77 | last post by:
can you show me in more detail? I have same problem where on the page it's https://service.premilance.com/Company.svc, but the svcutil tells me to get it from https://pserver1/Company.svc?wsdl...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.