locked
Deployment Problem RRS feed

  • Question

  • User-73629641 posted

    Hi There,

    I have a web site, developed by VS 2008 and using ASP.net 3.5 / C# / Ajax / SQL Server 2005 Express.

    I've downloaded Web Deployment Project for VS2008 from microsot web site, it is working perfectly with my other projects, but I recieve this erro message when I try to deploy this project.

    Error 15 An error occurred when merging assemblies: ILMerge.Merge: ERROR!!: Duplicate type 'Default2' found in assembly 'App_Web_acclwiwb'. aspnet_merge 1 1 Projectname_deploy

    Any idea?

    Thanks in advance

     


     

    Wednesday, August 19, 2009 7:30 AM

Answers

All replies

  • User-1659704165 posted

    Hi,

    http://dreamlusion.wordpress.com/2008/07/06/an-error-occurred-when-merging-assemblies-access-to-the-path-is-denied/

    http://msdn.microsoft.com/en-us/library/bb397866.aspx

    Chk the above 2 link

    Wednesday, August 19, 2009 7:55 AM
  • Wednesday, August 19, 2009 7:57 AM
  • User1970566204 posted

    Hi,

     

     Error 15 An error occurred when merging assemblies: ILMerge.Merge: ERROR!!: Duplicate type 'Default2' found in assembly 'App_Web_acclwiwb'. aspnet_merge 1 1 Projectname_deploy

     

     

     1) are you COPY and PASTE some webpages () ?????? .... (so different page access same class)

     2) then go to the Markup Code ..and change the INHERITS name .. based on ur Class file (as below)

    <STRIKE><%</STRIKE><STRIKE>@ Page Language="C#" AutoEventWireup="true" </STRIKE>

    <STRIKE>                CodeBehind</STRIKE><STRIKE>="Default.aspx.cs"</STRIKE>

                    Inherits="Default2" %> 

    Wednesday, August 19, 2009 8:02 AM
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 19, 2009 8:02 AM
  • User-73629641 posted

    Thank you all,I am talking about this link

    Wednesday, August 19, 2009 8:46 AM
  • User-73629641 posted

    Thank you I solved the problem, asyed,is excatly right

    Wednesday, August 19, 2009 8:48 AM