This is a migrated thread and some comments may be shown as answers.

Silverlight Report Works With VSDS Not IIS

1 Answer 42 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Drew
Top achievements
Rank 1
Drew asked on 31 May 2011, 02:35 AM
Hi,

I have followed the online tutorial/video to create a report and embed it within my Silverlight project. This works fine when running under the Visual Studio Development Server and the report displays (Only displaying static text for now). As soon as I change it run on the local IIS server (IIS 7.5), the report simply displays "Object reference not set to an instance of an object." I am able to access the report service from the web browser and that is working fine.

If I then switch it back to the VSDS, it works again.

Any ideas?

Regards,
Drew

1 Answer, 1 is accepted

Sort by
0
IvanDT
Telerik team
answered on 31 May 2011, 02:14 PM
Hello Drew,

The Hosting WCF Service in IIS help article elaborates on your inquiry. Additionally for troubleshooting and configuring IIS hosted WCF services, please refer to IIS Hosted Service Fails article in MSDN.

The exception you've received is too generic to guess what might be the problem without more information from your side. In order to get more information about the actual problem try the following:
  • show the Output window in Visual Studio and check whether there is an exception when you're running your application in debug mode.
  • access the .svc file directly in your browser to see if it reports any problems.
  • enable the CLR exceptions from Debug --> Exceptions menu in Visual Studio and run your project in debug.
Additionally, you already have a sample at your disposal - the Visual Studio examples we install along with the product. You can use the Silverlight application and try hosting it on your local IIS server.

Kind regards,
IvanDT
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Drew
Top achievements
Rank 1
Answers by
IvanDT
Telerik team
Share this question
or