iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,we are using the webgrd, our server is Windows Server 2008 R2 64 bit, sometimes we have the following error:Could not load file or assembly 'ISNet.WebUI.WebGrid.Resources' or one of its dependencies. Access is denied.On the event viewer we see the following:Log Name: ApplicationSource: ASP.NET 2.0.50727.0Date: 12/1/2010 5:05:29 PMEvent ID: 1310Task Category: Web EventLevel: WarningKeywords: ClassicUser: N/AComputer: boromir.unifix.itDescription:Event code: 3008 Event message: A configuration error has occurred. Event time: 12/1/2010 5:05:29 PM Event time (UTC): 12/1/2010 4:05:29 PM Event ID: 3d71e9b8712840ea8af9b1e3d0869b6e Event sequence: 258 Event occurrence: 32 Event detail code: 0 Application information: Application domain: /LM/W3SVC/2/ROOT/ISV/Speedy/SpeedyPluscrm-1-129356782603908785 Trust level: Full Application Virtual Path: /ISV/Speedy/SpeedyPluscrm Application Path: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\ISV\Speedy\SpeedyPluscrm\ Machine name: BOROMIR Process information: Process ID: 4800 Process name: w3wp.exe Account name: LAN_UNX\speedyadmin Exception information: Exception type: ConfigurationErrorsException Exception message: Could not load file or assembly 'ISNet.WebUI.WebGrid.Resources' or one of its dependencies. Access is denied. Request information: Request URL: http://crm.unifix.it:5555/ISV/Speedy/SpeedyPluscrm/OrderPositionsGrid.aspx?entityType=salesorder&userId=32b4CFEF707-BAED-DF11-A16F-0050568F5E6732d&customerid=32b18AC997E-DE0B-4F56-BEBC-65E6909AE91932d&speedy_areaid=32bE2C5C684-9F88-46E8-9075-263EB6DF921732d&transactioncurrencyid=32bE03177FD-60CC-DF11-9AA9-0050568F5E6732d&statecode=0&ispricelocked=false&orgname=crm&userlcid=1040&orglcid=1033&id=32bFE8C6BA1-64FD-DF11-A16F-0050568F5E6732d&type=1088&typename=salesorder&security=852023&tabSet=navItemOrderGridArea Request path: /ISV/Speedy/SpeedyPluscrm/OrderPositionsGrid.aspx User host address: 10.100.82.3 User: Is authenticated: False Authentication Type: Thread account name: LAN_UNX\speedyadmin Thread information: Thread ID: 7 Thread account name: LAN_UNX\speedyadmin Is impersonating: False Stack trace: at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) at System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) at System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() at System.Web.Compilation.CompilationUtil.GetTypeFromAssemblies(AssemblyCollection assembliesCollection, String typeName, Boolean ignoreCase) at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at ISNet.WebUI.DataSource.ISDataSourceView.ri(String typeName) at ISNet.WebUI.DataSource.ISDataSourceView.ExecuteSelect(String selectMethod, DataSourceSelectArguments arguments) at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) at ISNet.WebUI.DataSourceInfo.PerformSelect() at ISNet.WebUI.WebGrid.WebGridDataSourceInfo.PerformSelect() at ISNet.WebUI.DataSourceInfo.DataBind() at ISNet.WebUI.DataSourceInfo.EnsureDataBound() at ISNet.WebUI.WebGrid.WebGrid.(Boolean forceBind) at ISNet.WebUI.WebGrid.WebGrid.(Boolean forceBind) at ISNet.WebUI.WebGrid.WebGrid.DataBind() at ISNet.WebUI.WebGrid.WebGrid.OnInitializeDataSource(Object dataSource) at ISNet.WebUI.WebGrid.WebGrid.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.orderpositionsgrid_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\isv_speedy_speedypluscrm\a71222c4\e2c0a79e\App_Web__0cwht3o.1.cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)Custom event details: Event Xml:<Event xmlns='http://schemas.microsoft.com/win/2004/08/events/event'><System><Provider Name='ASP.NET 2.0.50727.0'/><EventID Qualifiers='32768'>1310</EventID><Level>3</Level><Task>3</Task><Keywords>0x80000000000000</Keywords><TimeCreated SystemTime='2010-12-01T16:05:29.000000000Z'/><EventRecordID>10151</EventRecordID><Channel>Application</Channel><Computer>boromir.unifix.it</Computer><Security/></System><EventData><Data>3008</Data><Data>A configuration error has occurred.</Data><Data>12/1/2010 5:05:29 PM</Data><Data>12/1/2010 4:05:29 PM</Data><Data>3d71e9b8712840ea8af9b1e3d0869b6e</Data><Data>258</Data><Data>32</Data><Data>0</Data><Data>/LM/W3SVC/2/ROOT/ISV/Speedy/SpeedyPluscrm-1-129356782603908785</Data><Data>Full</Data><Data>/ISV/Speedy/SpeedyPluscrm</Data><Data>C:\Program Files\Microsoft Dynamics CRM\CRMWeb\ISV\Speedy\SpeedyPluscrm\</Data><Data>BOROMIR</Data><Data></Data><Data>4800</Data><Data>w3wp.exe</Data><Data>LAN_UNX\speedyadmin</Data><Data>ConfigurationErrorsException</Data><Data>Could not load file or assembly 'ISNet.WebUI.WebGrid.Resources' or one of its dependencies. Access is denied.</Data><Data>http://crm.unifix.it:5555/ISV/Speedy/SpeedyPluscrm/OrderPositionsGrid.aspx?entityType=salesorder&userId=%7b4CFEF707-BAED-DF11-A16F-0050568F5E67%7d&customerid=%7b18AC997E-DE0B-4F56-BEBC-65E6909AE919%7d&speedy_areaid=%7bE2C5C684-9F88-46E8-9075-263EB6DF9217%7d&transactioncurrencyid=%7bE03177FD-60CC-DF11-9AA9-0050568F5E67%7d&statecode=0&ispricelocked=false&orgname=crm&userlcid=1040&orglcid=1033&id=%7bFE8C6BA1-64FD-DF11-A16F-0050568F5E67%7d&type=1088&typename=salesorder&security=852023&tabSet=navItemOrderGridArea</Data><Data>/ISV/Speedy/SpeedyPluscrm/OrderPositionsGrid.aspx</Data><Data>10.100.82.3</Data><Data></Data><Data>False</Data><Data></Data><Data>LAN_UNX\speedyadmin</Data><Data>7</Data><Data>LAN_UNX\speedyadmin</Data><Data>False</Data><Data> at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) at System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) at System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() at System.Web.Compilation.CompilationUtil.GetTypeFromAssemblies(AssemblyCollection assembliesCollection, String typeName, Boolean ignoreCase) at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at ISNet.WebUI.DataSource.ISDataSourceView.#ri(String typeName) at ISNet.WebUI.DataSource.ISDataSourceView.ExecuteSelect(String selectMethod, DataSourceSelectArguments arguments) at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) at ISNet.WebUI.DataSourceInfo.PerformSelect() at ISNet.WebUI.WebGrid.WebGridDataSourceInfo.PerformSelect() at ISNet.WebUI.DataSourceInfo.DataBind() at ISNet.WebUI.DataSourceInfo.EnsureDataBound() at ISNet.WebUI.WebGrid.WebGrid.(Boolean forceBind) at ISNet.WebUI.WebGrid.WebGrid.(Boolean forceBind) at ISNet.WebUI.WebGrid.WebGrid.DataBind() at ISNet.WebUI.WebGrid.WebGrid.OnInitializeDataSource(Object dataSource) at ISNet.WebUI.WebGrid.WebGrid.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.orderpositionsgrid_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\isv_speedy_speedypluscrm\a71222c4\e2c0a79e\App_Web__0cwht3o.1.cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)</Data></EventData></Event>Doyou have any idea about the error?Vince
Hello Vince,
Could you check your project's bin folder whether ISNet.WebUI.WebGrid.Resources.dll is added or not?
If it exists, then could you describe when and how the error occurs on your end? When you said sometime, it means the error doesn't oftenly happen. Therefore, I need to know what scenario that causes the error.
Hope this helps.
Thank you.
Regards,-Martin-
Hi,
the ISNet.WebUI.WebGrid.Resources.dll is in the bin directory as well.
Our scenario is very simple we a aspx page with the webgrid server binding to sqlserver dataset, and sometimes we have that error, not always, it occours random.
Thanks,
Vince
I think Binding WebGrid to SQL dataset will not produce any error. Do you have any other settings that may cause this error?
Could you provide me a simple sample that replicates your issue? It's easier for me to trace the error.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname