Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Durkin

    Impersonation not working.

    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...
  2. Durkin

    Impersonation not working.

    Impersonation will make the application run as the anonymous user rather than the default which is the aspnet user. Durkin
  3. Durkin

    Impersonation not working.

    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...
  4. Durkin

    Impersonation not working.

    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
  5. Durkin

    Impersonation not working.

    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
  6. Durkin

    Impersonation not working.

    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...
  7. Durkin

    Application Icon.(Winforms)

    Thanks, I was thinking that was probably the only way. It's a shame you can't just set a default icon and then override it though:-(. Durkin
  8. Durkin

    Application Icon.(Winforms)

    Okay. Thanks anyway for your time. Durkin
  9. Durkin

    Application Icon.(Winforms)

    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...
  10. Durkin

    Application Icon.(Winforms)

    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
  11. Durkin

    OR mapping and stored procedures.

    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...
  12. Durkin

    Slow insert into table variable.

    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...
  13. Durkin

    Slow insert into table variable.

    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
  14. Durkin

    Slow insert into table variable.

    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
  15. Durkin

    Slow insert into table variable.

    One of the tables has 5 million plus. Durkin
  16. Durkin

    Slow insert into table variable.

    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...
  17. Durkin

    Import Image from database

    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
  18. Durkin

    Control Array is 20 times slower in VB. NET compare to vb6

    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
  19. Durkin

    Control Array is 20 times slower in VB. NET compare to vb6

    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...
  20. Durkin

    Enum column in datagrid that is binded (Urgently)

    Can you do this change when you first populate the dataset (eg. in a sql statement) so that you don't have to do anything in the datagrid? Durkin

Part and Inventory Search

Back
Top