Developer forum

Forum » Development » Void Dynamicweb.Frontend.GlobalAsaxHandler.Application_Start_Mvc() error

Void Dynamicweb.Frontend.GlobalAsaxHandler.Application_Start_Mvc() error

Mikkel Toustrup Olsen
Reply

Hello all,

I am facing the following error (see the attached image)

I cannot find anything on this in the documentation / known errors. Note I am not trying to build a MVC website, the error though tells me im missing a method on Application_Start() ?

 

2015-04-28_1626.png

Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Sounds like a version mismatch between /admin and the assemblies in your Bin folder. Did you update the site recently? If so, copy over the assemblies from the application's Bin folder in your site's bin folder.

Hope this helps,

Imar

 
Mikkel Toustrup Olsen
Reply

No, I haven't updated the site - I started out with a clean Dynamicweb and then adjusted some custom code a long the way with custom design etc. 

I can give it a try with a fresh bin folder though.

MikkelTO

 
Mikkel Toustrup Olsen
Reply

... Furthermore when decompiling the Dynamicweb.dll I find the following (see attached image)

GlobalAsaxHandler_Application_Start_Mvc().png
 
Nicolai Høeg Pedersen
Reply

Hi Mikkel

As Imar states, your Global.asax seems to be using one version of Dynamicweb and you have another somehow somewhere. Make sure Dynamicweb.dll and Dynamicweb.Admin.dll has the same timestamp.

Nicolai

 
Mikkel Toustrup Olsen
Reply

Hey Nicolai,

I just downloaded a clean database as well as a clean application folder. Funny thing is my Visual Studio tells me the following: see attached image:

Makes sense to me, that I cant run the method as above mentioned that its located inside the namespace visual studio tells me to use as Dynamicweb.Global.Admin is obsolete?.

 

obosleteMethod.png

 

You must be logged in to post in the forum