From: Vince Xu [MSFT] on 12 Feb 2010 00:56 Hi, Did you resolve this issue? I didn't see your response for a time. -- Sincerely, Vince Xu Microsoft Online Support
From: Trapulo on 12 Feb 2010 11:31 On 12/02/2010 6.56, Vince Xu [MSFT] wrote: > Hi, > > Did you resolve this issue? I didn't see your response for a time. > No: it seems all ok either on the Web server, (all other sites running with same settings) and on ther Web Site (running on an other similar serer).. :( I cannot find what configuration has an error in ASP.NET environment, according to the error message it reports.
From: Trapulo on 14 Feb 2010 12:30 "Vince Xu [MSFT]" wrote: > Hi, > > Did you resolve this issue? I didn't see your response for a time. > I've found. In fact I had an xml syntax error in my custom trust.config file. I didn't notice that, because all webs that I run in 32 bit mode are classic asp and not aspx. However there is a trouble with IIS admin that make difficult to find this. If I swtich app pool to 32 bit, ASP.NET uses the config file under \framework and not under \framework64 folder. But if I change trust mode to full, as diagnostic test, the console will update the web.config file in the 64 bit folder (with a location tag), and my selection will not be used! The 32 bit aspnet Web will run with standard trust setting. Now I've a last trouble: this Web site requires an OLEDB connection. I've allowed it in my medium-custom trust config file, as described here: http://msdn.microsoft.com/en-us/library/ms998341.aspx#paght000020_oledbpermission But running the site still have an error that reports that OLEDB is not allowed ... :( What can be? thanks
From: Vince Xu [MSFT] on 15 Feb 2010 03:22 Hi, It looks still the permisstion of OLED. Could you please post the entire information of the error you got? -- Regards, Vince Microsoft Support Online -------------------- | Thread-Topic: Missing required tag <CodeGroup> | thread-index: Acqtm1a2lWTecqt6RLWuND/i67I6sg== | X-WBNR-Posting-Host: 88.149.225.73 | From: Trapulo <nonscrivermi(a)nospam.nospam> | References: <BABB653C-94BF-43B7-B582-357A32199BDA(a)microsoft.com> <956afb24-1927-4ed4-be3e-4bca89bae0f3(a)b10g2000yqa.googlegroups.com> <940A855F-9059-44FC-B17E-57911CAC41F2(a)microsoft.com> <55mf3g6qKHA.1412(a)TK2MSFTNGHUB02.phx.gbl> | Subject: Re: Missing required tag <CodeGroup> | Date: Sun, 14 Feb 2010 09:30:01 -0800 | Lines: 35 | Message-ID: <897D9A7A-F230-427D-AED8-44F4ECE93506(a)microsoft.com> | MIME-Version: 1.0 | Content-Type: text/plain; | charset="Utf-8" | Content-Transfer-Encoding: 7bit | X-Newsreader: Microsoft CDO for Windows 2000 | Content-Class: urn:content-classes:message | Importance: normal | Priority: normal | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 | Newsgroups: microsoft.public.dotnet.framework.aspnet | Path: TK2MSFTNGHUB02.phx.gbl | Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.dotnet.framework.aspnet:96443 | NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149 | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet | | | | "Vince Xu [MSFT]" wrote: | | > Hi, | > | > Did you resolve this issue? I didn't see your response for a time. | > | | I've found. | In fact I had an xml syntax error in my custom trust.config file. I didn't | notice that, because all webs that I run in 32 bit mode are classic asp and | not aspx. However there is a trouble with IIS admin that make difficult to | find this. If I swtich app pool to 32 bit, ASP.NET uses the config file under | \framework and not under \framework64 folder. But if I change trust mode to | full, as diagnostic test, the console will update the web.config file in the | 64 bit folder (with a location tag), and my selection will not be used! The | 32 bit aspnet Web will run with standard trust setting. | | Now I've a last trouble: this Web site requires an OLEDB connection. I've | allowed it in my medium-custom trust config file, as described here: | http://msdn.microsoft.com/en-us/library/ms998341.aspx#paght000020_oledbpermi ssion | | But running the site still have an error that reports that OLEDB is not | allowed ... :( | What can be? | | thanks | | | | | | | |
From: Trapulo on 15 Feb 2010 12:17 On 15/02/2010 9.22, Vince Xu [MSFT] wrote: > Hi, > > It looks still the permisstion of OLED. Could you please post the entire > information of the error you got? > Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. It seems that OleDB is not permitted, but I'm sure the config file has permission defined as I read in that page, and I'm sure that ASP.NET is using that file (I tried to insert an XML error, and the page reported that error). thanks
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: update panel question Next: $$$$$ READ EMAILS & EARN CREDITS TOWARDS A LAPTOP !!! |