|
Hi!
I need to control the users running one asp application. The application can run only by one user at a time. I'm thinking ASP.NET application that user gomes and the application informs that there is 2 or 3 in line to run the asp application. Then the user can add it's own info to run on that asp application. What is good idea to do this?
I'm bit horry about this! Thanks!
|
|
|
|
|
I'd recommend writing your app properly so it can run with multiple users. Why would you need to limit it ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
The asp application is old and it makes pdf book from diffrent pdf files. And the asp application is not working properly when many users are buildin the pdf book at the sametime. The asp is so big that I dont want to write it all over in asp.net. The reason to the crass is not sorten because, waiting for sometime and trying to build it agen it build it correctly.
|
|
|
|
|
Hi,
I checked out a couple of articles on customising the login control, and for the username and password controls they use a ValidationGroup="Login1". Does it have to be Login1, or can I name the value of this property to anything I want?
The reason why I ask is because I have to set the username and password control IDs to UserName and Password respectively.
ma se
|
|
|
|
|
Hello all
Is there any way to change the textbox value in fileupload control dynamically through asp.net
Thanks
|
|
|
|
|
At what point do you want to change the text, and why ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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,
below is the value assigned to the href property of Anchor Tag in the Design mode.
href="ToolDescription.aspx?ToolId='<%#Eval("ToolID")%>'"
Here, I am passing the value ToolId to the next page using URL. Also ToolID is the Column name in my Dataset.
Error message: The server tag is not well formed.
How can I solve it in Design mode itself?
Regards,
Jay
|
|
|
|
|
Did you include runat="sever" ?
|
|
|
|
|
Yes Colin,
Beolw is the complete tag,
<a id="lnkToolDetails" href="ToolDescription.aspx?ToolID='<%#Eval('ToolID')%>'" runat=server><%#Eval("ToolFullName")%></a>
Regards,
Jay
|
|
|
|
|
This might work:
id="lnkToolDetails" href="ToolDescription.aspx?ToolID=<%#Eval('ToolID')%>" runat=server><%#Eval("ToolFullName")%>
or
id="lnkToolDetails" href='ToolDescription.aspx?ToolID=<%#Eval("ToolID")%>' runat=server><%#Eval("ToolFullName")%>
|
|
|
|
|
Hi,
I have already tried both, but no result. It wont give any syntax error. But it wont pass the right value in URL.
Regards,
Jay
|
|
|
|
|
You should probably add a new coulmn in your dataset, that contains the hole
path.
Couse the nesting of " and ' you have got, won't work.
Hope it helps
Thomas
|
|
|
|
|
href='<%# ToolDescription.aspx?ToolId= + Eval("ToolID") %>'
Try out
Gautham
|
|
|
|
|
gauthee wrote: href='<%# ToolDescription.aspx?ToolId= + Eval("ToolID") %>'
I made a small change. It works fine. Thanks Gautham.
href='<%# "ToolDescription.aspx?ToolId=" + Eval("ToolID") %>'
Regards,
Jay
|
|
|
|
|
Hi All
I have read GridView control in MSDN but didn't understand properly as i want to explore Paging,sorting,Edit/Update and deleting functionality of it ..
But i am unable to find any article or Document which clearly mention which event we have to implement for performing specific task .
Can any one help me out
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
sandeep,
there is a site - gridviewguys, that might help you i guess
Gautham
|
|
|
|
|
Hi all
Can anybody tell be how to get the culture info for all the languages .
Regards
Krishna Kumar
Kk
|
|
|
|
|
Hi IIS Gurus,
Please explain me the cause of below errors which logged into my eventviewer.
1. Inetinfo terminated unexpectedly and the system was not configured to restart IIS Admin. The World Wide Web Publishing Service has shut down.
2. Application pool 'DefaultAppPool' is being automatically disabled due to a series of failures in the process(es) serving that application pool.
3. A process serving application pool 'DefaultAppPool' terminated unexpectedly. The process id was '2648'. The process exit code was '0xffffffff'.
4. A worker process with pid '240' that serves application pool 'DefaultAppPool' has been determined to be unhealthy (see previous event log message), but because a debugger is attached to it, the World Wide Web Publishing Service will ignore the error.
5. Cannot register the URL prefix 'http://*:80/' for site '125470340'. The necessary network binding may already be in use. The site has been deactivated. The data field contains the error number.
6. Application pool 'DefaultAppPool' exceeded its job limit settings.
7. A process serving application pool 'DefaultAppPool' failed to respond to a ping. The process id was '2360'.
8. A worker process with process id of '2712' serving application pool 'DefaultAppPool' has requested a recycle because the worker process reached its allowed processing time limit.
9. A process serving application pool 'DefaultAppPool' exceeded time limits during shut down. The process id was '864'.
10. A process serving application pool 'DefaultAppPool' failed to respond to a ping. The process id was '2928'.
11. A process serving application pool 'DefaultAppPool' suffered a fatal communication error with the World Wide Web Publishing Service. The process id was '3992'. The data field contains the error number.
12. A process serving application pool 'DefaultAppPool' exceeded time limits during shut down. The process id was '2276'.
13. One of the IP/Port combinations for site '1399649786' has already be configured to be used by another site. The other site's SSL configuration will be used.
14. A worker process with process id of '2592' serving application pool 'DefaultAppPool' has requested a recycle because the worker process reached its allowed processing time limit.
Thanks in advance.
Srini
Srinu
|
|
|
|
|
(1)The World Wide Web Publishing Service's Inetinfo.exe process monitor encountered an error and has shut down. This condition prevents the World Wide Web Publishing Service from detecting an unexpected termination of the Inetinfo.exe process and, therefore, may not detect changes to the metabase as expected. It is recommended that you restart the World Wide Web Publishing Service.
(2)This is probably a permission issue with the Network Service account, since
your pages work under the Local System account. Check to make sure NT
Authority\Network Serivice is a member of the IIS_WPG group.
Regards,
Satips.
|
|
|
|
|
Thanks Satips for ur valueable reply.
As u said in 2nd one i checked and found that NT
Authority\Network Serivice is a member of the IIS_WPG group. Any other reason why this happen??
Regards
Srini
Srinu
|
|
|
|
|
Hi,
I have two forms say Default.aspx and popup.aspx
Default.aspx cotains a textbox whereas popup.aspx contains a text area.
When user enters more than 10 characters in a textbox of default.aspx,popup.aspx should open and all characters of text box should get transfer to textarea of popup.aspx.
The code that i had written using javascript is as follows:
function limitText(){
var textboxvalue = document.getElementById("limitedtext").value;
if(textboxvalue.length == 10)
{
alert(textboxvalue);
window.open("popup.aspx?value=textboxvalue","","resizable=1,width=600,height=200")
}
}
And This is textbox code:
******Retrieving value in popup.aspx********
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Dim strQuery As String = ""
strQuery = Request.QueryString("value").ToString()
TextArea1.Value = strQuery
End Sub
But When i put break point and check the value of strQuery, it is showing
"textboxvalue" instead of characters typed in the textbox.
I will be very grateful if you tell me that how should i pass the value through the url from the line:
window.open("popup.aspx?value=textboxvalue","","resizable=1,width=600,height=200")
Thanks
Shyam
|
|
|
|
|
But When i put break point and check the value of strQuery, it is showing
"textboxvalue" instead of characters typed in the textbox.
Because you are the biggest fool in this community.
Try this --
function limitText(){
var textboxvalue = document.getElementById("limitedtext").value;
if(textboxvalue.length == 10)
{
alert(textboxvalue);
var link = "popup.aspx?value=" + textboxvalue;
window.open(link,"","resizable=1,width=600,height=200")
}
}
Regards,
Mayank Parmar
Senior Software Engineer
Amba Tech
Gandhinagar, India
|
|
|
|
|
shyamts wrote: window.open("popup.aspx?value=textboxvalue","","resizable=1,width=600,height=200")
the problem is here itself you are passing textboxvalue as a string not passing its value
try this
indow.open("popup.aspx?value="&textboxvalue.value&","","resizable=1,width=600,height=200");
or use +
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
Be careful - Depending on what the value is this can be a major security hole as it can easily be changed by the user.
|
|
|
|
|
Yes Colin
Yes you are absolutely right but we don’t know for his application user have security as an issue or not. I showed only where he was wrong. But any way thanks for suggestion
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|