joeydaly.com … tech blog & sometimes more

16Sep/110

The type or namespace name ‘Orientation’ does not exist in the namespace ‘DevExpress.Web.ASPxMenu’

Posted by Joey

Another error from the DevExpress Upgrade to 11.1.7, following error:

1

Fix:
use System.Web.UI.WebControls.Orientation.Vertical… Continue reading

15Sep/110

DevExpress.Web.ASPxGridView.ASPxGridViewBehaviorSettings.AllowMultiSelection is obsolete

Posted by Joey

Got the following error when doing the DevExpress upgrade to 11.1.7:

1

Fix:
Change to ASPxGridView.SettingsBehavior.AllowSelectByRowClick… Continue reading

16Jul/090

Server.MapPath() error ‘ASP 0173 : 80004005′

Posted by Joey

I had a problem today with Server.MapPath() while trying to check for images using a relative path. I got the following error:

Server.MapPath() error ‘ASP 0173 : 80004005′

My code being;

Dim fs
Set fs = Server.CreateObject(“Scripting.FileSystemObject”)
If fs.FileExists(Server.MapPath(“http://localhost/images/myimage.jpg”)) Then
‘do something
Else
‘do something else
End If

Basically I needed to pass virtual path in my app. So I had to… Continue reading