Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Problems during deployment.

 
 
Old 09-20-2006   #1 (permalink)
=?Utf-8?B?UmFnaGF2ZW5kcmE=?=


 
 

Problems during deployment.

Hi,
I have created a simple WPF application that loads images from disk and
applies a few transformations to it.
It works fine when I run the app. But when I publish/deploy the app and
install it on another machine, the app crashes.

I have identified that the problem is when I try to load the image from the
disk.
(If I remove the image-loading part from the app, it works fine).

The path I load from is perfect, there are images in that directory and I
have checked all such FILENOTFOUND problems. In fact, it is the same path
from where I load the images when I run the application.

Also, the error log, as seen in eventviewer says this,

..NET Runtime 2.0 Error
EventType clr20r3, P1 SampleWPF.exe, P2 1.0.2453.40634, P3 4510231d, P4
presentationframework, P5 3.0.51116.0, P6 43e0011e, P7 587c, P8 416, P9
system.windows.markup.bamlparse, P10 NIL

Can anyone tell me what could the problem here ?

Thanks,
Raghavendra.

My System SpecsSystem Spec
Old 09-28-2006   #2 (permalink)
Michael G. Emmons


 
 

Re: Problems during deployment.

The most likely cause of this is security permissions. Use a try/catch
around your loading routines and capture the exception to a text/logfile.
That should allow you to narrow down the problem.

Michael G. Emmons
http://xamlxaml.com


"Raghavendra" <Raghavendra@discussions.microsoft.com> wrote in message
news95F33F4-2ECE-460A-903F-2F08930929D3@microsoft.com...
> Hi,
> I have created a simple WPF application that loads images from disk and
> applies a few transformations to it.
> It works fine when I run the app. But when I publish/deploy the app and
> install it on another machine, the app crashes.
>
> I have identified that the problem is when I try to load the image from
> the
> disk.
> (If I remove the image-loading part from the app, it works fine).
>
> The path I load from is perfect, there are images in that directory and I
> have checked all such FILENOTFOUND problems. In fact, it is the same path
> from where I load the images when I run the application.
>
> Also, the error log, as seen in eventviewer says this,
>
> .NET Runtime 2.0 Error
> EventType clr20r3, P1 SampleWPF.exe, P2 1.0.2453.40634, P3 4510231d, P4
> presentationframework, P5 3.0.51116.0, P6 43e0011e, P7 587c, P8 416, P9
> system.windows.markup.bamlparse, P10 NIL
>
> Can anyone tell me what could the problem here ?
>
> Thanks,
> Raghavendra.


My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Help with Deployment Workbench and Deployment Services Vista installation & setup
Micrsoft Deployment and Vista image deployment.... Vista installation & setup
Deployment Help Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

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