This is a migrated thread and some comments may be shown as answers.

Deployment problem with 2010-Q3

2 Answers 52 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kristján
Top achievements
Rank 1
Kristján asked on 01 Dec 2010, 04:50 PM
Hello,

Using VS2005 and version 2010-Q3 (2010.3.1124.20)

After upgrading to 2010-Q3 and re-deploying to production server (Windows Server 2008) I get:

[SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]

Note that I have the following in my web.config which I used to get round the missing assembly 'System.Web.Extensions, Version=1.0.61025.0 exception. This worked fine with 2010 Q2 but not anymore.
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <dependentAssembly>
        <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31BF3856AD364E35" culture="neutral" />
        <bindingRedirect oldVersion="1.0.61025.0" newVersion="3.5.0.0"/>
    </dependentAssembly>
</assemblyBinding>
</runtime>

My Windows Server 2008 is out of the box. It does not have System.Web.Extensions version 1.0.61025.0 in the CAC.
Question:
1.  Do I need to install ASP.NET AJAX 1.0 ASP.NET AJAX 1.0 ?
2.  Where can I find detailed info about what is needed on a production box for it to be able to host a Telerik app.

Note: I created a default Telerik web app using the widzard and I get the same 'System.Web.Extensions, Version=1.0.61025.0 exception on the production box.

Thanks.

2 Answers, 1 is accepted

Sort by
0
Kristján
Top achievements
Rank 1
answered on 01 Dec 2010, 11:22 PM
Update.

I fixed this issue, or rather got it to work.

1.    I removed the <runtime> block from the web.config
2.     I installed ASP.NET AJAX 1.0 to the server.
This resulted in this error msg:
[SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
3.    I set the application pool to run as NetworkService which fixed the issue.

Regards.
0
Vasil
Telerik team
answered on 02 Dec 2010, 10:39 AM
Hello Kristján,

Thank you for writing us.

I am glad that you resolved the issue.

It was written in the controls documentation, that you need to install Ajax toolkit in order to use the controls. It is also mentioned in the system requirements.

Kind regards,
Vasil
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
General Discussions
Asked by
Kristján
Top achievements
Rank 1
Answers by
Kristján
Top achievements
Rank 1
Vasil
Telerik team
Share this question
or