Logo

Web, mobile, programming problem solving

Archive for March, 2017

“CleanRiaClientFilesTask” task failed unexpectedly

By admin - Last updated: Friday, March 3, 2017

If you are getting the following error while compiling Silverlight project, You can try to delete the obj folder under the current project folder and compile again. Error 43 The “CleanRiaClientFilesTask” task failed unexpectedly. System.ArgumentException: Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path) at System.IO.Path.GetDirectoryName(String path) at Microsoft.ServiceModel.DomainServices.Tools.RiaClientFilesTask.b__0(String f) at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count) at System.Linq.EnumerableSorter`1.Sort(TElement[] [...]

Query table containing spatial datatype over linked server

By admin - Last updated: Friday, March 3, 2017

If the target table containing column with spatial datatype, and you like to do the following query, SELECT * FROM [LinkedServerName].[DatabaseName].dbo.MyPolygon it will return Objects exposing columns with CLR types are not allowed in distributed queries. Please use a pass-through query to access remote object The work around is SELECT * FROM OPENQUERY([LinkedServerName], ‘SELECT * [...]

DOS delete all svn related folders or files

By admin - Last updated: Friday, March 3, 2017

Run the command on the dir which contains the versioned files or folders. for /d /r . %d in (.svn) do @if exist “%d” rd /s/q “%d”