Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

FileNotFoundException
RickStout
#1 Posted : Monday, November 5, 2007 10:13:24 AM(UTC)
Groups: Member
Joined: 11/5/2007(UTC)
Posts: 5
Location: San Diego, CA

When I run the installer for my app, it is failing with the message "Exception occurrred while initializing the installation: System.IO.FileNotFound: Could not load file or assembly 'file:///C:\WINDOWS\system32\Time' or one of its dependencies. The system cannot find the file specified."

The app I am trying to do my (first) installer for is a trivial web app that just display "Hello" in a label.

What could be wrong?
Ultidev Team
#2 Posted : Monday, November 5, 2007 10:46:49 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Rick,

Could you please check this:
- Does this problem occur when you run Setup.exe, or MSI? To find out run your MSI without Setup.exe.
- If this happens during MSI installation try removing custom installation steps that register your application with Cassini.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
RickStout
#3 Posted : Monday, November 5, 2007 11:22:43 AM(UTC)
Groups: Member
Joined: 11/5/2007(UTC)
Posts: 5
Location: San Diego, CA

Thanks for the prompt reply.

I deleted the web app and setup projects, re-installed UltiDev Cassini, and created a new project from scratch. It's another trivial web app that just says "Hello". Then I created a new setup project from scratch and I'm still having the same problem:

"Exception occurrred while initializing the installation: System.IO.FileNotFound: Could not load file or assembly 'file:///C:\WINDOWS\system32\Time' or one of its dependencies. The system cannot find the file specified."

When I click OK, this followed by another error:

"Could not find file "C:\Program Files\My Company Name\Setup1\Bin\UltiDevCassiniServerConfiguration.InstallState."

This happens whether I run the setup.exe or the Setup1.msi. I did remove the custom actions and the setup completes normally...but of course, no Cassini.
Ultidev Team
#4 Posted : Monday, November 5, 2007 11:36:08 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Rick,

This looks very strange. Can you please download and build our sample for Visual Studio 2005 and let us know if you are getting the same error? Additional info about the sample is here.

Please build and install the sample, and let us know whether it was successful.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
RickStout
#5 Posted : Monday, November 5, 2007 11:44:58 AM(UTC)
Groups: Member
Joined: 11/5/2007(UTC)
Posts: 5
Location: San Diego, CA

Yikes, the sample app builds and installs just fine. It registered itself and works.
I guess that means something must be wrong with my project. But where to start? I'm pretty sure I followed the directions to the letter.
Ultidev Team
#6 Posted : Monday, November 5, 2007 12:10:09 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Well, it's just a wild guess, but try removing UltiDevCassiniServerConfiguration.dll from the setup project, and re-add it again to the Bin folder, following instructions. Also rebuild your custom action steps from scratch.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
RickStout
#7 Posted : Monday, November 5, 2007 12:14:11 PM(UTC)
Groups: Member
Joined: 11/5/2007(UTC)
Posts: 5
Location: San Diego, CA

I found the problem....

I missed the '\' after [TARGETDIR]. Bugger!!

Thanks very much for your help....you sent me in the right direction.
Ultidev Team
#8 Posted : Monday, November 5, 2007 12:18:24 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Always glad to help!

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#9 Posted : Saturday, September 15, 2018 12:55:44 PM(UTC)
Groups:

Message was deleted by a Moderator.
Rss Feed  Atom Feed
Users browsing this topic
Guest (5)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.