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

Notification

Icon
Error

How can I run executable file from asp.net web page hosted with cassini.
k0ren
#1 Posted : Sunday, February 21, 2010 3:39:39 AM(UTC)
Groups: Member
Joined: 4/26/2009(UTC)
Posts: 4
Location: bg

When I run my asp.net web page through localhost it starts the executable file but when I navigate through the ip address the executable file doesn't start.

Now I want to change some settings in cassini if it's possible in order to start some executable file through my asp.net page. I know it's security issue but I want to do it anyway. Thanks!
adamking
#2 Posted : Sunday, February 21, 2010 6:27:20 AM(UTC)
Groups: Member
Joined: 2/21/2010(UTC)
Posts: 7
Location: UK

Just a thought, but this might be your computer security settings rather than Cassini.

Might be worth looking into that?
Ultidev Team
#3 Posted : Sunday, February 21, 2010 1:48:04 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)
Hi there.

If you launch your application using UltiDev Cassini in the command line mode (as opposed to registering your app with Cassini service), then you should be able to start and EXE from your application. Starting Cassini as a regular EXE makes it run in your user account security context, instead of UI-less Local System, which happens when you register your app with the Cassini service.

Here's how you could start UltiDev Cassini web server as a regular EXE:
Quote:
UltiDevCassinWebServer2.exe /run <PhysicalAppFolder> [<defaultDocument>] [<port> | 0] [<browser path> | nobrowser]


UltiDev Cassini is installed in "C:\Program Files\UltiDev\Cassini Web Server for ASP.NET 2.0" on 32-bit systems, and in "C:\Program Files (x86)\UltiDev\Cassini Web Server for ASP.NET 2.0" on x64 systems.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
k0ren
#4 Posted : Monday, February 22, 2010 5:18:02 AM(UTC)
Groups: Member
Joined: 4/26/2009(UTC)
Posts: 4
Location: bg

Thanks. This solved my problem. Great support again.
Ultidev Team
#5 Posted : Monday, February 22, 2010 12:06:27 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)
Not a problem - we're always happy to help!

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#6 Posted : Tuesday, March 8, 2016 2:28:04 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.