IIS and Web Servers
VS Express vs. VS IIS
Gravatar is a globally recognized avatar based on your email address. VS Express vs. VS IIS
  Craig Tucker
  All
  Jul 16, 2018 @ 11:32am

Regarding VS Express vs VS IIS, in IIS Express I can launch my VB DLL and it will launch Corel on the desktop and render images in 3-5 seconds. However, when I run the same exact think in VS IIS, it runs Corel in the background and takes 3-5 minutes to process. How can I get IIS to run like Express and launch Corel on the desktop? Thanks much, Craig

dynamic i2image = ReflectionUtils.CreateComInstance("i2image.webutility");
imagePath = i2image.GenAlteredFile(arrImageShapes);
Gravatar is a globally recognized avatar based on your email address. re: VS Express vs. VS IIS
  Rick Strahl
  Craig Tucker
  Jul 16, 2018 @ 11:52am

You need to configure Corel's DCOM object to run with Interactive User impersonation which will use the logged on user's credentials and also should pop Corel onto the desktop.

You may also have to set the IIS Application Pool to your User Identity so that Corel uses your local user profile - otherwise it'll try to create a profile using whatever launching account and I suspect that's what's actually really slow because it'll fail for a million little registry keys that can't be set.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: VS Express vs. VS IIS
  Craig Tucker
  Rick Strahl
  Jul 16, 2018 @ 01:24pm

That was it! I don't know how you do it, this was a huge fix for us. Thanks a ton again! Craig

© 1996-2024