c# - Deployed Silverlight app doesn't work with database after move from local PC to remote server -


yesterday finished first silverlight application. application communicates database (sql server on remote server) via entity model , domain service class. when test on pc works well. deploy project first local place , after move remote server.

the problem after move server, wcf ria not communicate server (callback throws error server not found - nothing more).

how can find out error coming from; i´m little desperate, because i´ve never worked iis. tried web deploy option, cannot connect remote server. on local pc have iis 8 express , on remote server need move website iis 7 (ms server 2008).

my web.config file

<configuration>   <system.webserver>     <modules runallmanagedmodulesforallrequests="true">       <add name="domainservicemodule" precondition="managedhandler" type="system.servicemodel.domainservices.hosting.domainservicehttpmodule, system.servicemodel.domainservices.hosting, version=4.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/>     </modules>     <validation validateintegratedmodeconfiguration="false"/>   </system.webserver>   <system.web>     <httpmodules>       <add name="domainservicemodule" type="system.servicemodel.domainservices.hosting.domainservicehttpmodule, system.servicemodel.domainservices.hosting, version=4.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/>     </httpmodules>     <compilation debug="true" targetframework="4.0">       <assemblies>         <add assembly="system.data.entity, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089"/>       </assemblies>     </compilation>     <httpruntime/>   </system.web>   <connectionstrings>     <add name="isprswebformtestentities" connectionstring="metadata=res://*/entitymodel.csdl|res://*/entitymodel.ssdl|res://*/entitymodel.msl;provider=system.data.sqlclient;provider connection string=&quot;data source=sql.fce.cz\\mssql2012,1433;initial catalog=testdb;user id=reviewer;password=xxxxxxxxxx;multipleactiveresultsets=true;app=entityframework&quot;" providername="system.data.entityclient"/>   </connectionstrings>   <system.servicemodel>     <servicehostingenvironment aspnetcompatibilityenabled="true" multiplesitebindingsenabled="true"/>   </system.servicemodel> </configuration> 

pls provide more error infos diagnosing. besides, must double check following settings. 1. connectionstring. pls confirm connection string correct , able connect remote server. 2. web service. pls try access svc file in ie, confirm web service working well.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -