问题
when i publish my app using Click Once Deployment i got this error:
Failed to copy file 'D:\Tam Alsharq Operator - March 2013\Tam Alsharq Operator (TAO)\Tam Alsharq Operator (TAO)\bin\Release\app.publish\Application Files\Tam Alsharq Operator (TAO)_1_0_0_77\Tam Alsharq Operator (TAO).exe.deploy' to '192.168.2.11\TAO\Application Files\Tam Alsharq Operator (TAO)_1_0_0_77\Tam Alsharq Operator (TAO).exe.deploy'. Unable to add 'Application Files/Tam Alsharq Operator (TAO)_1_0_0_77/Tam Alsharq Operator (TAO).exe.deploy' to the Web site. Unable to add file 'Application Files\Tam Alsharq Operator (TAO)_1_0_0_77\Tam Alsharq Operator (TAO).exe.deploy'. The specified network name is no longer available.
please help.!
回答1:
This issue will usually come down to either
- A missing location (check the IP and that the target location exists on the server)
- A permissions problem (check you hsve access to see/write to the target)
- An infrastructure issue - either server load causing the target to become unresponsive or network issues causing the operation to fail (check the ping if possible)
In your case you say that the ping is high and that some packets are lost, which might show a network config problem (I've seen duplicated IP address cause it for example) or even a network hardware failure (such as a bad switch or cable)
Its worth checking with your IT systems folks showing them the ping results to eliminate that as a possibility.
来源:https://stackoverflow.com/questions/21425258/failed-to-copy-the-specified-network-name-is-no-longer-available