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

Notification

Icon
Error

Silverlight 4 + WCF Service under Cassini 4
Guest
#1 Posted : Friday, October 21, 2011 5:40:49 AM(UTC)
Groups:
Joined: 11/1/2005(UTC)
Posts: 278

Hi all,
I'm trying to deploy a Silverlight 4 + WCF service (not wcf ria service) under Cassini.
I'm using CassiniDev 3.5.1.8-4.1.0.8 release as a standalone service.
The application works fine when I'm using VS2010 in debug mode and when i deploy under IIS6, IIS7, IIS7.5.
When I deploy under my Cassini standalone server I got the following error:
[CrossDomainError]
Arguments: http://localhost:1410/CustomerService.svc
Resource debug strings are not available. Often keys and arguments don't give enough informations to debug the problem. Look http://go.microsoft.com/...mp;Key=CrossDomainError

Previously I got a similar error deploying the application under IIS but I solved it adding to my project the 2 following files:

1 crossdomain.xml

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-http-request-headers-from domain="*" headers="SOAPAction,Content-Type"/>
</cross-domain-policy>



2 clientaccesspolicy.xml

<?xml version="1.0" encoding="utf-8"?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-request-headers="SOAPAction">
<domain uri="*"/>
</allow-from>
<grant-to>
<resource path="/" include-subpaths="true"/>
</grant-to>
</policy>
</cross-domain-access>
</access-policy>

Unfortunately under Cassini I continue to get the previous error. Any Idea?

TIA
Marco Paci


Guest
#2 Posted : Friday, October 21, 2011 8:02:10 AM(UTC)
Groups:
Joined: 11/1/2005(UTC)
Posts: 278

In the last 2 hours I discovered that running Cassini on port 1410 everything's work fine.
Does anybody know what's the problem about this port?
Ultidev Team
#3 Posted : Friday, October 21, 2011 10:10: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, Marco.

We are not quite clear: did the problem go away when you switched from port 1410 or to port 1410?

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#4 Posted : Monday, October 24, 2011 7:05:24 AM(UTC)
Groups:
Joined: 11/1/2005(UTC)
Posts: 278

It worked fine the I switched to port 1410.
Marco
Ultidev Team
#5 Posted : Monday, October 24, 2011 10:13:47 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)
Marco,

We are not sure what is the question you would like to get answered?

All the best,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#6 Posted : Tuesday, October 25, 2011 2:18:46 AM(UTC)
Groups:
Joined: 11/1/2005(UTC)
Posts: 278

Sorry I made some mess.
I couldn't understand why my site work only when I configure Cassini on port 1410.
TIA
Marco
Ultidev Team
#7 Posted : Tuesday, October 25, 2011 8:17:13 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)
Marco,

It has occurred to us that you might be at asking at a wrong forum: CassiniDev is a different product. We make UltiDev Web Server Pro (UWS).

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 (9)
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.