Starting an application from ASP.NET

S

spmm#

Hi!

Can someone explain to me how I can start ms access from a ASP.NET/C# page
properly?? I've been googling for a day now, but no one seems to experience
the same trouble as I do.

I gave the ASPNET user administrator rights and followed these two articles
from msdn:
http://support.microsoft.com/default.aspx?scid=kb;en-us;555134
http://support.microsoft.com/default.aspx?scid=kb;en-us;317012

After doing this I am able to start (e.g.) Notepad like this:
Process.Start("notepad");

I see a part of the title bar of the notepad window appearing and notepad
also appears in the taskbar, but that's it.

Does anyone know how to solve this??

Thanks.
 
S

Steve C. Orr [MVP, MCSD]

Are you trying to start this program on the server or the client?
On the client you will not have permissions to do this by default, the user
would need to adjust their browser settings to allow this.

On the server you may not have permission in some cases either. You may
need to use impersonation to solve that. Also, the default ASPNET user
account doesn't really have a desktop that it owns in which to display any
kind of a window. Most of the time the server will be running and there
will be nobody there to see any windows that pop up anyway, so why would you
need this?

Without any hassle, you should be able to run simple command line apps that
require no input as long as you have the necessary permissions.
 
G

Guest

If its a MS-Access app that you want to start from the webpage on the clients
PC or on a networked drive. Can't be done without a lot of user rights hassle.

What you may want to look at is converting your access app to a smart client.
Only if this is a Intranet app and you can have the users Pcs updated with
the framework.

Deasun
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top