我在让我的应用程序进入我的服务时遇到了问题。它在本地运行以便能够测试。我选中了“启用非托管代码调试”框,让我介入其中,但现在我收到此消息:
我的应用程序调用服务和应用程序都在同一个解决方案中。
如何启用调试以便能够看到我收到错误的原因?
更新#1
我将默认浏览器更改为IE,我收到了此消息:
Locating source for 'S:\Source\Web Projects\TruckApps\TruckService\TruckService\TruckService.svc.cs'. Checksum: MD5 {8a b6 a0 5e 2b d2 81 2c 52 bf 54 64 e1 85 53 f6}
Determining whether the checksum matches for the following locations:
1: S:\Source\Web Projects\TruckApps\TruckService\TruckService\TruckService.svc.cs Checksum: MD5 {c4 50 5b 92 f7 49 fd 8c 66 ba b3 44 89 6c 25 de} Checksum doesn't match.
The file 'S:\Source\Web Projects\TruckApps\TruckService\TruckService\TruckService.svc.cs' exists.
Looking in script documents for 'S:\Source\Web Projects\TruckApps\TruckService\TruckService\TruckService.svc.cs'...
Determining whether the checksum matches for the following locations:
1: S:\Source\Web Projects\TruckApps\TruckService\TruckService\TruckService.svc.cs Checksum: MD5 {c4 50 5b 92 f7 49 fd 8c 66 ba b3 44 89 6c 25 de} Checksum doesn't match.
Looking in the projects for 'S:\Source\Web Projects\TruckApps\TruckService\TruckService\TruckService.svc.cs'.
The file was not found in a project.
Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\crt\src\'...
Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\src\mfc\'...
Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\src\atl\'...
Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include\'...
Looking in directory 'S:\'...
The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: S:\Source\Web Projects\TruckApps\TruckService\TruckService\TruckService.svc.cs.
The debugger could not locate the source file 'S:\Source\Web Projects\TruckApps\TruckService\TruckService\TruckService.svc.cs'.
更新2
我做了Damith说我现在收到这条消息:
An exception of type 'System.ServiceModel.CommunicationException' occurred in mscorlib.dll but was not handled in user code
Additional information: The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.