![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 news 95F33F4-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 Specs![]() |
| 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 | |||