Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / VS Tools for Office / May 2006

Tip: Looking for answers? Try searching our database.

Deployment to Internet

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ken Cox [Microsoft MVP] - 30 May 2006 01:17 GMT
I'm using ServerDocument on an Internet ASP.NET 2.0 to insert data into the
data island of a customized Word document.

Does anyone have a sample of how to configure the permissions and other
settings on the client so the downloaded document's customization will run?
Don't forget, this is an Internet site, not an intranet.

Thanks,

Ken
Maarten van Stam [MVP VSTO] - 30 May 2006 07:06 GMT
In the example:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_vsto2005_ta
/html/OfficeVSTOBenefitsRegistration.asp

is shown how to get the document to the client using the browser. I've tried
this myself and is does work.

But... Be aware of the section:
------------------
Opening Word in a New Window
Typically, when Internet Explorer downloads a Word document, it attempts to
host Word inside of the Internet Explorer window and merge the menu and tool
bars. Microsoft Windows allows you to change this behavior so that the
document opens in a new Word window. However, if you have changed the
default setting of the Browse in same window command for Word documents, a
known issue with Word 2003 prevents the customization assembly from loading.
You do not receive any errors, but when the benefits registration form
downloads, no code executes.
---------------

If this is configured wrong the document IS loaded, but the assembly refuses
to work without any notice or clue why not!

Hope it helps,

-= Maarten=-
MVP - Visual Developer - VSTO
http://blogs.officezealot.com/maarten

> I'm using ServerDocument on an Internet ASP.NET 2.0 to insert data into
> the data island of a customized Word document.
[quoted text clipped - 6 lines]
>
> Ken
Ken Cox [Microsoft MVP] - 31 May 2006 20:03 GMT
Thanks, but I still don't see anything on setting the permissions for the
Internet so the customization can run.

Ken

> In the example:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_vsto2005_ta
/html/OfficeVSTOBenefitsRegistration.asp

> is shown how to get the document to the client using the browser. I've
> tried this myself and is does work.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.