|
I see that you are using InProc to store state. The following will suffice in this case:
<sessionState mode="Inproc" cookieless="false" timeout="20"/>
You do not need the tcpip attribute
|
|
|
|
|
Hello
I try to save data to my SQl 2005 database from my ASP.net 2.0 web application
everything go fine unless a problem occurred when i try to save the data written in the Arabic format
i try to put this line in the web.config but nothing has change
"<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>"
Any idea to solve my prob it'll be greatly appreciated
Thanks in advance
Assaf
modified on Monday, November 3, 2008 4:24 AM
|
|
|
|
|
What datatype you used to save the Arabic format text?
It should be nvarchar or ntext.
dennis.josf
|
|
|
|
|
hi...
I want to know how to check the mouse click is single or double click in asp.net for the items like button in the datalist ?????
can any one tell me or give an example for it...
|
|
|
|
|
hi
double click is not common in the web applications.
but i think you can use javascript code.
or you can use third-party controls.
bye.
MK4
|
|
|
|
|
Hi, I have a web page where the user select a Company and with that i keep the Company name in memory though a Session but when i go to the next page the Session only last like 5 minutes?
Any reason why and how i can fix this, i did extend the Session state in the Web.config but that did not work.
Example: Session("CompanyName") = "Bytes Technology"
In my web.config i have: <sessionstate>
timeout="40" />
I move from Default.aspx to CompanyDetail.aspx with my Session("CompanyName")
But if i let the program idle in CompanyDetail.aspx i lose the Session State.
Any ideas?
Regards
Etienne
|
|
|
|
|
Is this on your dev box or on the server..?
|
|
|
|
|
Sitting on a Server.....i am hosting the website through www.webnow.co.za
|
|
|
|
|
My wildest guess would be that their servers are configured to clear sessions after 5 minutes for performance reasons...
|
|
|
|
|
Well, the web.config setting should override the server's machine.config one, but maybe... or it could be that the server is overloaded - too many websites/requests for the memory it has... I'd write to their tech supprt and ask them why session is being lost.
|
|
|
|
|
Hi, thank you everyone for all the information. The company hosting my site just extended the time of the application pool and that worked!
Thanks Etienne http://www.erate.co.za
|
|
|
|
|
If you're developing on XP or even Vista but plan to deploy on a "proper" server platform (Windows Server 2003/8) I wouldn't worry too much about it - it'll probably be fine on them. I have found XP in particular to be somewhat variable, shall we say, in it's session handling... if possible, do a test on the deployment server.
|
|
|
|
|
Hi all,
I'm working on a web service application on asp.net, so far it's fine.
I want to start a process, actually VNC server using a user click event. How can I do that. Actually I don't want to stick on one, going to use cofig file to find the which process I want to start?
Please can you guys help me?
I appreciate your help all the time...
CodingLover
|
|
|
|
|
Hi,
As i am expecting this error "Validation (Internet Explorer 6): Attribute 'MS_POSITIONING' is not a valid attribute of element 'body'."and also while iam switching to design mode then on all the controls "Error Creating Control" is visible. Can anyone provide solution for this one.
Thanks in advance.
|
|
|
|
|
Did you import the code into Visual Studio from a different program, or an earlier version of Visual Studio?
I think that it was VS 2003 that supported absolute positioning of controls in the designer, a feature that was later dropped. Markup code from such a project would contain non-standard attributes that would show up as invalid in the validation in VS 2008.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi All,
i am working in Master page using Div Struture..
its working fine, in IE but not working fine in Mozilla.It not showing center align.where as in IE it showing properly.
it is piece of code.. which i am using.
<div style="width:100%; text-align: center;" >
Please help me...
JohnDas
|
|
|
|
|
That is not a problem with Mozilla, that is a problem with Internet Explorer.
Mozilla is rendering the page correctly, while Internet Explorer has a rendering bug that makes it apply text alignment to block elements eventhough it shouldn't.
You can't use text-align to center block elements. Set margin-left and margin-right to auto on the block element to center it.
Oh, and don't put "urgent" in the subject line. How ever urgent you feel that it is, it's still not urgent enough to mention in the subject. If it really was that urgent, you would pay someone to solve it for you instead of posting in a forum.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi , I Have Some Time(hh,mm,ss) Values Ex. 09:00:00 , 09:25:00 , 10:30:00
Now i Have to Add these All Value And find Total No. Of Hours & Minutes & Seconds .
I m using Asp.Net2.0 & Sql 2000 .
How Can i Do This .
Thanx.
|
|
|
|
|
I didn't get that. As you mentioned that you are having Time in hh,mm,ss format. So what is the problem in getting the hours from it. i.e. hh reprensents hours and you can simply separate it from the time given.
Apurva Kaushal
|
|
|
|
|
Turn those values into TimeSpan values, representing the time span from midnight to the time given. Then you can easily add them. Use the Hours, Minutes and Seconds properties to get the result. Or add the TimeSpan to a DateTime value to make it a DateTime, which you can easily format into a string.
Example:
TimeSpan t1 = new TimeSpan(9, 0, 0);
TimeSpan t2 = new TimeSpan(9, 25, 0);
TimeSpan total = t1 + t2;
string result = DateTime.Today.Add(total).ToString("HH:mm:ss"));
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Dear Friends,
The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
I have registerd manualy Msjet40.dll. still it is not workin.
Kindly help me.
Haridas.R
harisofttech@gmail.com
harisofttech@hotmail.com (online)
harizeenet@yahoo.co.in(online)
"Achievement is not a destination, its a journey "
|
|
|
|
|
I am not able to find control in EditItemTemplate column specially in datagrid. I am devloping Web Based Application and using datagrid in that.
I have one pop up modal in that m filling datagrid .
On that datagrid i want Textbox at normal mode and while user click on Edit button it should get convert in DropDown.
So dropdown is in edit itemTemplate Column. But m not Able to find this control.
Please help me for the same.
|
|
|
|
|
Where are you trying to find out that control? I mean in which event?
Apurva Kaushal
|
|
|
|
|
See I want tht control at DataGrid ItemCommand Event. But if it is possible to get at EditCommand Then also will do . But m not able to do it in any way. Do u have any idea abt that? Please Help meits very urgent.
I got the solution for gridview But i dont want to use grdiview. And alrteady my page is on Live so too many changes will be dangerous.
The problem is like ki it is taking too much time to open popup modal whn there are more than 100 rows. Because i have fill dropdown for 100 times for each row.
So that i go for this edititemtempalte column. But in that case first time textbox can find but whn i click on Edit I m not able to find drodown in adititemtemplate Column.
|
|
|
|
|
Hi,
I am trying to call a .Net class from flex by using third party tool webORB
, i installed weborb,i created a project having reference to this webORB
virtual directory created automatically , i gone through all the security
issues and devlopement and deployment process , but when i run my
application it works fine.
But when i export release build, then run my app, it throws error message:
faultCode:Client.Error.MessageSend faultString:'Send failed'
faultDetail:'Channel.Security.Error error Error #2048: Security sandbox
violation: http://localhost/test12/testweborb.swf cannot load data from
https://localhost/test12/weborb.aspx. url: '
https://localhost/test12/weborb.aspx''
giving error like this.
I copied crossdomain.xml to root url , but still i am getting this error .
I use weborb.dll library to get/post data from client-server
anybody help me!.
Thank a lot
mangrovecm
(-,-)am from VietNamese.
modified on Tuesday, November 4, 2008 6:02 AM
|
|
|
|