Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Problems using InstallUtil

Reply
Thread Tools

Problems using InstallUtil

 
 
Rob Meade
Guest
Posts: n/a
 
      04-24-2004
Hi all,

I've just followed an article regarding the creation of a windows service -
so far so good - right up until I try to do the install...

I get the following error message in the command prompt:

Exception occurred while initializing the installation:
System.IO.FileNotFoundException: File or assembly name Documents, or one of
its
dependencies, was not found..


The following is what I'm trying to run from the command prompt:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>insta llutil C:\Documents and
Settin
gs\MeadeR\My Documents\Visual Studio Projects\ScanFolder\bin\ScanFolder.exe


Initially I had problems with the installutil thing saying it was a
recognised something or other, then it occured to me that I was trying to
run that from any old directory - hence changing the path to where it lives
in the Microsoft.Net directory.

Can anyone help me with this - I really want to know if the example I've
just been working on is going to work

Regards

Rob


 
Reply With Quote
 
 
 
 
Chris Botha
Guest
Posts: n/a
 
      04-24-2004
Put quotes around the path, thus
installutil "C:\Documents and Settings\ ......"
and give it a shot.

"Rob Meade" <> wrote in message
news:WyAic.549$...
> Hi all,
>
> I've just followed an article regarding the creation of a windows

service -
> so far so good - right up until I try to do the install...
>
> I get the following error message in the command prompt:
>
> Exception occurred while initializing the installation:
> System.IO.FileNotFoundException: File or assembly name Documents, or one

of
> its
> dependencies, was not found..
>
>
> The following is what I'm trying to run from the command prompt:
>
> C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>insta llutil C:\Documents and
> Settin
> gs\MeadeR\My Documents\Visual Studio

Projects\ScanFolder\bin\ScanFolder.exe
>
>
> Initially I had problems with the installutil thing saying it was a
> recognised something or other, then it occured to me that I was trying to
> run that from any old directory - hence changing the path to where it

lives
> in the Microsoft.Net directory.
>
> Can anyone help me with this - I really want to know if the example I've
> just been working on is going to work
>
> Regards
>
> Rob
>
>



 
Reply With Quote
 
 
 
 
Rob Meade
Guest
Posts: n/a
 
      04-25-2004
"Chris Botha" wrote ...

> Put quotes around the path, thus
> installutil "C:\Documents and Settings\ ......"
> and give it a shot.


Hi Chris,

Thanks for the reply, I got it working in the end by copying me .exe into
the microsoft.net folder etc and running from there - I'll give your idea a
go on the next build...cheers )

Rob


 
Reply With Quote
 
Rob Meade
Guest
Posts: n/a
 
      04-25-2004
As above Chris - many thanks (although I did have to change the permissions
on my directory to get the service to start etc)..

Thanks again

Rob


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems using getaddrinfo and friends using c99 standard Nathan C Programming 4 06-18-2008 09:28 PM
InstallUtil failed on Production Server tarunbajaj@gmail.com ASP .Net 0 01-16-2007 07:05 PM
Enterprise Library deployment problem. Why needs to InstallUtil DLLs to the deployment server? If not, Registry Error whould shown. Benny Ng ASP .Net 0 10-03-2005 05:40 AM
Re: sound problems and modem problems Harold Potter Computer Support 5 12-04-2003 04:12 PM
Problems using services which return data using xsi:nil Stan Yamane ASP .Net Web Services 1 07-15-2003 05:56 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57