HttpModule Correctly Created, but doesn’t work

If you've created your HttpModule correctly but when you open your web it doesn't work, it could be a configuration error. You should open your web.config and check if your HttpModule is correctly added, because it's differente between IIS versions: IIS 6 <system.web> <httpModules> <add name="myModule" type="myModuleNamespace.myModuleClass"/> </httpModules> </system.web> IIS 7+ <system.webServer> <modules runAllManagedModulesForAllRequests="true"> <add …

Sigue leyendo HttpModule Correctly Created, but doesn’t work

Example: Web.config for Custom HttpModule

<configuration> <system.webServer> <validation validateIntegratedModeConfiguration="false"/> <modules runAllManagedModulesForAllRequests="true"> <add name="myModule" type="ModuleNamespace.ModuleClass, ModuleNamespace"/> </modules> </system.webServer> <system.web> <compilation debug="true" targetFramework="4.5" /> <httpRuntime targetFramework="4.5" /> <trust level="Full" originUrl=""/> </system.web> </configuration>

How To: Obtain Workflow Trace in SharePoint

You can get a LOG file with your workflow trace following this steps:1. Edit web.config.2. Insert the following code just BEFORE <appSettings> (always AFTER </System.Workflow.ComponentModel.WorkflowCompiler>): <system.diagnostics> <sources> <source name="System.Workflow.Runtime" > <listeners> <add name = "System.Workflow"/> </listeners> </source> <source name="System.Workflow.Runtime.Hosting"> <listeners> <add name="System.Workflow"/> </listeners> </source> <source name="System.Workflow.Activities"> <listeners> <add name="System.Workflow"/> </listeners> </source> </sources> <sharedListeners> <add name="System.Workflow" type="System.Diagnostics.TextWriterTraceListener" initializeData="C:MyWorkflowTrace.log" …

Sigue leyendo How To: Obtain Workflow Trace in SharePoint

Maximum number of items that can be serialized or deserialized in an object graph is ‘65536’. Change the object graph or increase the MaxItemsInObjectGraph quota

Si nos aparece este error especificado en el título podemos solucionarlo aumentando el valor de MaxItemsInObjectGraph del siguiente modo: Error Maximum number of items that can be serialized or deserialized in an object graph is '65536'. Change the object graph or increase the MaxItemsInObjectGraph quota. Solution: Edit app.config <configuration> [...] <system.serviceModel> [...] <client> <endpoint address="URL" …

Sigue leyendo Maximum number of items that can be serialized or deserialized in an object graph is ‘65536’. Change the object graph or increase the MaxItemsInObjectGraph quota