The paths Format is not supported exception

血红的双手。 提交于 2019-12-13 01:24:49

问题


I just installed Windowsazure SDK 1.5 and respective tools for Visualstudio 2010. But when i run the compute emulator it gives me the following exception:

Encountered an unexpected error The given path's format is not supported. at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionA ccess access, AccessControlActions control, String[] pathListOrig, Boolean check ForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath) at System.IO.Path.GetFullPath(String path) at Microsoft.ServiceHosting.Tools.Utility.SDKPaths.get_CSRunStateDirectory() at Microsoft.ServiceHosting.Tools.DevelopmentFabric.DevFabric..ctor() at Microsoft.ServiceHosting.Tools.CloudServiceRun.DoActions.get_DF() at Microsoft.ServiceHosting.Tools.CloudServiceRun.DoActions.DevFabric(DFComma nds acts) at Microsoft.ServiceHosting.Tools.CloudServiceRun.DoActions.ParseArguments(St ring[] args, Boolean doActions) at Microsoft.ServiceHosting.Tools.CloudServiceRun.DoActions.ExecuteActions(St ring[] args).

What is the fix for this weird exception?


回答1:


I fixed it. The problem was I had an environment variable that has some invalid location and when trying to parse compute emulator is failed.



来源:https://stackoverflow.com/questions/7972100/the-paths-format-is-not-supported-exception

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!