Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...'System.Web.UI.ScriptManager' is ambiguous - error when installing on new server
Previous
 
Next
New Post
3/25/2010 8:32 AM
 

We get the following error when trying to move a portal from one server and installing it on another.

----------------------------------------------------------
An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: The type 'System.Web.UI.ScriptManager' is ambiguous: it could come from assembly 'C:\Inetpub\wwwroot\nepof\bin\System.Web.Extensions.DLL' or from assembly 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll'. Please specify the assembly explicitly in the type name. ---> System.Web.HttpException: The type 'System.Web.UI.ScriptManager' is ambiguous: it could come from assembly 'C:\Inetpub\wwwroot\nepof\bin\System.Web.Extensions.DLL' or from assembly 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll'. Please specify the assembly explicitly in the type name. at DotNetNuke.UI.Utilities.Reflection.CreateType(String TypeName, String CacheKey, Boolean UseCache, Boolean IgnoreErrors) at DotNetNuke.UI.Utilities.Reflection.CreateType(String TypeName, Boolean IgnoreErrors) at DotNetNuke.UI.Utilities.MSAJAX.get_ScriptManagerType() at DotNetNuke.UI.Utilities.MSAJAX.get_IsInstalled() at DotNetNuke.UI.Utilities.MSAJAX.Deserialize[T](String Data) at DotNetNuke.UI.Utilities.ClientAPI.GetClientVariableList(Page objPage) at DotNetNuke.UI.Utilities.ClientAPI.GetClientVariableNameValuePair(Page objPage, String strVar) at DotNetNuke.UI.Utilities.ClientAPI.GetClientVariable(Page objPage, String strVar) at DotNetNuke.UI.WebControls.DNNMenu.LoadPostedJSON() at DotNetNuke.UI.WebControls.DNNMenu.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Skins.NavObjectBase.InitializeNavControl(Control objParent, String strDefaultProvider) at DotNetNuke.UI.Skins.Controls.Nav.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.Framework.DefaultPage.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Page.OnInit(EventArgs e) at DotNetNuke.Framework.PageBase.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

----------------------------------------------------------

We have 2 portals and are trying to move them both to a new server.
One of them works ok, but the other one - which works off a virtual directory from the first one - doesn't work (and this is the one which returns the error above).

any ideas welcome,
thanks,
mark.

 
New Post
3/25/2010 9:35 AM
 
which DNN version are you running? there seems to be a conflict between AJAX 1.0 and AJAX 3.5

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/25/2010 10:20 AM
 

we are using dnn 5.1.1,
but the error has gone now (just copied all the dnn content files over again and the error dissappeared.)
Not sure why/how it got corrupt.

Although now it just gives a generic server error.

 
New Post
3/25/2010 11:45 AM
 
Do you still have a system.web.extensions.dll in the BIN folder of your website? If you have .net 3.5sp1 you won't need that file in the BIN folder.

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
3/25/2010 2:21 PM
 
Chris Hammond wrote:
Do you still have a system.web.extensions.dll in the BIN folder of your website? If you have .net 3.5sp1 you won't need that file in the BIN folder.
 

Yes, we still have that file in the BIN folder (version 1.0.6)
But, we are still running on framework 2.0 (due to still using SQL 2000, and DNN 5.1.1)

Our portal which runs off the virtual directory now merely forwards to the DNN site on main root (of IIS)
(also tried putting the virtual directory site on the main root of IIS, but same errors and results).

When deleting the 'system.web.extensions.dll'  file - A configuration error occurs.
When commenting out the assembly line of code (in web config) - it still redirects to the main portal.

------

Further Info:  
I believe its recommended to remove old references to old aliases in the database when setting up on a new development server.
– so, on our new database, we did this:

-         Removed portal alias to reference to the live website (in Portals and PortalAlias tables)

-         Also had to remove all references to live portal id on new database ‘portal id 7’ (in modules table)

 
But, then it gives this error:

Exception Details:
System.NullReferenceException: Object reference not set to an instance of an object.

-      
Could it be giving this error because its trying to connect to the old portal ID - 'portal 7' instead of the portal we want 'portal 0' (perhaps this is why its redirecting – because it keeps looking for portal 7) ?
- is there any way we can check to see which portal id it is trying to connect to?
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...'System.Web.UI.ScriptManager' is ambiguous - error when installing on new server


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out