|
I can't find machine.config, there is only web.config file, in this file I also can't find element called <b>httpRuntime</b>???
Can i solve this problem if I increase the <b>Connect Timeout</b> more (i.e like 60 or 90)
<add name="ASPNETDBConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename="F:\Final Project\TestOnlineSystem\App_Data\ASPNETDB.MDF";Integrated Security=True;Connect Timeout=30;User Instance=True" providerName="System.Data.SqlClient"/>
<b>Thanks and best regart !</b>
|
|
|
|
|
Here u can go to find the machine.config file--C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG\Machine...observe carefullly u will find the element which is mentioned there...!
httpRuntime executionTimeout="90" maxRequestLength="4096" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100"
regards---yuva
|
|
|
|
|
- I am Using VS 2005 so that I can't found path: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG\Machine.config, I only found path: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\Machine.config
- In this file I am only found so that it doesn't have properties as you said
- How can I do now, please help me
Thanks and best regard !
|
|
|
|
|
It is allowed to include the elements manually with in the machine.config file..do it
after /system.Web
u write
httpRuntime executionTimeout="...." /
this may help u out..!
|
|
|
|
|
I am a fresher to ASP.NET and I have done my project with asp.net and oracle 9i as ack end,everything is woriking good. What is the next process
|
|
|
|
|
Find another project ? What is it that you're asking ?
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 )
|
|
|
|
|
Hello
How can i open a new window afteraexecuting aevent in the codebehind?
|
|
|
|
|
You can write JS as follows
<br />
Response.Write("<script language=javascript>")<br />
Response.Write("window.open('mypage.aspx')")<br />
Response.Write("</script>")
Mubashir
Software Architect
Storan Technologies Inc, USA
Every job is a self portrait of the person who did it.
|
|
|
|
|
I´ve been trying what you told me but the window is not open. It´s only show the text what you say to me but on a yellow background.
|
|
|
|
|
Hi, I've got a bit of niggling problem...
- I've got two multi-select listboxes
- I want to loop listbox1, and for every item in listbox1 that is selected (by the user), loop listbox2 and find which items are also selected
So:
Listbox1
---
Item1
Item2
Item3
Listbox 2
---
ItemA
ItemB
ItemC
So my end result should be:
Item1
ItemA
ItemB
ItemC
Item2
ItemA
ItemB
ItemC
Item3
ItemA
ItemB
ItemC
However, I can't loop the listboxes.
Any suggestions?
Thanks
|
|
|
|
|
for(int i=0;i<n1;i++)
{
if(item "i" of list1 is selected)
{
for(int j=0;j<n2;j++)
{
if(item "j" of list2 is selected)
{
do whatever here
}
}
}
}
n1->No. of items in listbox1.
n2->No. of items in listbox2.
Hope that helps you...
Regards,
Arun Kumar.A
|
|
|
|
|
Hi Friends,
I am developing a website in asp.net. I have seperate textboxes for email and password in the table which is being defined in "asp:Login" control of c# Visual Studio 2005. Now I want to put "Remember my Password" checkbox in that table just below of text boxes. When user select that checkbox, it should remind the password and automatically get login next time.
Please remember I can't use any built-in control, I definitely need separate checkbox for that.
It is just same as you have here in this website (www.codeproject.com)
Thanks and Regards,
Abubakar
|
|
|
|
|
You can store it on the user machine, in a cookie.
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 )
|
|
|
|
|
Ya, I can store it on user machine in a cookie but I really don't understand how will I get value from the cookie and login to website automatically when user will come next time? Can you send me some code snipset for that? It will be really helpful for me.
|
|
|
|
|
Hi, I created an asp.net web application using Visual Studio 2005. The problem is that when I run the application, the web page opens with the url: http://localhost:1158/MyProject/WebPage1.aspx...but I want it to open with http://localhost/MyProject/WebPage1.aspx. How can I fix that??
|
|
|
|
|
|
I have a textbox which represent date, but sometime it will be empty.I want to send it as empty to the database. How can I do it
|
|
|
|
|
If the string is empty, pass DBNull.Value and make the column nullable in the DB.
Use DateTime.TryParse to make sure the string you're passed in is a valid date. The other option is to store it as a string, but of course you can't do anything with it, then.
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 )
|
|
|
|
|
Another option would be to store a default date which is meaningless but avoids a null value in the DB (something I try to avoid if at all possible).
e.g 01/01/1900
|
|
|
|
|
How to make Asynchronous calls B/W two .NET objects
Sathiya
|
|
|
|
|
Depends, what sort of objects are you talking about ? If you mean two classes, then just set the call up to happen on another thread.
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 )
|
|
|
|
|
How manys are there totally to use such Asynchronous calls
Sathiya
|
|
|
|
|
Hi, there's this website that is created in coldFusion and I want to add a LinkButton that opens an asp.net page, this page resides on my computer (localhost). How can I add the page to this other server that hosts the rest of the coldfusion pages?? What are the procedures to do that?
|
|
|
|
|
Just have it redirect to the right URL.
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 )
|
|
|
|
|
Hey all,
What is up with my code here that is generating this error?
using System;<br />
using System.Data;<br />
using System.Configuration;<br />
using System.Collections;<br />
using System.Web;<br />
using System.Web.Security;<br />
using System.Web.UI;<br />
using System.Web.UI.WebControls;<br />
using System.Web.UI.WebControls.WebParts;<br />
using System.Web.UI.HtmlControls;<br />
using System.Data.SqlClient;<br />
<br />
<br />
class SqlConnectionDemo<br />
{<br />
static void Main()<br />
{<br />
SqlConnection conn = new SqlConnection("Data Source=;Initial Catalog=SupportIIS;User ID=sa ;Password=password");<br />
<br />
SqlDataReader SupportIIS_rdr = null; <br />
<br />
try<br />
{<br />
conn.Open();<br />
<br />
SqlCommand cmd = new SqlCommand("select * from ", conn);<br />
<br />
SqlCommand cmd = new SqlCommand("select CategoryName from SupportIIS", conn);<br />
<br />
SqlDataReader SupportIIS_rdr = cmd.ExecuteReader();<br />
<br />
<br />
SupportIIS_rdr = cmd.ExecuteReader();<br />
<br />
while (SupportIIS_rdr.Read())<br />
{<br />
string categories1 = (string)SupportIIS_rdr["Categories"];<br />
string MonthYear1 = (string)SupportIIS_rdr["MonthYear"];<br />
string repeatCall1 = (string)SupportIIS_rdr["repeatCall"];<br />
<br />
Console.Write("{0,-25}", categories1);<br />
Console.Write("{0,-20}", MonthYear1);<br />
Console.Write("{0,-25}", repeatCall1);<br />
Console.WriteLine();<br />
}}<br />
finally<br />
{<br />
if (SupportIIS_rdr != null)<br />
{<br />
SupportIIS_rdr.Close();<br />
}<br />
<br />
if (conn != null)<br />
{<br />
conn.Close();<br />
}<br />
}}<br />
}<br />
}<br />
}<br />
Error is the following:
Error 1 Type or namespace definition, or end-of-file expected c:\inetpub\wwwroot\SQLConnectionTest\SQLConnection.aspx.cs 75 3 http:
Any idea?
Thnx
|
|
|
|