|
You dont need to create ASPNET user in SQL Server.
You can just use Windows Authentication to access SQL Server but dont forget to impersonate.
In Web.Config, put the following line.
<br />
identity impersonate="false"<br />
-- modified at 2:18 Monday 9th July, 2007
|
|
|
|
|
Thanks Michael, but I am working in SQL Server authentication mode and I want to continue working in SQL Server authentication mode than whats the solution.
|
|
|
|
|
Well, you can connect to SQL Server with sa account while you are using SQL Server Authenticatin Mode.
If you wanna add ASPNET account or any other local account to SQL Server, plz follow the steps
1. Go to User.
2. Click "new user"
3. There is one combobox or textbox with button at the top of "New User" dialog.
4. then chose the local user account (eg: ASPNET) from this list...
Hope it helps.
|
|
|
|
|
How to align(left,right,justify)text of the text box while clicking image button?
|
|
|
|
|
Plz try this. let me know if it doesn't work.
<br />
document.getElementById('cusTextBox').style.text-align ="center";<br />
|
|
|
|
|
It is not working.. I am working with ASP.Net 2.0.Please check whether given code is of ASP.Net 2.0 or 1.0..
waiting for ur reply..
|
|
|
|
|
function foo(){
alert('foo');
var textbox = document.getElementById('txt');
txt.style.textAlign='right';
}
|
|
|
|
|
Sorry for late reply.. not text-align . it should be "textAlign"..
Hope, it helps.
|
|
|
|
|
Hi good morning,
Using month value and year value how to display all dates in that month,
Means,suppose month value=6(june) and year value=2007,
Then it want to display,
6/1/2007
6/2/2007
...
...
6/30/2007
How to do that,
Advance thanks,
Regards,
Magi
|
|
|
|
|
Get it[^]
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
Hi in that link they used some procedure,
In that i dont know where the month value passing and where the year value passing...,
In backend coding its possible to get all dates of that month?,
Regards,
Magi
|
|
|
|
|
int[] TotalDates = {31,29,31,30,31,30,31,31,30,31,30,31};
int CurrentYear = 2007;
int CurrentMonth = 6;
if( DateTime.IsLeapYear(CurrentYear) )
TotalDates[1] = 28;
for(int i=1; i<=TotalDates[CurrentMonth - 1]; i++ )
{
Console.WriteLine(CurrentMonth.ToString() + "/" + i.ToString() + "/" + CurrentYear.ToString());
}
Console.ReadLine();
|
|
|
|
|
I have an existing ASP.NET 1.x commerce site up and running, but with the IIS server "switch" set to 2.0, so it can accept new ASP.NET 2.0 pages and features.
I'd like to show someone an altered, fully-functional but non-public ASP.NET 2.0 version of the site. Can I place the entire "new" site, with bin file, .dll and all, in a subfolder, so that it can be viewed remotely, without interfering with the current 1.x site up in the root folder?
|
|
|
|
|
Yes.
In the Home Directory settings for the folder in IIS manager, press the Create button to create an application for the folder.
If you are using Server 2003, you have to make sure that applications that use framework 1.1 and applications that use framework 2.0 are in separate application pools.
---
single minded; short sighted; long gone;
|
|
|
|
|
To be clear, the site is hosted on a webhosting company's server which I have access to through FTP. I'm not sure if I can directly access IIS on their server, but I can ask them about it.
I take it from your answer, though, that just creating a subfolder in the root of my website's FTP folder and dumping the contents of the "test" website into it won't work?
i.e. ftp.mywebsite.com containing
- mywebsite's bin & .dll, aspx files, etc
- subfolder containing:
-- mytestsite's bin folder with .dll, aspx files, etc.
Thank you!
|
|
|
|
|
Nostromo77 wrote: I take it from your answer, though, that just creating a subfolder in the root of my website's FTP folder and dumping the contents of the "test" website into it won't work?
That's right. The applications are controlled by the settings in IIS, not by the files that you put in the folder.
---
single minded; short sighted; long gone;
|
|
|
|
|
hi to all
how to edit the datagrid
|
|
|
|
|
wat exactly do u want??/ can you explain a bit???
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
Hi all!
I'm looking for examples of inline editing written for the ASP.net AJAX framework. I would like something like this http://anthem.talloaksoftware.com/Extensions/EditLabel.aspx . Any tips?
Knd regards, Erik
|
|
|
|
|
Hi all,
How to include java script for a windows application.
where do i write the code.
Help me
thanks and regards
Narendra Mohan
|
|
|
|
|
what do you want to do ??
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
do u ve any pblme???
All I ever wanted is what others have.... CrazySanker
|
|
|
|
|
You can't - a winforms app doesn't know how to run javascript. Only internet explorer knows how to run javascript, are you running an IE control in your page ?
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
hi,
I have a page set up with a formview control. i have edited the template so that it contains 10 text fields that are bound to a database. Instead of using 'Paging' i would like to have a 'Previous' and 'Next' button to navigate.
i have no idea how to do this, please advise
Thanks in anticipation of your response
Jonathan Harker
|
|
|
|
|
Hi,
I am looking for an effective way to prevent my C# asp.net web application from reloading by backward navigation after logout. I have tried alot of existing methods that are posted on the internet but none of them are effective enough. For instance after I refresh the page it reloads again.
Regards
Yasin
|
|
|
|