I have a project which is used to get the latest version number from SVN, the project is host on IIS. Some server(windows XP) can work, but some can't, I try to run it not host on IIS, it will work. anyone can help me, thanks.
I set "Intergrated Windows authentication" on IIS and give "Full control" for everyone.
Please mark the replies as answers if they help or unmark if not.
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework
whqfd
0 Points
2 Posts
SVN command can't run under web site.
May 17, 2011 09:47 AM|LINK
Hi All,
I have a project which is used to get the latest version number from SVN, the project is host on IIS. Some server(windows XP) can work, but some can't, I try to run it not host on IIS, it will work. anyone can help me, thanks.
I set "Intergrated Windows authentication" on IIS and give "Full control" for everyone.
the following are the code details.
Process p = new Process(); p.StartInfo.WorkingDirectory = @"C:\ICPS_Migration\ICPS Source Code\"; p.StartInfo.FileName = "cmd.exe"; p.StartInfo.UseShellExecute = false; p.StartInfo.RedirectStandardInput = true; p.StartInfo.RedirectStandardOutput = true; p.StartInfo.CreateNoWindow = true; string command = "svn info --xml --username jira --password password https://192.168.81.68/svn/ICPS/ > C:\\MSLog\\SVN\\info.xml"; p.Start(); p.StandardInput.WriteLine(command); p.StandardInput.WriteLine("exit"); //string str = p.StandardOutput.ReadToEnd(); p.WaitForExit();the following are the correct message in the file
the following are the wrong data in the file when host the project on IIS.
<div class="mcePaste" id="_mcePaste" style="position: absolute; width: 1px; height: 1px; overflow: hidden; top: 0px; left: -10000px;"></div>Jonathan She...
All-Star
31269 Points
3445 Posts
Re: SVN command can't run under web site.
May 20, 2011 03:43 PM|LINK
Hi,
What's your issue going now?
Best regards,
Jonathan
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework