Groups | Blog | Home
all groups > asp.net security > october 2006 >

asp.net security : How to resolve "WSE Settings Error" - unable to save policycache f


John K
10/25/2006 12:49:01 PM
I receive a "WSE Settings Error" when I click OK on the WSE 3 Settings (i.e.
click "WSE Settings 3.0") I edited the appropriate settings but then I get
the "WSE Settings Error" "Unable to add ...\wsePolicyCache.config to the
project. Check if the file is in the Project directory or try adding it
manually to the project." Thus, my settings are not saved. The ASP.NET
project is a web service project.
--
wawang NO[at]SPAM online.microsoft.com
10/26/2006 12:00:00 AM
Hi,

Based on my understanding, your question is:
* you are using WSE 3.0 in Visual Studio 2005
* you opened the WSE Settings dialog and enabled policy
* when you click "OK" to save the settings, it failed with error "unable to
add ...\wsePolicyCache.config to the project....."

Please correct me if I've misunderstood anything.

Would you please help me on following points so that we can find the root
cause? Thank you.
* Is your web service project using IIS or File System mode?
* Does the wsepolicyCache.config already exist in your web service?
* Have you tried this on a new simple web service project?

Also, by default, the config file will be named "wse3policyCache.config"
instead of "wsepolicyCache.config" for WSE 3.0, is it possible that you're
using beta version of WSE 3.0?

Another thing to try is to use FileMonitor
(http://www.sysinternals.com/Utilities/Filemon.html) to see whether or not
its access permission problems.

Sincerely,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
John K
10/26/2006 5:31:02 AM
I am using IIS; the filename is "wse3policyCache.config" (typo on my part); I
am not using a beta of WSE 3; the file does already exist in my web service.

File Monitor indicates the following error when I click "OK"
Process Request Path
devenv.exe QUERY INFORMATION
C:\InetPub\wwwroot\Central_Station_V2_RBOModule\web.config

Result Other
BUFFER OVERFLOW FileFsVolumeInformation

Also, I get the same error and the "Other" information is FileAllInformation

I have no problems when I do this on a new simple web service project.

Any ideas?
--
Thank you.


[quoted text, click to view]
John K
10/26/2006 11:20:01 AM
I was able to solve my problem by restoring an old version of web.config. I
no longer need help.
--
Thank you.


[quoted text, click to view]
wawang NO[at]SPAM online.microsoft.com
10/27/2006 3:08:00 AM
Hi John,

I'm glad that you've solved the issue.

Thank you for using MSDN Managed Newsgroup service!

Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
AddThis Social Bookmark Button