Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 15, 2007 02:11 AM by Bruce L
Dec 13, 2007 05:41 PM|LINK
I'm trying to get the MVC framework to run on a shared host (running IIS6) that has not installed the 3.5 extenstions.
They do have the 3.5 framework installed and have done the necessary *.mvc mappings for me.
Obviously I need the System.Web.Extensions.dll assembly for things to work. I've tried deploying the assembly locally along with the other assemblies for the site, but when I try to load the page, it just hangs and never responds.
Is this even possible? Has anyone else managed this?
Dec 13, 2007 07:53 PM|LINK
Who's the host? Are you sure they have the bits installed? We've had reports of people saying they thought their ISP had it, and it turned out not to be the case.
In addition - have you commented out <system.webserver> in your web.config?
Dec 13, 2007 09:12 PM|LINK
The host is discountasp.net
<system.webserver> is commented out.
As far as I'm aware:
I'm trying to get it to work by deploying the extension assemblies locally - I'm hoping that will work. What is interesting is that no error is displayed - the request just never returns from the server. A telnet request on port 80 just sits there hanging.
I was hoping to be able to get this working without the host actually installing the extensions (since they're preview and unlikely to install them)
Dec 13, 2007 10:48 PM|LINK
I'm going to bet a quarter (a whole 25 cents) that they don't have 3.5 installed. But, if that's not the case, can you make sure that your assembly reference is correct (not being pulled from the GAC). Take a look at the <compiler><assemblies> tag and make
sure it's not in there.
Dec 13, 2007 11:23 PM|LINK
They definitely have 3.5 installed.
The assembly reference not being there just causes the request to fail with an error about a reference missing.
I've since got a virtual pc image of Windows Server 2003 and managed to repro this. Without installing any of the 3.5 Extensions, and simply using gacutil to register the System.Web.Extensions.dll assmebly, everything works fine.
So, I'm guessing that that assembly is looking for other assemblies at load time (unless there is something more special about loading that one from the GAC?) - does anyone know which ones so that I can try deploy them locally too?
thanks for the help so far!
Dec 13, 2007 11:59 PM|LINK
More fiddling and it appears that when the assembly is not installed in the GAC, there is a JIT Debug request on the console of the server when the assemblies are being loaded - this is what is causing the requests to hang.
sigh, i was hoping there would be an easy way to get this onto a shared provider without them installing the whole deal.
Dec 14, 2007 06:15 AM|LINK
Hmmm - this is weird. I did this exact thing (I didn't GAC the dll) when I was developing the Toolkit and it worked great - but it was local. What this tells me is that 1) I don't think another dll is needed - SystemWebEx is the only DLL I think we produced
(Phil?). I think it must be a permissions issue.
Can you do me a big favor and see if they're willing to work with you on this? If they don't have the Extensions GAC'd, - see what kind of lock-down they have going. I know they don't run every site in medium trust, but I DO know they have some trust restrictions.
I'll call the people I know over there and see if we can get this working for you!
Dec 15, 2007 02:04 AM|LINK
Still looking at this... on a forum thread with the DiscountASP guys so if you want to join me over there....
Dec 15, 2007 02:11 AM|LINK
Hehe.. i am active here too!!
We can continue our discussion in DiscountASP.NET's forum.