locked
Want to make set up file of my web site RRS feed

  • Question

  • User-1764676684 posted

    Hello:

    i created testing website, now i awn to make setup file my website.i want to give it to my client  but don't want to include source code.

    how can i do this.

    i m using :VS2005,.net framwork 2.0

    thanks

    Thursday, May 28, 2009 4:24 PM

Answers

  • User372121194 posted

    Hi,

    Hi:

    i got this error msg while making buil of web deployment of my website.

    Error    14    "aspnet_merge.exe" exited with code 1.        1    1    MoviespotWebsite

    Thanks for your response.

    The error message is general. You can try to configure Visual Studio to output detailed build information and then troubleshoot the issue.

    For more information, see http://geekswithblogs.net/michelotti/archive/2006/07/31/86754.aspx

     

    Thanks. 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, June 3, 2009 9:23 PM
  • User-1764676684 posted

    Hi Thomas:

    When i use  webdeployment  and use web.config replacement is as below,

    connectionStrings=conectionStrings.config
    appSetttings=appSettings.config

    it gives me error in build like below

    Error 92 web.config(1): error WDP00002: missing section appSetttings.  1 1 SSIMovieSpot_deploy
    can you please help me!

     

    Thanks in advance

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, June 8, 2009 6:07 PM
  • User-1764676684 posted

    Hello anup:

    When i put this code to web.config repalcement in web deployeement,

     connectionStrings=conectionStrings.config;
    appSetttings=appSettings.config

    it give me this error at build time

    Error 92 web.config(1): error WDP00002: missing section appSetttings.  

    and when i make build without adding this web.config replacement code it build correct but i found some missing folder in setup file like, App_data and App_code

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, June 8, 2009 6:27 PM
  • User372121194 posted

    Hi,

    For " missing section appSetttings" error, please make sure there is appSetting section in web.config.

    and when i make build without adding this web.config replacement code it build correct but i found some missing folder in setup file like, App_data and App_code

    The classes in App_Code folder will be compiled into assembly and this folder will be removed. For the App_Data folder, if you don't want to remove it, please clear Remove the App_Data folder checkbox in Deployment node.

     

    Thanks.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, June 8, 2009 10:07 PM

All replies

  • User579345625 posted

    Hello,

    You can use the web deployment project to pre-compile the ASP.Net 2.0 web application in-to  one dll. This will save you from sharing the actual .cs and aspx.cs files to client as they are pre-compiled into one dll.

     Following are the related links:

    http://weblogs.asp.net/scottgu/archive/2005/11/06/429723.aspx

    http://msdn.microsoft.com/en-us/magazine/cc163448.aspx

     http://msdn.microsoft.com/en-us/asp.net/aa336619.aspx

    http://forums.asp.net/t/1411407.aspx

     

    This should help, but remember some smart client can always use the refactor tools to look into the dll and read your code. Still, this will give your code a basic security level

     

    -- Anup Daware

     

     

     

    Thursday, May 28, 2009 11:44 PM
  • User579345625 posted

     After you create an .net assembly using above mentioned approach, you can encrypt the assembly. Following article should help. Read both Part1 and Part2 for more on securing the .net assemblies:

    http://www.codeproject.com/KB/security/NeCoder01.aspx

    http://www.codeproject.com/KB/security/NeCoder02.aspx

     

    Hope this helps,

    Anup Daware

    Thursday, May 28, 2009 11:49 PM
  • User981487632 posted

    I have used web deployment and also u can follow below link.. hope it solves your issue

     http://www.codedigest.com/Articles/VisualStudio/126_Web_Deployment_Project_for_Visual_Studio_2005_and_2008.aspx

    Friday, May 29, 2009 5:18 PM
  • User-1764676684 posted

     hey anup:

    i created .dll file successfully,

    now i don't know how to create set up file.

    can u sugges me how to use this dll file in set up,

    thnks in advance.

    Monday, June 1, 2009 10:19 AM
  • User372121194 posted

    Hi,

    We can add Web Deployment project (http://msdn.microsoft.com/en-us/asp.net/aa336619.aspx) to precompile your ASP.NET website and then use this Web Deployment Project's output as Web Setup's input (Right click Web Setup project and select Add Project Output..., and then select Web deployment project from Project dropdown list).

    For more information, see http://weblogs.asp.net/scottgu/archive/2005/11/06/429723.aspx

     

    I look forward to receiving your test results.

    Wednesday, June 3, 2009 12:01 AM
  • User-1764676684 posted

     hey it works,

    thanks Lot!

    Wednesday, June 3, 2009 10:07 AM
  • User-1764676684 posted

    Hi:

    i got this error msg while making buil of web deployment of my website.

    Error    14    "aspnet_merge.exe" exited with code 1.        1    1    MoviespotWebsite

    Wednesday, June 3, 2009 11:08 AM
  • User981487632 posted

    Download and install this

    http://www.microsoft.com/downloads/details.aspx?familyid=E6E1C3DF-A74F-4207-8586-711EBE331CDC&displaylang=en

     

    but make sure you dont cancel between the installation. let it complete and untill then have pizzza

    Wednesday, June 3, 2009 3:18 PM
  • User372121194 posted

    Hi,

    Hi:

    i got this error msg while making buil of web deployment of my website.

    Error    14    "aspnet_merge.exe" exited with code 1.        1    1    MoviespotWebsite

    Thanks for your response.

    The error message is general. You can try to configure Visual Studio to output detailed build information and then troubleshoot the issue.

    For more information, see http://geekswithblogs.net/michelotti/archive/2006/07/31/86754.aspx

     

    Thanks. 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, June 3, 2009 9:23 PM
  • User-1764676684 posted

     Hello Thomas:

    Thanks for all yor help,

    finally i created set up file for website.

    but i have still some doubts.like

    how my client will use this website,

    ex.they will run set up,then go to wwwroot folder n open sln file and run that..or any other way is there...

    like we can provide simply URL.???

     

    Monday, June 8, 2009 10:40 AM
  • User-1764676684 posted

    Hi Thomas:

    When i use  webdeployment  and use web.config replacement is as below,

    connectionStrings=conectionStrings.config
    appSetttings=appSettings.config

    it gives me error in build like below

    Error 92 web.config(1): error WDP00002: missing section appSetttings.  1 1 SSIMovieSpot_deploy
    can you please help me!

     

    Thanks in advance

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, June 8, 2009 6:07 PM
  • User-1764676684 posted

    Hello anup:

    When i put this code to web.config repalcement in web deployeement,

     connectionStrings=conectionStrings.config;
    appSetttings=appSettings.config

    it give me this error at build time

    Error 92 web.config(1): error WDP00002: missing section appSetttings.  

    and when i make build without adding this web.config replacement code it build correct but i found some missing folder in setup file like, App_data and App_code

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, June 8, 2009 6:27 PM
  • User372121194 posted

    Hi,

    For " missing section appSetttings" error, please make sure there is appSetting section in web.config.

    and when i make build without adding this web.config replacement code it build correct but i found some missing folder in setup file like, App_data and App_code

    The classes in App_Code folder will be compiled into assembly and this folder will be removed. For the App_Data folder, if you don't want to remove it, please clear Remove the App_Data folder checkbox in Deployment node.

     

    Thanks.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, June 8, 2009 10:07 PM