Posts Tagged ‘error’

Error:BC30456: ‘CreateResourceBasedLiteralControl’ is not a member of


I’m getting this error after I’ve published an aspx application to the webserver. After a lot of research I’ve found a fix that works for me, this is to change the class visibility of the aspx.vb files from Private to Public.

For more information, please see forum.

, ,

No Comments


Could not allocate space for object ‘dbo.SORT temporary run storage

This error happens when you do not have enough disk space.

Reference

,

No Comments


An SDK Target must be specified

  1. Go to Window menu, click the Preferences
  2. Select the Android from the left side treeview
    Eclipse Preferences

    Eclipse Preferences

  3. Under Android Preferences, make sure the SDK Location is correct, usually if you did not change the installation directory, point this to “C:\Program Files\Android\android-sdk”.
  4. Click Apply button
  5. Click Ok

, , ,

No Comments


Build error: Load of Property ‘OutputPath’ failed. The entered path is not valid output path.


Open the .vdproj using Notepad or any text editor and search for the specified directory under ‘OutputPath’ element, if you found delete it!

, , ,

No Comments


Can not use an object as parameter to a method in Objective-C


Make sure the method parameter has a pointer(*) in it.
Example:

-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath)indexPath {
NSString *movieSelected = [listOfMovies objectAtIndex:indexPath.row];
NSString *msg = [NSString stringWithFormat:@"You have selected %@", movieSelected];
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@”Movie Selected”
message:msg delegate:self cancelButtonTitle:@”OK” otherButtonTitles:nil];
[alert show];
[alert release];
}

In the example above, the NSIndexPath must have * symbol .

,

1 Comment


Operand type clash: nvarchar(max) is incompatible with image

This error usually occurs when you are adding / updating a record on the database table with image/binary columns, and the value of that image column is null and you did not specify the data type of the parameter.

To resolve this issue you need to explicitly specify the datatype of that image/binary column because the default data type of the Sql parameter is varchar(string)

, , ,

No Comments


cannot have multiple items selected in a dropdownlist

This error occurs when you set the Selected property of the dropdownlist control and there’s already selected item , example.

dropdownlist.Items.FindByValue(“value”).selected = True

or

dim lst as listitem

lst = dropdownlist.Items.FindByText(“textvalue”)

lst.selected = True

To solve this problem, before you call the above code you need to clear the selection in the dropdownlist.

To clear the selection

dropdownlist.ClearSelection();

, ,

No Comments


Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Error: Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

This means the current user or user the service has no read/write permission on the folder.

Type the following command to change permission

chmod a+rwx /path/to/folder

Read More
chmod tutorial

, ,

No Comments


syntax not valid in a Namespace

The statement cannot appear at the level of a namespace. The only declarations allowed at namespace level are module, interface, class, delegate, enumeration, and structure declarations.

Resolution :
Move the statement to a location within a module, class, interface, structure, enumeration, or delegate definition.

,

No Comments



SetPageWidth