473,378 Members | 1,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Starting an application from ASP.NET

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...b;en-us;555134
http://support.microsoft.com/default...b;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.
Nov 19 '05 #1
2 1159
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.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"spmm#" <sp******@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
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...b;en-us;555134
http://support.microsoft.com/default...b;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.

Nov 19 '05 #2
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

"spmm#" wrote:
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...b;en-us;555134
http://support.microsoft.com/default...b;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.

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jason Charalambides | last post by:
Hello, My question is: How do I get my application to start by double clicking on a file. I have made my application to save files with a specific extension. I associated those files to my...
12
by: serge calderara | last post by:
Dear all, I have an application which is suppose to start another executable process. As soon as that process is running, I need to retrive its handle. The problem of the particular process I am...
2
by: johnmann56 | last post by:
Hello. I have written a simple image viewer application using C# .NET. It only needs to display one image at a time. When a different program, in C, running on the same machine, does a...
8
by: Dirk | last post by:
Hello, Can anyone tell me what the best way is to prevent an application from starting up twice. Thanks, Dirk
1
by: Glenn | last post by:
I have used this code successfully in a form application. I tried to add the same code in a service and have not been able to get the application to start. I have the service starting with a local...
4
by: Kristof Despiere | last post by:
Suppose you have one domain, filled with a couple of users. What needs to be done now is I need to start a windows application from a webform by pressing a button on the webform (for example). ...
2
by: Brent Borovan | last post by:
Good day, We are at the beginning stages of developing a new product which is essentially a cutomized web application, where users will purchase access and log into our site to use the...
0
by: calderara serge | last post by:
Dear All, I am building an application with VB.Net that is starting an external process from my application code by using the process object. The problem I get is that the application that I...
7
by: | last post by:
Hi to everyone! I have an Apache Webserver running on Win2000. I try to start a console application an the server though PHP, with the functions exec() or passthru() but it doesn't work. The...
1
by: sathyan8294 | last post by:
i want to display the name starting with any letter(A-Z,a-z) in textbox from sqldatabase through datagrid using vb.net windows application. for example, values are in datagrid like companyid ...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.