﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » Webservice error</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 02:36:14 GMT</lastBuildDate><ttl>20</ttl><item><title>Webservice error</title><link>http://forum.strataframe.net/FindPost27436.aspx</link><description>I am getting a strange web service error message.&amp;nbsp; We have had a&amp;nbsp;web service&amp;nbsp;and sql data&amp;nbsp;hosted by Network Solutions running for about 6 months.&amp;nbsp;&lt;P&gt;We have not made any code updates.&amp;nbsp; On Monday morning, we started receiving this message when calling a web method that uses business objects.&lt;/P&gt;&lt;P&gt;For a test I tried adding a new web method that accessed the data directly via a sqlconnection, sqldataadaptor and dataset (no business object call).&amp;nbsp; This method executes and returns the data without error.&lt;/P&gt;&lt;P&gt;Network Solutions said everything looks good from their end. ;)&lt;/P&gt;&lt;P&gt;Any ideas would be appreciated.&lt;/P&gt;&lt;P&gt;[codesnippet]System.Web.Services.Protocols.SoapException: Server was unable to process request. &lt;/P&gt;&lt;P&gt;---&amp;gt; MicroFour.StrataFrame.Data.DataLayerException: An error occurred while creating a new DataLayer for the business object. &lt;/P&gt;&lt;P&gt;---&amp;gt; System.Security.SecurityException: Request failed.&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Data.DataLayer.Create(BusinessLayer BusinessObject, ISynchronizeInvoke SyncObject, Boolean CheckDesignTime)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Business.BusinessLayer.CreateDataLayer()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Business.BusinessLayer.get__DataLayer()&lt;BR&gt;The action that failed was:&lt;BR&gt;LinkDemand&lt;BR&gt;The type of the first permission that failed was:&lt;BR&gt;System.Security.PermissionSet&lt;BR&gt;The demand was for:&lt;BR&gt;&amp;lt;PermissionSet class="System.Security.PermissionSet"&lt;BR&gt;version="1"&lt;BR&gt;Unrestricted="true"/&amp;gt;&lt;/P&gt;&lt;P&gt;The granted set of the failing assembly was:&lt;BR&gt;&amp;lt;PermissionSet class="System.Security.PermissionSet"&lt;BR&gt;version="1"&amp;gt;&lt;BR&gt;&amp;lt;IPermission class="System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;BR&gt;version="1"&lt;BR&gt;Read="TEMP;TMP;USERNAME;OS;COMPUTERNAME"/&amp;gt;&lt;BR&gt;&amp;lt;IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;BR&gt;version="1"&lt;BR&gt;Read="E:\0\1\75\29\1890355\user\2056053\htdocs"&lt;BR&gt;Write="E:\0\1\75\29\1890355\user\2056053\htdocs"&lt;BR&gt;Append="E:\0\1\75\29\1890355\user\2056053\htdocs"&lt;BR&gt;PathDiscovery="E:\0\1\75\29\1890355\user\2056053\htdocs"/&amp;gt;&lt;BR&gt;&amp;lt;IPermission class="System.Security.Permissions.IsolatedStorageFilePermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;BR&gt;version="1"&lt;BR&gt;Allowed="AssemblyIsolationByUser"&lt;BR&gt;UserQuota="9223372036854775807"/&amp;gt;&lt;BR&gt;&amp;lt;IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;BR&gt;version="1"&lt;BR&gt;Flags="RestrictedMemberAccess"/&amp;gt;&lt;BR&gt;&amp;lt;IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;BR&gt;version="1"&lt;BR&gt;Flags="Assertion, Execution, ControlThread, ControlPrincipal, RemotingConfiguration"/&amp;gt;&lt;BR&gt;&amp;lt;IPermission class="System.Security.Permissions.StrongNameIdentityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;BR&gt;version="1"&lt;BR&gt;PublicKeyBlob="0024000004800000940000000602000000240000525341310004000001000100D78C4B09190B122AF925789234101807299AA768F67178065DC7649&lt;/P&gt;&lt;P&gt;5DD0F4DCE2AC3376CDCD428DC32816C30144D5729E358057A2D43145C1DA91F38FA98061ABB73C1C722FACE829A7F7B605834D3FD8291D5BA8EA411BA54DE87F9&lt;/P&gt;&lt;P&gt;A9044BC7155522AE2BEC7259A79002DF45E486D715E94CFC50274A14201C01F89434A2A2"&lt;BR&gt;Name="MicroFour StrataFrame Business"&lt;BR&gt;AssemblyVersion="1.7.0.0"/&amp;gt;&lt;BR&gt;&amp;lt;IPermission class="System.Security.Permissions.UrlIdentityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;BR&gt;version="1"&lt;BR&gt;Url="&lt;A href="file:///E:/0/1/75/29/1890355/user/2056053/htdocs/bin/MicroFour"&gt;file:///E:/0/1/75/29/1890355/user/2056053/htdocs/bin/MicroFour&lt;/A&gt; StrataFrame Business.DLL"/&amp;gt;&lt;BR&gt;&amp;lt;IPermission class="System.Security.Permissions.ZoneIdentityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;BR&gt;version="1"&lt;BR&gt;Zone="MyComputer"/&amp;gt;&lt;BR&gt;&amp;lt;IPermission class="System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;BR&gt;version="1"&lt;BR&gt;Level="Medium"/&amp;gt;&lt;BR&gt;&amp;lt;IPermission class="System.Net.DnsPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;BR&gt;version="1"&lt;BR&gt;Unrestricted="true"/&amp;gt;&lt;BR&gt;&amp;lt;IPermission class="System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;BR&gt;version="1"&lt;BR&gt;Unrestricted="true"/&amp;gt;&lt;BR&gt;&amp;lt;IPermission class="System.Data.Odbc.OdbcPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;BR&gt;version="1"&lt;BR&gt;Unrestricted="true"/&amp;gt;&lt;BR&gt;&amp;lt;IPermission class="System.Drawing.Printing.PrintingPermission, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"&lt;BR&gt;version="1"&lt;BR&gt;Level="DefaultPrinting"/&amp;gt;&lt;BR&gt;&amp;lt;IPermission class="System.Net.Mail.SmtpPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;BR&gt;version="1"&lt;BR&gt;Access="Connect"/&amp;gt;&lt;BR&gt;&amp;lt;IPermission class="System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;BR&gt;version="1"&lt;BR&gt;Unrestricted="true"/&amp;gt;&lt;BR&gt;&amp;lt;IPermission class="System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;BR&gt;version="1"&lt;BR&gt;Unrestricted="true"/&amp;gt;&lt;BR&gt;&amp;lt;/PermissionSet&amp;gt;&lt;/P&gt;&lt;P&gt;The assembly or AppDomain that failed was:&lt;BR&gt;MicroFour StrataFrame Business, Version=1.7.0.0, Culture=neutral, PublicKeyToken=99fe9917f71608a7&lt;BR&gt;The Zone of the assembly that failed was:&lt;BR&gt;MyComputer&lt;BR&gt;The Url of the assembly that failed was:&lt;BR&gt;&lt;A href="file:///E:/0/1/75/29/1890355/user/2056053/htdocs/bin/MicroFour"&gt;file:///E:/0/1/75/29/1890355/user/2056053/htdocs/bin/MicroFour&lt;/A&gt; StrataFrame Business.DLL&lt;BR&gt;&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace ---&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Business.BusinessLayer.get__DataLayer()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Business.BusinessLayer.FillDataTable(DbCommand CommandToExecute)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at IWPBusinessObjects.IwbLicenses.FillBySerialNbr(String serialNbr) in C:\VssProjs\IwSystems\IwSystems\IWPBusinessObjects\IwbLicenses.cs:line 77&lt;BR&gt;&amp;nbsp;&amp;nbsp; at IWPBusinessObjects.IwbActivations.RecordProductStartup(String serialNbr, String computerName, String macAddress) in &lt;/P&gt;&lt;P&gt;C:\VssProjs\IwSystems\IwSystems\IWPBusinessObjects\IwbActivations.cs:line 281&lt;BR&gt;&amp;nbsp;&amp;nbsp; at IWProductServices.IWProducts.RecordProductStartup(String serialNbr, String workstationName, String macAddress) in &lt;/P&gt;&lt;P&gt;C:\VssProjs\IwSystems\IwSystems\IwPServer\IWProducts.asmx.cs:line 51&lt;BR&gt;&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace ---[/codesnippet]</description><pubDate>Mon, 12 Jul 2010 10:02:10 GMT</pubDate><dc:creator>Chris Diesel</dc:creator></item><item><title>RE: Webservice error</title><link>http://forum.strataframe.net/FindPost27645.aspx</link><description>Unfortunately Network Solutions is not helping with this.&amp;nbsp; &lt;/P&gt;&lt;P&gt;The following tests worked:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Access the same data from the web service method using ADO.NET&lt;/LI&gt;&lt;LI&gt;Call a DLL from the web service method that uses ADO.NET to access the same data&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But when I try to use the FillDataTable or GetDataTable methods from my business object module, I get the above error.&amp;nbsp; What&amp;nbsp; are these methods doing different that would cause a SecurityException when ADO.NET does not?</description><pubDate>Mon, 12 Jul 2010 10:02:10 GMT</pubDate><dc:creator>Chris Diesel</dc:creator></item><item><title>RE: Webservice error</title><link>http://forum.strataframe.net/FindPost27515.aspx</link><description>Got it, Chris.&lt;/P&gt;&lt;P&gt;You are welcome! ;)</description><pubDate>Tue, 22 Jun 2010 12:59:50 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Webservice error</title><link>http://forum.strataframe.net/FindPost27513.aspx</link><description>Network Solutions finally admitted that they are having issues.:w00t:&lt;/P&gt;&lt;P&gt;Thanks for your time!</description><pubDate>Tue, 22 Jun 2010 12:01:01 GMT</pubDate><dc:creator>Chris Diesel</dc:creator></item><item><title>RE: Webservice error</title><link>http://forum.strataframe.net/FindPost27454.aspx</link><description>It looks like the application attempted to perform an operation not allowed by the security policy. See if this points you in the right direction:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.microsoft.com/kb/555466/en-us"&gt;http://support.microsoft.com/kb/555466/en-us&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.eggheadcafe.com/forumarchives/NETsecurity/Jan2006/post25834724.asp"&gt;http://www.eggheadcafe.com/forumarchives/NETsecurity/Jan2006/post25834724.asp&lt;/A&gt;</description><pubDate>Wed, 16 Jun 2010 07:30:03 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Webservice error</title><link>http://forum.strataframe.net/FindPost27440.aspx</link><description>I upgraded the web service&amp;nbsp;when I just published the test method.&amp;nbsp; I don't have the original exception text from the prior version except in a screen shot (which I can't seem to find on my tidy desk).&amp;nbsp; Best I can tell, this exception is the same as the original&amp;nbsp;besides the version numbers.</description><pubDate>Tue, 15 Jun 2010 11:01:44 GMT</pubDate><dc:creator>Chris Diesel</dc:creator></item><item><title>RE: Webservice error</title><link>http://forum.strataframe.net/FindPost27439.aspx</link><description>Hi Chris.&lt;/P&gt;&lt;P&gt;Were you running on 1.7.0.0 before or have you just upgraded?</description><pubDate>Tue, 15 Jun 2010 10:46:38 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>