.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Change to AD username causes trouble for external access to WSS 3.0

Posted By:      Posted Date: September 13, 2010    Points: 0   Category :SharePoint
I have one WSS 3.0 site hosted on a standalone server. I have extended the site into an external zone that authenticates with Digest authentication. This has been working fine for the past year or so. We have been looking into changing the user account naming scheme for Active Directory, and have been testing the change out on my own account. In doing so, I am still able to access our Sharepoint site from the Intranet zone on our internal network, but not from the external web address. I have tried removing my account from the site collection, and even going into the WSS_Content.AllUserData SQL table and changing the account name from DOMAIN\OldUserName to DOMAIN\NewUserName. No matter what I have tried, I get "HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials. Internet Information Services (IIS)" when I try to log in with any username.   Help?

View Complete Post

More Related Resource Links

Share Point integrated SSRS reports rendering when access from external site


Our client has a SharePoint (moss2007) site on Windows 2008, SQL2008 R2 Enterprise, and Reporting service is integrated with SharePoint

The authentication on the share point integration is set to windows, else the authentication for the SSAS datasource gives and error

The extranet zone ( forms) and intranet (Customer Forms) and default (Windows) zones are all access from inside the firewall and the reports render in each with no issues, as the datasources are configured to pass a sql username and password.

However, report rendering is a problem from the internet (external site), the following error is displayed:

An unexpected error occurred while connecting to the report server. Verify that the report server is avai

The condition of creating assembly for external access permission?

To create an EXTERNAL_ACCESS or UNSAFE assembly in SQL Server, one of the following two conditions must be met: 1. The assembly is strong name signed or Authenticode signed with a certificate. This strong name (or certificate) is created inside SQL Server as an asymmetric key (or certificate), and has a corresponding login with EXTERNAL ACCESS ASSEMBLY permission (for external access assemblies) or UNSAFE ASSEMBLY permission (for unsafe assemblies). 2. The database owner (DBO) has EXTERNAL ACCESS ASSEMBLY (for EXTERNAL ACCESS assemblies) or UNSAFE ASSEMBLY (for UNSAFE assemblies) permission, and the database has the TRUSTWORTHY Database Property set to ON. The two conditions listed above are also checked at assembly load time (which includes execution). At least one of the conditions must be met in order to load the assembly. This is a explanation on msdn.I think if only one of these condition is met,it will work. But after I do the first condition,I still can not create an assembly with EXTERNAL_ACCESS permission except SET TRUSTWORTHY on. should the two condition be met?  

Cannot change themes of newly created sites "Access denied"

When creating a new site i cannot change the default theme (grayed out) and a message appears something like "access denied". What's wrong? The first 6 sites where created succesfully and have a modified (OOB) site theme applied, all sites I create from now on cannot have the default theme modified. I checked any check-out settings but couldnt find anything obvious. What's wrong? I didn't use any custom code or such, just clicked around like an Admin does ;)  I thought about some check-in/out issue, but couldnt see anything. Someone HELP! please!I am a SharePoint Infrastructure Engineer, focussed on Administration and Installation of SharePoint Server environments.

External List - Access Selected Items

Hello, The situation;- An external list in SP 2010 from SQL A custom ribbon/button that calls via JS a Dialog box(Application page) and passes the selected items IDs Some code behind to process items after confirmation from user. Question is how to access the selected items in the code behind. As far as I can tell the JS 'getselecteditems' only returns the list ID, which in the case of a standard list is fine, but with an External list returns something like '_B00234' - how do I use this or how to return a more meaningfull ID? (I would rather work in my confort zone VB/C# than JS to process items) casey

Authentication for External Users to Access MOSS 2007 Resources

Our MOSS 2007 supports users from two domains that authenticate using windows.  Our clients WindowsXP in domain#1 and WindowsVista in domain#2 (which has presented problems authenticating to MOSS 2007.  I would like to give access to external users outside of those two domains.  However, our management does not want to establish trusts between domains.  What would be the best practice to accomplish this?  Additionally, will MOSS 2010 or Forefront resolve these issues?

Using UserName to enable disable access to InfoPath form fields

Hi Everyone, I have created a browser enable form in InfoPath and restrict certain fields depending on the official logged on User Name. Now this works most of the time but my problem has to do with the "case" of User Names for some of the site users. In most cases the User Name is an exact match but for some reason, some user's names are reported by SharePoint (the Welcome at top of screen) with some parts captilized. Example - my hidden filed on the form reports my user name as xrs_master but the Welcome up top says XRS_Master - and the fields act as though I am not the correct user and won't enable. On the other hand there are users who's user name matches the case exactly and all works fine. Why is SharePoint reporting the user name differently? And if this is the reason they don't match, how do I fix it? Any Ideas? Many thanks in advance for help!

change system account to username?

HI, I have created out-of-box workflow ,in the version history the modifiedby column  showing as system account instead of username. so want to display actual username instead of system account. help is appreciated. Thanks.

Problems with access to external lists in SharePoint 2010

Our environment is SharePoint 2010 Enterprise, Windows Server 2008 R2 Standard and SQL server 2008 R2.   We have External lists that access a local database in SharePoint SQL Server. When new lists are added and permissions are given in the SharePoint Central Administration the domain users had to be in the Windows administration group to access the lists.   Recently in the same environment the domain users were removed from Windows Administration user group and could access the external lists.   In another similar test server we found adding the domain users to Windows Administration does not give the new domain users access to External lists.   The inconsistency is the issue. Has anyone seen this issue or provide a possible solution?

SQL 2008 External access returns wrong address for Report Manager

Hello, I have problems with the external access for report server. My report server is running in a local server on port 80, which can be accessed through http://servername/reports I have set up external access to the report server through http://servername.domain.com:8081/reports , so I set up a redirection from public port 8081 to port 80 on the local server. When I write the address http://servername.domain.com:8081/reports in a browser, I get asked for user authentication(Windows domain user), which is accepted, but after that I get an error because the URL automatically changes to http://servername.domain.com/Reports/Pages/Folder.aspx (without the port 8081) If I write http://servername.domain.com:8081/Reports/Pages/Folder.aspx , it works. I can see the report manager home page and browse through my reports. But there are some links in the page that are built improperly, since they still point to the wrong URL (without port 8081). These are e.g. the Help link, the Report Builder link, the Details view link.  So I think there is something wrong with the response the report server sends, when I write ".../Reports" and returns ".../Reports/Pages/Folders.aspx" I haven't found any configuration file or property where this response is specified, neither where the report

trouble getting dates right when importing Access table

I was given a bunch of data in Access and am putting it in SQL 2005 for an ASP.NET web app. Tryingto do a query to select only records where the current date is after the "postDate" field and on or before the "expireDate" field. WHERE (postDate <= CURRENT_TIMESTAMP) AND (expireDate >= CURRENT_TIMESTAMP) I'm getting no records returned even though there are some records that qualify. Tried using CURDATE() and NOW(), no difference. At this point I think it may be because the dates are not in the correct format. The columns were originally "Date/Time" format in Access and when I imported them into SQL using the DTSWizard, the datatype for those columns became "smalldatetime." Dates are in the format M/DD/YYYY HH:MM:SS. I'm guessing the query won't work because SQL is expecting YYYY-MM-DD. How do I fix this? Been spending a depressing amount of time running in circles with this.

External Sharepoint 2007 Personal Site Access



I would like to have our current Sharepoint 2007 Personal Sites accessible externally to the end users via https and forms based authentication.

Can anyone advise the steps/best way to achieve this?






How can I access a webform control from another external class/namespace?


Currently, I have many controls and objects such as Chart1 of mschart as part of the public partial class _Default : System.Web.UI.Page.

At the bottom, I've created a second class that is not part of the _Default webform class.  How can I access the webform controls from this second class?

For example, I want to do

Chart1.Series["Series1"].Points.AddXY((pointIndex + 1) * 40, datapoints[pointIndex]);

I want to pass pointIndex integer and the datapoints array.

I know that Chart1 was created protected global access modifier in the designer.cs but when I changed it to public, it still had a problem.


Should you let external classes access webform controls?


I was wondering if you should write code so that external classes and functions of that external class can access the webform controls in the main class???

Or should you only use the external class to process some data, return that data back to the main class (that instantiated that external class object) and then have an internal function in the main class to deliver the data to the control? (back to the screen)

Enabling external access to SharePoint via ISA web publishing rule


The current setup is something like this:

The SharePoint 2007 farm is a member of DomainA (2008 R1), as is the ISA2006 array that publishes SharePoint using FBA.  Delegation from the ISA FBA to SharePoint is set to negotiate and Kerberos is set up.  All company user accounts are in DomainA.  All access to SP by users is via ISA (odd, I know, but we are bit like a 3<sup>rd</sup> party supplier with a single client in that regard)

This works fine for company users but now I need to allow access to external users.  The 2 requirements I’ve got (and am struggling with) are:

1.       External users should be required to authenticate against ISA first, as it the case for company users

Granting external non-domain users SharePoint 2007 access?

Hello all,

As you can well surmise, I've installed SharePoint 2007 on a server and require assistance. We have two sites. The primary site is for internal use only and the other site, a sub-site, is for communications and collaboration with select colleague organizations who are not members of our domain. How can I add these users to allow them access to this sub-site without giving them user accounts in our domain?

What I have done so far is enable SSO and add our users to have rights on the root site. That all works. I then created the sub-site. As a test from a thread I found, I added my GMail account username as a local user account on the SharePoint server. This did, indeed, allow me to add that user and give him rights to login, but I discovered that there is no way to modify the user's profile and, thusly, cannot specify an email address. What good is SharePoint is you can't get email notifications from it?

It then occured to me to create a new user group in the DC and create accounts for them there while at the same time limiting their access to only the SharePoint server and not have any local or remote login rights. Interestingly, the accounts will login after three tries, and then shows blank pages.

Anyway, what I need is to get these users in, have enough profile information that they can receive email from the server as neede

External Internet Access through a proxy server for RSS


I am trying to configure a Sharepoint 2010 farm (3 WFE and 2 AppServers) to load RSS content from the Internet, but our farm is behind a proxied firewall.  I have found instructions for configuring Sharepoint 2007 to be able to access the Internet through a proxy, but have found nothing for Sharepoint 2010.  Are there any new methods in 2010, or is it still modify each web.config file?  I was able to make this work on my test server with the same change as 2007 in the referenced discussion, but I'd rather not mess with the web.config manually if possible.  Any ideas or suggestions would be appreciated.

RE: http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/eff65c83-81e7-483f-b957-dc16a93090a7/

Help with access external webservice



I'm trying to connect to a webservice  but my experiens of webservice i limited

            Dim strLicensPlate As String = Trim(LicensPlate).ToUpper()
            Client.SoapVersion = Services.Protocols.SoapProtocolVersion.Soap12

            Dim info As New carWorkOrderInfo
            Dim infoRequest As New CarWorkOrderInfoRequest()
            Dim body As New RequestCarBody()

            body.licensePlateNumber = strLicensPlate
            body.limit = 1

            Dim Header As New RequestHeader

            Header.userName = ConfigurationManager.AppSettings("User")
            Header.password = ConfigurationManager.AppSettings("Pass")

            infoRequest.requestCarBody = body
            infoRequest.requestHeader = Header
            info.request = infoRequest

            Dim CarValues As carWorkOrderInfoResponsePart = Client.carWorkOrderInfo(info)

Dim strAreaID As String = CarValues.response.carWorkOrderInfoResult

The values that I would like to get

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend