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

Notification

Icon
Error

Command-line app registering fails: Index out of range exception
SvenGriese
#1 Posted : Wednesday, November 5, 2008 12:01:07 PM(UTC)
Groups: Member
Joined: 11/5/2008(UTC)
Posts: 2
Location: Hannover, DE

Hi,

I try to register my application using the command-line, but I always receive the following error:

c:\Program Files\UltiDev\Cassini Web Server for ASP.NET 2.0>UltiDevCassinWebServer2.exe /register "c:\mobileclient\CRM3" e7881722-841a-4079-a2bf-c5d2f7e6ea26 Default.aspx 8080
System.IndexOutOfRangeException: Der Index war außerhalb des Arraybereichs.
bei CassiniService.Service1.GetRegisterParameters(String& physicalPath, Guid& appID, String& defaultDocument, Int32& port, Boolean& keepRunning)
bei CassiniService.Service1.RegisterApp()
bei CassiniService.Service1.RunAsConsole(String[] args)

Registering the application by Server Explorer works, but I need this command-line registration for an installation script. I downloaded and installed the CassiniServer2Setup.msi for Win32 / .NET 2.0 running on Vista Business 32-bit.

What am I doing wrong?

Best regards,
Sven
Ultidev Team
#2 Posted : Wednesday, November 5, 2008 4:30:21 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, Sven!

You are doing everything perfectly fine - it's our known bug. For workaround please refer to this post.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
SvenGriese
#3 Posted : Wednesday, November 5, 2008 7:53:18 PM(UTC)
Groups: Member
Joined: 11/5/2008(UTC)
Posts: 2
Location: Hannover, DE

Thanks a lot, that helped!

Sven
Ultidev Team
#4 Posted : Thursday, November 6, 2008 4:36:31 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)
Thank you for using UltiDev Cassini, Sven!

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

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