How to resolve "WSE Settings Error" - unable to save policycache f

J

John K

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.
 
W

Walter Wang [MSFT]

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 ([email protected], 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.
 
J

John K

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?
 
J

John K

I was able to solve my problem by restoring an old version of web.config. I
no longer need help.
 
W

Walter Wang [MSFT]

Hi John,

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

Thank you for using MSDN Managed Newsgroup service!

Regards,
Walter Wang ([email protected], 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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top