Aida2
asked on
Server Error in '/OWAAdmin' Application
i try to login to owaadmin and i get error :
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.SecurityEx ception: Request for the permission of type System.Security.Permission s.Security Permission , mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c56193 4e089 failed.
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.SecurityEx
ASKER
Yes i uninstall .net 2
How can i change in virtual Directory
under iis manager default web site owaadmin and properties and what?
How can i change in virtual Directory
under iis manager default web site owaadmin and properties and what?
If you already uninstalled .Net 2.0, then you cannot change it in the virtual directory's properties. Instead, run the following at a command prompt to re-register .Net 1.1 on all the sites:
C:\WINDOWS\Microsoft.NET\F ramework\v 1.1.4322\a spnet_regi is.exe -r
Jeff
TechSoEasy
C:\WINDOWS\Microsoft.NET\F
Jeff
TechSoEasy
ASKER
Tank you
it's not working
i have the same error in my exception details
and stack trace is :
[SecurityException: Request for the permission of type System.Security.Permission s.Security Permission , mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c56193 4e089 failed.]
System.Security.CodeAccess SecurityEn gine.Check TokenBased SetHelper( Boolean ignoreGrants, TokenBasedSet grants, TokenBasedSet denied, TokenBasedSet demands) +487
System.Security.CodeAccess SecurityEn gine.Check SetHelper( Permission Set grants, PermissionSet denied, PermissionSet demands) +144
System.Threading.Thread.se t_CurrentC ulture(Cul tureInfo value) +0
Microsoft.Exchange.OWA.Adm in.Global. Applicatio n_BeginReq uest(Objec t sender, EventArgs e) +211
System.Web.SyncEventExecut ionStep.Sy stem.Web.H ttpApplica tion+IExec utionStep. Execute() +60
System.Web.HttpApplication .ExecuteSt ep(IExecut ionStep step, Boolean& completedSynchronously) +87
it's not working
i have the same error in my exception details
and stack trace is :
[SecurityException: Request for the permission of type System.Security.Permission
System.Security.CodeAccess
System.Security.CodeAccess
System.Threading.Thread.se
Microsoft.Exchange.OWA.Adm
System.Web.SyncEventExecut
System.Web.HttpApplication
The problem is caused by executing this from somewhere other than the SBS due to the local machine not trusting the code.
If you run OWAAdmin from the SBS Console, does it work? If so, then you need to follow the recommendation offered in this forum post to allow you to access it in another location:
http://www.codeguru.com/forum/showthread.php?threadid=264557
Jeff
TechSoEasy
If you run OWAAdmin from the SBS Console, does it work? If so, then you need to follow the recommendation offered in this forum post to allow you to access it in another location:
http://www.codeguru.com/forum/showthread.php?threadid=264557
Jeff
TechSoEasy
ASKER
I get exactly the same error from sbd condole
I would still recommend the steps suggested in the link above to trust the assembly in the Runtime Security Policy configuration.
Jeff
TechSoEasy
Jeff
TechSoEasy
ASKER
Hello,
When i righ click and select trust assembly i have to option to choose
1- MAKE CHANGE TO THIS COMPUTER
2 - Make chnage fot the current user only
i guess it should be make changes to this comuter, i must select then nest ...
i am totaly new in this area and
I am not sure to change trust assembly. I don't no what happend and what policy i change
When i righ click and select trust assembly i have to option to choose
1- MAKE CHANGE TO THIS COMPUTER
2 - Make chnage fot the current user only
i guess it should be make changes to this comuter, i must select then nest ...
i am totaly new in this area and
I am not sure to change trust assembly. I don't no what happend and what policy i change
Y'know... I hadn't worked with the OWAAdmin console in awhile and just realized that I don't have it installed on my server, but rather on my workstation, as is recommended in the "ReadMe.htm" file (http://download.microsoft.com/download/7/9/a/79a3c251-2ca1-44e3-865b-44488f97ad55/readme.htm)
Just as a test, I installed it on another XP Pro workstation that didn't have IIS running... so first I installed IIS, then installed OWAAdmin. It gave me a garbled web site to begin with, and I realized I had both .NET 1.1 and 2.0 on that machine. I easily set the OWAAdmin Virtual Directory Properties to .Net 1.1 and tried again.
Logged in with DOMAIN\Administrator and when I clicked on a link it gave me another error stating that I needed to run aspnet_regiis.exe -c, which I did and it now works just fine.
So... perhaps you just want to try doing that?
Jeff
TechSoEasy
Just as a test, I installed it on another XP Pro workstation that didn't have IIS running... so first I installed IIS, then installed OWAAdmin. It gave me a garbled web site to begin with, and I realized I had both .NET 1.1 and 2.0 on that machine. I easily set the OWAAdmin Virtual Directory Properties to .Net 1.1 and tried again.
Logged in with DOMAIN\Administrator and when I clicked on a link it gave me another error stating that I needed to run aspnet_regiis.exe -c, which I did and it now works just fine.
So... perhaps you just want to try doing that?
Jeff
TechSoEasy
ASKER
I never said to start .net config and select trust assemblies... where did you get that from?
I did all of that in IIS Admin.
Jeff
TechSoEasy
I did all of that in IIS Admin.
Jeff
TechSoEasy
ASKER
is it possible to uninstaall owa and install it .I can't find uninstall of owaadmin
You've lost me.
Are you asking if its possible to uninstall OWAAdmin?
There is no uninstall for that because all that the installation package does is to create the virtual directory in IIS and create C:\Program Files\Outlook Web Access Administration and it's contents.
So to remove OWAAdmin, you would just delete the virtual directory in IIS and the folder in Program Files.
There's also a single registry key you can delete, but its not required:
HKEY_LOCAL_MACHINE\SOFTWAR E\Microsof t\OWAAdmin Install
Jeff
TechSoEasy
Are you asking if its possible to uninstall OWAAdmin?
There is no uninstall for that because all that the installation package does is to create the virtual directory in IIS and create C:\Program Files\Outlook Web Access Administration and it's contents.
So to remove OWAAdmin, you would just delete the virtual directory in IIS and the folder in Program Files.
There's also a single registry key you can delete, but its not required:
HKEY_LOCAL_MACHINE\SOFTWAR
Jeff
TechSoEasy
ASKER
WHat i have is :
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.SecurityEx ception: Request for the permission of type System.Security.Permission s.Security Permission , mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c56193 4e089 failed.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SecurityException: Request for the permission of type System.Security.Permission s.Security Permission , mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c56193 4e089 failed.]
System.Security.CodeAccess SecurityEn gine.Check TokenBased SetHelper( Boolean ignoreGrants, TokenBasedSet grants, TokenBasedSet denied, TokenBasedSet demands) +487
System.Security.CodeAccess SecurityEn gine.Check SetHelper( Permission Set grants, PermissionSet denied, PermissionSet demands) +144
System.Threading.Thread.se t_CurrentC ulture(Cul tureInfo value) +0
Microsoft.Exchange.OWA.Adm in.Global. Applicatio n_BeginReq uest(Objec t sender, EventArgs e) +211
System.Web.SyncEventExecut ionStep.Sy stem.Web.H ttpApplica tion+IExec utionStep. Execute() +60
System.Web.HttpApplication .ExecuteSt ep(IExecut ionStep step, Boolean& completedSynchronously) +87
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.SecurityEx
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SecurityException: Request for the permission of type System.Security.Permission
System.Security.CodeAccess
System.Security.CodeAccess
System.Threading.Thread.se
Microsoft.Exchange.OWA.Adm
System.Web.SyncEventExecut
System.Web.HttpApplication
Lets go back to my question about where you've installed OWAAdmin... did you install it on the SBS? Or on a separate machine? It should NOT be installed on your SBS.
Jeff
TechSoEasy
Jeff
TechSoEasy
ASKER
I install it in my sbs2003. It was working in my sbs.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
streng now i have following error:
(The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the ugrade patch may update a different version of the program.
Verify that the program to be upgraded exist on your computer and that you have the correct upgrade patch)
(The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the ugrade patch may update a different version of the program.
Verify that the program to be upgraded exist on your computer and that you have the correct upgrade patch)
That's because you are trying to install the hotfix BEFORE Service Pack 1. Install SP1 first, and you won't get that error.
Jeff
TechSoEasy
Jeff
TechSoEasy
I tried to update the SP1 but I got the message
Which hotfix have I do remove?
My sistem is a windows 2003 server enteprise sp2 with exchange server sp2 and sharepoint, and I did all the windows update.
In my system OMA and OWAadmin dont work, while OWA work.
I'm not able to understand if it is a problem of sharepoint, or IIS, or exchange or what ever.
I have already change the permission to full trust to all the intranet on .net 1.1 (even if the files are on the same server where is exchange).
Thanks
Which hotfix have I do remove?
My sistem is a windows 2003 server enteprise sp2 with exchange server sp2 and sharepoint, and I did all the windows update.
In my system OMA and OWAadmin dont work, while OWA work.
I'm not able to understand if it is a problem of sharepoint, or IIS, or exchange or what ever.
I have already change the permission to full trust to all the intranet on .net 1.1 (even if the files are on the same server where is exchange).
Thanks
Jeff
TechSoEasy