StrataFrame Forum

Error upgrading website from 1.5 to 1.6

http://forum.strataframe.net/Topic9044.aspx

By Keith Chisarik - 5/24/2007

I get this after upgrading a website to 1.6 and trying to get it working. Please help.



Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.



Parser Error Message: The base class includes the field 'Image1', but its type (MicroFour.StrataFrame.UI.Web.Image) is not compatible with the type of control (MicroFour.StrataFrame.UI.Web.Image).
By Keith Chisarik - 5/24/2007

I added the 1.6 DLL's into this websites BIN directory, I still have 1.5 DLL's in the GAC.



I was told to do this. Just FYI so you can better help me.
By Keith Chisarik - 5/24/2007

My theory is that the 1.5 DLL's are conflicting with the 1.6's



If I put everything back (restore from backup) the site runs IF I remove the 1.6 DLL's from the BIN directory.



My gut tells me that if I remove the 1.5's from the GAC on the web server, I will be OK, BUT I don't have copies of the 1.5's to put them back and this website must work or my *** is grass.






By Keith Chisarik - 5/24/2007

I put the 1.6's in the GAC to no avail, unable to uninstall the 1.5's (I did find backups of these) due to "required by other applications"



Heeeeeelp Smile
By StrataFrame Team - 5/24/2007

Do a search within your application for 1.5.0.0.  Most likely, there is a page reference or a reference in one of the resources that is looking at 1.5.  If the app is using 1.6, but the page or resource is referencing 1.5, then it's going to give you that error. 

As for keeping the 1.6 DLLs in the bin\ folder and the 1.5 DLLs in the GAC, it will work fine once you get rid of the pesky reference to the 1.5 that is hanging on somewhere.  Most likely, it's in an obscure place somewhere (not in the web.config) in one of the <%Page %> declarations or something.  Just do an "Entire Project" search and you should find something somewhere.

By Keith Chisarik - 5/24/2007

no occurances of the string "1.5" after searching
By Keith Chisarik - 5/24/2007

any further ideas to try will be greatly appreciated, I have a customer waiting for what admittedly should have been a "simple update".
By Keith Chisarik - 5/25/2007

anyone?
By StrataFrame Team - 5/25/2007

I tried sending you an email through the forum to setup a screen sharing session, but I got an auto response that said you would be out of the office until the 30th... are you available to do a session?
By Keith Chisarik - 5/25/2007

I am on "vacation" but yes I am available. I emailed you.
By Ed Summers - 5/25/2007

Ben,



I work with Keith and can also be of assistance. I have access to the project.



Ed
By Keith Chisarik - 5/30/2007

Just to wrap this up.



It got magically fixed. Sorry I don't know what the answer was it just started working.



The only thing I can think is that the web server did get restarted over the holiday, could this have been the "magic" that made this huge headache of mine go away?


By Trent L. Taylor - 5/30/2007

Well, at any rate I am glad it is working now Smile