visual studio 2010 - While publishing a release version through web-deploy I get an error -
i had odd happening. use web.config transformation files, , when trying publish local iis web-deployment, following error:
error 1160 "parameterizetransformxml" task failed unexpectedly. system.uriformatexception: invalid uri: uri empty. @ system.uri.createthis(string uri, boolean dontescape, urikind urikind) @ system.uri..ctor(string uristring) @ microsoft.web.publishing.tasks.parameterizetransformxml.execute()
@ microsoft.build.backend.taskexecutionhost.microsoft.build.backend.itaskexecutionhost.execute() @ microsoft.build.backend.taskbuilder.executeinstantiatedtask(itaskexecutionhost taskexecutionhost, taskloggingcontext taskloggingcontext, taskhost taskhost, itembucket bucket, taskexecutionmode howtoexecutetask, boolean& taskresult)
it did work before added image files project, , work in debug mode when transformation files still identical.
did encounter , know might causing this?
this under visual studio 2010 , framework 4.0, windows 7.
i had same error message. occurred after copied in new version of web.config had made many changes manually in other environment.
i found issue using quasi-binary search. i.e. using beyond compare, copy in first half of changes , see if still generated error. if did, start again , copy in first quarter of changes etc...
the error me following setting:
<setting name="invaliditemnamechars" value="\/:?"<>|[]" />
note "greater than" symbol!
i fixed changing setting to:
<setting name="invaliditemnamechars" value="\/:?"<>|[]" />
Comments
Post a Comment