First on Page_Load the 4 random numbers are generated and store it in one array which
ispublicshared , thenon login buttom i retreve password based on user name to take one record
and store that passwoard on variable (passdbo) then I dolike this
x1 = (arrNumber(0) - 1)
a1 = passdbo.Chars(x1)
x2 = (arrNumber(1) - 1)
a2 = passdbo.Chars(x2)
x3 = (arrNumber(2) - 1)
a3 = passdbo.Chars(x3)
x4 = (arrNumber(3) - 1)
a4 = passdbo.Chars(x4)
passdb = Val(a1 + a2 + a3 + a4)
pass = Val(TextBox2.Text)
IfString.Compare(passdb, pass) Then
MsgBox("Invalid Username OR Password ")
I have a web application,which is causing Aspnet_wp process crashed on peak loads in production environment.Before the process getting crashed, the CPU usage was 100 constantly for some time and memory usage was over 900MB in Task Manager.This process crash did not log any information in Event Viewer.What are the memory usage limitation on the worker process. Is there any way to log the Exception information on process crash ?
i created a masterpage for my project
and i have a problem, i can't exit.
only has 3 options and the exit
i can acces every option and back
but when i back to the menu i can't exit
i try with the event window.close but only the first time
functions, when redirect and back to the menu i can't exit.
<tr><tdclass="style7"colspan="0"><asp:LinkButtonID="lbtn_reglas_negocio_ao0"runat="server"CausesValidation="False"Font-Underline="True"PostBackUrl="~/Pagina1.aspx"style="font-size: large">Consulta Ayudas de Oficina</asp:LinkButton></td></tr><tr><tdclass="style7"colspan="0"><asp:LinkButtonID="lbtnSalir"runat="server"CausesValidation="False"Font-Bold="True"Font-Overline="False"Font-Underline="True"style="font-size: large"onclientclick="window.close();">Salir</asp:LinkButton></td></tr>
I have an asp.net application which is client for a java web service. The java web service internally talks to an IBM database through natural language.
It is said that this java web service doesnt work like "url?wsdl" format. So I am unable to use add service reference for this. I have to create the proxy by using physical path like this "\\xxx\xxx\xxxxx.wsdl" because it doesnt run with "http://xxxx?wsdl".
Is there any way to create proxy for this using wsdl tool.
wsdl.exe accepts both url or local path. You may run into problems using path to a network share, however you can try either copy the file locally or mapping drive for that share (look here[^] for example).
"My software never has bugs. It just develops random features."
I Have a gridview . When i click one of the files in the gridview , it will display the file details in a table in the grid.But if i am in 20th or 19th page of the gridview, after clicking on the file , the grid is comming to page 1. Is there any property for the grid to prevent this.
Basically Viewstate maintain all this information about current page of the grid. check if it is not disabled for you. another way is, you can also store page number in the session and update only when next,previous ,first, last button click or grid is refresh.
Never ever do that. I did twice and 2 diffrent apps and it was always mistake to store anything in session besides some user data valid to user not for some page. For example in one grid there was date filter. Stored in session and empty this caused app to crash in that particular page.