影 画 Does your drawing exe need to access any other resources that are not accessible from the account .net runs from? If it works when you log in and run it, but doesn't from .net, it's usually because of different environments or access rights.
good one, we have serious problem for some components when accessing from asp.net pages... it's just unstable, and usually part of operation will fail due to lack of credential, so far some one here just wrote some wrapper to call those components through a hosted environment, with credential which can be set for the hosted wrapper in component service.. hehe
【在 m******t 的大作中提到】 : : 影 : 画 : Does your drawing exe need to access any other resources that are not : accessible from the account .net runs from? If it works when you log in and : run it, but doesn't from .net, it's usually because of different environments : or access rights.
t*r
10 楼
thank both of you. Access right was a problem which i considered and solved at the very beginning. I do have other resources and ASPNET is a strict user by default. Right now, it looks it is a problem of display. EXE can't pop out(st, you might not remember it exactly), which causes my program can't save the graph correctly.
【在 st 的大作中提到】 : good one, we have serious problem for some components when accessing from : asp.net pages... it's just unstable, and usually part of operation will : fail due to lack of credential, so far some one here just wrote some : wrapper to call those components through a hosted environment, with : credential which can be set for the hosted wrapper in component service.. hehe
st
11 楼
check ProcessStartInfo.CreateNoWindow, the default is false. I saw the window back in the old days, maybe it was .net 1.0, which has not that much security as .net 1.1... probably .net 1.1 suppressed this window thing.... the user accesses your ASPNET application might be anonymous, I think... at least that's what caused the problem here...
【在 t*****r 的大作中提到】 : thank both of you. : Access right was a problem which i considered and solved at the very beginning. : I do have other resources and ASPNET is a strict user by default. : Right now, it looks it is a problem of display. EXE can't pop out(st, you might : not remember it exactly), which causes my program can't save the graph : correctly.
m*t
12 楼
beginning. might Does the drawing program actually pops up a Windows window and draw in there? Maybe change that to render on an in-memory image or something so it doesn't have to paint on the screen? ;-)
【在 t*****r 的大作中提到】 : thank both of you. : Access right was a problem which i considered and solved at the very beginning. : I do have other resources and ASPNET is a strict user by default. : Right now, it looks it is a problem of display. EXE can't pop out(st, you might : not remember it exactly), which causes my program can't save the graph : correctly.
t*r
13 楼
right now, i had to write an application running background, and waiting for message from web application. It works but looks ugly. :(
【在 st 的大作中提到】 : check ProcessStartInfo.CreateNoWindow, : the default is false. : I saw the window back in the old days, maybe it was .net 1.0, which has : not that much security as .net 1.1... probably .net 1.1 suppressed this : window thing.... : the user accesses your ASPNET application might be anonymous, I think... : at least that's what caused the problem here...
t*r
14 楼
yeah, our graphics package is not good (actually very bad, quinn -curtis 3.0). there is no exposed function being able to have an image saved in the memory. Anyway, we'll still have to use this package at least for a while.
【在 m******t 的大作中提到】 : : beginning. : might : Does the drawing program actually pops up a Windows window and draw in there? : Maybe change that to render on an in-memory image or something so it doesn't : have to paint on the screen? ;-)
st
15 楼
not necessarily ah... it sounds all right to me, just normal C/S app
【在 t*****r 的大作中提到】 : right now, i had to write an application running background, and waiting for : message from web application. It works but looks ugly. :(
t*r
16 楼
the problem is that it doesn't take fully advantage of ASP.NET.
【在 st 的大作中提到】 : not necessarily ah... it sounds all right to me, just normal C/S app
st
17 楼
there's no "full advantage" of asp.net any way. glad it works. :D
【在 t*****r 的大作中提到】 : the problem is that it doesn't take fully advantage of ASP.NET.
t*r
18 楼
thanks.
【在 st 的大作中提到】 : there's no "full advantage" of asp.net any way. glad it works. :D
G*T
19 楼
maybe just use webservice. anyway, as long as it works, it is ok. nx ya