.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 24th, 2002, 07:57 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
"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

Reply With Quote
  #2  
Old January 25th, 2002, 06:02 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
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

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > "Access Denied" Launching Word with ASP.net


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT