Message 1 of 3
Inventor and ASP.net
Not applicable
09-30-2006
09:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm just starting to learn about ASP.net. As part of this process, I've written a very simple page that allows the user to specify an Inventor part name, and after clicking a button they're gifted with a bitmap of said part in the browser. Very basic, but I'm hoping to eventually expand on this to make something that's actually useful.
Here's my problem: When running the page in debug mode (using Visual Studio 2005), everything works great. When I put it 'live' using IIS on my computer, the page hangs when attempting to get the bitmap from Inventor.
The only difference that I can see is that when I run in debug mode, the Inventor process I create (or latch on to if it's already existing) is running under my account, whereas with the live page the process runs under the ASPNET account. Inventor *is* getting launched by my page, but it is apparently getting hung up somewhere. The Inventor process is still running, it's just sitting there doing nothing. Of course, even though I've specified the Inventor app to run as visible and not silent, I don't see the interface, and I don't see any messages from that process.
I've assigned the ASPNET user on my machine to the Administrators group, so I don't think there's any permissions issues that would keep Inventor from behaving normally. The copy of Inventor I have on this machine is network licensed - I only bring that up because at some point (either during debug or when I was running the page live) I did see the FlexLM dialog come up asking me to either specify a license server or a license file. I think that was coincidental, though, or was solved by the permissions change I made to the ASPNET user.
I even logged on to the ASPNET user account and opened up Inventor to see if there were any problems in that regard, and it worked just fine.
Any thoughts?
Here's my problem: When running the page in debug mode (using Visual Studio 2005), everything works great. When I put it 'live' using IIS on my computer, the page hangs when attempting to get the bitmap from Inventor.
The only difference that I can see is that when I run in debug mode, the Inventor process I create (or latch on to if it's already existing) is running under my account, whereas with the live page the process runs under the ASPNET account. Inventor *is* getting launched by my page, but it is apparently getting hung up somewhere. The Inventor process is still running, it's just sitting there doing nothing. Of course, even though I've specified the Inventor app to run as visible and not silent, I don't see the interface, and I don't see any messages from that process.
I've assigned the ASPNET user on my machine to the Administrators group, so I don't think there's any permissions issues that would keep Inventor from behaving normally. The copy of Inventor I have on this machine is network licensed - I only bring that up because at some point (either during debug or when I was running the page live) I did see the FlexLM dialog come up asking me to either specify a license server or a license file. I think that was coincidental, though, or was solved by the permissions change I made to the ASPNET user.
I even logged on to the ASPNET user account and opened up Inventor to see if there were any problems in that regard, and it worked just fine.
Any thoughts?