Invalid XML. Missing required tag <CodeGroup>

T

Trapulo

I have this error, calling every aspx file, when I switch the app pool from
64 to 32 bit.
I've tested the same web site on an other similar server, and I haven't any
error, so I think there is something wrong on the server config, but I can
understand what. I have many other web sites, 64 and 32 bit, and they run
without problem.
I've tried to switch to full trust the web site, but still the same.

someone can help me?

thanks



System.ArgumentException: Invalid XML. Missing required tag <CodeGroup>
for type 'System.Security.Policy.PolicyLevel'


[ArgumentException: Invalid XML. Missing required tag <CodeGroup> for type
'System.Security.Policy.PolicyLevel'.]
System.Security.Policy.PolicyLevel.FromXml(SecurityElement e) +1350
System.Security.SecurityManager.LoadPolicyLevelFromStringHelper(String
str, String path, PolicyLevelType type) +207
System.Security.SecurityManager.LoadPolicyLevelFromString(String str,
PolicyLevelType type) +37
System.Web.HttpRuntime.CreatePolicyLevel(String configFile, String
appDir, String binDir, String strOriginUrl, Boolean& foundGacToken) +420
System.Web.HttpRuntime.SetTrustLevel(TrustSection trustSection,
SecurityPolicySection securityPolicySection) +8922526
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags)
+186

[HttpException (0x80004005): Invalid XML. Missing required tag <CodeGroup>
for type 'System.Security.Policy.PolicyLevel'.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8894031
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85

System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest
wr, HttpContext context) +333
 
V

Vince Xu [MSFT]

Hi,

There is another duplicated thread in 44532189. I'll get into that thread
and close this one.


--
Sincerely,

Vince Xu

Microsoft Online Support

--------------------
| Date: Mon, 08 Feb 2010 12:56:35 +0100
| From: Trapulo <[email protected]>
| User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.7)
Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1
| MIME-Version: 1.0
| Subject: Invalid XML. Missing required tag <CodeGroup>
| Content-Type: text/plain; charset=ISO-8859-1; format=flowed
| Content-Transfer-Encoding: 7bit
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 88-149-226-246.dynamic.ngi.it 88.149.226.246
| Lines: 1
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP05.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:96340
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| I have this error, calling every aspx file, when I switch the app pool
from
| 64 to 32 bit.
| I've tested the same web site on an other similar server, and I haven't
any
| error, so I think there is something wrong on the server config, but I
can
| understand what. I have many other web sites, 64 and 32 bit, and they run
| without problem.
| I've tried to switch to full trust the web site, but still the same.
|
| someone can help me?
|
| thanks
|
|
|
| System.ArgumentException: Invalid XML. Missing required tag <CodeGroup>
| for type 'System.Security.Policy.PolicyLevel'
|
|
| [ArgumentException: Invalid XML. Missing required tag <CodeGroup> for
type
| 'System.Security.Policy.PolicyLevel'.]
| System.Security.Policy.PolicyLevel.FromXml(SecurityElement e) +1350
|
System.Security.SecurityManager.LoadPolicyLevelFromStringHelper(String
| str, String path, PolicyLevelType type) +207
| System.Security.SecurityManager.LoadPolicyLevelFromString(String str,
| PolicyLevelType type) +37
| System.Web.HttpRuntime.CreatePolicyLevel(String configFile, String
| appDir, String binDir, String strOriginUrl, Boolean& foundGacToken) +420
| System.Web.HttpRuntime.SetTrustLevel(TrustSection trustSection,
| SecurityPolicySection securityPolicySection) +8922526
| System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags
hostingFlags)
| +186
|
| [HttpException (0x80004005): Invalid XML. Missing required tag
<CodeGroup>
| for type 'System.Security.Policy.PolicyLevel'.]
| System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8894031
| System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
|
|
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest
| wr, HttpContext context) +333
|
|
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top