DOTNET POWER PLAY
.NET stuffings and MICROSOFT (C) technologies
Friday, August 22, 2003
SQL Server Extended Stored Procedures
Useful Undocumented Extended Stored Procedures
SQL Server Error Handling
Error Handling in SQL Server
Implementing Error Handling with Stored Procedures
Wednesday, August 20, 2003
Audio-Visual DotNet
Tons of books on dotnet are out there but not everyone has the time to read. How about going AV. Here are the links I frequent.
Other sites:
Monday, August 18, 2003
Saturday, August 16, 2003
Uploading a file with Access Denied Error
ASP.NET Secrets, Part 2:
Public Function FileFieldSelected(ByVal FileField As _
System.Web.UI.HtmlControls.HtmlInputFile) As Boolean
' Returns a True if the passed
' FileField has had a user post a file
Dim intFileLength As Integer
If FileField.PostedFile Is Nothing Then Return False
If FileField.PostedFile.ContentLength = 0 Then Return False
Return True
End Function
Top Tip: If you get an access denied error when trying to save files directly to your Web application folder, go check your permissions. Ensure that your virtual directory in IIS has read and write permissions (change this through IIS). You may also want to ensure your ASPNET, Guest, or impersonated accounts have appropriate permissions, both for computer access and for the actual folder itself (right-click the folder, select 'Sharing and Security', then select the 'Security' tab).