LumiSoft.Net.FTP.Client.FTP_ClientException : 553 Could not create file.
[dev@platformB dailyrawdata]$ /usr/sbin/setsebool -P ftp_disable_trans 1
setsebool: SELinux is disabled.
/etc/init.d/vsftpd restart
本文来自: vsftpd 533
LumiSoft.Net.FTP.Client.FTP_ClientException : 553 Could not create file.
[dev@platformB dailyrawdata]$ /usr/sbin/setsebool -P ftp_disable_trans 1
setsebool: SELinux is disabled.
/etc/init.d/vsftpd restart
本文来自: vsftpd 533
Error 9 The "GenerateResource" task failed unexpectedly.
System.TypeInitializationException: The type initializer for 'Microsoft.Build.Utilities.FileTracker' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Build.Utilities.FileTracker..cctor()
--- End of inner exception stack trace ---
at Microsoft.Build.Utilities.FileTracker.ForceOutOfProcTracking(ExecutableType toolType, String dllName, String cancelEventName)
at Microsoft.Build.Tasks.GenerateResource.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult) WorkflowMonitor
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<TrackFileAccess>false</TrackFileAccess>
....
谁有没有终极解决办法。。。
--有了--
修改所有Microsoft.Common.targets
<TrackFileAccess Condition="'$(TrackFileAccess)' == ''">false</TrackFileAccess>
-----
Find the file: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets
Locate the <GenerateResource> tag at Line 1835 and delete the attributes TrackFileAccess and TrackerLogDirectory
http://social.msdn.microsoft.com/Forums/en/csharpide/thread/88db71cf-a501-428d-91fa-1535d82d8014
http://www.go4answers.com/Example/error-msb4018-generateresource-task-25286.aspx
curl安装之后报libssl.so加载不上,又是64和86的原因。
bash-3.2$ su
Password:
$ pwd
/usr/local/ssl/lib
$ ln -s ./x86/libssl.so libssl.so
$ ln -s ./x86/libcrypto.so libcrypto.so
$ curl
curl: try 'curl --help' or 'curl --manual' for more information
$
本文来自: SUA+CURL加载libssl.so的问题
记录一下,此问题是由异常System.UnauthorizedAccessException造成的N个线程挂起(网络路径访问错误)。
阅读这篇文章的其余部分 »
本文来自: 记一次windbg调试经历
前几天碰到phpcms的一个bug,主要问题是当文章缩略图来源为网络图片而非本地图片时,显示警告造成首页幻灯片显示不正常,错误提示如下:
Warning: getimagesize(x:/Hosting/xxx/html/x.cn/http://www.xxx.com/upimg/allimg/090508/1148140.png) [function.getimagesize]: failed to open stream: Invalid argument in x:\Hosting\xxx\html\x.cn\include\global.func.php on line 768

解决办法,修改include\globa.func.php的764行左右,修改下这个函数,如下:
function thumb($imgurl, $width = 100, $height = 100 ,$autocut = 1, $smallpic = 'images/nopic_small.gif')
{
global $image;
if(empty($imgurl)) return $smallpic;
list($width_t, $height_t, $type, $attr) = getimagesize(PHPCMS_ROOT.$imgurl);
if($with>=$width_t || $height>=$height_t) return $imgurl;
if(!extension_loaded('gd') || strpos($imgurl, '://')) return $imgurl;
if(!file_exists(PHPCMS_ROOT.$imgurl)) return 'images/nopic.gif';
$newimgurl = dirname($imgurl).'/thumb_'.$width.'_'.$height.'_'.basename($imgurl);
if(file_exists(PHPCMS_ROOT.$newimgurl)) return $newimgurl;
if(!is_object($image))
{
require_once 'image.class.php';
$image = new image();
}
return $image->thumb(PHPCMS_ROOT.$imgurl, PHPCMS_ROOT.$newimgurl, $width, $height, '', $autocut) ? $newimgurl : $imgurl;
}
本文来自: 关于phpcms首页缩略图显示不了的bug