Getbhavcopy not downloading data
Hi Hemen After entering the dates, the software just blinks once and does nothing. No data gets downloaded. Below is the log file. Kindly help with rectifying the issue.
02/09/2015 13:01:13 Message * Starting Getbhavcopy * 02/09/2015 13:01:29 Info Checking version support for Getbhavcopy. 02/09/2015 13:01:29 Info Error checking version support for Getbhavcopy. 02/09/2015 13:01:29 Info An error occurred creating the configuration section handler for system.net/settings: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (C:\Getbhavcopy\Getbhavcopy.exe.Config line 4) 02/09/2015 13:01:29 Info Source: System.Configuration 02/09/2015 13:01:29 Info Trace: at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult) at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSection(String configKey) at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName) at System.Configuration.ConfigurationManager.GetSection(String sectionName) at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName) at System.Net.Configuration.SettingsSectionInternal.get_Section() at System.Net.NetworkingPerfCounters..ctor() at System.Net.NetworkingPerfCounters.CreateInstance() at System.Net.NetworkingPerfCounters.get_Instance() at System.Net.HttpWebRequest..ctor(Uri uri, ServicePoint servicePoint) at System.Net.HttpRequestCreator.Create(Uri Uri) at System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase) at System.Net.WebRequest.Create(String requestUriString) at Getbhavcopy.GlobalClasses.VersionSupport.VHoIAqGRLMuIShKVj7(Object ) at Getbhavcopy.GlobalClasses.VersionSupport.IsVersionSupported(Object version) 02/09/2015 13:01:29 Info Checking version support for Getbhavcopy using static file. 02/09/2015 13:01:29 Info Error checking version support for Getbhavcopy using static file. 02/09/2015 13:01:29 Info An error occurred creating the configuration section handler for system.net/settings: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (C:\Getbhavcopy\Getbhavcopy.exe.Config line 4) 02/09/2015 13:01:29 Info Source: System.Configuration 02/09/2015 13:01:29 Info Trace: at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult) at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSection(String configKey) at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName) at System.Configuration.ConfigurationManager.GetSection(String sectionName) at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName) at System.Net.Configuration.SettingsSectionInternal.get_Section() at System.Net.Sockets.Socket.InitializeSockets() at System.Net.NetworkAddressChangePolled..ctor() at System.Net.AutoWebProxyScriptEngine.AutoDetector.Initialize() at System.Net.AutoWebProxyScriptEngine.AutoDetector.get_CurrentAutoDetector() at System.Net.AutoWebProxyScriptEngine..ctor(WebProxy proxy, Boolean useRegistry) at System.Net.WebProxy.UnsafeUpdateFromRegistry() at System.Net.WebProxy..ctor(Boolean enableAutoproxy) at System.Net.WebProxy.GetDefaultProxy() at Getbhavcopy.GlobalClasses.ProxyFactory.xDhX9n5u6jltX5oiGJj() at Getbhavcopy.GlobalClasses.ProxyFactory.getProxy() at Getbhavcopy.GlobalClasses.VersionSupport.WRDgpHeH6jMZYvEr4S() at Getbhavcopy.GlobalClasses.VersionSupport.IsVesrionSupportedStatic(Object version) 02/09/2015 13:03:20 Message * Starting Getbhavcopy *
Comments (9)
-
repo owner -
repo owner Any way no issues - will look into it.
-
repo owner - attached log.txt
Attaching the log file
-
repo owner Not 100% sure but can you rename the getbhavcopy.exe.config file to something else and then try once again. What do you experience ?
-
- attached log.txt
Hi Hemen. Thanks a lot for your help. Changing the file name of the config file helped. Attaching the log file for your reference. Thanks again!
-
repo owner - changed version to 2.1.5a
- changed milestone to backlog
- changed component to Getbhavcopy
Read more about the issue CodeAccessSecurityStrikesBackInNet4
-
repo owner Hi Vrajesh,
I tried looking at the issue but it seems to be related to your specific environment vs something related to Getbhavcopy in general, as others are not reporting this issue. What I can suggest is to delete the Getbhavcopy.exe.config file and try once if it helps.
Additionally are you using Getbhavcopy on your personal machine with unrestricted internet access or are you using it in any sort of constrained environment like office etc. If the latter then that could also be a reason for the permission denied issue.
For now marking as Wontfix, and will close if there is not much happening on this thread.
-
repo owner - marked as minor
-
repo owner - changed status to wontfix
see above comment
- Log in to comment
Can yo attach the log file rather than paste it here ?