<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tag '&amp;quot;aspnet_merge.exe&amp;quot;'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=%26quot%3baspnet_merge.exe%26quot%3b&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag '&amp;quot;aspnet_merge.exe&amp;quot;'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Web Setup Cannot Run in different server</title><link>http://forums.asp.net/thread/3454939.aspx</link><pubDate>Mon, 12 Oct 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3454939</guid><dc:creator>GAYATHRIPAMINESH</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;1) It always choose the default.aspx to display, if the page is not exist it always shows :&lt;br /&gt;&lt;br /&gt;&amp;quot;Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.&amp;quot;&lt;br /&gt;&lt;br /&gt;2) How to set the connection string in websetup file?&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If the page involve database connection, it totally gives &amp;quot;Server Error&amp;quot;, and the page cannot be viewed at all.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Please help me with the problem i&amp;#39;m facing.. I will appreciate your help..&lt;br /&gt;&lt;br /&gt;Thank you in advance..&lt;br /&gt;&lt;br /&gt;Regards : pam&lt;/p&gt;</description></item><item><title>Re: Web Deployment 2008 - The specified task executable location &amp;quot;bin\aspnet_merge.exe&amp;quot; is invalid.</title><link>http://forums.asp.net/thread/3129474.aspx</link><pubDate>Wed, 29 Apr 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3129474</guid><dc:creator>ctheriault</dc:creator><description>I got the same issue on one of my computer (I still don&amp;#39;t understand what was different on that one...) and installing SDK 6.1 fixed it up. 

BUT be aware that:
1) this SDK might take significant amount of time to download and install (I have a DSL at 600 kb/s)
2) If you change your mind and &amp;quot;cancel&amp;quot; the installation in the middle of the process. Your visual Studio might have been already hooked up to this new SDK and this is NOT rolled back by the &amp;quot;CANCEL&amp;quot; action. (***!)
3) I noticed that the content of the &amp;quot;bin&amp;quot; folder of my old SDK 6.0A was gone after I &amp;quot;removed&amp;quot; the SDK 6.1 (using the setup.exe of SDK 6.1 of course...); I have strong suspicions that the &amp;quot;remove&amp;quot; from SDK-6.1 also did wipe out my older SDK-6.0A... fortunately everything turned out okay after I reinstalled the 6.1</description></item><item><title>Could not load file or assembly 'App_Web_c4z8pqdo,</title><link>http://forums.asp.net/thread/2780720.aspx</link><pubDate>Tue, 02 Dec 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2780720</guid><dc:creator>mase</dc:creator><description>&lt;p&gt;&amp;nbsp;Hi, I&amp;#39;m on ASP.NET 2.0 and using Web Deployment Project to build assemblies by folder. I have been using these just fine and all of the sudden I&amp;#39;ve started receiving this error. &lt;/p&gt;&lt;pre class="coloredcode"&gt;Could not load file or assembly &lt;span class="st"&gt;&amp;#39;App_Web_c4z8pqdo, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null&amp;#39;&lt;/span&gt; or one of its dependencies. The system cannot find the file specified.&lt;br /&gt;Exception type &lt;span class="st"&gt;&amp;#39;System.IO.FileNotFoundException&amp;#39;&lt;/span&gt; was caught.&lt;br /&gt;Source: App_Web_zkh13vfe&lt;br /&gt;Target Site: Void __BuildControlTree(ASP.artists_controls_artistheader_ascx)&lt;br /&gt;Stack Trace:&lt;br /&gt;   at ASP.artists_controls_artistheader_ascx.__BuildControlTree(artists_controls_artistheader_ascx __ctrl)&lt;br /&gt;   at ASP.artists_controls_artistheader_ascx.FrameworkInitialize()&lt;br /&gt;   at System.Web.UI.UserControl.InitializeAsUserControlInternal()&lt;br /&gt;   at System.Web.UI.UserControl.InitializeAsUserControl(Page page)&lt;br /&gt;   at ASP._artists_artist_master.__BuildControlctlArtistHeader()&lt;br /&gt;   at ASP._artists_artist_master.__BuildControlctlContent(Control __ctrl)&lt;br /&gt;   at System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container)&lt;br /&gt;   at ASP.master_myApp_master.__BuildControlMainContent()&lt;br /&gt;   at ASP.master_myApp_master.__BuildControlform1()&lt;br /&gt;   at ASP.master_myApp_master.__BuildControlBody()&lt;br /&gt;   at ASP.master_myApp_master.__BuildControlTree(master_myApp_master __ctrl)&lt;br /&gt;   at ASP.master_myApp_master.FrameworkInitialize()&lt;br /&gt;   at System.Web.UI.UserControl.InitializeAsUserControlInternal()&lt;br /&gt;   at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)&lt;br /&gt;   at System.Web.UI.MasterPage.get_Master()&lt;br /&gt;   at System.Web.UI.MasterPage.ApplyMasterRecursive(MasterPage master, IList appliedMasterFilePaths)&lt;br /&gt;   at System.Web.UI.Page.ApplyMasterPage()&lt;br /&gt;   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;/pre&gt;&lt;p&gt;The app has been working fine and there are not any errors on the page or control. &lt;span class="st"&gt;App_Web_c4z8pqdo &lt;/span&gt;may have been the name of the assembly before WDP ran and merged the assemblies into folder specific names, but now the assembly is called Artists.Controls.dll. It shows FileNotFoundException, but the file is certainly there. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;As soon as I copy over the exact same assemblies (without even rebuilding) into the live bin folder, everything starts working again just fine.&amp;nbsp; Could the dll files be getting corrupt on that particular folder/file? Why doesn&amp;#39;t it reference the name of the assembly as it is? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to replace some other sections that do not allow configSource attrib.</title><link>http://forums.asp.net/thread/2772609.aspx</link><pubDate>Fri, 28 Nov 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2772609</guid><dc:creator>fafar</dc:creator><description>&lt;p&gt;[quote user=&amp;quot;fafar&amp;quot;] 
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I love the feature that allows me to replace web.config&amp;nbsp;sections depending on the build configuration. It makes deployment much easier when you have a variety of environments to deploy your project to like dev, QA, UAT, production etc. But there are still some settings in my config file that I need to customize for each build configuration&amp;nbsp;such as system.serviceModel section that keeps settings for my wcf service bindings... I was wondering if this can also be automated by web deployment project.&lt;/p&gt;
&lt;p&gt;any ideas are appreciated.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Robert&lt;/p&gt;
&lt;p&gt;[/quote]&lt;/p&gt;
&lt;p&gt;I have found solution.&lt;/p&gt;
&lt;p&gt;In this case the system.serviceModel cannot be replaced since it is a root for configuration sections. The sections that can be replaced by the web deployment are for example: bindings, client, etc. that are children nodes of system.serviceModel.&lt;/p&gt;
&lt;p&gt;I had to specify those subsections to be replaced like this: system.serviceModel/bindings=bindings.config (where bindings.config is a name of the file where my specific for a build configuration&amp;nbsp;settings are), and the same applies for the client subsection: system.serviceModel/client=client.config.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Robert&lt;/p&gt;</description></item><item><title>Errors on aspnetCompiler when compiling web deployment</title><link>http://forums.asp.net/thread/2356027.aspx</link><pubDate>Tue, 13 May 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2356027</guid><dc:creator>XML@asp</dc:creator><description>&lt;p&gt;could someone please what is this problem..&lt;/p&gt;&lt;font size="1"&gt;
&lt;p&gt;ASPNETCOMPILER : error ASPRUNTIME: The requested operation cannot be performed on a file with a user-mapped section open.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The command exited with code 1.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Done executing task &amp;quot;AspNetCompiler&amp;quot; -- FAILED.&lt;/p&gt;
&lt;p&gt;Done building target &amp;quot;AspNetCompiler&amp;quot; in project &amp;quot;Christianna.wdproj&amp;quot; -- FAILED.&lt;/p&gt;
&lt;p&gt;Done building project &amp;quot;Christianna.wdproj&amp;quot; -- FAILED.&lt;/p&gt;
&lt;p&gt;Build FAILED.&lt;/p&gt;
&lt;p&gt;Time Elapsed 00:00:46.83&lt;/p&gt;
&lt;p&gt;========== Build: 0 succeeded or up-to-date, 1 failed, 1 skipped ==========&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Control Ambiguos Name</title><link>http://forums.asp.net/thread/2356016.aspx</link><pubDate>Tue, 13 May 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2356016</guid><dc:creator>XML@asp</dc:creator><description>&lt;p&gt;thanks. i got it. i rename my control with different class.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Control Ambiguos Name</title><link>http://forums.asp.net/thread/2354207.aspx</link><pubDate>Tue, 13 May 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2354207</guid><dc:creator>XML@asp</dc:creator><description>&lt;p&gt;I have a control created in the web site project. and i re used it in two Master Pages. When i build the web site i have a successful build. but when i build my web deployment project it says that i have control ambiguos name. any help would be appreciated. &lt;/p&gt;
&lt;p&gt;thanks.&lt;/p&gt;</description></item><item><title>aspnet_merge fails with generics</title><link>http://forums.asp.net/thread/2178560.aspx</link><pubDate>Sun, 17 Feb 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2178560</guid><dc:creator>jhicks0300</dc:creator><description>&lt;p&gt;I ran across a situation that causes aspnet_merge to fail when precompiling a website with a web deployment project in Visual Studio 2008.&amp;nbsp; I could not reproduce the bug in Visual Studio 2005.&amp;nbsp; I am using Visual Studio Team Systems 2008 Development Edition Version 9.0.21022.8 RTM and Microsoft Web Deployment Projects 2008 Version 9.0.21022.&amp;nbsp; The web deployment project is configured to merge everything into a single output assembly.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Here is the console output when building the web deployment project&lt;/p&gt;
&lt;p&gt;&lt;em&gt;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\aspnet_merge.exe .\TempBuildDir -o WebAppOutput -a -debug -copyattrs &lt;br /&gt;The &amp;quot;AspNetMerge&amp;quot; task is using &amp;quot;aspnet_merge.exe&amp;quot; from &amp;quot;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\aspnet_merge.exe&amp;quot;.&lt;br /&gt;Utility to merge precompiled ASP.NET assemblies. Version 3.5.21022.&lt;br /&gt;Copyright (c) Microsoft Corporation 2007. All rights reserved.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;aspnet_merge : error 1022: An error occurred when merging assemblies, possibly due to circular dependencies between two assemblies. The error reported is: ILMerge.Merge: The assembly &amp;#39;App_Web_harmf_hl&amp;#39; was not merged in correctly. It is still listed as an external reference in the target assembly.&lt;br /&gt;The command exited with code 1.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Opening up the output assembly (&lt;em&gt;WebAppOutput&lt;/em&gt;) in Reflector shows it still has a reference to the assembly that holds the code behind class (&lt;em&gt;App_Web_harmf_hl&lt;/em&gt;).&amp;nbsp; &lt;/p&gt;
&lt;p&gt;The workaround I found for this is to change the configuration of the web deployment project from a single output assembly to a seperate assembly for each page and control.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;To reproduce, place this code in a class library&lt;/p&gt;
&lt;p&gt;using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Text;&lt;/p&gt;
&lt;p&gt;namespace GenericsLib&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public abstract class AbstractGeneric&amp;lt;T&amp;gt; where T : AbstractGeneric&amp;lt;T&amp;gt;, new()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Create a file system based web site with a single page.&amp;nbsp; Add a reference from the web site to the GenericsLib project.&amp;nbsp; Open the code behind for the page and put the following code in the page class&lt;/p&gt;
&lt;p&gt;private void DoSomething&amp;lt;T&amp;gt;() where T : GenericsLib.AbstractGeneric&amp;lt;T&amp;gt;, new()&lt;br /&gt;{&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;Add a web deployment project for the web site, and configure it to merge all the output into a single assembly.&amp;nbsp; Build the web deployment project and an ILMerge error should happen.&amp;nbsp; Again, this only happens in the Visual Studio .Net 2008 version of aspnet_merge and not in the version that shipped with Visual Studio 2005.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;James H.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Regarding the conversion of a VS 1.1 dll to VS 2.0 dll using ILMerge</title><link>http://forums.asp.net/thread/2167846.aspx</link><pubDate>Tue, 12 Feb 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2167846</guid><dc:creator>praveenraja</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can anybody help me in the conversion of a .net 1.1 dll to a .net 2.0 dll using ILMerge.&lt;/p&gt;
&lt;p&gt;But, while doing so, I am getting the following error.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;quot;An exception occured&amp;nbsp;during merging.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Unresolved assembly reference not allowed&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Actually, the dll which i am using is an external dll which was developed&amp;nbsp;in .net 1.1. I&amp;#39;m trying to convert it into .net 2.0 dll. &lt;/p&gt;
&lt;p&gt;Is there any other way to do the above conversion? Please help me in this regard.&lt;/p&gt;
&lt;p&gt;Thanks in advance.........&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Praveen.&lt;/p&gt;</description></item><item><title>Deploying from vs 2005 to 1.1 framework.</title><link>http://forums.asp.net/thread/2123850.aspx</link><pubDate>Tue, 22 Jan 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2123850</guid><dc:creator>chandrakantpant</dc:creator><description>&lt;p&gt;hi, &lt;/p&gt;
&lt;p&gt;Our project is in production also at the same time we are migrating it in 2.0, so during the migration period if any issues come form production we need to fix it and release it on 1.1 which will require one machine with 2003, so if we are successfull in providing the same from vs 2005 we will save one licenced installation. &lt;/p&gt;
&lt;p&gt;following are the steps which i have followed &lt;/p&gt;
&lt;p&gt;1. Their&amp;#39;s no new feature of 2.0 used in the app &lt;/p&gt;
&lt;p&gt;2. The app is simple converted in to 2.0 from 1.1 through wizard &lt;/p&gt;
&lt;p&gt;3.I am using the ouput of publish option for deploying in 1.1 3.The initial (yellow screen) error of web config attributes which are not supported in 1.1 have been removed by removing the attributes from web config. &lt;/p&gt;
&lt;p&gt;4.Now i am getting error as &amp;quot;Could not load the assembly &amp;#39;App_Web_bsmaxddn&amp;#39;. Make sure that it is compiled before accessing the page. &amp;quot; could u help me out of &amp;quot;Could not load the assembly &amp;#39;App_Web_bsmaxddn&amp;#39;. Make sure that it is compiled before accessing the page. &amp;quot; &lt;/p&gt;
&lt;p&gt;regards &lt;/p&gt;
&lt;p&gt;Chandrakant &lt;/p&gt;</description></item></channel></rss>