Cant add solution to RocketSvn Repositories - visual-studio-2010

I have been trying to set up RocketSVN server on win server 2008 R2 and the plug in client for Visual studio's 2010 but have been have a lot of trouble so will list what i have had issues with and what i did to get them working and where i am up to.
First I was having trouble connecting to the server through a browser which came down to the fact that i hadn't installed the Basic and windows Authentication on the server IIS features Doh! (fresh install :)) although it still didn't work until i went through the windows updates, After these steps i could connect to the Admin portal through a browser add add repositories and users yay!
Then i moved on to the Visual Studio's plugin and was having trouble being authenticated while trying to add or open a project from svn so back to Google and found a solution here http://community.axosoft.com/forums/thread/22088.aspx but was not using windows authentication which i wanted and was now getting another issue, I found that changing the binding in the IIS to HTTPS and setting a certificate let me use windows authentication and got me to the same position but now I'm stuck again....
tried to add images but wont let me Grrrr.... Edit : I can add images now :)
every time i try to add a solution i don't get a folder to save it to and the "Create Folder" button is greyed out all i get is the
Subversion Repositories
https://<server name>:8080
so am missing the svn/testrep/(testrep being my repository) folder to select and add my solution to..
I am using the repository URL found on the admin portal..
The error i get if i try and open a solution (even though i don't have any solutions in the repository i thought i might be able to browse it?) is
"server sent unexpected return value (405 not allowed) in response to propfind"
i hope some body can help me with this as I'm losing the will to live with this one :( i thinking its still a server set up issue but cant find any more info let my no if any 1 wants to see any server logs / config's / settings.
Cheers in advance

Related

Visual Studio keep requesting to choose azure account even if logged in

I am using VS 2017 with an Azure account. The account is logged in and I can see the account details at the top right corner.
When I try to restore Nuget packages, I keep getting a window telling me to select the azure account I want to use, and my account is an option to select. Even when I select my account, the window keeps popping back over and over, and I can't seem to get the packages..
What can be done?
Two things you could try,
1)Try to clear the invalid cached data:
i) Close visual studio
ii) delete %localappdata%.IdentityService\
2) Report this problem via Visual Studio>Help>Send Feedback>Report a problem. This opens a new instance of "Visual Studio Feedback" which might solve your issue.
I remember facing a similar issue of being asked to sign-in repeatedly on a different workstation. I had to go to the Credential Manager to remove saved creds and re-login with mine. Please check if that helps.
I'm not sure what triggered my problems, but I assume I had problems with my PAT credentials at some point and then I started to modify nuget.config (can be found here: %APPDATA%\NuGet). In the end I had the correct credentials but a wrong address in my nuget.config and just did not notice the small difference. Unfortunately VS' only reaction was to keep asking me for my credentials when trying to connect me to the wrong NuGet feed address.
Instead of this (I use my-repo instead of the actual name):
<add key="my-repo" value="https://pkgs.dev.azure.com/my-repo/_packaging/my-repo/nuget/v3/index.json" />
I had this:
<add key="my-repo" value="https://pkgs.dev.azure.com/in3/_packaging/my-repo/nuget/v3/index.json" />
I assume I had taken it from some other post or tutorial instead of azure's Artifacts area (https://dev.azure.com/my-repo/mc-projects/_packaging?_a=connect&feed=my-repo)
So even though I had the correct credentials in the nuget.config VS kept asking me for the credentials because of the wrong URL :-(
The only hint that I got from VS was "Error Code: 16000" in the credentials dialog when clicking the ...
But that always made me suspect the credentials.

Can't access Mac server from Xcode

I wanted to create a remote repository in my Mac server. I have installed the app, configured and started the Xcode service as per the Apple docs. But when I try to add the server to my accounts in Xcode, the server name is there, but on adding, it is giving the following error.
Unable to perform the request. CFNetwork error: The network connection
was lost. (-1005 - kCFURLErrorNetworkConnectionLost)
The server is hosted on the same Mac in which I am developing.
I've run into the same issue (my server is on the LAN but it had previously been working).
I'm assuming you've got a Git repository created locally and you want to push it to the server. I'm using Xcode 8.2
The only 'solution' I've found so far is to manually create the remote from the Mac Server app (you could also do it on the command line if you want). The steps I used:
Go to the Xcode section of the Server app, select 'Repositories' on that screen, then the + button to add a repository with the name you specified.
After doing that; go back to Xcode proper and with your project selected Open the 'Source Control' menu, select your repository then click 'Configure '
In the resulting dialog, select the 'Remotes' tab
Click the '+' button and select 'Add remote...'
Another dialog comes up. For 'Name' use the same name as you did in the Server. Address should be whatever Server->Xcode reports for the repository you created (something like ssh://hostname/git/MyRepositry.git).
Click 'Add Remote'
Click 'Done'
You should now be able to push/pull between your local and remote repository.
Not the best solution, but as I say, it's the only one I've found so far. Quite a few people seem to be asking this, but none of them seem to have found better answers either. To find some of the other people reporting the problem, I used the following search term in google:
git unable to perform the request cfnetwork error the network connection was lost xcode
Just do the following steps :
1.Remove your Server from Xcode
2.Quit Xcode
3.Restart/Shutdown machine (If I don't restart/shutdown machine, unable to add server again in my case)
4.Open Xcode
5.Add Server again
This Solution works for me, but its not proper solution. It's headache to repeat the above steps every time while facing same issue, I research more on this but did not get any proper satisfactory solution.

Unable to launch IIS Express Web Server in VS 2013

I have an application in MVC 4 using VS 2013.
This is very strange,everything was working fine till last night but today morning when I started working and tried to run my application I found the following error:
Unable to launch IIS express web server.
Failed to register URL"http://localhost:62707" for site...
Access denied(0x80070005)
I searched regarding this since morning and I got solutions for this which I tried as:
I deleted IIS Express folder from my documents several times and
tried running the application by reopening it but that dint work.
I tried with changing the binding in applicationhost file from http
to https. With this the only thing that got changed is the error is
now showing:
Unable to launch IIS Express Web server.
The start URL specified is not valid.
I restarted my system many times as per some of the suggestion . Also
my browser too .
I tried ending the process for IIS Express from Task Manager.
But nothing seems to be working for me and even after trying almost all of the possibilities for hours I kind of got stuck at this point.
You can try this:
Open "Command Line Interface (CLI)" called "Command shell" with
"Win+R" write "cmd" put this command for removing the urlacl.
netsh http delete urlacl url=http://{ip_address}:{port}/
Then add the url for everyone
netsh http add urlacl url=http://{ip_address}:{port}/ user=everyone
Then close the VS and delete the IISExpress folder from Documents
path as:
%userprofile%\Documents, e.g. C:\Users\[you]\Documents\IISExpress
Re-run your application.

Issue when trying to connect to team foundation server

I am quite new to Visual Studio and are trying to connect to a team foundation server. First I want to point out that if I go to the URL of the TFS in my browser and enter my credentials there I get access to the code etc, so there is no problem with the credentials itself.
Basically what I have done in Visual Studio 2012 is go to:
Team Explorer -> Connect to Team Foundation Server -> Servers -> Add -> Enter my credentials.
So after that a login screen appears which prompts for username/password ( which is very logic ), however here when I enter the same credentials I don't get access. In that login screen I can also see a "Domain" which seem to be something random that I have just entered when I installed windows and that domain has nothing to do with the TFS.
As you probably noticed I don't really know what that domain thingy does? Can that be the problem why I can't connect to the TFS server through Visual Studio but it works through the browser? Also if that matters I am connected via VPN to the place where the TFS server is located.
I just had the exact same problem connecting to TFS over VPN. I've been connecting with no problems for months, but I changed my Windows password while in the office yesterday, and couldn't log on from my laptop today.
Turns out that in the credentials box I was omitting my domain name. So instead of MY-WORK-DOMAIN\Itar I was just entering Itar.
(There was a domain name underneath - uneditable - that referred to my wireless router. That doesn't seem to be relevant when signing in.)
Once I entered my username as MY-WORK-DOMAIN\Itar and entered the new password it all worked.
I'm sure the OP has been sorted out by now, but maybe my answer will be useful to someone else.

Zend Studio and PHPCloud

I created from scratch a cloud app located at:
http://jimszend.my.phpcloud.com/
I have zero files on my local drive, but I am trying to get them from the server using Zend Studio.
I have found this page to accomplish this but it does not work:
http://www.phpcloud.com/help/studio-remote-system
Step 1. I believe to be correct. But I have no way to know for sure.
Step 2. Open the PHP or Zend Framework project that you want to upload to your application container, or create a new project. <--- I want to create a new project on my hard drive.
So Step 2 somehow does not work, so instead I go to File -> New -> PHP Project from Zend Developer Cloud.
So I give the project a name: say ABC
The location is: C:\Users\Jim\Zend\workspaces\DefaultWorkspace
The container from a dropdown is: http://jimszend.my.phpcloud.com:10082 (Id: 4_0 )
Now I click refresh right below that and I get nothing so now I click on Add Target
and I enter a username and password. This dialog screen is the problem. I can't figure out what to enter here. meaning I have tried hundreds of different ways and I get stuck right here. I always end up clicking on Generate new key and then I click Test Connection and since there is no error, I assume this is correct.
Then I close that screen and now when I click on the drop down for Application nothing gets filled in. But sometimes this does work and I find my application which says, "jimszend zend framework" - something like this, but even if I get this far then I get some sort of Git failure when I click finish.
Does anyone know a full proof way to pull down "my files" using Zend Studio from PHP Cloud?
Thanks,
Jim
I suspect you may not have your public / private keys set or somewhere you are not supplying the correct credentials during the process. I did the following.
Follow this help document very closely. It's a really good doc from the phpcloud people.
http://www.phpcloud.com/help/putty-ssh-debug-tunnel
Using the phpcloud admin I created a new public / private key pair (Zend Studio kind, ending in .pem). Then I downloaded the .pem to a folder on my windows 7 machine.
Next download from the putty website these three applications to help you match your private / public key pair in putty and in Zend Studio. For me I wanted everything hooked up, both Putty and Zend Studio.
-PuttyGen
-Pageant
-Putty
Note putty uses a .ppk file type (not .pem), so Using PuttyGen I opened the .pem file and saved out the private key to the same location where I saved my .pem file from the php cloud. I kept the same file naming convention, to keep matters straight. So the only difference between the two files was .pem and .ppk.
Next I opened Pageant and used Pageant to open a store my .ppk file. I understand Pageant to be a key store which Putty will check, as it needs to open locked doors.
Next I followed the guidelines in the above phpcloud link, carefully, to establish a tunnel.
Once the tunnel was open, I launched Zend Studio.
From there I went to Windows->preferences and searched for SSH2. Once the SSJ2 dialog opened, under the general tab I added both my .pem and .ppk to the path. Then under the Key Management tab dialog I used "Load existing key" and loaded my .pem file. Then I clicked apply.
Then using Zend Studio I created a new "PHP Project from Remote Server". I went though the steps clicking "Manage remote servers". For the server connection I typed the follow.
JAZZFINGERS.MY.PHPCLOUD.COM
and if you are prompted for credentials, do not use the container credentials, unless they are the same as your other credentials.
From there you can also test your connection. For me this worked. Hope this helps. Oh yeah, also read this. Very important and helpful.
www.phpcloud.com/help/studio-remote-system
-Best Wishes

Resources