Compilation Error, CS1519

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
runnhagen
Posts: 2
Joined: Mon May 19, 2008 3:15 am

Compilation Error, CS1519

Post by runnhagen » Mon May 19, 2008 3:40 am

When i try to log into Vault, i get this error message:

Code: Select all

Unable to connect to http://localhost:8080/VaultService.  No server was found at the specified URL.
When going to my server adress in the browser i get this error:

Code: Select all

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: CS1519: Invalid token in class, struct, or interface member declaration

Source Error:
[No relevant source lines]

Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\App_Code.bfouwjmr.0.cs    Line: 118 
Im not sure about how the temporary ASP.NET files work but if i check that directory, there is no file by that name.

I have tryed repairing the Vault installation as well as reinstalling the server but still get the same error. I also tryed reinstalling .Net 2.0 on the IIS.

I dont think I made any changes to IIS or Vault recently that could have caused this. There might have been some patching going on from the IT dep. though.

Using: Vault 3.5.2.5087

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Mon May 19, 2008 9:14 am

Are you trying the vaultservice URL (http://localhost:8080/VaultService) right on the server or just your machine? Can you try it right on the Vault server?

What is your client OS?
Do you by any chance have any of 3.x .NET frameworks installed?

runnhagen
Posts: 2
Joined: Mon May 19, 2008 3:15 am

Post by runnhagen » Tue May 20, 2008 1:36 am

I tryed it on the server.

Its a Win XP SP2 box with .Net 3.0 and 3.5 installed. I belive thouse have been installed for quite some time though.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Tue May 20, 2008 8:22 am

Can you pull up a browser on the server and just try the exact address of
http://localhost:8080/VaultService. If that won't come up in just a browser on the server, then you will want to refer to the KB article Troubleshooting "Unable to connect to server". That page is just a very plain html page and shouldn't need much of anything to be pulled up.

If that page comes up, then try http://localhost:8080/VaultService/vaultservice.asmx, and let me know the results.

Post Reply