All Products 
Username / Customer#
Password
Log In
 Hi,  |  Log Out
  • Site Search
  • Domain Search
  • WHOIS Domain Check
24/7 Support: (480) 505-8877
Hablamos Español
9 AM to 9 PM IST
7 days a week
Go Daddy Support

Search help articles, forums, and discussion groups

Problem Silverlight Application Hosting

Viewing post 1 to 4 (4 total posts)
Profile picture of BOSL

BOSL said 1 year ago:

I have developed a application which tries to connect to sql server database and displays data in silverlight application with silverlight enabled wcf service,
everything was working great in local machine After that i have change my connection string with remote server and database name
Like( Data Source=174.36.80.38,1750;Initial Catalog=DB2132_iSBBackoffice;User ID=DB2132;Password=******* ) it is also same database which i test in local server.
and i was ready to deploy on to our godaddy server. But when i have deployed my silverlight application on to godaddy server my silverlight user interface is working fine but when i browse my wcf services it gives me following error:

Server Error in ‘/test’ Application.
There is no build provider registered for the extension ‘.svc’. You can register one in the <compilation><buildProviders> section in machine.config or web.config. Make sure is has a BuildProviderAppliesToAttribute attribute which includes the value ‘Web’ or ‘All’.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: There is no build provider registered for the extension ‘.svc’. You can register one in the <compilation><buildProviders> section in machine.config or web.config. Make sure is has a BuildProviderAppliesToAttribute attribute which includes the value ‘Web’ or ‘All’.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

After that modify web.config file below the code:

<buildProviders>
<remove extension=”.svc” />
<add extension=”.svc” type=”System.ServiceModel.Activation.ServiceBuildProvider,System.ServiceModel, Version=3.0.0.0, Culture=neutral,PublicKeyToken=b77a5c561934e089″ /> </buildProviders>

Then browse my silverlight application and got some error:

Server Error in ‘/test’ Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The element ‘buildProviders’ cannot be defined below the application level.

Source Error:

Line 31: <compilation debug=”true”>
Line 32:
Line 33: <buildProviders>
Line 34: <remove extension=”.svc” />
Line 35: <add extension=”.svc” type=”System.ServiceModel.Activation.ServiceBuildProvider,System.ServiceModel, Version=3.0.0.0, Culture=neutral,PublicKeyToken=b77a5c561934e089″ />

Source File: D:Hosting6242877htmltestisbweb.config Line: 33

Profile picture of JasonP

GoDaddy Expert JasonP said 1 year ago:

@umbertoii

Sorry to hear that you are getting errors with your application. While I am unable to review the files for the site, here is a link that may help you:

http://forums.asp.net/p/1003713/1327386.aspx

If further assistance is required, I would recommend contacting our Support Team directly to review the hosting account.

Jason

Profile picture of BOSL

BOSL said 1 year ago:

Dear JasonP
Thak you for your reply, Still now i am facing some problem. After getting your reply i have following changes: Below my web.config file

<?xml version=”1.0″?>

<configuration>

<buildProviders>
<remove extension=”.svc” />
<add extension=”.svc” type=”System.ServiceModel.Activation.ServiceBuildProvider,System.ServiceModel, Version=3.0.0.0, Culture=neutral,PublicKeyToken=b77a5c561934e089″ />
</buildProviders>
…………
…………
<connectionStrings>
<add name=”iSBBackOfficeEntities” connectionString=”metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="Data Source=174.36.80.38,1750;Initial Catalog=DB2132_iSBBackoffice;User ID=DB2132;Password=******;MultipleActiveResultSets=True"” providerName=”System.Data.EntityClient” />
</connectionStrings>

<system.web>
<customErrors mode=”Off”/>
<compilation debug=”true”>
<!–<buildProviders>
<remove extension=”.svc” />
<add extension=”.svc” type=”System.ServiceModel.Activation.ServiceBuildProvider,System.ServiceModel, Version=3.0.0.0, Culture=neutral,PublicKeyToken=b77a5c561934e089″ />
</buildProviders>–>
</compilation>

…….
…….

My application web link:http://www.istockbroking.com/test/isb/InvestorProfileTestPage.aspx

After browsing above link it will show this error: 500 (Internal Server) Error

In this case what should i do.

Profile picture of JasonP

GoDaddy Expert JasonP said 1 year ago:

@BOSL

Thank you for the additional information. As the 500 error is showing, please enable the detailed erroring on the account:

How do I enable Windows hosting accounts to show more detailed error messages?

Jason

Add a reply:

You will auto join this group when you reply to this topic.

When posting about a technical issue, please be sure to include as many details as possible, such as your domain name, related URLs and other pertinent information. This consideration will allow us to better understand the situation and quickly assist you.