Sunday, February 05, 2012       Register      Login
  
Categories
Search blogs

Archive
Most recent blog entries
Jul 16

Written by: Mad Druid
Monday, July 16, 2007 

Few days ago, early in the morning, connecting to my DotNetNuke site I found it completely crashed!
Apparently without a valid reason, given that I left it in good health the night before... everything was ok and I didn't make any config changes.
Giving a look at the log, the main exception (at which many other followed) seemed to be this:

"System.Web.HttpCompileException: \Portals\_default\Skins\Tranquility\Basic.ascx(32): error BC30560: 'admin_skins_solpartmenu_ascx' is ambiguous in the namespace 'ASP'."

After 5 minutes of panic, I started to look for a known solution on the internet and on dotnetnuke.com forums.
I didn't find many solutions... and the few ones I found didn't match my case.

For someone the exception arises due to the existence of an "admin" virtual path

Others state that is a naming conflict and a renaming is enough to fix the bug

In some other cases seems to be a lower-upper case problem

However, in all situations above everything started after a modify, an external input... thing not true in my case. My provider too assured me that no modifies or patching activities was done during that night.

At the end I solved this way:
  • set to true the debug mode in web.config: <COMPILATION debug="true" strict="false">
  • restart the application connecting to the home page
  • re-set to false the debug mode in web.config: <COMPILATION debug="false" strict="false">
The mistery about the exception remains... if someone know a clear explanation, please, post it on the blog.. just to avoid the "An error occurred" panic! ;-)

Tags:

13 comment(s) so far...

Re: Error BC30560

Thanks for this solution. Actually I have suddenly found this error on 5 dnn sites and I too was looking at ISP updates. I was also looking for old dll namewspace conflicts but now . . .
Lets hope it sticks.
Thanks
Ian Marlow

By Ian Marlow on   Wednesday, November 14, 2007

Re: Error BC30560

Thank you for this fix, i will try it, i hope it works.

By Ismet Dumlupinar on   Sunday, December 02, 2007

Re: Error BC30560

OMG! I have 3 DNN applications one with 120+ portals. I started getting these "ambiguouse in the namespace 'ASP"" errors all over the place. I did your steps and "poof" all gone. Not sure what caused them but at least I know a way to fix.. THANK YOU!!

By Mike Rogers on   Friday, December 07, 2007

Re: Error BC30560

Hi Ian, Ismet and Mike! I'm glad to know that you found usefull this trick...

By admin on   Friday, December 07, 2007

Re: Error BC30560

After chasing this around for a while, I found that it was a duplicate .ascx file appended with _old having the same namespace. Once I deleted that it immediately worked without any further action.

By tangomeister on   Wednesday, June 25, 2008

Re: Error BC30560

Hi,

I have encoutered this problem today. This error appear suddenly without any changes to dnn or user controls!
My workaround was:
1) Stop Web service
2) Delete all folders and files from: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
3) Restart Web service
That's all!

By Gilles Le Pigocher on   Saturday, September 19, 2009

Re: Error BC30560

Thanks Mad Druid... your method worked perfectly for me.

By Mike Wright on   Thursday, November 05, 2009

Re: Error BC30560

Thank you so much for the fix.

By Manuela Bajenaru on   Tuesday, November 24, 2009

Re: Error BC30560

Gilles Le Pigocher, Thank you so much!! We bought a 3rd party intranet suite built on ASP and they couldn't figure this out! You saved me a lot of typing and importing.

By Wes Johnson on   Friday, July 23, 2010

Re: Error BC30560

Thank you so much !!
It worked for me...
Really strange...

By Flop on   Tuesday, August 03, 2010

Re: Error BC30560

Thanks so much. Estaba desesperado intentando encontrar una solución, y esta ha funcionado perfectamente.
Gracias por compartir la solución.

By Andrés Sánchez on   Monday, June 06, 2011

Re: Error BC30560

Thank you! I would have never figured out how to correct that error. Nicely done.

By Jack K. on   Monday, December 12, 2011

Re: Error BC30560

Thank you. This hit several of my production sites this morning and I was stumped. Sites are back up now. I love the fact that a post written in 2007 is still helping to fix sites in 2012!

By Scott on   Sunday, February 05, 2012

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel 
Sponsors
Privacy Statement      Terms Of Use      Copyright 2007 by NetDruids.com