Wednesday, 18 November 2009

ASP File Upload - ADODB.Stream error '800a0bbc' Write to file failed

I have been using a useful ASP module to upload files to web servers - Check out http://planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=8525&lngWId=4

Recently one implementation started reporting errors - - ADODB.Stream error '800a0bbc' Write to file failed.

It appears that Vista and IE7 and IE8 do not pass over the full path string of the file to be uploaded.

To fix the problem - in the file named clsField.asp change

' Parse File Name
If Not InStrRev(pstrPath, "\") = 0 Then
FileName = Mid(pstrPath, InStrRev(pstrPath, "\") + 1)
End If

to
' Parse File Name
If Not InStrRev(pstrPath, "\") = 0 Then
FileName = Mid(pstrPath, InStrRev(pstrPath, "\") + 1)
Else
FileName = pstrPath
End If

Thursday, 9 April 2009

SQL 2000 Service Pack 4 Installation Failure

This service pack will fail if any SQL service is disabled. Check for services names MSSQL$..... and change the property from disabled to manual. The service pack will then install.

Blackberry Error Code 0×8004fd2b

This error seems to be caused by a corruption in one of the files in the Intellisync folder.

The easiest way to correct this problem is to allow Intellisync to recreate the files, by renaming / deleting the Intellisync folder.

The folder can be found at

C: \ Documents and Settings \ \Application Data\ Research In Motion\BlackBerry

Friday, 13 June 2008

D-Link DPH-120S IP Phone - web password

Setting up the D-Link IP Phone is very straigtforward when you can connect to it using a web browser. The problem is that it asks for a user name and password, which according to the documentation should both be blank. On trying this with a brand new phone, the blank user name and password does not work.

The first thought was to perform a reset to factory default settings. This can only be done (according to the user guide) from the web browser! A search of the internet found a code to reset the phone - key in 255 * 000 # and click OK twice.

Still no good. I finally found a note on the Australian D-Link site explaining that the D-Link phone has a problem with IE7 and suggesting reverting to Firefox or IE6. This solved the problem.

When setting up the phone it is important to remember to set up the SIP Proxy site:

Friday, 6 June 2008

Network Disk Speed Improvements

If you are running a Microsoft server with an NTFS disk system, it is possible to improve the performance by switching off the facility for recording the last file access time.

To disable Last Access timestamps create the following registry key:

Key Name: KEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
FileSystem
Name: NtfsDisableLastAccessUpdate
Type: REG_DWORD
Value: 1

Tuesday, 3 June 2008

Outlook Distribution Lists

This issue has caused us a lot of wasted time recently. The problem is caused by the way that Microsoft handles Contacts Distribution Lists in Outlook and when you copy or export a Contact folder the Distribution Lists link to the Contact Record is broken.

The quickest way of reinstating the list is to follow the following procedure.

1) Open the list.
2) Save the list as a text file
3) Remove all the members
4) Open the text file and select the list of names and addresses
5) Copy the list
6) Paste the list in Excel
7) Copy the first column (the names without addresses)
8) In the list, click on select members
9) Choose the appropriate address book
10) Paste the list into the name box and press OK
11) Outlook will then take some time to check each of the names. If there are any duplicates, you will need to select the appropriate contact record manually.
12) Save and close the list.