|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
"Access Denied" Launching Word with ASP.net
Originally posted by : james mcdonagh (jamesmcdonagh16@hotmail.com)Hi there guys I have a little bit of a problem. In a classic n-tier application that I wrote, I was firing up word and populating a template with info from a database.To instaniate the word application object I would put (in a vb component)I include a referece to wordIn a function within the component I place the following code. Dim m_objApp as Word.applicationSet m_objApp = New Word.application Everything works fine. I want to achieve the same thing in .netI again have a componentI include a reference to wordIn a function within the component I place the following code.Dim m_objApp as Word.applicationSet m_objApp = New Word.application I am present with an Enter Network Password popup. If I cancel this then I am presented with an access is denied error. I have no idea why, has anyone else. James
|
|
#2
|
|||
|
|||
|
Originally posted by : Ang_elo (angelo@angelo.hn.org)Try the: in Web.Config Configuration File, in this way AS.NET will use the accounts from IIS (anonymous, ...), you can have more details onthe microsoft msdn site!------------james mcdonagh at 1/24/2002 5:57:36 AMHi there guys I have a little bit of a problem. In a classic n-tier application that I wrote, I was firing up word and populating a template with info from a database.To instaniate the word application object I would put (in a vb component)I include a referece to wordIn a function within the component I place the following code. Dim m_objApp as Word.applicationSet m_objApp = New Word.application Everything works fine. I want to achieve the same thing in .netI again have a componentI include a reference to wordIn a function within the component I place the following code.Dim m_objApp as Word.applicationSet m_objApp = New Word.application I am present with an Enter Network Password popup. If I cancel this then I am presented with an access is denied error. I have no idea why, has anyone else. James
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > "Access Denied" Launching Word with ASP.net |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|