473,387 Members | 1,624 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

URGENT: AJAX November CTP deployment problem

Hi,

I've just installed Ajax November CTP, changed app according to instructions
and I am (was) satisfied. Next step - deployment to server.

I'm receiving error:
--------------------------------------------------
Message......: Request for ConfigurationPermission failed while attempting
to access configuration section 'system.web/deployment'. To allow all
callers to access the data for this section, set section attribute
'requirePermission' equal 'false' in the configuration file where this
section is declared.

Source.......: System.Configuration

Stack trace....: at
System.Configuration.BaseConfigurationRecord.Check PermissionAllowed(String
configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca) at
System.Configuration.BaseConfigurationRecord.GetSe ctionRecursive(String
configKey, Boolean getLkg, Boolean checkPermission, Boolean
getRuntimeObject, Boolean requestIsHere, Object& result, Object&
resultRuntimeObject) at
System.Configuration.BaseConfigurationRecord.GetSe ction(String configKey,
Boolean getLkg, Boolean checkPermission) at
System.Configuration.BaseConfigurationRecord.GetSe ction(String configKey) at
System.Web.Configuration.WebConfigurationManager.G etSection(String
sectionName) at
Microsoft.Web.UI.ScriptManager.GetDeploymentSectio nWithAssert() at
Microsoft.Web.UI.ScriptReference.IsDebuggingEnable d(ScriptManager
scriptManager) at
Microsoft.Web.UI.ScriptReference.ShouldUseDebugScr ipt(String releaseName,
Assembly assembly, ScriptManager scriptManager) at
Microsoft.Web.UI.ScriptReference.GetResourceName(S tring releaseName,
Assembly assembly, ScriptManager scriptManager) at
Microsoft.Web.UI.ScriptReference.GetUrlFromName(Sc riptManager scriptManager,
IControl scriptManagerControl, Boolean zip) at
Microsoft.Web.UI.ScriptReference.GetUrl(ScriptMana ger scriptManager,
IControl scriptManagerControl, Boolean zip) at
Microsoft.Web.UI.ScriptManager.RegisterScripts() at
Microsoft.Web.UI.ScriptManager.OnPreRender(EventAr gs e) at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint)

Inner exception: System.Security.SecurityException: Request for the
permission of type 'System.Configuration.ConfigurationPermission,
System.Configuration, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' failed. at
System.Security.CodeAccessSecurityEngine.Check(Obj ect demand,
StackCrawlMark& stackMark, Boolean isPermSet) at
System.Security.CodeAccessPermission.Demand() at
System.Configuration.BaseConfigurationRecord.Check PermissionAllowed(String
configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca) The
action that failed was: Demand The type of the first permission that failed
was: System.Configuration.ConfigurationPermission The Zone of the assembly
that failed was: MyComputer

Base exception.: Request for the permission of type
'System.Configuration.ConfigurationPermission, System.Configuration,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.
---------------------------------------------------
I created new web app just to check have I done something wrong but I'm
still receiving error.

I cannot find useful info on web.

HELP! What shell I do now?

It looks like configuration problem so I believe my ISP will be willing to
do some tuning.

Thanks in advance,
Jevta
Nov 18 '06 #1
3 3028
Try removing "trust level="Medium" from your web.config. It worked on my computer ;-)

greetz Geert
Nov 28 '06 #2
mc
Geert van Raaij wrote:
Try removing "trust level="Medium" from your web.config. It worked on my computer ;-)

greetz Geert
I don't think that is a workable solution to this problem, Microsoft
have recently recommended that Shared hosts configure the servers at a
machine.config level to only support medium trust level sites.

I'm with brinkster, who have just applied this patch/config update after
identifying a security hole in the existing configuration. It is causing
significant problems to a large number of the hosts users.
MC
Nov 28 '06 #3
thanks Geert,

I've already tried that. No success. Moreover, I cannot override trust
level - lack of permissions.

MS wrote in specification that this version of Ajax's dll must be in GAC. I
asked my ISP to install it but they have policy "no custom products on
server because requests may be endless".

Therefore, I removed Atlas.

<Geert van Raaijwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Try removing "trust level="Medium" from your web.config. It worked on my
computer ;-)

greetz Geert

Nov 29 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Betty Harvey | last post by:
The next meeting of the XML Users Group will be held on Wednesday, November 19, 2003 at the American Geophysical Union (AGU) at 2000 Florida Avenue, N.W., Washington, DC 20009-1277. The meeting...
1
by: mdthanh | last post by:
Hi All! Please help me. I got problem with AJAX atlas & Ultragird, atfer sorting the column my webpage get Javascript error. Anyone have experience on this on please help. I falled on them 3...
1
by: r_o | last post by:
hi all, i have a new problem now i'm quick huh :D well what can i say im still a beginner the thing is im using ajax to replace a drop down list with another inside a div upon a choice made by...
10
by: celoftis | last post by:
Using VS 2005: This morning, following the instructions here: http://ajax.asp.net/docs/overview/InstallingASPNETAJAX.aspx, I installed ASP.NET AJAX on my WinXP Pro development machine. Following...
0
by: =?Utf-8?B?UmljaCBBcm1zdHJvbmc=?= | last post by:
I see that the RTM version of ASP.NET AJAX requires installation of the ASP.NET AJAX assemblies in the GAC. I've been through all the docs, and deployment, per se, is never directly addressed. ...
2
by: =?Utf-8?B?UmljaCBBcm1zdHJvbmc=?= | last post by:
I see that the RTM version of ASP.NET AJAX requires installation of the ASP.NET AJAX assemblies in the GAC. I've been through all the docs, and deployment, per se, is never directly addressed. ...
3
by: Mike | last post by:
Hi, I'm wondering if I can do this with ASP.NET?
7
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find...
7
by: =?Utf-8?B?V2FubmFiZQ==?= | last post by:
We are looking at Ajaxing our existing web application. Question is...Should we Ajax any and everything we can, or not? One example...if a page posts back to itself, is that a good candidate for...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.