Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Invalid XML. Missing required tag <CodeGroup>

Reply
Thread Tools

Invalid XML. Missing required tag <CodeGroup>

 
 
Trapulo
Guest
Posts: n/a
 
      02-08-2010
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




 
Reply With Quote
 
 
 
 
Trapulo
Guest
Posts: n/a
 
      02-08-2010
I forgot to say that I'm running W2008 x64

thanks

 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      02-08-2010
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#
 
Reply With Quote
 
Vince Xu [MSFT]
Guest
Posts: n/a
 
      02-09-2010
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 <>
| 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: <>
| 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
|
|
|
|
|

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing required tag <CodeGroup> Trapulo ASP .Net 15 03-05-2010 07:51 AM
How do fix: "Wrong number of arguments" / "invalid propert assignment"/ "Invalid argument" Java Guy Java 1 10-15-2006 08:31 PM
Invalid URI: There is an invalid sequence in the string. Error!! Patrick.O.Ige ASP .Net 1 07-02-2006 11:21 AM
how do u invoke Tag b's Tag Handler from within Tag a's tag Handler? shruds Java 1 01-27-2006 03:00 AM
invalid@invalid.org Hank Sniadoch Computer Information 1 08-20-2004 11:24 AM



Advertisments
 



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