Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

ASP.Net User

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  IIS licensing ?  
Author Message
user1737

External


Since: Jun 02, 2004
Posts: 3



(Msg. 1) Posted: Wed Jun 02, 2004 6:11 pm
Post subject: ASP.Net User
Archived from groups: microsoft>public>inetserver>iis (more info?)

ive been developing an application in ASP.Net and have hit a brick wall

I need my application to open word on the server edit some bookmarks, print
the document then save and close
i have no problem with being able to do this in code (as i have done it
before in VB)

the problem im having is that when i execute my code i get an ACCESS DENIED
error

after doing some research on the web into this problem i cam across a
solution i dont understand (My IIS isnt brilliant):

By searching HKCR for 00020906-0000-0000-C000-000000000046, I
figured out
that Word is incorrectly (IMO) registered under the name
'Microsoft
Document' instead of 'Microsoft Word document'. Once I granted
launch
permissions on 'Microsoft Document' to the ASPNET user, ASP .NET
was able
to run this line of code without an access denied error:

Dim appWord As New Word.Application()



the problem i now have is that i dont know how to grant launch control to
permissions on Microsoft Document to the ASPNET user

any help with this would be greatly appreciated

Thanks

Mike Fellows

 >> Stay informed about: ASP.Net User 
Back to top
Login to vote
lists

External


Since: Apr 22, 2004
Posts: 390



(Msg. 2) Posted: Wed Jun 02, 2004 6:11 pm
Post subject: Re: ASP.Net User [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Check the IUSR_machinename user. Give your document this access. First try=
administrative maybe then work down from there.

John Cesta

---------------------------------
The CPU Checker - Maximize Server Uptime
LogFileManager - The only IIS Logfile Management Tool
DomainReportIt PRO - Helps Convert IIS Installs
<a style='text-decoration: underline;' href="http://www.serverautomationtools.com" target="_blank">http://www.serverautomationtools.com</a>


On Wed, 2 Jun 2004 10:11:24 -0400, Mike Fellows wrote:
 > ive been developing an application in ASP.Net and have hit a brick
 > wall
 >
 > I need my application to open word on the server edit some
 > bookmarks, print
 > the document then save and close
 > i have no problem with being able to do this in code (as i have
 > done it
 > before in VB)
 >
 > the problem im having is that when i execute my code i get an
 > ACCESS DENIED
 > error
 >
 > after doing some research on the web into this problem i cam across
 > a
 > solution i dont understand (My IIS isnt brilliant):
 >
 > By searching HKCR for 00020906-0000-0000-C000-000000000046, I
 > figured out
 > that Word is incorrectly (IMO) registered under the name
 > 'Microsoft
 > Document' instead of 'Microsoft Word document'. Once I granted
 > launch
 > permissions on 'Microsoft Document' to the ASPNET user, ASP .NET
 > was able
 > to run this line of code without an access denied error:
 >
 > Dim appWord As New Word.Application()
 >
 >
 > the problem i now have is that i dont know how to grant launch
 > control to
 > permissions on Microsoft Document to the ASPNET user
 >
 > any help with this would be greatly appreciated
 >
 > Thanks
 >
 > Mike Fellows<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: ASP.Net User 
Back to top
Login to vote
user641

External


Since: Aug 22, 2003
Posts: 1637



(Msg. 3) Posted: Wed Jun 02, 2004 6:11 pm
Post subject: Re: ASP.Net User [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Mike Fellows" <mike.fellows.SPAM.TakeThisOut@equityhouse.co.uk> wrote in message
news:c3mvc.61$1d7.1@newsfe3-win.server.ntli.net...
 > ive been developing an application in ASP.Net and have hit a brick wall
 >
 > I need my application to open word on the server edit some bookmarks,
print
 > the document then save and close

In case you didn't know, this is not a recommended or supported practice ...
<a style='text-decoration: underline;' href="http://support.microsoft.com/?kbid=257757" target="_blank">http://support.microsoft.com/?kbid=257757</a>

--
Tom Kaminski IIS MVP
<a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for running IIS
<a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/" target="_blank">http://mvp.support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP.Net User 
Back to top
Login to vote
user1737

External


Since: Jun 02, 2004
Posts: 3



(Msg. 4) Posted: Wed Jun 02, 2004 6:24 pm
Post subject: Re: ASP.Net User [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

my problem doesnt seem to be with the documents

its seems to be with opening word on the server

Mike Fellows


"John Cesta" <lists DeleteThis @lookwww.com> wrote in message
news:200462102714.157772@poolfact...


Check the IUSR_machinename user. Give your document this access. First try
administrative maybe then work down from there.

John Cesta

---------------------------------
The CPU Checker - Maximize Server Uptime
LogFileManager - The only IIS Logfile Management Tool
DomainReportIt PRO - Helps Convert IIS Installs
<a style='text-decoration: underline;' href="http://www.serverautomationtools.com" target="_blank">http://www.serverautomationtools.com</a>


On Wed, 2 Jun 2004 10:11:24 -0400, Mike Fellows wrote:
 > ive been developing an application in ASP.Net and have hit a brick
 > wall
 >
 > I need my application to open word on the server edit some
 > bookmarks, print
 > the document then save and close
 > i have no problem with being able to do this in code (as i have
 > done it
 > before in VB)
 >
 > the problem im having is that when i execute my code i get an
 > ACCESS DENIED
 > error
 >
 > after doing some research on the web into this problem i cam across
 > a
 > solution i dont understand (My IIS isnt brilliant):
 >
 > By searching HKCR for 00020906-0000-0000-C000-000000000046, I
 > figured out
 > that Word is incorrectly (IMO) registered under the name
 > 'Microsoft
 > Document' instead of 'Microsoft Word document'. Once I granted
 > launch
 > permissions on 'Microsoft Document' to the ASPNET user, ASP .NET
 > was able
 > to run this line of code without an access denied error:
 >
 > Dim appWord As New Word.Application()
 >
 >
 > the problem i now have is that i dont know how to grant launch
 > control to
 > permissions on Microsoft Document to the ASPNET user
 >
 > any help with this would be greatly appreciated
 >
 > Thanks
 >
 > Mike Fellows<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP.Net User 
Back to top
Login to vote
user1737

External


Since: Jun 02, 2004
Posts: 3



(Msg. 5) Posted: Wed Jun 02, 2004 6:42 pm
Post subject: Re: ASP.Net User [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Tom,

The Application we are writing is for intranet use only and wont be used
externally ever

i appreciate this is not a supported practice, but it something we wish to
develop

Thanks

Mike Fellows



"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:c9kn65$c4m3@kcweb01.netnews.att.com...
 > "Mike Fellows" <mike.fellows.SPAM.TakeThisOut@equityhouse.co.uk> wrote in message
 > news:c3mvc.61$1d7.1@newsfe3-win.server.ntli.net...
  > > ive been developing an application in ASP.Net and have hit a brick wall
  > >
  > > I need my application to open word on the server edit some bookmarks,
 > print
  > > the document then save and close
 >
 > In case you didn't know, this is not a recommended or supported practice
....
<font color=purple> > <a style='text-decoration: underline;' href="http://support.microsoft.com/?kbid=257757</font" target="_blank">http://support.microsoft.com/?kbid=257757</font</a>>
 >
 > --
 > Tom Kaminski IIS MVP
 > <a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for running
IIS
<font color=purple> > <a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/</font" target="_blank">http://mvp.support.microsoft.com/</font</a>>
<font color=purple> > <a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/</font" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</font</a>>
 >
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP.Net User 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
NT user name - hi all, i have a iis on windows xp pro. this iis serves in intranet. and all users have domain password in intranet. i write some asp code for this. but this code does't give me the nt user name of user who visit my site. this code is only giving..

FTP user can log in...sometimes - I have a user using a WinME box and IE 6.0 to access my FTP site thru my ISDN line on my Win2K Sp4 server. This user has stored the username and password to the FTP site on the WinME box. Sometimes when she clicks on the shortcut she has created for th...

User Credentials - Hi all; Got a quick ? on login credentials. I have a website say www.website.com that resolves and works great on the internet. However if I create a directory below www.website.com/test and set perms on it for inside and outside users, I actually..

user limits for iis 5.0 - dear all i am developing the inranet application for the company. i am using the ms-sql server as backend and iis 5.0 web server. but the problem is by default iis provides 10 user limits, i want it to be unlimited. so what is the solution for that?...

pdh user rights - I'm trying to use pdh.dll functions from within an isapi extension, but I keep getting back a PDH_CSTATUS_ITEM_NOT_VALIDATED error. from PdhGetFormattedCounterValue. Could it be that this has to do with user rights? What can I do to solve this?
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]