I'm installing Umbraco 4.5 (for dot.net 3.5) on a medium trust hosting enviroment
When creating macros using my custom user controls I run into serious problems.
Usually the system reports an "ambiguous problem" like this one:
System.Web.HttpParseException: The type 'JQD.TabStrip' is ambiguous: it could come from assembly 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\40af8412\c4825422\App_Code.eepn69nf.DLL' or from assembly '[blabla]bin\TestTabStrip.DLL'. Please specify the assembly explicitly in the type name. --->
This happens for example, when i try to use umbracos auto-properties button "Browse properties"
--
I havn't been able to get any user controls to work. None at all!
Try cleaning up the temporary directory and restarting IIS, worked for me 9 out of 10 times, although I have only experienced this, when I have done something terribly wrong ;)
And check where the TestTabStrip.dll is used, as this is not part of the umbraco distribution itself.
ALL user my controls creates ambiguous errors
I'm installing Umbraco 4.5 (for dot.net 3.5) on a medium trust hosting enviroment
When creating macros using my custom user controls I run into serious problems.
Usually the system reports an "ambiguous problem" like this one:
System.Web.HttpParseException: The type 'JQD.TabStrip' is ambiguous: it could come from assembly 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\40af8412\c4825422\App_Code.eepn69nf.DLL' or from assembly '[blabla]bin\TestTabStrip.DLL'. Please specify the assembly explicitly in the type name. --->
This happens for example, when i try to use umbracos auto-properties button "Browse properties"
--
I havn't been able to get any user controls to work. None at all!
--
Does this ring any bells to any of you guys?
Thomas
Thomas,
Are you sure Umbraco 4.5 works with .NET 3.5? I thought it required .NET 4.0, but I could be mistaken.
--steve
@steve Im using the second download her http://umbraco.codeplex.com/releases/view/47241
Please, can nobody in the community help me with this?
Try cleaning up the temporary directory and restarting IIS, worked for me 9 out of 10 times, although I have only experienced this, when I have done something terribly wrong ;)
And check where the TestTabStrip.dll is used, as this is not part of the umbraco distribution itself.
atze
@atze: Thanks for your answer!
I'm actually installing on an typical small medium-trust hosting provider(for testing 4.5) so i dont have control over the IIS (i think)
the TestTabStrip.dll is simply an "doing nothing"-user control for testing and to provoke and exemplifie the problem.
As mentioned earlyer this happens with ANY user controls under 4.5.
No problem with previous versions of umbraco...
Yes doing somthing terrible wrong is properbly an option, as it is yours sincerly doing some coding here:-)
But this is all what I have do to get the problem:
1.Install fresh umbraco 4.5
2.Upload user control
3. Create macro using the user control
4. Click "browse proberties" for the user control
5. ERROR - ambigious error about the user control dll
Ah see, a little forum search reveals this: http://our.umbraco.org/forum/core/41-feedback/10068-Can%27t-load-user-control,-error
May it helps, if it doesn't, I'm out...
@atze, Thanks again. I tried this already but this doesn't seems to change anything
I managed to get the hosting provider to restart the server. That fixed the problem completely!
is working on a reply...