This link talks about write permissions to C drive, not sure this solves
your problem
http://geekswithblogs.net/technetbytes/archive/2007/04/06/110991.aspx

MSDN link
http://msdn.microsoft.com/en-us/library/dbe81ttk(v=VS.100).aspx




On Tue, Feb 15, 2011 at 12:05 PM, iDesmet <[email protected]> wrote:

> Tried the Event Viewer and got this:
>
> Event Type:     Error
> Event Origin:   .NET Runtime
> Event Category: None
> Event Id.:      1026
> Date:           12/02/2011
> Time:           4:46:38
> User:           No Available
> Computer:       USER-01D3D7F87
> Description:
> Application: Easy Rental 2011.exe
> Framework Version: v4.0.30319
> Description: The process was terminated due to an unhandled exception.
> Exception Info: System.IO.FileLoadException
> Stack:
>   at EasyRental.frmMain.InitializeComponent()
>   at EasyRental.frmMain..ctor(EasyRental.SplashScreen,
> ISD.Core.Logging.ILogService, System.String[])
>   at EasyRental.Program.Main(System.String[])
>
> I have been looking again and again at InitializeComponent() and
> cannot find something wrong (note: I don't touch such method since its
> automatically created/modified by the designer). Also have tried
> again, several times looking at the dependencies of such exe and hope
> that I missed one, but nope, all dependencies are included in the
> setup... I also double checked with a nice tool called CheckAsm, it's
> like Dependency Walker for .NET
>
> And for the final note, I verified that my other libraries that
> depends the main application are build also against .NET 4.0 x86
>
> In conclusion, I'm still stuck here and by now I run out of ideas, so
> if anyone have a suggestion, please tell me, I'll greatly appreciate
> it.
>
> On Feb 10, 11:11 pm, Josh <[email protected]> wrote:
> > Dave,
> >
> > Check out the event viewer.  I've had to look into the event viewer
> > many times for my day job while debugging .NET apps and services.
> > Bring up a Run console and enter "eventvwr" for the quickest access.
> >
> > I don't have an XP machine at home, so I don't remember what the XP
> > version of the Event Viewer console looks like, but on Win7, check out
> > the "Application" event log under the "Windows Logs" folder and check
> > out the entries around the time the user attempted to start up the
> > program.  With any luck, you can find out at least a little bit more
> > information as to what is going on on the users' workstations when
> > they try to launch your app.
> >
> > Josh
> >
> > On Feb 9, 11:05 pm, iDesmet <[email protected]> wrote:
> >
> > > Hallo all,
> >
> > > I have searched over the Internet and here, and the solutions found
> > > didn't help with my problem.
> > > I've created a windows application (WinForms) using various
> > > components, of course, it works well on my development pc, but whey I
> > > try to deploy on a client pc it simply stop working when loading
> > > (Initializing).
> >
> > > It's created using .NET 4.0, which is already installed in the client
> > > pc (with .NET 2.0 to 3.5). I use InstallAware to create the setup, I
> > > have created several applications and deployed in several pcs and all
> > > of them worked without any issue, so this is the first time I'm facing
> > > such problem.
> >
> > > I also used the built-in feature in InstallAware to search and add
> > > dependencies which I though it was the problem. In the same solution I
> > > created the application, there's another project (report viewer) I
> > > created using almost the same components and works fine on client pc.
> >
> > > I must add that in another develpment computer, the problematic
> > > application works as expected.
> >
> > > So, my question: Is there a tool (other than Fusion Logger) which I
> > > can use to search deeper for dependencies in the developed application
> > > (just in case it is a dependency error)?
> >
> > > Or, Is there another way I can find out why the applications stops
> > > abruptly when starting?
> >
> > > Thanks in advance!
> >
> > > Regards,
> > > Dave
>

Reply via email to