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

Notification

Icon
Error

Getting error Application with ID..is not registered with UltiDev Cassini Web Server
yogeshgpt
#1 Posted : Tuesday, September 4, 2012 3:45:16 AM(UTC)
Groups: Member
Joined: 9/4/2012(UTC)
Posts: 8
Location: Pune

I build a deployment package with Cassini in Visual Studio 2005 (with .Net Framework 2.0).

When I run the setup on a Windows 7 machine, it installed successfully. But when I launch the application I get error "Application with ID {8bf6dd9c-a121-413f-96ac-f68d7f6a41d1} is not registered with UltiDev Cassini Web Server.".

In the custom action, I used a GUID for AppID instead of [UpgradeCode]. Here is the argument string I am using to register my application on the install action under the "CustomActionData" property -

/AppLocation="[TARGETDIR]\" /AppID="{5B2E677F-FA96-4537-86A5-F0E2E7C7B798}" /AppDefaultDoc="default.aspx" /AppName="Test Demo"

Can you please help me out here? Also if I use [UpgradeCode] in AppID, how can I launch application on another system after installation.
Ultidev Team
#2 Posted : Tuesday, September 4, 2012 10:14:54 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, Yogesh.

On the system where UltiDev Cassini is installed, please navigate to http://localhost:7767/. There you will see the list of registered applications, where your application should also be listed. Please verify that application physical location and other parameters are set to desired values.

There is no difference between specifying AppID as an explicit GUID or as [UpgradeCode]. UpgradeCode is GUID too and can be found in setup project's properties.

Please consider using UltiDev Web Server (UWS) - a next generation web server product, which has tons of new features, including better application registration and automatic creation of shortcut icons during application registration.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
yogeshgpt
#3 Posted : Wednesday, September 5, 2012 5:43:31 AM(UTC)
Groups: Member
Joined: 9/4/2012(UTC)
Posts: 8
Location: Pune

Hi,

I developed the application on 'Server A'. Here it is working fine. Then I created a deployment package with Cassini.

When I run the Setup.exe on 'Server B', I got error that application with ID is not registered with UltiDev Cassini Web server. I used the argument which I posted earlier. I tried with hard coded GUID or [UpgradeCode] but result is same.

On my development environment (Server A) everything is working. Am I missing something?

Thanks
Yogesh
Ultidev Team
#4 Posted : Thursday, September 6, 2012 3:35:43 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)
Yogesh,

Did UltiDev Cassini get installed on server B? If so, could you please check in Windows Event Log whether there are any error or warning entries related to UltiDev Cassini?

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
yogeshgpt
#5 Posted : Thursday, September 6, 2012 11:42:08 PM(UTC)
Groups: Member
Joined: 9/4/2012(UTC)
Posts: 8
Location: Pune

Hi,

Cassini server is installed on 'Server B'. No error is reported in event log regarding this.

If I try to register any application on 'Server B' manually using UWS.RegApp.exe, it works, that means Cassini server is installed and working fine on 'Server B'.

But when I run the setup to install application and register it with Cassini, it didn't work. I checked the event log also, but no error is reported for registration.

Please let me know how to resolve this?

Thanks
Yogesh
Ultidev Team
#6 Posted : Friday, September 7, 2012 3:36:55 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, Yogesh.

UWS.RegApp.exe is not a part of UltiDev Cassini, but rather of the new UltiDev Web Server (UWS) - a new generation web server product. If you are using UWS, please check out this article about registering apps with UWS. In particular, command line will be slightly different.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
yogeshgpt
#7 Posted : Sunday, September 9, 2012 1:00:09 AM(UTC)
Groups: Member
Joined: 9/4/2012(UTC)
Posts: 8
Location: Pune

Thanks,

I followed the steps as mentioned on the link you provided in the last post. I run the setup on 'Server B' but got the error as attached.

My 'Server B' has Windows 7 (32 Bit). Can you please let me know why I am getting this error? Also, I am using Visual Studio 2005 on 'Server A' to create setups.

-Yogesh
Ultidev Team
#8 Posted : Sunday, September 9, 2012 2:04:02 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)
Yogesh,

Please take a look at the "C:\Program Files\UltiDev\Web Server\AppRegTrace.txt" file on the Server B. I should have exact command line and the result. If you need help interpreting results, please attach the file to your response and we'll be happy to help.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
yogeshgpt
#9 Posted : Monday, September 10, 2012 3:18:51 AM(UTC)
Groups: Member
Joined: 9/4/2012(UTC)
Posts: 8
Location: Pune

Hi,

It doesn't seems to be an error for registering application. I have attached the screen shot of the error I am getting during installation.

It has started when I used "starter.exe" as a custom action as per the article posted on the following thread -

http://ultidev.com/Forum...oject-bundling-UWS.aspx

I followed the exact same steps mentioned in the article but get the error during installation due to which installation is not completed.

Let me know if I am missing something.

Thanks
Yogesh
yogeshgpt attached the following image(s):
yogeshgpt attached the following image(s): Installer_Error.jpg
yogeshgpt
#10 Posted : Monday, September 10, 2012 8:02:37 AM(UTC)
Groups: Member
Joined: 9/4/2012(UTC)
Posts: 8
Location: Pune

Hi,

I figured out the reason for the error. Now it is working fine.

Thanks for your help and support.

-Yogesh
Ultidev Team
#11 Posted : Monday, September 10, 2012 10:19:48 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)
Not a problem, Yogesh!

We are glad you were able to fix the problem.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
yogeshgpt
#12 Posted : Wednesday, September 12, 2012 6:21:19 AM(UTC)
Groups: Member
Joined: 9/4/2012(UTC)
Posts: 8
Location: Pune

Hi,

Any idea why I am getting an exception of illegal characters in the path?

Thanks
Yogesh
yogeshgpt attached the following image(s):
yogeshgpt attached the following image(s): error_1.jpg
Ultidev Team
#13 Posted : Wednesday, September 12, 2012 8:24:35 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)
Hello, Yogesh.

Please removed trailing backslash at the end of "...TestDemoSetup\". Please try "...TestDemoSetup" instead.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
yogeshgpt
#14 Posted : Sunday, September 23, 2012 11:28:09 PM(UTC)
Groups: Member
Joined: 9/4/2012(UTC)
Posts: 8
Location: Pune

Thanks, it worked.
Ultidev Team
#15 Posted : Monday, September 24, 2012 8:29:54 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)
Great! We are happy the issue is resolved.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#16 Posted : Wednesday, September 12, 2018 2:40:57 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.