Error with SVN integration
Getting more error:
Commit failed (details follow):
'pre-commit' hook failed with error output:
Unhandled Exception: System.Xml.XmlException: '--' is an unexpected token. The
expected token is '>'. Line 81, position 5.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at
System.Xml.XmlTextReaderImpl.DtdParserProxy.System.Xml.IDtdParserAdapter.Throw(Exception
e)
at System.Xml.DtdParser.Throw(Int32 curPos, String res, String[] args)
at System.Xml.DtdParser.ThrowUnexpectedToken(Int32 pos, String expectedToken1,
String expectedToken2)
at System.Xml.DtdParser.ScanClosingTag()
at System.Xml.DtdParser.GetToken(Boolean needWhiteSpace)
at System.Xml.DtdParser.ParseEntityDecl()
at System.Xml.DtdParser.ParseSubset()
at System.Xml.DtdParser.ParseExternalSubset()
at System.Xml.DtdParser.ParseInDocumentDtd(Boolean saveInternalSubset)
at System.Xml.DtdParser.Parse(Boolean saveInternalSubset)
at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(Stream inStream)
at CounterSoft.Gemini.Commons.Rest.Serializer.ConvertToObject[T](Stream stream)
at CounterSoft.Gemini.WebServices.BaseService.GetObjectFromReponse[T](Stream stream)
at
CounterSoft.Gemini.WebServices.BaseService.ThrowResponseException(WebResponse response)
at CounterSoft.Gemini.WebServices.BaseService.ProcessResponse[T](String url,
Object obj, RequestType requestType)
at CounterSoft.Gemini.WebServices.BaseService.WhoAmI()
at CounterSoft.Gemini.SourceControl.SVN.Program.Main(String[] args)
Please help!
talbengal
· 1 |
|
Friday, August 14, 2009, 3:14:50 PM |
0
|
Please make sure that the URL, username and password are correct in the Gemini SVN config file. |
||||
|
0
|
URL is the right one, user name / password is correct in CounterSoft.Gemini.SourceControl.SVN.exe.config
|
||||
|
0
|
Please run DebugView. http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx and post the output. |
||||
|
0
|
Dose the DebugView has to run on the server where the SVN is or On the server where the Gemini web site on? Or On the Pc that doing the SVN commit?
|
||||
|
0
|
On the SVN server (the server that you have put the hook files). |
||||
|
0
|
here is the log from DebugView:
00000000 15:59:22 [2832] CounterSoft Gemini: Main And then I get the error on the SVN Commint and no more entries in DebugView.
|
||||
|
0
|
And are you sure that the user admin is correct? Also, please double check the URL, these 2 things are the possible cause. |
||||
|
0
|
Yes ! The URL is http://intranet/gemini3.5 This where I put all the Gemini bugs all the time - so YES sore its OK. The username / password can log me in tothis URL with admin rights - so Yes it is the right username / password. SVNBinPath -> c:\Program Files\Subversion\bin UseWindowsAuthentication->False <setting name="PerformPreCommitChecks" serializeAs="String">
The SVN run on windows 2003 server (under Tomcat 5.0). The gemini WEB site is on other windows 2003 server running IIS 6. The Client is XP. All in the same domain.
the error is: Commit failed (details follow): Unhandled Exception: System.Net.WebException: The underlying connection was
|
||||
|
0
|
The only other thing we can think of is firewall issues. Can the SVN server "see" the Gemini web server? |
||||
|
0
|
Yes, no problem getting onto the Gemini web site from the SVN server. |
||||
|
0
|
Can you please try to run the attached program on the SVN server? It will ask for the Gemini details and will output what we get back, please post it here. |
||||
|
0
|
It is stack on this screen:
Please enter Gemini username (enter WINDOWS for win auth):admin But I can go to http://intranet/Gemini3.5 from this Server and log on as admin with no problem. I can see the problem when i try to access our Intranet (http://intranet/Gemini3.5) its asking for windows domain username / password, and only after I am on the gemini page I enter the user / password for gemini - could this be the problem?
|
||||
|
0
|
Yes, this might be the issue. Are you using windows authentication? If not, please make sure that anonymous access is allowed in the directory security tab of the Gemini site in IIS. |
||||
|
0
|
I am using windows authenticationfor the intranet web site and anonymous access is allowed.
|
||||
|
0
|
Do you get the windows login pop up when connecting to Gemini from your PC? |
||||
|
0
|
Not from my PC. Fom the SVN server yes. |
||||
|
0
|
Is it possible for you to do the same test on the SVN server but run it under your credentials? |
||||
|
0
|
How the H.. do i do this? I try everything it dose not work every time I go from the SVN server into http://intranet/gemini3.5 it ask for user name / password.
|
||||
|
0
|
You should run the browser under different credentials by right clicking on it and click on "Run As". |
||||
|
0
|
I am log in to the SVN server as myself (I am a domain admin) I run the IE as myself, still asking me for username and password for http://intranet/gemini3.5
|
||||
|
0
|
Well I oper new repos and set SVN server on the Server that run the Gemini web site. Did not help !! I am getting the same error. On the Application event log on the server I am getting this: System.Xml - '--' is an unexpected token. The expected token is '>'. Line 81, position 5. - at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.DtdParserProxy.System.Xml.IDtdParserAdapter.Throw(Exception e) at System.Xml.DtdParser.Throw(Int32 curPos, String res, String[] args) at System.Xml.DtdParser.ThrowUnexpectedToken(Int32 pos, String expectedToken1, String expectedToken2) at System.Xml.DtdParser.ScanClosingTag() at System.Xml.DtdParser.GetToken(Boolean needWhiteSpace) at System.Xml.DtdParser.ParseEntityDecl() at System.Xml.DtdParser.ParseSubset() at System.Xml.DtdParser.ParseExternalSubset() at System.Xml.DtdParser.ParseInDocumentDtd(Boolean saveInternalSubset) at System.Xml.DtdParser.Parse(Boolean saveInternalSubset) at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl() at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(Stream inStream) at CounterSoft.Gemini.Commons.Rest.Serializer.ConvertToObject[T](Stream stream) at CounterSoft.Gemini.WebServices.BaseService.GetObjectFromReponse[T](Stream stream) at CounterSoft.Gemini.WebServices.BaseService.ThrowResponseException(WebResponse response) at CounterSoft.Gemini.WebServices.BaseService.ProcessResponse[T](String url, Object obj, RequestType requestType) at CounterSoft.Gemini.WebServices.AdminService.GetConfiguration() at CounterSoft.Gemini.Scheduler.EmailAlertsProcess.Process()
Please, Please HELP! |
||||
|
0
|
Can you try and run the application I posted yesterday? |
||||
|
0
|
its giving me the same: Please enter Gemini URL:http://intranet/gemini3.5
|
||||
|
0
|
Where is the test application directory? It should be on the actual machine, say C:\temp |
||||
|
0
|
D:\Gemini3.5\Gemini Web Application
|
||||
|
0
|
Can you please try it on C:\temp? |
||||
|
0
|
Copy the directory to c:\temp and set the IIS to take it from there, user can log in as before. Its now in C:\Temp\Gemini Web Application When running your test getting the same error: Please enter Gemini URL:http://intranet/gemini3.5/ Request for the permission of type 'System.Net.WebPermission, System, Version=2.
|
||||
|
0
|
I'm getting the same kind of error that talbengal is describing. This is a new install and we are using build 2390. I'm using Windows Authentication on both the SVN server (VisualSVN server 2.05) and on the Gemini server. I have "allow anonymous access" unchecked in IIS on the Gemini server and we are using https on both servers. The servers are in the same domain. One other piece of information worth noting is that both servers are Windows 2003 R2 x64. Error: Commit failed (details follow): The Debug view shows:
My config file looks like this: <applicationSettings>
I feel like there is definitely something missing in your setup process for Windows authentication. For example, I don't see how the username and password in the config file are of any use when using windows authentication. Are you expecting us to put an actual Windows domain user in those values? We can't do that for security reasons and I'd expect that many other organizations would have the same rule. Any help would be appreciated. |
||||
|
0
|
We expect the user name only without the password. Please send an email to support at countersoft dot com and we can remote into your system to see if we can solve this for both of you. |
||||
|