Configuration :: Replacing Dlls With Newer Version?
Jun 22, 2010
I have 3 dll's compiled and put inside the bin dir of a website. They were referenced some time ago on a different computer with their respective source code.
I don't have the original source code for this version (all 3 dlls are like one app. They use each other functions) but I do have a newer version.
What I wanted to do was to completely remove any reference for the old version and just add a reference to the new version dlls. I tried:
Rightclick on dll---> delete , tried: look inside project file,sln, anywhere - web.config etc. to find the reference ..... Nothing. The old dlls come back after I recompile.
One of the new dlls has a different name than the same one in the older version. When I replace the older versions with the new ones and add the third dll with the different name and delete the older one and recompile. The older one just comes back from nowhere, and I get an error that I have some functions running both on the older dll and the newer one and it won't compile.
How do I completly remove the older version so I can start over with the new one?
I have been developing my first setup program and for that It needs few dlls to be registered using the Regasm and also Regsvr32. I have used vsdraCOM and vsdrfCOM registering options for the dlls to register in VS2008 for Regasm and Regsvr32 respectively.
1) Are the registering options that I have used correct?
2) Also if there is a new version of the dll then it should install the newer version of it. How am I supposed to do this? And the fact which is running in my mind is where does(I mean the location) the Setup project will look for the newer versions of the dlls while installing the program?
My Exe had a reference to a older version of a dll in the GAC both old & new versions are present in the config file i have given the binding redirect setting to refer the new version of the dll , thouhg when exe is running it is still refering to the old version , could some one shed some light here.
There is an existing asp.net 2.0 app on an IIS 6 server. I need to add a feature/page to this site (third party app, don't have source code). I'm creating my tool in VS targeting dotnet 4. For end user convenience I need my tool to be available within the same url namespace as this .net 2.0 app. I assumed I would just create a new virtual directory within this existing app to put my app. But I hadn't thought about the different framework versions.... the web server does have v 4 installed. So can I create my virtual directory and host my v4 tool there, within the v2 website?
I noticed that the DLLs in the bin folder for asp.net websites do not seem to be getting saved. When I goto a new computer and get latest I am missing the DLLs.What is the correct way to fix this ? Should I create a seperate folder to contains all DLLs ? And then can I somehow tell my bin references to goto that folder to get the DLLs?
We have an application that is already deployed in the production environment. And currently it is using Dundas evaluation version. We tried updating it to the licensed version by simply pasting the dll file. but we got the error message as "The file has not been pre-compiled and cannot be requested".
The server is 64 bit, but the app pool is configured to run as 32 bit. Do i need to publish 64 bit dlls? The rapid fail recovery sometimes recycles the app pool and someone suggested that it may be because i am not using 64 bit dlls. Doesn't sound likely... but you never know.I switched the publish settings to release and any cpu. But it spits out in the bin folder /bin/x64 as well. Do i copy over everything in the bin folder or do i just copy over the x64 dlls?? kinda confused on that. And why are pdb files being spit out with the dlls as well? I thought this was a debug thing only.
I recently noticed that when a dll is replaced at my web site, the site will take a long time to come back, even though the dll is only used by limited pages. I generally have to reset IIS to make the web site come back faster. Is this the normal behavior? or some settings need to be ajusted to avoid this?
I have my web application in which I have paste some of WebPages which is referencing to some DLL which was earlier in Bin Folder but when I move to my solution I am getting error of
Error 1 The type or namespace name 'MyDummyBinDLL' could not be found (are you missing a using directive or an assembly reference?) F:WebProjectsProbingTestProbingTestGlobalPlus.UI.ClientWebLinkMyWebLinkHomePage.aspx.cs 13 7 GlobalPlus.UI.Client
What is the guideline on installing the application dlls in GAC? I have not never done that. Is installing shared dllas like mvc2 dlls in GAC is a good approach?
What will happen in this case where I have an old version of the same dll in GAC and a new version of the same dll installed in the bin folder? Will always the GAC dll being used by the application rather than the dll in its bin folder?
Is it possible to replace the sitemap section of web.config using the replacement functionality of Web Deployment Projects? I have tried doing this in every configuration I can think of and I get a WDP00002 missing section error every time.Web.config file section replacement command: system.web/sitemap=sitemap.configBoth .config files are in the root of the project and no matter how I set up the sitemap.config file I still get this error.
The type or namespace name 'DocumentFormat' could not be found (are you missing a using directive or an assembly reference?)' errors even though the dll is on both machines and references are in the two relevant projects. The errors are only coming up in one project in the (web) application and the app is building as expected on my machine.
Visual Studio 2008 I have web application in production where Web project is using Business project (.dll). Now i have made some changes in Business and need to move, say business.dll, to production. I am changing the version number of new business dll. While deploying it is giving error (System.IO.FileLoadException: Could not load file or assembly... ) and web project is not able recognige business.dll becuase version has changed now. I do not want to release web project as there are no changes there.
I have source-version of project and i need to deploy it on IIS. General project it properly deploy using VS2008, but issue is, if new revision is created then i need to point new source to deploy web-site. In this case i need to remove created virtual dir for previous version. Is this possible to toggle virtual directory between two sources. I think one solution is to change virtual directory path to new one.
I have developed a small website which is working on SQL server.. And also found Deployment process which is working well in my system. But my actual need is when I am deploying a project there should be some time limit to work that particular application like a trial version to give demonstration to others.
Here is my problem: But i had searched few forum on that, the problem is framework version. However, all the while the pc is using same framework v1.1.4322. After i compile the dll at folderA for example, the i copied it to folderB due to using same dll. Just that, cause the below error.
We have a web application(.net 3.5 on IIS7) which is currently referencing a specific version of a third party dll (abcpdf6.dll). I would like to move this reference from the project to the web.config and assign it an alias so when a new version becomes available I can just change the reference in one place.
We are developing a web site and in this site we have a link to a clickonce deployed application. This is a direct link to the executable (Remote share execution). For this to be possible the client must have .NET framework SP2 installed. The problem is i need to get the SP version of the clients machine. I can access client information using Request.UserAgent but this doesn't have a clue about the service pack.
I would like to make the build information for the running web application but I dont know where I set or configure this nor do I know how to retrieve this information.
In a project you may set the build information in the file AssemblyInfo.cs under the projects Properties folder. Here is a snippet of the AssemblyInfo.cs file:
[Code]....
But there is no such file for an web application project, so I have to get this information from one of the compiled DLLs that is in the same assembly as my web application then? Or how is this done?
The reason I want this information is because my customer would like to have a webpage within the web application where he could see the current version. This is also nice to have when testing and debugging etc.