Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

UltiDev Cassini and Vault
Agust
#1 Posted : Monday, August 28, 2006 7:05:10 AM(UTC)
Groups: Member
Joined: 8/25/2006(UTC)
Posts: 6

Hello!

I am trying to get Cassini to run my Vault sourcesafe webservice - well, actually it runs the webserivce smoothly, the problem is that my Vault clients need to access the webservice with the url: http://localhost:7725/vaultservice/vaultservice.asmx but Cassini has it available on the url http://localhost:7725/VaultService.asmx
Does anybody have a hint for me how I could configure Cassini to make the url http://host:port/vaultservice/vaultservice.asmx available?

Thanks in advance, Ágúst
Ultidev Team
#2 Posted : Monday, August 28, 2006 7:32:54 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi, Agust.

You could attempt to create a 'vaultservice' folder under the application root and copy the vaultservice.asmx over to the 'vaultservice'. Alternatively, if there is already a 'vaultservice' folder containing vaultservice.asmx, you could try to register Vault application with Cassini so that parent folder of 'vaultservice' folder would be application's physical location. For example, if your vaultservice.asmx file is physically located in "c:\TopFolder\vaultservice\vaultservice.asmx", then you could try to register "c:\TopFolder" as application's physical location to get desired 'http://localhost:7725/vaultservice/vaultservice.asmx' URL.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Agust
#3 Posted : Monday, August 28, 2006 8:55:14 AM(UTC)
Groups: Member
Joined: 8/25/2006(UTC)
Posts: 6

Yes, I tried that yesterday with, resulted in this error:
--
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
--
:-)
Ultidev Team
#4 Posted : Monday, August 28, 2006 10:58:48 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Agust,

Is there any way your client app could be changed to get web service URL from some external configrable source instead of heaving it hardcoded? For example, if your client app is .NET 2.0 application, it may already have the URL saved in app.config file.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Agust
#5 Posted : Tuesday, August 29, 2006 12:05:08 AM(UTC)
Groups: Member
Joined: 8/25/2006(UTC)
Posts: 6

I have consulted those who my client apps are from - this is not changeable... thanks for the effort!
Ultidev Team
#6 Posted : Tuesday, August 29, 2006 5:02:49 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Agust,
there's a chance that the first approach, with moving ASMX files into 'vaultservice' folder might work if web.config file and Bin folder were kept in the root...

Regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.