![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I have created my addin in VSTO / Office 2007 / Vb 2005. My addin's
one functionality is to insert records in one mdb file. My addin works under XP machine perfectly. Now, if I run my addin under Windows Vista, & if my addin tries to insert the records in the mdb file, it is not allowing me to do so. I checked the permissions to mdb file by going to properties - security, I can see that "Admin-PC\Administrators" is having full control on the file, but "Admin-PC\Users" is having just read & execute permission. Those permissions are inherited from the drive's permission. If I remove inherited permissions & fourcefully gave the permissions "Full Control" to the mdb file, my addin's functionality (insertion of records to mdb file) works fine. Hence my first guess is that my addin is not working as a "Invoker" rights & hence my addin is getting the permission of Users rights & not the Administrators rights. So how can I use my addin as a "Invoker". Another problem I faced with the similar situation is that, my addin tries to create the key under "CLASSES_ROOT", but it failed. Though I can create the key manually under "CLASSES_ROOT", my addin can not write the keys under "CLASSES_ROOT". Hence I wrote my "Key creation" part in one executable & I execute that exe at the time of installtion. It worked perfectly! i.e. my installer is getting the permission as a "Invoker". I think if I can run my addin as a "Invoker", then may be I will get success. So please can anybody tell me how can I run my addin as a "Invoker". Thanks, Dhananjay |
Ads |
#2
|
|||
|
|||
![]()
What account are you logged in to Windows with that has access to the
database? This is the account the add-in will use to access any system resources AFAIK. Are you restricting access to the .mdb file? Can these users insert records directly in Access without using the Add-In? What key are you trying to write to CLASSES_ROOT? -- Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Dhananjay" wrote: I have created my addin in VSTO / Office 2007 / Vb 2005. My addin's one functionality is to insert records in one mdb file. My addin works under XP machine perfectly. Now, if I run my addin under Windows Vista, & if my addin tries to insert the records in the mdb file, it is not allowing me to do so. I checked the permissions to mdb file by going to properties - security, I can see that "Admin-PC\Administrators" is having full control on the file, but "Admin-PC\Users" is having just read & execute permission. Those permissions are inherited from the drive's permission. If I remove inherited permissions & fourcefully gave the permissions "Full Control" to the mdb file, my addin's functionality (insertion of records to mdb file) works fine. Hence my first guess is that my addin is not working as a "Invoker" rights & hence my addin is getting the permission of Users rights & not the Administrators rights. So how can I use my addin as a "Invoker". Another problem I faced with the similar situation is that, my addin tries to create the key under "CLASSES_ROOT", but it failed. Though I can create the key manually under "CLASSES_ROOT", my addin can not write the keys under "CLASSES_ROOT". Hence I wrote my "Key creation" part in one executable & I execute that exe at the time of installtion. It worked perfectly! i.e. my installer is getting the permission as a "Invoker". I think if I can run my addin as a "Invoker", then may be I will get success. So please can anybody tell me how can I run my addin as a "Invoker". Thanks, Dhananjay |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook Archive "Sent Items" shows "From" not "To" | bugcrash | Outlook - Installation | 1 | August 30th 07 04:54 PM |
MOSA addin gives error "Your modem doesn't support PDU format" | Shann | Add-ins for Outlook | 0 | April 24th 07 08:56 AM |
Outlook addin - toolbar in "New Message" Window | Naveed Mughal | Add-ins for Outlook | 1 | December 11th 06 07:54 AM |
Include "Telecommuting" or "Teleworking" as a "Show time as" statu | Gordon Greene | Outlook - Calandaring | 0 | July 31st 06 04:37 PM |
Cannot "Open" "Import/Export' or use "Data File Management" | Ed Isenberg | Outlook - Installation | 3 | July 16th 06 01:31 AM |