Gary Russo

The URL that is included in the Code Check-in Alert message is not visible.

I am getting "Access Denied" message but I have full access to the Team Project (e.g., TFS App Server, Sharepoint Server and Report Server).

Is this a known bug

This is the URL:

https://tfs.cta.com:8081/VersionControl/Changeset.aspx artifactMoniker=162&webView=true


This is the error message when attempting to view the page.



The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


Re: Team Foundation Server - Version Control URL in Code Check-in Alert Message is not visible

Hua Chen - MSFT

Hello Gary:

Do you have any other problem while accessing Team Foundation Server on a secured socket layer(ssl) across the
internet

If not could you please try the following to see if it works.

1. Open the web.config file of Team Foundation Server Services which is located on %Disk%:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services folder.

2. Check the configuration node.

If your configuration node has an attribute such like:

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

Clear the xmlns attribute. Change the node to <configuration>.

3. Reset IIS

Good luck.






Re: Team Foundation Server - Version Control URL in Code Check-in Alert Message is not visible

Gary Russo

Hello Hua,

Thanks for chiming in.

I checked the web.config and unfortunately there is no configuration node with xmlns attribute.

It is correctly set to <configuration>.

I am surprised that no one else is getting this Access Denied error.

Do you know if the URL is correct

https://tfs.cta.com:8081/VersionControl/Changeset.aspx artifactMoniker=162&webView=true

I don't see a Changeset.aspx file in the Virtual Directory.





Re: Team Foundation Server - Version Control URL in Code Check-in Alert Message is not visible

Hua Chen - MSFT

Hello Gary:

Sorry I can not access this link through SSL because of my LAN setting.

The sytax of the link seems to be ok which points to ChangeSet 162.

Or could you please check the web.config file in the version control folder

Is there such an link(which can not be accessed and give the same error message) for each email alert

Thanks.






Re: Team Foundation Server - Version Control URL in Code Check-in Alert Message is not visible

Gary Russo

I checked the web.config file in the VersionControl folder and it looks good too.

>> Is there such an link(which can not be accessed and

>> give the same error message) for each email alert

This is the actual URL from the email message.

https://cmr.ctadvantage.com:8081/VersionControl/Changeset.aspx artifactMoniker=162&webView=true

Do you get the same error message





Re: Team Foundation Server - Version Control URL in Code Check-in Alert Message is not visible

Hua Chen - MSFT

Hello Gary:

I cannot access your link because of my current LAN setting which doesn't allow SSL.

So I did not get the same error message from the link given by you.

My error message is given from my local proxy server.

Can you access other changeset links

For example (Access ChangeSet 62):

https://cmr.ctadvantage.com:8081/VersionControl/Changeset.aspx artifactMoniker=62&webView=true

Thanks.






Re: Team Foundation Server - Version Control URL in Code Check-in Alert Message is not visible

Hua Chen - MSFT

Hello

If others also can get the same error it seems there is something wrong with ASP.NET setting.

Could you please try the following to see if it works.

%systemroot%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

Good luck.






Re: Team Foundation Server - Version Control URL in Code Check-in Alert Message is not visible

Gary Russo

I tried but still no luck.

Could it be a permissions problem on the Virtual Directory





Re: Team Foundation Server - Version Control URL in Code Check-in Alert Message is not visible

Gary Russo

The TFS Alert Email has a Changeset URL on the top and one or more VersionedItem URLs.

The VersionedItem URLs work.

https://cmr.ctadvantage.com:8081/VersionControl/VersionedItem.aspx artifactMoniker=CT.SIDES%252fDev%252fSource%252fDB%252fData%26changesetVersion%3d216%26deletionId%3d0%26webView%3dtrue

The Changeset URL does not work. I am getting an Access Denied Error.

https://cmr.ctadvantage.com:8081/VersionControl/Changeset.aspx artifactMoniker=216&webView=true





Re: Team Foundation Server - Version Control URL in Code Check-in Alert Message is not visible

Hua Chen - MSFT

Hello Gary:

Could you please try the following again

%systemroot%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -ua

%systemroot%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i -enable

not sure where is the problem. normally it is cause by server which return one incorrect page.

but from your words.

I am surprised that no one else is getting this Access Denied error

It seems to be a client setting.

Maybe you can try to reset your IE to see if it works.

Good luck.






Re: Team Foundation Server - Version Control URL in Code Check-in Alert Message is not visible

Gary Russo

I tried but still no luck.

I suspect that there is a problem with the permission setting or content of the following files:

- Changeset.xsl

- Microsoft.TeamFoundation.VersionControl.Server.dll





Re: Team Foundation Server - Version Control URL in Code Check-in Alert Message is not visible

Hua Chen - MSFT

Hello Gary:

The most possible cause is that your server sends the ASPx file to the client as is.

Browser thinks this is XML and tried to convert it to HTML using XSLT.

Because ASP(X) is not an XML this can't work.

Problem should be on the server.

But:

You said you are the only one can not open the link. It is odd.

Or could you please try to re-install IE

Good luck.

If I get any more ways I will let you know immediately.






Re: Team Foundation Server - Version Control URL in Code Check-in Alert Message is not visible

Hua Chen - MSFT

Hello Gary:

Could you please try the following steps:

Check other TFS web config files (web.config)in the folder:

Disk:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer

Disk:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\Warehouse

Disk:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\WorkItemTracking

Disk:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\Build

If your configuration node has an attribute such like:

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

Clear the xmlns attribute. Change the node to <configuration>

Good luck.






Re: Team Foundation Server - Version Control URL in Code Check-in Alert Message is not visible

Gary Russo

>> You said you are the only one can not open the link. It is odd.

>> Or could you please try to re-install IE

I did not say this.

None of my TFS users can open the link.

My previous comment was that I am surprised that this TFS Alert link problem has not been reported by other Microsoft TFS customers.





Re: Team Foundation Server - Version Control URL in Code Check-in Alert Message is not visible

Gary Russo

I checked all web.config files.

Unfortunately, they are all have the proper <configuration> node tag without the xmlns attribute.