Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

Problems during deployment.

Closed Thread
 
Thread Tools Display Modes
Old 09-20-2006   #1 (permalink)
=?Utf-8?B?UmFnaGF2ZW5kcmE=?=
Guest


 

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.
Old 09-28-2006   #2 (permalink)
Michael G. Emmons
Guest


 

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.


Old 09-28-2006   #3 (permalink)
Michael G. Emmons
Guest


 

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.


Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Deployment Workbench and Deployment Services RJ Vista installation & setup 2 4 Days Ago 12:48 PM
Micrsoft Deployment and Vista image deployment.... jaredwetmore Vista installation & setup 1 12-19-2007 08:10 AM
Deployment Help Rich M Vista installation & setup 0 02-13-2007 09:45 AM
Problems during deployment. Raghavendra Avalon 0 09-20-2006 01:15 AM
Deployment bug Ranj Avalon 1 06-26-2006 05:29 AM








Vistax64.com 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 2005-2008

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