Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2745
Problem with saving word/excel documents (docx, xlsx)
posted

Hello!

I have just started to work with the Infragistics.Documents.Word namespace.

I tried to create a simple document using the following code:

Dim doc as new Infragistics.Documents.Word.Document

doc.save(filename)

This code creates a file but it also generates an exception. The exception is of type

"The type initializer for MS.Utility.EventTrace threw an exception"

I have implemented code that creates some text inside the document but that isn't included when it is saved. So something is wrong.

I am creating these files on a server with special rules of accesscontrol.

I am pretty sure that this has something to do with the server settings and not the Infragistics tools, but with an

exception like that, I am totally lost.

 

Someone out there who understands the problem?

 

/Henrik

Parents Reply Children