Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Invalid XML. Missing required tag <CodeGroup> (http://www.velocityreviews.com/forums/t714316-invalid-xml-missing-required-tag-codegroup.html)

Trapulo 02-08-2010 11:56 AM

Invalid XML. Missing required tag <CodeGroup>
 
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(Securit yElement e) +1350
System.Security.SecurityManager.LoadPolicyLevelFro mStringHelper(String
str, String path, PolicyLevelType type) +207
System.Security.SecurityManager.LoadPolicyLevelFro mString(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(HostingEnvironm entFlags hostingFlags)
+186

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

System.Web.HttpRuntime.ProcessRequestNotificationP rivate(IIS7WorkerRequest
wr, HttpContext context) +333





Trapulo 02-08-2010 11:58 AM

Re: Invalid XML. Missing required tag <CodeGroup>
 
I forgot to say that I'm running W2008 x64

thanks


Alexey Smirnov 02-08-2010 01:18 PM

Re: Invalid XML. Missing required tag <CodeGroup>
 
On Feb 8, 12:58*pm, Trapulo <nonscrive...@nospam.nospam> wrote:
> I forgot to say that I'm running W2008 x64
>
> thanks


http://groups.google.com/group/micro...4454fa00c43cd#

Vince Xu [MSFT] 02-09-2010 06:51 AM

RE: Invalid XML. Missing required tag <CodeGroup>
 
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 <nonscrivermi@nospam.nospam>
| 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: <uIywFXLqKHA.4532@TK2MSFTNGP05.phx.gbl>
| 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!TK2MSF TNGP05.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(Securit yElement e) +1350
|
System.Security.SecurityManager.LoadPolicyLevelFro mStringHelper(String
| str, String path, PolicyLevelType type) +207
| System.Security.SecurityManager.LoadPolicyLevelFro mString(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(HostingEnvironm entFlags
hostingFlags)
| +186
|
| [HttpException (0x80004005): Invalid XML. Missing required tag
<CodeGroup>
| for type 'System.Security.Policy.PolicyLevel'.]
| System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +8894031
| System.Web.HttpRuntime.EnsureFirstRequestInit(Http Context context) +85
|
|
System.Web.HttpRuntime.ProcessRequestNotificationP rivate(IIS7WorkerRequest
| wr, HttpContext context) +333
|
|
|
|
|



All times are GMT. The time now is 10:04 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57