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

Notification

Icon
Error

Hosted web app problem
karan
#1 Posted : Tuesday, October 20, 2009 12:50:12 PM(UTC)
Groups: Member
Joined: 10/20/2009(UTC)
Posts: 2
Location: NC

I have a web application. When i debug it in visual studio using cassini, it runs perfectly fine.However when i publish the application and register it in cassini and try to run it, it gives me an 'Object reference not set to an instance of an object' error.Any idea what could be wrong?
Ultidev Team
#2 Posted : Tuesday, October 20, 2009 1:43:53 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.

The only consequential difference between running UltiDev Cassini for debugging as a regular EXE, and registering your app with Cassini service is that when it runs as a service, it runs under Local System account, while when running as an exe, it runs under your user account that is likely to be more powerful. To debug your app with Cassini service, register the app your are debugging with Cassini service and then attach debugger to UltiDevCassiniWebServer2a.exe process.

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.
karan
#3 Posted : Tuesday, October 20, 2009 2:38:01 PM(UTC)
Groups: Member
Joined: 10/20/2009(UTC)
Posts: 2
Location: NC

Thanks a lot guys.
By debugging the registered application using your suggestion i was able to find out the problem and get it fixed(provide local system account, access to a particular system resource). Its working now.
Thanks again...

Karan
Ultidev Team
#4 Posted : Tuesday, October 20, 2009 4:13:30 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.
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.