Answered by:
UNCPassword - How to get rid of this?

Question
-
User23342110 posted
How do you get rid of UNCPassword in the metabase.xml file? Every time I delete it, it comes back. I don't have a uncusername field, so why does it have a uncpassword field? I might have enabled anonymous access before for this site, but now that's not set and it requires windows authentication.
Thanks!
Thursday, May 15, 2008 4:21 PM
Answers
-
User23342110 posted
Ok, I downloaded the IIS Resource kit, and used the Metabase Explorer to remove the UNCPassword settings. That took care of those...as they haven't re-appeared.
- Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
Friday, May 16, 2008 2:08 PM
All replies
-
User-823196590 posted
That sounds like a symptom of a larger issue. What do you have setup exactly?
Thursday, May 15, 2008 4:36 PM -
User23342110 posted
I have an IIS 6 web server running primarily Windows SharePoint Services 3.0 SP1. I setup 8 websites (applications) through SharePoint, and it created virtual directories for each website each on a different port. All 8 websites come up fine, and we can do just about everything we need to.
However, on 3 sites, we have trouble communicating between other applications like Excel, One Note, and SharePoint Designer. So, we try to import an Excel spreadsheet into a SharePoint site, and it works fine on 5 sites, but fails on 3 of them.
I've tried a lot of things and compared the websites and databases numerous times, and the only difference that I see is in the metabase.xml file. In that file, the 3 sites that fail all have a uncpassword= attribute in the <IIsWebVirtualDir tag but no uncusername. The other 5 don't have this.
So, I tried deleting this, and it always comes back. How can I set the configuration correctly so that they don't have this attribute?
Thursday, May 15, 2008 5:33 PM -
User-823196590 posted
I setup 8 websites (applications) through SharePoint, and it created virtual directories for each website each on a different port.I'm confused by this - are these supposed to be 8 different sites (site1.server.com, site2.server.com, etc) or 8 different WSS "site collections" (wss.server.com/site1, wss.server.com/site2, etc)?In all of my SharePoint servers I've never had to deal with different ports or virtual directories. Are these virtuals pointing to network shares?
Thursday, May 15, 2008 9:05 PM -
User23342110 posted
This is my first WSS install, so there definitely could be something setup incorrectly. However, when I create an "application" in SharePoint, it creates a new website. Each website has a new port assigned to it. //myshare1:10001, //myshare1:20001, etc...depending on the port you choose or it randomly selects. Each site has a directory mapped to something like this...C:\Inetpub\wwwroot\wss\VirtualDirectories\10001\. Maybe that's not a virtual directory, so my wording maybe incorrect. Then, under each website, you can add multiple site collections in SharePoint. So, I have 8 IIS websites that are setup by and used by SharePoint. But, they're still just websites.
So, is there a way to remove the uncpassword= line in the metabase.xml file and keep it gone?
I'm guessing that there's a "proper" way to clear that, and that's what I'm looking for. In IIS, if I'm in Properties for the website, the Directory Security tab, Authentication and access control Edit button, the Authentication window comes up. Enable anonymous access is NOT checked. The only item checked is, Integrated Windows Authentication. Shouldn't that mean that there's no UNCUsername or UNCPassword? Or, is the UNCPassword located somewhere else?
Friday, May 16, 2008 10:17 AM -
User23342110 posted
Ok, I downloaded the IIS Resource kit, and used the Metabase Explorer to remove the UNCPassword settings. That took care of those...as they haven't re-appeared.
- Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
Friday, May 16, 2008 2:08 PM -
User-823196590 posted
Excellent.
FWIW, you could have set those other sites (WSS wants to call them applications) up using host headers first and avoided the whole port issue.
Friday, May 16, 2008 3:04 PM