![Posted in the FAQs category Image representing the FAQs category](/assets/Images/FAQs.png)
How Do I Determine the Security Account that IIS Uses to Run My Web Site?
Published 20 years ago
It's important to understand the account that IIS is running under when you need to make changes to the security settings. If, for example, your Web application writes to files or to a database, you'll need to grant the correct permissions to the folder or database. Before you can change these security settings, it's important the know what account IIS is using. This FAQ details the various options available, both for "classic" ASP and ASP.NET applications.
Read on ...![Posted in the FAQs category Image representing the FAQs category](/assets/Images/FAQs.png)
Why Don't I See a Security Tab on the Properties dialog for My Files and Folders in Windows XP?
Published 20 years ago
You often need to make changes in the security settings of your NTFS disk, for example to allow your Web server to read or write to certain files. You make these changes on the Security tab of the Properties dialog for the file or folder you are working with. However, on a Windows XP computer that is not part of a network, this tab is often not visible. Follow these steps to enable this tab.
Read on ...![Posted in the FAQs category Image representing the FAQs category](/assets/Images/FAQs.png)
How Do I Change the Background of an HTML Element Through Code?
Published 20 years ago
With a little bit of JavaScript, it's easy to change the background image of any object through code. All you need to do is retrieve a reference to the element you want to change, and then set its style.backgroundImage property.
Read on ...![Posted in the FAQs category Image representing the FAQs category](/assets/Images/FAQs.png)
How Do I Add an Additional Item To a Databound DropDownList Control in ASP.NET?
Published 20 years ago
It's a common practice to bind some data to a DropDownList or ListBox control. The data for these controls can come from a wide variety of DataSources including Arrays, ArrayLists, HashTables and DataSets. Quite often, though, you'll have the need to add an additional item to the beginning of the list.
Read on ...![Posted in the FAQs category Image representing the FAQs category](/assets/Images/FAQs.png)
How Do I Detect Design-Time Vs Run-Time in a .NET Control?
Published 20 years ago
When you're designing custom controls in Visual Studio .NET, you'll often need to distinguish between design-time and run-time. You could, for example, load a static image, or create a made-up DataSource at design-time while you use a real image or DataSource at run-time. The following snippet allows you to determine whether you're currently in design-time or not.
Read on ...![Posted in the FAQs category Image representing the FAQs category](/assets/Images/FAQs.png)
How Do I Setup IIS to Allow it to Use Network Resources?
Published 20 years ago
If you're working with files (creating, copying, deleting etc) in your ASP applications, you have probably configured the permissions for the IUSR_MachineName account so it is allowed to write to the folder where your files reside. However, if you want to write to a folder on another machine you'll run into problems. This FAQ describes a few common scenarios to overcome these problems.
Read on ...![Posted in the FAQs category Image representing the FAQs category](/assets/Images/FAQs.png)
How can I make a class variable accessible from different object instances of the same class?
Published 20 years ago
You may have the need to be able to access the same instance of a class variable from multiple object instances of that class. This is known as a "class" scope variable. Here I'll explain how it's done.
Read on ...![Posted in the FAQs category Image representing the FAQs category](/assets/Images/FAQs.png)
How Do I Enable Visual Styles in My .NET Win Forms Application?
Published 20 years ago
With the .NET Framework 1.0 it was
already possible to enable Visual Styles for your .NET Windows Forms so the
application took on that shinny new Windows XP look. Enabling Visual Styles
was quite a hassle, though. You had to create a manifest file that contained
a lot of
gobbledygook and it wasn't as straight-forward as you'd hope.
With the .NET Framework 1.1, however, things have become much easier.
![Posted in the FAQs category Image representing the FAQs category](/assets/Images/FAQs.png)
How do I Handle Errors and Send an Error Notification from ASP.NET Applications?
Published 20 years ago
How do I set up my ASP.NET Web application to notify me with the details of an error when one occurs on my Web site? And how do I give the user a friendly message telling them an error has occurred?
Read on ...![Posted in the FAQs category Image representing the FAQs category](/assets/Images/FAQs.png)
How Do I Get Detailed Information About Errors in ASP or ASP.NET Pages?
Published 20 years ago
When you are trying to debug your ASP or ASP.NET pages, it's important to get detailed
information about your errors. Knowing the cause of the error is often
the biggest part of solving the problem.
By default, Internet Explorer will hide
most of the raw error message from you, and instead will give you a “Friendly” HTTP
error message. This FAQ will show you how to disable this feature so you
can see the original error that the ASP run-time threw at you. This will
help tremendously in debugging your ASP applications.
Mobile: False
Crawler: True
I: False