Skip to main content

Microsoft Silverlight

Answered Question Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service UnavailableRSS Feed

(0)

kingve
kingve

Member

Member

21 points

78 Posts

Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

I have a problem, my page mount in my IIS6, NET Framework 3.5 Installed in the server, Server 2003,

my page send me

Service Unavailable

 

please help me...

esite
esite

Participant

Participant

1452 points

311 Posts

Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

Can be a few things:

To start try running aspnet_regiis -i from your microsoft.net\2.0 directory

Please mark replies as answers if they answered your question.

Anton Swanevelder
eSite Solutions

kingve
kingve

Member

Member

21 points

78 Posts

Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

hoe do i do is?

esite
esite

Participant

Participant

1452 points

311 Posts

Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

  • Open a command prompt
  • type in or paste cd\WINDOWS\Microsoft.NET\Framework\v2.0.50727
  • type in aspnet_regiis -i

 

Please mark replies as answers if they answered your question.

Anton Swanevelder
eSite Solutions

kingve
kingve

Member

Member

21 points

78 Posts

Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

doesn't work brother

any other ideas?

kingve
kingve

Member

Member

21 points

78 Posts

Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

I saw the Event viewer, and born two event new when try access to my app trought of iis6.

 The Service DHCP Client is closing, this eror ocurring

Access Denied.

and

the service WinHTTP Web Proxy Auto-Discovery Service depend of Service Client DHCP, could't load.

Operation is Complete

That have to do these services with my application? really do not understand.

could help me with this?

Thanks

kingve
kingve

Member

Member

21 points

78 Posts

Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

I followed the rules and regulations relating to the publication of my page, register the MIME TYPE, tight security for the NETWORK SERVICES, for groups but still can not get it to work under IIS6 on my server. This Server is a Member Domain (not DC or PDC).
 
the company is installed in an ISA Server 2006 and allowed a rule to its free navigation internally. 

anyone help me please?

davidezordan
davidezo...

Contributor

Contributor

5690 points

875 Posts

Silverlight MVP

Re: Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

Hi,

try to follow the steps described here: http://archdipesh.blogspot.com/2008_02_01_archive.html

Thanks, Davide

Silverlight MVP

Blog Twitter Silverlight Experts

kingve
kingve

Member

Member

21 points

78 Posts

Re: Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

[FileNotFoundException: No se puede cargar el archivo o ensamblado 'App_Web_jj9bqecv, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' ni una de sus dependencias. El sistema no puede hallar el archivo especificado.]
   System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
   System.Reflection.Assembly.Load(String assemblyString) +28
   System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) +162
   System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath) +11656092
   System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +42
   System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +479

[ServiceActivationException: The service '/PersonService.svc' cannot be activated due to an exception during compilation.  The exception message is: No se puede cargar el archivo o ensamblado 'App_Web_jj9bqecv, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' ni una de sus dependencias. El sistema no puede hallar el archivo especificado..]
   System.ServiceModel.AsyncResult.End(IAsyncResult result) +11527290
   System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +194
   System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication context, Boolean flowContext) +176
   System.ServiceModel.Activation.HttpHandler.ProcessRequest(HttpContext context) +23
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

i don't undestand this... can help me?  

 

davidezordan
davidezo...

Contributor

Contributor

5690 points

875 Posts

Silverlight MVP

Re: Re: Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

Try to redeploy your service and delete the temporary ASP.NET files:

Thanks, Davide

Silverlight MVP

Blog Twitter Silverlight Experts

kingve
kingve

Member

Member

21 points

78 Posts

Re: Re: Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

thanks, am soluton this issue, but raising other...

Web Page Detail Error

Agente de usuario: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Fecha: Thu, 5 Nov 2009 21:15:20 UTC


Mensaje: Unhandled Error in Silverlight Application Excepción durante la operación. The Resul is Not Valid. Check the Exception InnerException for more details.   in System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   in PersonFramework.PersonSR.GetLoginCompletedEventArgs.get_Result()
   in SilverlightLOBFramework.Content.Miscellaneous.LoginPage.AWDataServiceClient_LoginCompleted(Object sender, GetLoginCompletedEventArgs e)
   in PersonFramework.PersonSR.PersonServiceClient.OnGetLoginCompleted(Object state)
Line: 1
Character: 1
Code: 0
URI: http://srvwebp2p/tipificacion/PersonTipificacion.aspx

 

davidezordan
davidezo...

Contributor

Contributor

5690 points

875 Posts

Silverlight MVP

Re: Re: Re: Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

Use WcfTestClient.exe to call your service and verify that all the methods are returning the right results.

If not, try to debug the single calls to find the source of the exception (you can use comments, for instance).

Thanks, Davide

Silverlight MVP

Blog Twitter Silverlight Experts

kingve
kingve

Member

Member

21 points

78 Posts

Re: Re: Re: Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

this is a message give

Logon failure user.'' The user is not associated with a connection to SQL Server trusted.
 
these tests are done from my computer to the server.

There's my IIS6

Aside Added my domain user user login in my SQL SERVER.

I have to do to get to work right?

Thanks

davidezordan
davidezo...

Contributor

Contributor

5690 points

875 Posts

Silverlight MVP

Re: Re: Re: Re: Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

Since you are connecting to SQLServer from your WCF service, you should create a specific user in your db and use that user in the connection string to access the db.

Thanks, Davide

Silverlight MVP

Blog Twitter Silverlight Experts

kingve
kingve

Member

Member

21 points

78 Posts

Re: Re: Re: Re: Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

Forget the message, and what solution was aput to another instance of SQL Server, and probe my WCF Service in its methods and the same response I got uan satisfactory, but when I try to do it from my application I get the error that you publish previously

 

Mensaje: Unhandled Error in Silverlight Application Excepción durante la operación. The Resul is Not Valid. Check the Exception InnerException for more details.   in System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   in PersonFramework.PersonSR.GetLoginCompletedEventArgs.get_Result()
   in SilverlightLOBFramework.Content.Miscellaneous.LoginPage.AWDataServiceClient_LoginCompleted(Object sender, GetLoginCompletedEventArgs e)
   in PersonFramework.PersonSR.PersonServiceClient.OnGetLoginCompleted(Object state)
Line: 1
Character: 1
Code: 0
URI: http://srvwebp2p/tipificacion/PersonTipificacion.aspx

 

davidezordan
davidezo...

Contributor

Contributor

5690 points

875 Posts

Silverlight MVP

Re: Re: Re: Re: Re: Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

Read the previous answer, use WcfTestClient.exe to call your service and verify that all the methods are returning the right results.

If not, try to debug the single calls to find the source of the exception (you can use comments, for instance).

Thanks, Davide

Silverlight MVP

Blog Twitter Silverlight Experts

kingve
kingve

Member

Member

21 points

78 Posts

Re: Re: Re: Re: Re: Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

David, is working with WcfTestClient.exe, the result is perfect, but in Production in IIS, not....

Jonathan Shen – MSFT
Jonathan...

All-Star

All-Star

24939 points

2,425 Posts

Microsoft
Answered Question

Re: Re: Re: Re: Re: Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

Hi Kingve,

How's your issue going now?  Please take a look at the links below.

http://support.microsoft.com/kb/842493

http://support.microsoft.com/kb/885654

Best regards,

Jonathan

Jonathan Shen
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

davidezordan
davidezo...

Contributor

Contributor

5690 points

875 Posts

Silverlight MVP
Answered Question

Re: Re: Re: Re: Re: Re: Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

If the service is working properly on your dev machine, it should work on production too.

I'd try to deploy a simple "Hello world" WCF service to your production server and test it with WcfTestClient.exe, in this way you can understand if it's a server configuration error.

When your "Hello world" is properly running on production, try to deploy and test your WCF.

Also verify that your Silverlight application references the deployed service with the correct URL.

HTH.

Thanks, Davide

Silverlight MVP

Blog Twitter Silverlight Experts

esite
esite

Participant

Participant

1452 points

311 Posts

Answered Question

Re: Re: Re: Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

You will need to add your NETWORK SERVICE user to SQL Server as  user and grant it rights to your database.

Please mark replies as answers if they answered your question.

Anton Swanevelder
eSite Solutions

kingve
kingve

Member

Member

21 points

78 Posts

Re: Re: Re: Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

thanks to all...

now working....

Thanks guys, are the best ... indeed.

 

 

davidezordan
davidezo...

Contributor

Contributor

5690 points

875 Posts

Silverlight MVP

Re: Re: Re: Re: Re: Re: Re: Re: Silverlight + Net 3.5 Framework + IIS6 + PROBLEM.....Service Unavailable

Great, glad to help!

Thanks, Davide

Silverlight MVP

Blog Twitter Silverlight Experts
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities