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

Notification

Icon
Error

i have problem with cassini registeration from my code
Guest
#1 Posted : Tuesday, September 19, 2006 7:53:18 AM(UTC)
Groups:
Joined: 11/1/2005(UTC)
Posts: 278

i have register awebsite to cassini from my code something like this

CassiniConfiguration.Metabase.RegisterApplication(applicationID,
"Name",
"Application description",

"C:\webte", "index", false);

but i give an exception that applocation is invalid

so i need to know the format of it

second the exception still arisies and i can unregister the website or edit it and the cassini falldown when i reinstall it the exception still exsist so how i overcome this exception

thanks in advance


Ultidev Team
#2 Posted : Tuesday, September 19, 2006 8:05:56 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.

Would it be possible to provide the exact exception information including stack trace? Also, does the exception occur when you register the application or when you access it? If it's when you access it, then it may have to do with the "index" parameter not being "index.htm" or "index.aspx". Otherwise your code looks alright. Please also check Windows Event Log to see if you have any error entries there related to Cassini and/or your application.

Please note that final release of Cassini has a capability of registering and unregistering applications from setup project custom actions, without having to write any code at all.

All the best,
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
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.