This project has moved and is read-only. For the latest updates, please go here.

Service error

Jan 11, 2012 at 10:34 PM

Hi

I've noticed that I get Service errors when I try to do lots of different things in StackHash.

Here is one example:

If I view the list of events, select one of the rows in the table, and try to change the status to a different value (it doesn't matter what I change it to), I get a service error. Here are the details:

System.ServiceModel.FaultException`1[[StackHash.StackHashService.ReceiverFaultDetail, StackHash, Version=1.30.20011.2, Culture=neutral, PublicKeyToken=null]]
Detail: StackHash.StackHashService.ReceiverFaultDetail
Action: 
Code: System.ServiceModel.FaultCode
Message: Value cannot be null.
Parameter name: file
Reason: Value cannot be null.
Parameter name: file
Data: System.Collections.ListDictionaryInternal
InnerException: 
TargetSite: Void HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)
StackTrace: 
Server stack trace: 
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at StackHash.StackHashService.IProjectsContract.SetWorkFlowStatus(SetEventWorkFlowStatusRequest requestData)
   at StackHash.ClientLogic.WorkerSetEventWorkFlow(WorkerArgSetEventWorkFlow arg)
HelpLink: 
Source: mscorlib


StackHash 1.30.20011.2
Command Line: "C:\Program Files (x86)\StackHash\StackHash.exe" 
Current Directory: C:\Program Files (x86)\StackHash
Framework: 4.0.30319.239
Machine Name: WINBUILDBOT
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
x64: True
Processors: 8
Current Culture: en-US
Current UI Culture (for current thread): en-US
Administrator: True


Service Error Code: UnexpectedError

I also get a Service Error if I double click on either AppCompat.txt or WERInternalMetadata.xml in the Cab File Contents: listbox when I am viewing a cab file. Here are the details of that one:

System.ServiceModel.FaultException`1[[StackHash.StackHashService.ReceiverFaultDetail, StackHash, Version=1.30.20011.2, Culture=neutral, PublicKeyToken=null]]
Detail: StackHash.StackHashService.ReceiverFaultDetail
Action: 
Code: System.ServiceModel.FaultCode
Message: Value cannot be null.
Parameter name: file
Reason: Value cannot be null.
Parameter name: file
Data: System.Collections.ListDictionaryInternal
InnerException: 
TargetSite: Void HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)
StackTrace: 
Server stack trace: 
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at StackHash.StackHashService.ICabContract.GetCabFile(GetCabFileRequest requestData)
   at StackHash.ClientLogic.WorkerGetCabFile(WorkerArgGetCabFile arg)
HelpLink: 
Source: mscorlib


StackHash 1.30.20011.2
Command Line: "C:\Program Files (x86)\StackHash\StackHash.exe" 
Current Directory: C:\Program Files (x86)\StackHash
Framework: 4.0.30319.239
Machine Name: WINBUILDBOT
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
x64: True
Processors: 8
Current Culture: en-US
Current UI Culture (for current thread): en-US
Administrator: True


Service Error Code: UnexpectedError

Do you have any suggestions for how to fix these problems? The programs looks very promising.

Thanks

Jan 13, 2012 at 12:20 AM

Looks like some missing data. Can you try doing a full resync?

Jan 13, 2012 at 4:36 PM

I did a full resync by choosing the Tools->Resynchronize Now menu item.

After it finished (successfully), I still get the exact same errors I reported above.

For what it's worth, the .cab files are downloaded to my disk in the directory I have configured them to go into, and I can successfully open them and view their contents in Windows Explorer.

Jan 15, 2012 at 11:44 PM

A last ditch step might be to try creating a new profile. It's also possible that something is bad or has changed in the WinQual feed. I'll try to do some more troubleshooting soon but it might be a week or so before I have an update. It would be useful to know if anyone else is having the same problem.

Jan 16, 2012 at 4:05 PM

I deleted my old profile, including the disk directory where the cab files were stored. I then created a new profile, synchronized, and now everything seems to be working correctly. I noticed that the first full synchronization took only about 30 minutes this time, whereas before it took about 2.5 hours. I think I am using the same settings but I'm not positive. It might also be that WinQual is just less busy right now than it was the first time I synchronized.

Thanks for your help.

Jan 17, 2012 at 1:59 AM

Great, very glad that fixed it.