Hi,
I am using a COM dll in my ASP.Net code. I converted it to proxy using
tblimp and put it to the bin directory of my application.
I have one method of that dll which takes two parameters; source file path and destination path-file name.
When I run the code, it doesnot give any error but it doesn't execute method either.
Another method of that dll works perfectly.
Code for my program :
Code:
<% @Page Language="C#" trace="true" %>
<% @Import Namespace="System.IO" %>
<% @Import Namespace="NewNetTiffMaster" %>
<%
Trace.Write ("now starting, creating TiffMaster object");
TiffSqueezerClass TiffMaster = new TiffSqueezerClass();
//TiffMaster.CreateSingleTiff("C:\\dotnet\\01062004\\hirahul.tif","d:\\rahul");
//This above method works fine.
try
{
string pathNoExt = @"d:\01062004";
string pathToCreate = @"d:\test.tif";
//TiffMaster.CreateMultiTiff("d:\\01062004","d:\\");
TiffMaster.CreateMultiTiff(pathNoExt, pathToCreate);
Trace.Write ("It should create multipage tiff now");
}
catch (ArgumentException exArg)
{
throw new ArgumentException("Doh - you forgot the filename.", exArg);
}
catch (FileNotFoundException exFNF)
{
//throw new FileNotFoundException("error.", "rahul.tif");
Trace.Write (exFNF.Message);
//Trace.Write (exFNF.Description);
}
finally
{
Trace.Write ("I do not know where it goes.....any help");
}
%>
Any other way to solve this ? Any suggestions.
thxs
rahul