|
hi
i am getting one problem when i am running asp.net 2.0 project it is taking lot of resources at iis. any settings i want to change in web.config. if i want to change which i want to write.
tell me in which scenorious it will take .
Please tell as early as possible.
bye....
|
|
|
|
|
guptha19sept wrote: it is taking lot of resources at iis
what do you mean by that. Be specifc. Is it taken more memory? CPU cycle? and how did you found it is IIS?
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
there is a question...
that i ues the Controls - ActiveReport 2.0 to print
but when i use Adobe Reader 9.0 to view, the page is exactly.
there are 24 details on every page.
and when i use Adobe Reader 8.0 to view ,the page is not right.
and there are 26 details on every page.
i don't what shall i do.it make me so comfused..
can somebody help me,
thanks you so much!!!!!!!!
Study...
|
|
|
|
|
I have tried but I don't whether I am right or wrong.
Following is my coding :
Page Load
If Not (Page.IsPostBack) Then
Dim dataSource As DataView
'Retrieve item from cache if anything is not there then we have to add to the cache
dataSource = Cache("CheDataSet")
If dataSource Is Nothing Then
Dim Conn As SqlConnection
Dim Cmd As SqlDataAdapter
'Dim myConnection As New SqlConnection(ConfigurationSettings.AppSettings("con2"))
Cmd = New SqlDataAdapter("select * from tblcutomer2", myConnection)
Dim ds As New DataSet
Cmd.Fill(ds, "clientadd")
dataSource = New DataView(ds.Tables("clientadd"))
Cache("CheDataSet") = dataSource
CacheMsg.Text = "Dataset was Created directly from the Datebase. Here the Cache was not used but the Cache was Created,so check for the performence next time."
Else
cacheMsg.Text = "Dataset was Retrieved from cache which was created earlier."
End If
ddlcus.DataSource = dataSource
ddlcus.DataTextField = "clientname"
ddlcus.DataValueField = "intcustid"
ddlcus.DataBind()
ddlcus.Items.Insert(0, "-Select-")
End If
-----------------------------------------------------------------------------------
Selected Index event:
---------------------
Dim cmd As New SqlCommand("select intcustid,clientadd as address from tblcutomer2 where intcustid='" & ddlcus.SelectedItem.Value & "' ", myConnection)
myConnection.Open()
Dim myDataReader As SqlDataReader
myDataReader = cmd.ExecuteReader()
While (myDataReader.Read()) = True
txtcusadd.Text = myDataReader("address")
End While
myDataReader.Close()
myConnection.Close()
But it takes more time to display address of the selected customer.Can you plz suggest me to reduce the time
|
|
|
|
|
First: this seems a fellow up post. Please don't start new post. This will not make your issue clear to people.
I have to dig out to find what what your first post, here[^] I found it.
indian22 wrote: But it takes more time to display address of the selected customer
Look, you are trying to load 10000 into drop down. Of course it will take time.
indian22 wrote: Can you plz suggest me to reduce the time
What is the need to show that much data into a drop down. Can you reduce the amount to show. Even if you could load all, imagine scrolling through all that data.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Hi,
I'm having a problem with JavaScript.
When I use javascript locally everything works fine.
But on the server it does not even come to JavaScript function?
Is there anyone who faced this problem before?
Regards,
codddy
|
|
|
|
|
Javascripts are client side, not server side code. Of course it will not run on the server.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
hiiiiiiiii is than any alt. method avail in c# for all this doings
i used them in javascript is this possible in c# too
|
|
|
|
|
Here is what I've used;
Me.TextBox1.Text = System.Net.Dns.GetHostEntry(Request.ServerVariables("REMOTE_HOST")).HostName.ToString<br />
Me.TextBox2.Text = Request.UserHostAddress
|
|
|
|
|
thanks but i am a c# lover trying this in c# , can u know how how to obtain browser information in c#/vb too...
thanks again.
|
|
|
|
|
|
your friend is an idiot.
Just use parametrized queries and stored procedures. Grant the account used in your connection only permission to execute the stored procedures. Do not use an owner account.
I didn't get any requirements for the signature
|
|
|
|
|
i told him that one before but he insist me to ask you pals so, and if any encoding or decoding for this perpose can be done why shouldn't you just say ok it can be done
or yes its possible but i dont do this before because what i realy ask is for the existence of methods (its my first and basic priority).
|
|
|
|
|
If your friend knows so much about writing secure web applications, why don't you ask him for some sample code?
I didn't get any requirements for the signature
|
|
|
|
|
i should wait for others opinions
|
|
|
|
|
No, you don't need others opinion. Are you trying to trick others in giving you the source code? Do what ToddHileHoffer suggested.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Thanks
I didn't get any requirements for the signature
|
|
|
|
|
ok!!!!!
thanls now i have an answer for him byeeeee.
|
|
|
|
|
Hi,
WHILE using IText Sharp dll I am getting the error :
Could not load file or assembly 'itextsharp, Version=4.1.2.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca' or one of its dependencies. The module was expected to contain an assembly manifest. File name: 'itextsharp, Version=4.1.2.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca'.
Do anyone know the answer.
Thanks
|
|
|
|
|
again add the ref of ddl after deleting it. may be it work for u.
|
|
|
|
|
I had done that but still the error persists the error contains Assembly binding logging is turned OFF
|
|
|
|
|
it is working fine on the local system but after uploading on server it gives error
|
|
|
|
|
if it is working on local then again upload the dll on the server.
the error can be because of security settings.
|
|
|
|
|
When I had uploaded the application with code then it works fine. But on uploading the published application it is showing the problem. Is there any setting to publish the application.
Khush Garg
|
|
|
|
|
I have one report i want to change the company logo as company name change I have all images in one folder i place ole object on report now i want to change image on run time using image path can anybody help me
|
|
|
|