Use MS Word with ASP.NET

C

Chris Zoper

Hello,

I'd like to use MS Word with an ASP.NET application. I've referenced to
MS Word, but when the code line Dim objWord as New Word.Application is
reached, I get an error saying ASP.NET has no permission/rights to
create the object.

Does anyone know how I can solve this problem?

Greetings,
Chris.

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 
G

Guest

Hi Chris,

I tried a lot for word in web applications. I would recommend that you use
syntax like
Response.Write("<html><head>")
Response.Write("<meta http-equiv=""Content-Type"" content=""application/vnd.ms-excel; charset=windows-1252"">")
Otherwise you will land up in security issues.
Office components are not actually meant for word ie. using Word.Application

Regards
Satish RI
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top