Error: Cannot import wsdl:portType
Today I tried to access a WorkflowService hosted in IIS on Windows 7, and got this nice little error message:
Error: Cannot import wsdl:portType
Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.DataContractSerializerMessageContractImporterError: Schema with target namespace ‘http://schemas.microsoft.com/2003/10/Serialization/’ could not be found. XPath to Error Source: //wsdl:definitions[@targetNamespace=’http://tempuri.org’]/wsdl:portType[@name=’IService’]
[… lot more stuff ]
Warning: No code was generated.If you were trying to generate a client, this could be because the metadata documents did not contain any valid contracts or services or because all contracts/services were discovered to exist in /reference assemblies. Verify that you passed all the metadata documents to the tool. Warning: If you would like to generate data contracts from schemas make sure to use the /dataContractOnly option.
Of course the message was completely misleading. It turned out that the IIS Application Pool Identity did not have access rights for c:\windows\temp ! Kent Brown had also found this error after setting an own account for the Application Pool. But it seems that sometimes Windows 7 (RC Build 7100) does not set appropriate default rights.
Posted: Juni 22nd, 2009 under .NET, IIS.
Comments: 1
Dann kann sich der Debugger über TCP/IP, also auch an einem entfernten Rechner, und andere Protokolle mit der VM verbinden. Es ist sowohl möglich, daß der Debugger das zu debuggende Programm aufruft, als auch umgekehrt.
Zudem kann ein .NET Programm erkennen, ob es mit einem Debugger verbunden ist (
The SQL Server 2008 Management Studio has a nice little new feature which seems to be omitted from the documentation. The Script Wizard (Database - Tasks - Generate Scripts) now has a “Script Data” option. If selected the Wizard will generate INSERT statements for the data in the scripted tables. This can be very handy.
Die Volltextsuche in SQL Server 2008 nutzt natürlich auch Stoppwörter. Wenn man diese nicht selbst festlegen möchte kann man die von Microsoft in der Tabelle
Ich brauchte mal wieder etwas zum Angeben. Daher bin ich jetzt nicht mehr nur ein gewöhnlicher professioneller Entwickler wie jeder andere auch. Nein, ich bin ein Microsoft Zertifizierter Professioneller Entwickler (