|
In Asp.net how can i check the aspnet_wp.exe status. I want to check that Is it aspnet_wp.exe file is runing or stop. With the Use of threading it is possible or not?
Harminde Singh
SAP Labs India
-- modified at 4:10 Tuesday 28th November, 2006
|
|
|
|
|
There's a ServiceController object which enables you to check for services and their status. Note, if you want to do so, you need enough rights (permission) to do so. You might find your default internet guest account has not enough rights so you may consider running your app impersonate.
|
|
|
|
|
Dear all
I could able to send the session values from parent window or browser to the child window or browser but vice versa(child to parent browser) was not possible. Is there any way to send values from child window browser to parent window browser. May be this is not possible using sessions. Please advice. I would be thank full.
Aleem
VB.Net,ASP.Net, VB, ASP, Database
|
|
|
|
|
Erhm, your question is not really clear to me, but I think you can solve your problem using JavaScript. There are to objects available which could be your parent window.
window.parent
window.owner
I have no time for testing at this moment so I leave it op to you which one is the correct one but that't the way to communicate with your parent window.
|
|
|
|
|
If you have created a window using the showModalDialog function, there is a result parameter that you can query from the calling form.
e.g.
var returnValue = window.showModalDialog(<<parameters here>>);
if (returnValue != undefined && returnValue != '')
{
alert(returnValue);
}
In your modal dialog, you may have something like this:
window.returnValue = 'Hello from the modal dialog';
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world."
Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that."
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Towords() Function working fine on Local System
But it is not Working on DeploymentServer(Production Server)
I am able to view the Report except this function output.
It is not throwing any error also
I have also added crtowords.dll to the path
C:\Program Files\Common Files\Crystal Decisions\1.0\Bin
|
|
|
|
|
Hi All,
I have a scenario to use a desktop application inside a web page. i.e. I should be able to execute an EXE within the web page. For example If I want to open a word document I should be able to open within the page say a frame and can do all the operations as in word within that frame.
Please let me know if its possible
Thanks,
Jaya
|
|
|
|
|
Erhm, ppfff.... this is interesting... What exactly do you want to accomplish??
First, if you want a website visitor to open a word document, you can do so bu linking to the word document. MS Word starts on the visitor's computer and opens the word document.
Second, you can choose to start word as a process on your webserver, but you need to have enough permissions to do so. Although it's nice the possibility is there (for merging / parsing documents server side) in this case there's no sence doing that, because the process running on the server is not available for your website visitor. Word will start and then... do nothing
I hope that helps you out, is not, tell us what you exactly want because your question is too abstract to give you a satisfiying answer...
|
|
|
|
|
Hi,
Thanks for your reply.
Exactly what I want is ....
I have to give a web page that will allow the user to write code (in any language) and can be able to compile it and run the code.
Simply... I have to integrate an IDE within a web page. That IDE should open within the IE frame
Is this possible. Reply ASAp
Thanks Alot,
Jaya
|
|
|
|
|
I think you should change your message type to Joke/Game...
In fact you want to create a not-yet-existing development environment on your website. How will you ever determine which programming language was used (and thus which compiler to use if required)?
If you want to support 'any' programming language, you need to integrate all existing languages in one single environment which looks like a impossible to me. I think it's possible though to let a user for example choose a language (C# for example) and try to compile that, but supporting multiple languages will be a hell of a job.
Good luck!
|
|
|
|
|
hi,
I am agreeing with your answer... but it is possible to have a combo box or radio buttons to allow the user to choose the language first and then we can call the type of IDE accordingly. this is not a pblm for me.
Let us assume only .net languages are possible...will u agree that calling the dot net IDE will compile and run the code?
ok. let me know if this is possible... integrate an open source IDE within the web page frame....
hope i cleared u my situation..
thanks,
Jaya
|
|
|
|
|
I don't think there's need to call the .NET developement environment, you only need to run the compiler behind the .NET env.
|
|
|
|
|
Hi,
Yes I tried compiling C# code. I can be able to compile a console application within the asp.net web page. but if I run the EXE file using Process.Start() the exe is opening but it is not visible for me. while i check with the task manager it is opened by the ASPNET user not the owner of the machine. how can I solve this problem
Thanks,
Jaya
|
|
|
|
|
This is pretty complicated to explain. Permissions in IIS can be difficult to understand. First, you must run the website impersonate, which requires you to log on to the website using a windows user account. You can also skip this, but then you must run the website using a diffrent user account which has way too many rights to run a website
For more detailed information about running a website using diffrent user accounts I recommend reading
this article[^]
|
|
|
|
|
Do you really think it's a good idea to let a user type in a program which then runs on the server? I don't think you've fully thought this through.
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world."
Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that."
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi,
This is not a problem for me. this will be limited to 10 users only. so its better to give me any suggestion to execute an EXE from the web page.
I have done this through Process.Start method. EXE is running but not visible to the user.
Please help me
Thanks,
J
|
|
|
|
|
Why would the EXE be visible to the user. If you are compiling it up, then you are compiling it on the web server, and it will run there as well. So, they will not see it.
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world."
Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that."
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi,
Try to understand my concept I have to provide a web page where the user can write a program, compile it and then run it.
so while he running his program he should see the answer.
I tried to provide an IDE itself into the web page - I found difficult in this.
I tried to give a rich text box to write a CSharp program there - In this I can able to build the program but while executing the created exe... it is not visible to the user.
Thanks,
J
|
|
|
|
|
Hi - it's not the concept that I have a problem with. I get it.
Your architecture is this:
Web Browser with input box.
On some form of submission, the code is compiled up on the server and runs.
It runs as an executable (i.e. out of process) under the ASP.NET network client account on the server.
Of course it's not visible. It's an exe running on the server. What would you expect the user to see?
If I am missing something clever that you have done, please feel free to correct me, and to vote me down, but I fail to see what you think the user will see.
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world."
Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that."
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi,
You are comming to the appropriate point.
thats the problem for me. I have to put the EXE file (which is compiled in the server) in the client machine and execute the file from there..
is this possible?
|
|
|
|
|
Good news there. You can.
Here's the big hint. You can send lots of different things back to the web browser by setting the appropriate content type (application/octet-stream in this case I think).
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world."
Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that."
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
hi everyone,
i am using one RAD control in my asp:wizard steps, i have 3 steps in this wizard .
i am using Update Panel and Content page with my controls to load dynamically.
when i put my RAD control on 1st step it works fine ,but as i moves it onto second step it stops functioning,it just works as ordinary control.
pls provide any solutions.
thanks
Amit.
Amit champaneri
|
|
|
|
|
IMHO, you should contact their support team.
|
|
|
|
|
Dear all
I could able to send the session values from parent window or browser to the child window or browser but vice versa(child to parent browser) was not possible. Is there any way to send values from child window browser to parent window browser. May be this is not possible using sessions. Please advice. I would be thank full.
Aleem
VB.Net,ASP.Net, VB, ASP, Database
|
|
|
|
|
hi,
If your data are not confidential then you can use some hidden text boxes and send them to the parent window using javascript.
Jaya
|
|
|
|