I am dealing a project in ASP.NET which uploads office documents and convert
them as PDF files,to accomplish this convertion
I have used a third party component named "easy PDF SDK".Every thing went
fine on local machine(Which has VS.NET 2003)
But when it comes to deployment on the remote machine(which has only .NET
Framework 1.1)though "easy PDF SDK" installed
and configured as per the requirements on the remote machine,its giving
error that the "easy PDF SDK" methods are not recognized.
Then I installed VS.NET 2003 on the remote machine and referenced to the COM
components of "easy PDF SDK"through the IDE.
Then it work well.But as it is not required to have VS.NET on the remote
machine(.NET Framework 1.1 is sufficient)to run ASP.NET
applications,Please let me know how could I resolve this problem.
Thanks in advance
Regards
VighneswarYou only need to install the Framework on the server, latest versions of the
framework are downloadable from microsoft.
"vighnesh" <vighnesh@.nannacomputers.com> wrote in message
news:%23hO88rcvFHA.2504@.TK2MSFTNGP15.phx.gbl...
> Hi All
> I am dealing a project in ASP.NET which uploads office documents and
> convert them as PDF files,to accomplish this convertion
> I have used a third party component named "easy PDF SDK".Every thing went
> fine on local machine(Which has VS.NET 2003)
> But when it comes to deployment on the remote machine(which has only .NET
> Framework 1.1)though "easy PDF SDK" installed
> and configured as per the requirements on the remote machine,its giving
> error that the "easy PDF SDK" methods are not recognized.
> Then I installed VS.NET 2003 on the remote machine and referenced to the
> COM components of "easy PDF SDK"through the IDE.
> Then it work well.But as it is not required to have VS.NET on the remote
> machine(.NET Framework 1.1 is sufficient)to run ASP.NET
> applications,Please let me know how could I resolve this problem.
> Thanks in advance
> Regards
> Vighneswar
Hi Vighneswar,
The clue as to the nature of your problem comes from the following
statement:
> Then I installed VS.NET 2003 on the remote machine and referenced to the
> COM components of "easy PDF SDK"through the IDE.
You are creating an ASP.Net web application, which is a .Net Framework
application. The .Net Framework is not natively compatible with COM, but can
interoperate with COM via .Net Interop assemblies. When you create a
reference to a COM object in Visual Studio.Net, it creates COM Interop
assemblies for the COM object automatically for you, and adds them to the
project as DLLs. The .Net application talks to the COM Interop assemblies,
and the COM Interop assemblies marshal data between the COM objects and
other .Net objects in the project.
It is not necessary to have Visual Studio.Net to create COM Interop
assemblies (but it sure helps!). The .Net platform comes with all the tools
and compilers necessary to create them for yourself using the Command Line.
It is not necessary to have Visual Studio.Net installed on the web server
either. It is only necessary to have the COM objects registered on the
server, and the corresponding .Net COM Interop assemblies in the bin folder
of the app that uses the COM objects.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
I'd rather be a hammer than a nail.
"vighnesh" <vighnesh@.nannacomputers.com> wrote in message
news:%23hO88rcvFHA.2504@.TK2MSFTNGP15.phx.gbl...
> Hi All
> I am dealing a project in ASP.NET which uploads office documents and
> convert them as PDF files,to accomplish this convertion
> I have used a third party component named "easy PDF SDK".Every thing went
> fine on local machine(Which has VS.NET 2003)
> But when it comes to deployment on the remote machine(which has only .NET
> Framework 1.1)though "easy PDF SDK" installed
> and configured as per the requirements on the remote machine,its giving
> error that the "easy PDF SDK" methods are not recognized.
> Then I installed VS.NET 2003 on the remote machine and referenced to the
> COM components of "easy PDF SDK"through the IDE.
> Then it work well.But as it is not required to have VS.NET on the remote
> machine(.NET Framework 1.1 is sufficient)to run ASP.NET
> applications,Please let me know how could I resolve this problem.
> Thanks in advance
> Regards
> Vighneswar
This is not required.
IMO the problem was that the interop DLL was not there (it should be in your
/bin dirrectory).
--
Patrice
"vighnesh" <vighnesh@.nannacomputers.com> a crit dans le message de
news:%23hO88rcvFHA.2504@.TK2MSFTNGP15.phx.gbl...
> Hi All
> I am dealing a project in ASP.NET which uploads office documents and
convert
> them as PDF files,to accomplish this convertion
> I have used a third party component named "easy PDF SDK".Every thing went
> fine on local machine(Which has VS.NET 2003)
> But when it comes to deployment on the remote machine(which has only .NET
> Framework 1.1)though "easy PDF SDK" installed
> and configured as per the requirements on the remote machine,its giving
> error that the "easy PDF SDK" methods are not recognized.
> Then I installed VS.NET 2003 on the remote machine and referenced to the
COM
> components of "easy PDF SDK"through the IDE.
> Then it work well.But as it is not required to have VS.NET on the remote
> machine(.NET Framework 1.1 is sufficient)to run ASP.NET
> applications,Please let me know how could I resolve this problem.
> Thanks in advance
> Regards
> Vighneswar
0 comments:
Post a Comment