My working environment: Windows 7 Enterprise SP1, 64-bit OS, VisualStudio 2010 Premium. My scenario: I have a windows solution that needs to be published over a VPN to the “Live Server”. When I publish the solution to the “Test Server”, it publishes fine, installs without problems, and the testers can do their stuff. My problem: When I publish to the “Live Server” over the VPN, the necessary files are copied over (the following files, where * represents the name of various classes, projects within my solution, etc: *.dll.deploy, the *.exe.manifest, the *.application, the *.exe.deploy) – 64 in total. I have physically watched the copying process to verify that all the files are copied over. The Publishing Folder Location and the Installation Folder URL are the same, as indicated on the Publish tab in the Properties of the Start-up project. At the end of the copying, I get a VS error list with between 5-7 errors, and then a rollback starts that deletes those 64 files from the deployment location. Those errors ALWAYS include a combination of 9 specific files, and the files shown in the error list are not the same every time. The error message: “Failed to copy file ‘…filename…’ to ‘…deployment location…’ to the website. Unable to add file to ‘…deployment location…’ The specified network name is no longer available.” While the copying took place, I pinged the “Live Server” with the –t tag to ensure that I can spot a drop in connectivity. My request: Is there anyone that can assist me, or point me in the right direction to sort out this problem? Is there something that I am overlooking? Any advice will be highly appreciated. I am thinking of: Since nothing changes between be publishing to the “Test Server” and the “Live Server” except for the deployment folder location, can I plainly copy the 64 files from the “Test Server” over to the “Live Server”? Thanks in advance.
McCombi
Posts
-
Issue with Click-once Deployment -
Build TreeViewItem dynamically [modified]Hi all, This is how I did it. I hope it helps someone in the future. :cool:
Microsoft.Windows.Controls.TreeViewItem treeitem = new Microsoft.Windows.Controls.TreeViewItem();
StackPanel sp = new StackPanel();
sp.Orientation = Orientation.Horizontal;
CheckBox cb = new CheckBox();
sp.Children.Add(cb);
sp.Children.Add(treeitem); -
"Embed" an external video clipI have even tried the VideoBrush today, with no success :( See code below. On page Player:
…
…
…Then from the xaml page where the user clicks on the image to see video clip:
…
player.mediaPlayer.Source = new Uri("http://youtu.be/code\_of\_video");
player.rect.Fill = player.brush;
…Please help me! :cool:
-
"Embed" an external video clipHey Navin, Thanks for the prompt reply :cool: I do, however, want to embed the video into my SILVERLIGHT app, and not on the apsx page.
-
"Embed" an external video clipHi all, I am trying to show a video clip after the user clicks on a thumbnail image. I tried 3 ways already, without joy :(( 1) I included the video as a resource in the project – but it took too long to load, obviously :( 2) I tried the following line, which opens the video nicely :thumbsup:, but in another browser window :thumbsdown: System.Windows.Browser.HtmlPage.Window.Navigate(new Uri("http://youtu.be/code\_for\_video"), "", "toolbar=1,menubar=1,resizable=1,scrollbars=1,top=0,left=0"); 3) I tried the following line, which doesn’t work :~ htmlHost.SourceUri = new Uri("http://youtu.be/code\_for\_video"); I am doing something wrong? Am I missing something essential? Should I try something else? I want to show the video in something like an iframe, but I can’t get anything worthwhile after numerous Google searches. I am using Silverlight 3, and Microsoft Visual Web Developer 2010 Express. Any advise, guidance and suggestions are welcome.:cool: Thanks.
-
Build TreeViewItem dynamically [modified]Thanks for the replies. Additional Info: The UserControl that contains the TreeView is used on another page too, but NOT with the CheckBox. The functionality there requires the user to actually select the appropriate TreeViewItem. In the new scenario, the TreeView is be populated with exactly the same data is on the other page, but with the additional CheckBox for each TreeViewItem where the user is allowed to select multiple CheckBoxes in the TreeView. My idea was to just add the CheckBox to each TreeViewItem dynamically as each is built, and before it is added to the TreeViewItems collection. Question: Should I put another grid in my XAML with exactly the same methods etc as for the original TreeView, but with the additional CheckBox as part of the TreeViewItemTemplate? Then whenever this altered TreeView is needed, I toggle the visibility of the 2 grids in my XAML? Thanks again for any directional advice and alternative suggestions.
-
Build TreeViewItem dynamically [modified]Done in XAML via triggers? I have never heard of triggers in XAML. What is it, and how are they used? But I guess that's for another thread, huh. I'll Google it... :thumbsup:
-
Build TreeViewItem dynamically [modified]Hi all, I need to build TreeViewItems dynamically in Silverlight4, C#.net, Visual Studio 2010 Premium. Currently the TreeView consists of only a lot of TextBlocks, and I need to put a CheckBox in front of each TextBlock dynamically. This has to be done in code-behind, not in the xaml. I have done a few Google searches, but could not find anything that I could use to guide me to do this. Please provide me with links to articles/demos/discussions/etc that will help me. Some code snippits would be appreciated too... Thanks :cool:
modified on Friday, August 5, 2011 7:45 AM