Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 01, 2012 05:01 PM by mth13
Sep 22, 2011 01:23 PM|LINK
After I upgraded my local machine to .NET 4.0 and VS 2010, we deployed the new framework to our test server. I used the Web Installer on the test system. (http://www.microsoft.com/download/en/details.aspx?id=17851)
The application works just fine, but this is the server we build from and the Web Installer did not install the newest version of ASPNET_MERGE.exe and throws an error when trying to merge because it is looking for the .NET 4.0 version.
Does anyone know where I can get this?Can I just copy that directory from my local machine?
We are running Windows Server 2003.
Sep 23, 2011 03:10 AM|LINK
May I please have the error message? In Windows 2003, you need to manually enable ASP.NET 4.0 support via your IIS -> Website -> right click "Properties" and go to the ASP.NET tab.
If you have converted it to ASP..NET 4 and still does not work, please advise the error message here. Thanks
Sep 23, 2011 12:21 PM|LINK
As I said, the application works just fine on the server. I have already enabled 4.0 in IIS.
I am getting the error when I try to run the aspnet_merge utility because the 4.0 framework installer I used did not install the newest version of aspnet_merge onto the server.
The error is: An error occurred when merging assemblies: Module or assembly depends on a version of core library that is newer than the one reader uses to resolve system types.
This is because aspnet_merge was not included in the 4.0 framework install that I installed. Any ideas on where I can find it? Google is not very helpful.
May 01, 2012 05:01 PM|LINK
Better late than never, but by installing the IDE on the server, it had the updated aspnet_merge utility with it. I simply copied that to the folder that had my shortcut, deleted the old utility, and everything was fine. I had to change the options though
for it to work. I added -a and everything has been working fine since.