Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
250
When Publishing my ASP.Net website...
posted

 I have finished designing my website in Visual Studio 2005. I then went on to 'publish' my website.  The thing is when i published my website I assumed all the dll files referencing the infragistics controls would be stored in the 'bin' folder. This was not the case and when it came to actually running my website on the production server there were errors saying none of the dll files were stored so I had to copy and paste the needed infragistic dll files into the 'published website's BIN folder.  

Is there a way of not having to copy and paste after publishing my website? 

  • 2677
    posted

    Hello,

    By default, the assemblies that are referenced in an application come from the Global Assembly Cache and not local copies.  So, when you install Infragistics, it will automatically place assemblies in the GAC and the controls will automatically look there for them.  So, some of the ways in which we can deploy are placing all the Infragistics assemblies in the bin folder (what you did) or place the assemblies in the GAC on the production machine to mimic the setup that you have on your development machine. 

    The most common way is just to place the needed assemblies in the bin folder.  However, here is a help article with a list of several Deployment scenarios which should give you all the information that you need to successfully deploy an ASP.net web application utilizing NetAdvantage for ASP.Net.

    Hope this helps to clear some things up.