Posts Tagged ‘error’
Login failed for user ‘DOMAIN\MACHINENAME$’
Posted by: admin in ASP.Net, Configuration, IIS 7.0 on September 16th, 2011
NETWORK SERVICE and LocalSystem will authenticate themselves always as the correpsonding account locally (builtin\network service and builtin\system) but both will authenticate as the machine account remotely.
If you see a failure like Login failed for user 'DOMAIN\MACHINENAME$' it means that a process running as NETWORK SERVICE or as LocalSystem has accessed a remote resource, has authenticated itself as the machine account and was denied authorization.
Typical example would be an ASP application running in an app pool set to use NETWORK SERVICE credential and connecting to a remote SQL Server: the app pool will authenticate as the machine running the app pool, and is this machine account that needs to be granted access.
When access is denied to a machine account, then access must be granted to the machine account. If the server refuses to login ‘DOMAIN\MACHINE$’, then you must grant login rights to ‘DOMAIN\MACHINE$’ not to NETWORK SERVICE. Granting access to NETWORK SERVICE would allow a local process running as NETWORK SERVICE to connect, not a remote one, since the remote one will authenticate as, you guessed, DOMAIN\MACHINE$.
If you expect the asp application to connect to the remote SQL Server as a SQL login and you get exceptions about DOMAIN\MACHINE$ it means you use Integrated Security in the connection string. If this is unexpected, it means you screwed up the connection strings you use.
Source
If the error still appearing try the below by adding it in the web.config
<system.web>
<identity impersonate=”true” />
</system.web>
Error:BC30456: ‘CreateResourceBasedLiteralControl’ is not a member of
Posted by: admin in .NET, ASPX Error on August 22nd, 2011
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.
Could not allocate space for object ‘dbo.SORT temporary run storage
Posted by: admin in MS SQL Server, SQL Server 2008 on April 26th, 2011
This error happens when you do not have enough disk space.
An SDK Target must be specified
- Go to Window menu, click the Preferences
- Select the Android from the left side treeview
- 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”.
- Click Apply button
- Click Ok
Can not use an object as parameter to a method in Objective-C
Posted by: admin in Objective C on December 9th, 2010
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 .
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)
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
