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

Notification

Icon
Error

Need Help on Command Line Registering
jstatham
#1 Posted : Tuesday, March 13, 2012 10:51:12 AM(UTC)
Groups: Member
Joined: 3/13/2012(UTC)
Posts: 9
Location: Atlanta

I am upgrading from the old version of cassinni to the webserver pro. I am having a problem manually registering my app so that it show up as a legacy cassinni 2.0 host process. If I do it manually it works fine. Here is the command line paramenters I am using. The problem I am have when registered this way is when I click the browse application it does not recogonize my defualt doc? Any help will be greatly appericated. The service works fine the app is giving me the problem.

webservice
C:\Program Files (x86)\UltiDev\Web Server\UWS.RegApp.exe /r /appid:{04947d21-67f8-4242-b3a7-7bb1d3681b78} "/Folder:c:\mypath\TAWebservice" "/defaultdoc:InvRecwebService.asmx" "/listenendpoint:http://*:8080/" "/authwinsnegotiate:yes" "/impersonate:no" "/force32:yes"


webapp
C:\Program Files (x86)\UltiDev\Web Server\UWS.RegApp.exe /r /appid:{c05e6c20-0e56-4ea7-abd4-70ba50402779} "/Folder:c:\mypath\TAWebApp" "/defaultdoc:TMLogin.asmx" "/listenendpoint:"http://*:80/,http://*:80/"" "/authwinsnegotiate:yes" "/impersonate:no" "/force32:yes" "/aspnet:1" "/host:SharedLocalSystem"
Ultidev Team
#2 Posted : Tuesday, March 13, 2012 11:04:29 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 there!

UWS.RegApp.exe can't register an application as legacy Cassini. Only using old Cassini API or command line utility does that. If you are shipping UWS along with your solution, there is no reason to register an application as legacy Cassini.

Please let us know if this information was helpful.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
jstatham
#3 Posted : Tuesday, March 13, 2012 11:09:47 AM(UTC)
Groups: Member
Joined: 3/13/2012(UTC)
Posts: 9
Location: Atlanta

Ok then here is the main issues. I am installing Webserver Pro using installshield and after the installation I need to register my apps automatically. When I use the comman line params above I cannot get the web app default doc to work properly.
example. I should be able to type in http://localhost and my page shows. It will only show if I type in the entire path http://mypath/TMLogin.aspx. If I manually register as legacy cassini the http://localhost works.
Ultidev Team
#4 Posted : Tuesday, March 13, 2012 12:09:33 PM(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!

We'll do our best to figure why default doc is not working.

Could you please try to register that application manually, using UWS Explorer, with TMLogin.aspx as default page and see if that works. After that, unregister it and re-register it using UWS.AppReg.exe and see what UWS Explorer shows as a default page for the application after registration. Please attach UWS Explorer screenshots of both manual and programmatic registration results (with default doc shown) to your response post.

As a side note, we noticed that you are registering the web app on the port 80, twice, and no other ports. Many target systems will have IIS5, Apache, or other web servers that don't share ports. You likely to have 3-5% application registration (and installation) failure rate if you don't add "http://*:0" to the endpoints parameter. This, thought, has nothing to do with the default doc issue.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
jstatham
#5 Posted : Thursday, March 22, 2012 7:26:02 AM(UTC)
Groups: Member
Joined: 3/13/2012(UTC)
Posts: 9
Location: Atlanta

I got it figured out thanks for the help.
Ultidev Team
#6 Posted : Thursday, March 22, 2012 8:43:39 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 glad you have resolved the issue!

Best 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 (2)
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.