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

Notification

Icon
Error

Cassini Physical Path problem
ahmed_rdi
#1 Posted : Thursday, January 25, 2007 2:45:47 AM(UTC)
Groups: Member
Joined: 1/25/2007(UTC)
Posts: 4


Dear,
I have a desktop Dot Net application that uses Cassini web server to host some HTML pages
The problem is that when I setup the application the Cassini writes its Phsical Path like C:\Program Files\RDI\Shaa...\Shaa\\ with double slashed "\\" at the end
Some Computers agrees on that format and runs the application while others doesn't agree on that format and when I manually change the physical path to contain only one slash "\" it works
Could any one know how can I programatically change this physical path of cassini web server? or are there any options that I can change in Internet Explorer to see the double slashes "\\"for ever? or what can I do?
Thanks
Ultidev Team
#2 Posted : Thursday, January 25, 2007 4:45:34 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)
Hello, Ahmed!

Please tell us if we understood the issue correctly: you ship your application bundled with our Cassini; when your application gets installed and registered with Cassini, the physical path of your application in Cassini registration has two trailing backslashes.

If that is correct, please tell us how Install custom action parameters look like in your application's Setup project.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
ahmed_rdi
#3 Posted : Thursday, January 25, 2007 6:54:16 AM(UTC)
Groups: Member
Joined: 1/25/2007(UTC)
Posts: 4

Yes
I have my DotNet application bundled with your cassini server to run on desktop without IIS
We have a setup application that we got from your site that has a setup.INI beside it
We write the MSIFileName into this Setup.INI and we run this setup on a Desktop machine
Ultidev Cassini is setupped and it registers the application with a physical path exactly like C:\Program Files\App\MyApp\\App1\
When I try to call http://localhost:19519/Index.aspx from Internet Explorer on some machines it works and on other machines it doesnot work and we receive this error

The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested Url: /Index.aspx


When I go through Cassini and edit my app and change the physical path to be C:\Program Files\App\MyApp\App1\ rather than C:\Program Files\App\MyApp\\App1\ it works without problems

How I assure of having all machines read this physical path??? or simply have your setup.exe writes physical path without two slaches

Thanks

Ultidev Team
#4 Posted : Thursday, January 25, 2007 8:44:32 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)
Ahmed,

Could you please open your solution in Visual Studio, right-click your setup project in the Solution Explorer, select View | Custom Actions, and then select the first custom action item under the Install bin in the Custom Actions window on the right, and look in the Properties panel. What value does the CustomActionData property have? Sample has
Code:
/AppID="{87C97D89-B993-411D-A0EF-782191F1DBDD}" /AppLocation="[TARGETDIR]\" /AppDefaultDoc="WebForm1.aspx"
Please let us know how your parameters look like. They determine how your physical path is registered with Cassini.

The screen looks like this:


Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
ahmed_rdi
#5 Posted : Saturday, January 27, 2007 9:34:38 PM(UTC)
Groups: Member
Joined: 1/25/2007(UTC)
Posts: 4

First Thing Thanks for your quick response

Second sorry for my slow feedback because I was in my week end

Third I made as you said and I found the value is

/AppID="{5F5B3B26-A97B-45E0-974F-C0CA7413E5F6}" /AppPort="19519" /AppLocation="[TARGETDIR]\\MyApp\\" /AppDefaultDoc="Index.aspx"

It seems that we got the problem place but I will not try anything until you reply me to tell me what I can do and if there is other places have the same problem

Thanks and best regards

Ultidev Team
#6 Posted : Sunday, January 28, 2007 5:38:43 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)
Hello, Ahmed.

We recommend you trying removing two trailing slashes from the AppLocation parameter to be like this:
Code:
/AppLocation="[TARGETDIR]\\MyApp"
This should resolve the issue.

Please let us know if this has helped.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
ahmed_rdi
#7 Posted : Monday, January 29, 2007 11:37:51 PM(UTC)
Groups: Member
Joined: 1/25/2007(UTC)
Posts: 4

I think it worked when I made it like /AppLocation="[TARGETDIR]\MyApp" not /AppLocation="[TARGETDIR]\\MyApp" but I will test it to assure about that. Do you think that test results will be good?
Ultidev Team
#8 Posted : Tuesday, January 30, 2007 9:57:37 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)
We are pretty sure the result of your testing will be positive.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#9 Posted : Tuesday, March 8, 2016 3:37:26 AM(UTC)
Groups:

Message was deleted by a Moderator.
Guest
#10 Posted : Thursday, March 1, 2018 12:52:08 AM(UTC)
Groups:

Message was deleted by a Moderator.
Rss Feed  Atom Feed
Users browsing this topic
Guest
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.