Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
4.1k views
in .NET FTP by (480 points)
hi,
i m getting an exception on Intiliase of component in my form application...its related to EnterpriseDT.Util.Debug.Logger.i m sending u the stack trace of the exception:

System.TypeInitializationException was unhandled
Message="The type initializer for 'EnterpriseDT.Util.Debug.Logger' threw an exception."
Source="edtFTPnet"
TypeName="EnterpriseDT.Util.Debug.Logger"
StackTrace:
at EnterpriseDT.Util.Debug.Logger.GetLogger(String clazz)
at EnterpriseDT.Net.Ftp.FTPClient.InitBlock()
at EnterpriseDT.Net.Ftp.FTPClient..ctor()
at EnterpriseDT.Net.Ftp.FTPConnection..ctor()
at EnterpriseDT.Net.Ftp.FTPConnection..ctor(IContainer container)
at ManualTicketProcessor.TestFTP.InitializeComponent() in R:\Source\RazorGator\DigitalTicket\Razorgator.DigitalTicket.ManualTicketProcessor\TestFTP.Designer.cs:line 32
at ManualTicketProcessor.TestFTP..ctor() in R:\Source\RazorGator\DigitalTicket\Razorgator.DigitalTicket.ManualTicketProcessor\TestFTP.cs:line 15
at ManualTicketProcessor.Program.Main() in R:\Source\RazorGator\DigitalTicket\Razorgator.DigitalTicket.ManualTicketProcessor\Program.cs:line 20
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()


can u please help me understnd wht cud be the reason for that...my test application works fine...bt when i put the code on the project application it throws this exception

3 Answers

0 votes
by (480 points)
please reply soon....

its urgent :(
0 votes
by (162k points)
Sorry, no idea why this is occurring.

Catch the exception and print out the InnerException property - this might give you a better idea.

Perhaps this machine has .NET 1.0 installed?
0 votes
by (480 points)
ya it has .net 1.0 installed but we are working on 1.1...besides in my own machine too...i hav both 1.0 and 1.1 installed.but still it works...anyways thanks for ur reply :roll:

Categories

...