<div>A couple of things to point out here... I included the following node in my
system.web node of the configuration file for both the web service and my client as follows:
</div> <div><httpRuntime executionTimeout="3600" maxRequestLength="1048576"/></div> <div> </div> <div>In my web service, I
already have the proxycreation and lazyloading already turned off (see below method of web service)</div> <div></div> <div style="margin: 5px 20px 20px;"> <div style="margin-bottom: 2px;" class="smallfont">Code:</div>
</div> <div>Below is the code of my edmx file that shows lazyloading is turned off.</div> <div style="margin: 5px 20px 20px;"> <div style="margin-bottom: 2px;" class="smallfont">Code:</div>
</div> <div>Like I mentioned in one of my last couple of posts, in order for me to see more detailed info,
I need to be able to see the tracelogs that the service is supposed to generate.</div> <div> The trace logs get generated just fine when I execute locally, but do not get generated when executing from the host.
I have the same exact system.diagnostics node for both, except for the
file path of where the service is to place the logs. The logs should be on the root of my website, but I do not see them. Maybe it's some kind of permissions issue....</div> <div style="margin: 5px 20px 20px;"> <div style="margin-bottom: 2px;" class="smallfont">Code:</div>
</div> <div>How come I can't generate the tracelogs on the hsoting servers?
</div> <div>It still has to be some kind of configuration on your servers and or a config file issue.</div>
wsyeager36
Member
385 Points
458 Posts
Re: The caller was not authenticated by the service
Feb 04, 2012 04:33 PM|LINK
</div> <div><httpRuntime executionTimeout="3600" maxRequestLength="1048576"/></div> <div> </div> <div>In my web service, I already have the proxycreation and lazyloading already turned off (see below method of web service)</div> <div></div> <div style="margin: 5px 20px 20px;"> <div style="margin-bottom: 2px;" class="smallfont">Code:</div>
public IEnumerable<YeagerTechModel.Category> GetCategories() { YeagerTechEntities DbContext = new YeagerTechEntities(); DbContext.Configuration.ProxyCreationEnabled = false; IEnumerable<YeagerTechModel.Category> category = DbContext.Categories.Where(p => p.CategoryID > 0); CloseConnection(DbContext); return category; }</div> <div>Below is the code of my edmx file that shows lazyloading is turned off.</div> <div style="margin: 5px 20px 20px;"> <div style="margin-bottom: 2px;" class="smallfont">Code:</div> </div> <div>Like I mentioned in one of my last couple of posts, in order for me to see more detailed info, I need to be able to see the tracelogs that the service is supposed to generate.</div> <div>The trace logs get generated just fine when I execute locally, but do not get generated when executing from the host. I have the same exact system.diagnostics node for both, except for the file path of where the service is to place the logs. The logs should be on the root of my website, but I do not see them. Maybe it's some kind of permissions issue....</div> <div style="margin: 5px 20px 20px;"> <div style="margin-bottom: 2px;" class="smallfont">Code:</div>
<system.diagnostics> <sources> <source name="System.ServiceModel" switchValue="Warning" propagateActivity="true"> <listeners> <add type="System.Diagnostics.DefaultTraceListener" name="Default"> <filter type="" /> </add> <add initializeData="E:\web\yeagerte\YeagerTech.svclog" type="System.Diagnostics.XmlWriterTraceListener" name="traceListener" traceOutputOptions="None"> <filter type="" /> </add> </listeners> </source> <source name="System.ServiceModel.MessageLogging"> <listeners> <add name="messages" type="System.Diagnostics.XmlWriterTraceListener" initializeData="E:\web\yeagerte\YeagerTechMessages.svclog"/> </listeners> </source> </sources> <trace autoflush="true" /> </system.diagnostics></div> <div>How come I can't generate the tracelogs on the hsoting servers?</div> <div>It still has to be some kind of configuration on your servers and or a config file issue.</div>
Bill Yeager
MCP.Net, BCIP