|
I think this might be a javascript limitation, found this on the web:
"Modern JavaScript/ECMAScript implementations supports the use of integers up to 53 bits in length, which gives a maximum integer size of slightly larger than 9,000,000,000,000,000"
|
|
|
|
|
Can you explain that? As I know the Integer value in the validator comes from System.Int32. How does JavaScript come into picture here?
Thanks
Minu
|
|
|
|
|
The client side validation on a web form is performed by javascript that the validator controls create.
|
|
|
|
|
I am dealing with a web application with forms authentication.
In login form Userid,password options are there.
when the user enters his userid and password,they are checked against the database.If the user is valid then he is allowed to access tha site.
so how to configure the web.config.
Please help me
|
|
|
|
|
|
<authentication mode="Forms">
<forms loginurl="WebForm1.aspx" name=".ASPXFORMSAUTH">
<authorization>
<deny users="?">
|
|
|
|
|
I'm having problems accessing a MS-Access Database from within ASP.NET (Visual Studio 2003). The program itself is in "C:\Inetpub\Guest", and I've created the database at "D:\databases\guest.mdb".
When I run the program I get an error on the line:
OleDbConnection1.Open()
It says:
We can't find "http://localhost/DBTest1/frmMain.aspx"
Error - Internal server error
I took off "friendly messaging" for the browser, and now have a more descriptive error for this problem. It says:
The Microsoft Jet database engine cannot open the file 'D:\databases\guest.mdb'. It is already opened exclusively by another user, or you need permission to view its data.
I have just rebooted the PC, so it cannot be opened exclusively by another user. When I define the Connection String in the OleConnection1, I have:
Provider Tab
------------------
a) Microsoft Jet 4.0 OLE DB Provider
Connection Tab
-----------------------
a) I select the database "guestbook.mdb"
b) User name: Admin
c) I click on "Blank password", but not "Allow saving password"
Advanced Tab
--------------------
a) I choose "Share Deny None"
When the wizard is about to close I select: "Include Password"
This didn't work, and I've played around with the settings, but to no avail. What's wrong?
Thanks
|
|
|
|
|
|
Hi.
I have a web application (RadioBecon) installed on one of the servers. I think it’s written in C# and of course doesn’t have any code behind (so I cannot modify it). The application uses license to track how many people are using it. Every time someone logs in it locks the license in DB. The session, which expires after some time (you can set it in the admin console), is supposed to kick people out and release the license in DB but for some reason it doesn’t do it when session time expires.
I went to wwwroot -> application folder and in the WebConfig file set session to 900 (15 min.). I’ve done that to make sure it kicks people out after 15 min. But that didn’t help either. It does kick people out of application but doesn’t unlock license in the database. I can see in the database user is set as locked. I guess the application is not working right… Database doesn’t track time and sessions (logins). For reporting purposes to see who’s logged in and for how long the application uses IIS (so no info stored in DB)
The thing is I would like to unlock license of each user after 15 (or any set time) min.
Is there any way for me to write some application (VB.NET) so it can read sessions used in IIS for my application and if they are longer than specified time to remove it and ran SQL query to unlock the user?
Thank you in advance. Alex.
|
|
|
|
|
You really need to get in touch with the vendor. Otherwise you could be causing yourself a world of pain...
|
|
|
|
|
Thank . But is there any way thoug?
|
|
|
|
|
Hello
i want to create a Folder on Server and also want to copy the some aspx pages into that..i dont have any idea for that
Can anybody help me in that..
Code will be helpfull
Thanks in Advance
|
|
|
|
|
In your code behind,
Create a directory:
System.IO.Directory.CreateDirectory(@"\My Folder");
Copy some files:
use System.IO.File.Copy
you can get a list of files with in a directory with the directory class and then enumerate them calling copy.
|
|
|
|
|
hi
thanx for replying me,
now i'm able to create directory and even copy the files from one directory to another.but problem is that i want to copy the selected files.
i'm using this this code :- which copy the whole directory files to another directory.
http://www.xefteri.com/articles/show.cfm?id=16[^]
thanx
|
|
|
|
|
Sir,
Is there any way to populate the form with a asp.net label control dynamically at the form load in asp.net with vb.net1.1.
PLease help.
|
|
|
|
|
so you want to generate the label control dynamically or something else?
Best Regards,
Apurva Kaushal
|
|
|
|
|
Yes i want to generate the label control dynamically at form load.
|
|
|
|
|
You can take a placeholder and the after you create the control just add it to the placeholder.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Sir,
Please send some code.
Thank You.
|
|
|
|
|
where are you getting the problem in creating the control or in attaching it to the placeholder.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Sir,
Actually i am new in asp.net Thats y i am asking code.
Please help.
|
|
|
|
|
here is the code for that:
Label lbl = new Label();
lbl.Text = "kaushal";
ph.Controls.Add(lbl);
here ph is the placeholder's ID.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Sir,
I want to populate the datagrid's particular row with the asp.net label control dynamically.
Please help.
|
|
|
|
|
Put that label in itemtemplate of the datagrid and then populate it in the onitemdatabound event of the datagrid.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Sorry i forgot to write my complete question.The problem is based on edititemtemplate of datagrid .At the edititemtemplate of datagrid i want to add the label control.
|
|
|
|