|
|
Rank: Newbie Groups: Member
Joined: 11/13/2007 Posts: 2 Points: 6
|
Hi! Just wondering if anyone has seen this error when copying the ASPNetVideo demo from a stand-alone pc to a W2k3 server. Runs fine via locahost but not from the server. Error = Server Error in '/' Application.' Parser Error Message: Unrecognized attribute 'type'.
Line 4 - the error - is in red and reads: <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
And when I try to debug in VS2005 it's complaing about security rights. Errors (14 of 'em) are - Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
I've tried all kinds of setting changes from what I've found on google.com about raising permission levels in the web.config file and in .NET 2.0 admin screens to no avail. I have loaded the web extensions on the server. Didn't know if I needed to, but that didn't help either. Any Ideas on how I overcome this issue? As I'm very new to the .NET world, I'm sure I'm missing something simple here. Thanks for any help you can offer.
Tom
|
|
Rank: Administration Groups: Administration
Joined: 7/20/2007 Posts: 305 Points: -2,485 Location: Primarily in New York, USA
|
Hey Tom, The problem is that you need to copy the Microsoft Ajax Extentions assembly into your websites' bin folder on your live server. It's looking for an assembly that isn't available, so make it available... You can find this dll in our "Manual Install" compressed/zip downloads, found here: http://www.aspnet-video.com/aspnetvideo_Download_Free_Trial.aspxIt's in the folder labelled "ASP.NET 2.0 AJAX WebControl (Visual Studio 2005 with Microsoft AJAX Extensions)":  Cheers! -Dave
|
|
Rank: Newbie Groups: Member
Joined: 11/13/2007 Posts: 2 Points: 6
|
Dave,
Thanks for getting back to me. I'm still not clear on where the assembly is supposed to go. I should clarify our setup here first so that you have a better understanding of where I'm coming from. Our website is a classic .asp website created with MSCMS2001, It's old, I know. And VS2005 does not exist on the server. I access it through a shared drive via VPN to the company that hosts the servers. Eventually it will need to be accessed via the 'http://www.' protocol when it's live. Because my site is old .asp and I'm starting to slowly move in some .NET components do I have to add these assemblies differently, like getting into the .Net 2.0 config screens & and register the .dlls into the assembly cache area? Or something similar? I can pass along my phone # if it's better so I can more clearly explain our setup.
Thanks again for the help.
Tom
|
|
Rank: Administration Groups: Administration
Joined: 7/20/2007 Posts: 305 Points: -2,485 Location: Primarily in New York, USA
|
Hey Tom,
Hypothetically, from what I know, adding the assembly to the GAC (Global Assembly Cache) should work. But in all honesty, if that doesn't work I'm not sure how to help you. I've never tried to do what you're doing...
Cheers,
-Dave
|
|
|
Guest |