locked
Troubleshooting DssProxy error RRS feed

  • Question

  • C:\tfs\XXXX\bin>"C:\tfs\XXXX\bin\dssproxy.exe" /dll:"C:\tfs\XXXX\bin\XXXX.Services.Menu.MenuService.Y2007.M08.dll" /proxyprojectpath:"C:\tfs\XXXX\Solution\Services\Menu\Proxy" /keyfile:"C:\tfs\XXXX\So
    lution\XXXX.snk" /binpath:. /referencepath:"C:\tfs\XXXX\bin" /vBig Smile
    09.08.2007 12:04:07
    Reflecting:                     XXXX.Services.Menu.MenuService.Y2007.M08.dll
    *** Error: Object reference not set to an instance of an object.    at Microsoft.Dss.Services.ContractModel.DssAssemblyReference.<>c__DisplayClassa.<ContainsNamespace>b__9(DssNamespaceMap nsMap)
       at System.Collections.Generic.List`1.FindIndex(Int32 startIndex, Int32 count, Predicate`1 match)
       at Microsoft.Dss.Services.ContractModel.DssAssemblyReference.ContainsNamespace(String clrNamespace)
       at Microsoft.Dss.Services.ContractManager.ReflectionManager.UpsertDssClass(DssClassType classType, DssModel dssModel, Verbosity verboseSettings)
       at Microsoft.Dss.Services.ContractManager.ReflectionManager.BasicTypeInfo(Type type, DssModel dssModel, DssFlagsForTypes parentFlags, Verbosity verboseSettings)
       at Microsoft.Dss.Services.ContractManager.ReflectionManager.BasicTypeInfo(Type type, DssModel dssModel, DssFlagsForTypes parentFlags, Verbosity verboseSettings)
       at Microsoft.Dss.Services.ContractManager.ReflectionManager.CreateDssField(Member member, Type memberType, MemberInfo memberInfo, Boolean isStatic, Boolean isReadOnly, DssModel dssModel, Boolean is
    BaseType, DssClassType parentClass, DssFlagsForTypes parentFlags, Verbosity verboseSettings)
       at Microsoft.Dss.Services.ContractManager.ReflectionManager.ParseMember(Type memberType, MemberInfo memberInfo, Boolean isStatic, Boolean isReadonly, DssModel dssModel, DssServiceContract svc, DssF
    lagsForTypes parentFlags, DssClassType& parentClass, Boolean isBaseType, Member member, Verbosity verboseSettings)
       at Microsoft.Dss.Services.ContractManager.ReflectionManager.ParseClass(DssModel dssModel, DssServiceContract svc, Type type, DssFlagsForTypes parentFlags, Verbosity verboseSettings)
       at Microsoft.Dss.Services.ContractManager.ReflectionManager.ProcessClass(Type mainType, DssModel dssModel, Verbosity verboseSettings)
       at Microsoft.Dss.Services.ContractManager.ReflectionManager.ParseDssModel(String dllFilename, AssemblyNode asmNode, DssAssemblyReference asmRef, Verbosity verboseSettings)
       at Microsoft.Dss.Services.ContractManager.ReflectionManager.ParseContractFromAssembly(String assemblyPath, Boolean relaxedRules, Verbosity verboseSettings, Int32& errorCount)
    09.08.2007 12:04:10

    C:\tfs\XXXX\bin>

     

    Where do I start debugging this? If anyone can tell me what "Microsoft.Dss.Services.ContractModel.DssAssemblyReference.<>c__DisplayClassa.<ContainsNamespace>b__9(DssNamespaceMap nsMap)" does, that'd help a lot.

     

    Andreas Brekken

     

    Thursday, August 9, 2007 11:10 AM

Answers

  •  

    Fixed by not using LINQ for obects join keyword that used anonymous types. Not sure why this happened, but atleast I can build now :-)
    Thursday, August 9, 2007 7:03 PM