|
Create a virtual Directory for your application in the web server and Copy all the relevant files that is needed to run the application to the virtual directory. it's done.
Regards - J O N -
|
|
|
|
|
Hi
am getting service unavailable error for my application pool and when i restart application pool it is running for some 2 or 3 days and then again am getting this error.
Can any one please tell me is this the problem with server settings or with the code in aspx pages(I found no infinite loops in the code while i run the application locally).
i already checked registries for permissions all registries have full permissions.
Here is the error log
Event Type: Error
Event Source: W3SVC
Event Category: None
Event ID: 1002
Date: 9/16/2007
Time: 6:32:50 AM
User: N/A
Computer: ALPHA1
Description:
Application pool 'DefaultAppPool' is being automatically disabled due to a series of failures in the process(es) serving that application pool.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Before shutdown, I always get a load of these:
Event Type: Warning
Event Source: W3SVC
Event Category: None
Event ID: 1013
Date: 9/16/2007
Time: 6:31:50 AM
User: N/A
Computer: ALPHA1
Description:
A process serving application pool 'DefaultAppPool' exceeded time limits during shut down. The process id was '3796'.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
any help appreciated.
Thanks
|
|
|
|
|
The application pool that your website is running under is configured to shut down if a particular threshold of unhandled exceptions is reached within a particular time period. Check the event log to see their details. You can change the error threshold if required through IIS, but your time is probably better spent identifying and fixing the bugs in your application code that are causing the exceptions.
Paul Marfleet
|
|
|
|
|
hi friends
how to close the popup window from codebehind in .net
regards
saravan
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
Page.ClientScript.RegisterClientScriptBlock(
this.GetType()
,"ClosePopupScript"
,"window.close()"
,true);
From the popup window page's code-behind.
Intelligence is measured by common sense not by how many scholarly books you read.
|
|
|
|
|
But its the javascript only you are only registring it from server
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
i think not possible as the pop window will come at the client side.
Server does not know anything about the pop up window
you need to do it client side and write a javascript for that
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
I think It's possible. Even if it's a pop-up window the page will run at the server-side. At the server-side there are way's to build javascript dynamically in the CodeBehind using
ClientScript.RegisterStartupScript,<br />
ClientScript.RegisterClientScriptInclude .
Regards - J O N -
|
|
|
|
|
Yes i agree to some extent as we interpreted the quesition in differnt way .
Just your post said that you can generate javascript dynamically yes very true but you can't close that pop up window from server side (code behind) as your script will run at client side you just registering it,not calling.
It is going to execute at client side only
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
playing with bugs ) wrote: but you can't close that pop up window from server side (code behind) as your script will run at client side you just registering it,not calling.
It is going to execute at client side only
I interpreted your previous post in a different way. what you said here made it clear.
Regards - J O N -
|
|
|
|
|
U can write down the script in codebehind
like
Response.write("");
Response.write("window.close();");
Response.write("");
Check out this code..
Regards
Avesh
|
|
|
|
|
iam using iframe as design mode =true .so now its working as a text box .now i want the text that was selected in the iframe with mouse hilighted.into a variable string.
|
|
|
|
|
I believe this can be done with js on the client. It can't be done to the server, you can instead do it on the client and store the text in a hidden field or something.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
send an example with source code for creating a membership role manager in c#
|
|
|
|
|
Find it in 4guysfromrolla.com or from microsoft website. It is not possible for a dude who is on work to really send you the code(It is your job to do so do it). If you have any troubles with it then definitely you can approach forum.
Intelligence is measured by common sense not by how many scholarly books you read.
|
|
|
|
|
is it possible to allow membership roles on our sql server database .in the example the membership roles are provided using aspnet sql server provider
|
|
|
|
|
do you mean roles for Sql Server accessing or for ASP.NET application.
We can provide roles on both Sql Server for accessing as well as for ASP.NET application.
But ASP.NET application roles cannot become sql server roles.
Intelligence is measured by common sense not by how many scholarly books you read.
|
|
|
|
|
roles for asp.net application
|
|
|
|
|
I think you're looking for dice. IF you pay people, you can order them around and ask for full code samples. Asking for free help doesn't work that way
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi all
I have a window service and i am trying to run it from Web application. when i start the Window Service while running the web Application from the development server. It Works fine no issue comes up, But When i host the web application with iis server the following error comes up.
Cannot open "windowservicename" service on computer '.'.
Regards
|
|
|
|
|
Is the same windows service installed in the machine where you host your web application?
Regards - J O N -
|
|
|
|
|
yes its installed,both the things are on the same machine
Regards
|
|
|
|
|
Sounds like the user your web application is running under is not privileged enough to work with services.
Were you running as a local administrator on your development machine by any chance?
|
|
|
|
|
the user is not administrator but belongs to the administrator group and the user is a domain user
Regards
|
|
|
|
|
Are you sure that you are correctly impersonating this user?
|
|
|
|