Check this out:
http://www.dotnet-guide.com/impersonation.html
IIS performs authentication. If anonymous access is allow then no authentication is perform and the request is passed to the asp.net app using the anonymous account set up. ASP.NET then treats it as a normal request ie. if...
I'm not using either windows authentication or forms authentication. Another option for accessing iis is to allow anonymous access. This is how most internet (as opposed to intranet) sites using iis are configured. It allows unauthenticated users to browse the site. An anonymous user account is...
IIS will authenticate the user logged in if integrated security is being used. Otherwise it should use the anonymous user account if it is set up. I'm not using integrated security.
Durkin
I want my application to use the anonymous account I have set up to access the database not the credentials of the user who is accessing the application. I have disabled integrated authentication in IIS.
Durkin
Hi. I'm using 2.0 and IIS5. I've set the anonymous account in IIS to use a domain account I set up and impersonate=true in the config file. I've also disabled integrated authentication. However, my application is still trying to access the database using the aspnet account. This is a new release...
Thanks for your help Ron. I have set the application icon already. However, I have a project which is to be used in multiple applications as a sort of template. I am inheriting in my applications from forms in this base project so I want to be able to get the current application's icon to be...
How can I retreive the application icon at runtime? Or, is there a way to set the default icon for all my forms to the same as my application icon?
Thanks in advance.
Durkin
Hi. I have written a persistence layer which maps an action on an object to a stored procedure eg. calling Save on an object will call then spSaveObject proc populating the correct parameters with members of the object and filling the members with any data returned. I've been reading up on OR...
Figured it out. The table is being filled from a data migration from an older version of the app. There's a nasty bug in the older app which I found because of this issue where that big table is getting larger exponentially. The table should really only have seven hundred thousand rows. I've...
The query itself is fine. If I time the insert using the select statement and then time the select statement on it's own the insert is much slower. The table variable only contains an int.
Durkin
Sorry. Table variable should have about 15000 in the case I'm looking at. This is our most performance problem prone user. He's a member of many groups in the system.
One of the tables in the select has more the 5m rows.
Durkin
Hi. I'm writing a proc in which I want to create a temporary table and insert into it using a select statement. The problem is that it takes twice as long to insert into the table variable as it does to run the select. This proc needs to have good performance so something like this is not really...
Hi. I'm creating an organisation chart with the wizard by accessing a database. I would like to insert an image into each employee from one of the fields in the database. This can either be a binary or a link to the file, I'm not fussed. Does anyone know how to do this?
Thanks
Durkin
Hi. Sorry for not getting back sooner. I was away. I'm sure you've resolved this at this stage but anyway..
I should have had an extra line at the end of the loop like:
lbls(i) = lbl
This will give you your control array.
Durkin
You could try putting the labels in an array. Like:
Dim lbls(NumOfLbls) as label
then loop through. Say you were populating them with text from a datatable(dt). You would do the following:
dim lbl as label
Dim lbls(dt.rows.count - 1) as label
for i = 0 to dt.rows.count - 1
lbl = new...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.