Welcome Guest Search | Active Topics | Members | Log In | Register

Method not found: 'System.Web.UI.CompositeScriptReference System.Web.UI.ScriptManager.get_CompositeS
arjosoer Offline
#1 Posted : Friday, October 30, 2009 11:08:58 AM(UTC)
Rank: YAF Forumling

Joined: 10/30/2009(UTC)
Posts: 1
Location: Canada

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
I created a new website for YAF that runs on port 8080.

I went through the initial wizard to configure everything which worked fine.
When I try to access the forum via www.mywebsite.com:8080 I get the following error.

I also checked to make sure that the ASP.Net version is set to 2.0.50727.

It is runnin in windows server 2003
IIS 6.0

Any help would be greatly appreciated.

Server Error in '/' Application.


Method not found: 'System.Web.UI.CompositeScriptReference System.Web.UI.ScriptManager.get_CompositeScript()'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.MissingMethodException: Method not found: 'System.Web.UI.CompositeScriptReference System.Web.UI.ScriptManager.get_CompositeScript()'.

Source Error:


Line 155: {
Line 156: // init the popup first...
Line 157: base.OnInit( e );
Line 158: // make a few changes for this type of modal...
Line 159: ShowModal = true;


Source File: c:\Projects\YAF\App_Code\YAF\Modules\PagePopupModule.cs Line: 157

Stack Trace:


[MissingMethodException: Method not found: 'System.Web.UI.CompositeScriptReference System.Web.UI.ScriptManager.get_CompositeScript()'.]
DNA.UI.ClientScriptManager.AddCompositeScript(Control control, ScriptReference scriptReference) +0
DNA.UI.ClientScriptManager.AddCompositeScript(Control control, String name, String assembly) +41
DNA.UI.JQuery.Dialog.OnInit(EventArgs e) +191
YAF.Modules.PopupDialogNotification.OnInit(EventArgs e) in c:\Projects\YAF\App_Code\YAF\Modules\PagePopupModule.cs:157
System.Web.UI.Control.InitRecursive(Control namingContainer) +321
System.Web.UI.Control.AddedControl(Control control, Int32 index) +221
System.Web.UI.ControlCollection.Add(Control child) +146
YAF.Modules.PagePopupModule.AddErrorPopup() in c:\Projects\YAF\App_Code\YAF\Modules\PagePopupModule.cs:76
YAF.Modules.PagePopupModule.ForumControl_Init(Object sender, EventArgs e) in c:\Projects\YAF\App_Code\YAF\Modules\PagePopupModule.cs:62
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.OnInit(EventArgs e) +99
System.Web.UI.UserControl.OnInit(EventArgs e) +74
System.Web.UI.Control.InitRecursive(Control namingContainer) +321
System.Web.UI.Control.InitRecursive(Control namingContainer) +198
System.Web.UI.Control.InitRecursive(Control namingContainer) +198
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +834





Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
Jaben Offline
#2 Posted : Friday, October 30, 2009 12:01:59 PM(UTC)

Rank: YAF Head Dude

Medals: Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.Medal of Honor for the Support King: Given to a community member who tirelessly answers tons of support questions.

Joined: 10/9/2004(UTC)
Posts: 4,152
Location: Raleigh, NC

Thanks: 35 times
Was thanked: 94 time(s) in 49 post(s)
Requires .NET v3.5 SP1. You are not running that version of .NET.
"I have a simple philosophy: Fill what's empty. Empty what's full. Scratch where it itches.”.

HuyNQ Offline
#3 Posted : Monday, December 28, 2009 5:40:16 PM(UTC)

Rank: Member

Joined: 10/22/2008(UTC)
Posts: 13

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Jaben wrote:
Requires .NET v3.5 SP1. You are not running that version of .NET.


So, how to run with .Net v3.5 SP1 ? I have installed VS 2008. But in IIS not see ASP.Net 3.5.

And I think :

<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>

in web.config to run it.
Hãy để cuộc sống tràn ngập tiếng cười ^^
sfkhooper Offline
#4 Posted : Sunday, February 07, 2010 2:13:03 PM(UTC)
Rank: YAF Forumling

Joined: 2/7/2010(UTC)
Posts: 7
Location: Geelong

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
I have this very same problem. YAF runs fine on my local dev machine, but I get the error "Method not found: 'System.Web.UI.CompositeScriptReference System.Web.UI.ScriptManager.get_CompositeScript()'" on my IIS6 production server. I have other .Net 3.5 websites that are running correctly on this server and I know that beyond installing .Net 3.5 on the server, there is no configuring to do in order for IIS to make use of it. Further detail of the error:


Exception Details: System.MissingMethodException: Method not found: 'System.Web.UI.CompositeScriptReference System.Web.UI.ScriptManager.get_CompositeScript()'.

Source Error:
Line 229: {
Line 230: // init the popup first...
Line 231: base.OnInit(e);
Line 232:
Line 233: // make a few changes for this type of modal...

Source File: c:\HostingSpaces\expectra\testing.expectra.com.au\wwwroot\App_Code\YAF\Modules\PagePopupModule.cs Line: 231

Does anyone have any suggestions?
bslt24 Offline
#5 Posted : Wednesday, March 31, 2010 2:04:03 AM(UTC)
Rank: YAF Forumling

Joined: 3/31/2010(UTC)
Posts: 1
Location: Vietnam

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Installed VS2008 SP1 with .Net v3.5 SP1 . Error fixed. Thank guys
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 RC4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.203 seconds.