Click here to Skip to main content
15,895,777 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to make 30 days trial Pin
Rupesh Kumar Swami14-Jul-08 20:34
Rupesh Kumar Swami14-Jul-08 20:34 
AnswerRe: How to make 30 days trial Pin
Thomas Stockwell15-Jul-08 8:36
professionalThomas Stockwell15-Jul-08 8:36 
QuestionHow to get printed document name using Printer Job Language (PJL) in C# Pin
$unil Dhiman14-Jul-08 19:44
$unil Dhiman14-Jul-08 19:44 
QuestionAnyone ever seen this "System.ComponentModel.Win32Exception: Access is denied Exception." Pin
Member 469462714-Jul-08 19:37
Member 469462714-Jul-08 19:37 
AnswerRe: Anyone ever seen this "System.ComponentModel.Win32Exception: Access is denied Exception." Pin
Morphogen15-Jul-08 4:00
Morphogen15-Jul-08 4:00 
Questionresize problem with listbox and H splitter Pin
emailthiaga14-Jul-08 19:34
emailthiaga14-Jul-08 19:34 
AnswerRe: resize problem with listbox and H splitter [modified] Pin
Morphogen15-Jul-08 4:08
Morphogen15-Jul-08 4:08 
QuestionSystem.Runtime.InteropServices.COMException (0x800A1401) [modified] Pin
sachinkalse14-Jul-08 18:55
sachinkalse14-Jul-08 18:55 
Dear All,
Please help me solving following issue.


Background Information
------------------------------------
1. We have 2 web application running on MOSS + IIS 6
2. Both applications are on same web server, run by System Admin account
3. Developed using ASP.Net, C# and DB as SQL Server 2005
4. One is running on Framework 2.0 and second is on Framework 3.5
5. In both we are using Office Objects to impose IRM permissions
6. Both were working till latest windows update on the web server.
7. After that we started getting following errors

Errors
---------
Word object: Not Able to Open the word file at all
------------------
System.Runtime.InteropServices.COMException (0x800A1401): Word experienced an error trying to open the file.
Try these suggestions.
* Check the file permissions for the document or drive.
* Make sure there is sufficient free memory and disk space.
* Open the file with the Text Recovery converter. (C:\...\My File.doc)
at Microsoft.Office.Interop.Word.Documents.Open(Object& FileName, Object& ConfirmConversions, Object& ReadOnly, Object& AddToRecentFiles, Object& PasswordDocument, Object& PasswordTemplate, Object& Revert, Object& WritePasswordDocument, Object& WritePasswordTemplate, Object& Format, Object& Encoding, Object& Visible, Object& OpenAndRepair, Object& DocumentDirection, Object& NoEncodingDialog, Object& XMLTransform)
at OpenFile.SetExpiryDate(String strFilePath, String strExpiryDate) in c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\My Application\MyPage.aspx.cs:line 1033


Excel Object: Not Able Close the excel file even though all objects are explicitly closed.
-------------------
When try to delete file following error comes.

The process cannot access the file 'C:\\Program Files\\Common Files\\Microsoft Shared\\web server extensions\\12\\TEMPLATE\\LAYOUTS\\My Application\\Scratchpad\\Book1.xlsx' because it is being used by another process


PowerPoint object: Not able to save
---------------------------
Presentation (unknown member) : An error occurred while PowerPoint was saving the file.



Is this some kind of a security permission issue on the folder where we are processing the file? Right now I have given full permission to following accounts.
1. Administrators
2. ASP.Net
3. Network Service
4. System

After the error I gave full permission to Everyone, still the problem persists.

I have uninstalled office and installed it with latest security patches. Removed old COM reference (Microsoft Excel, Word, PowerPoint) and added new, but still no progress.

Any other thing I need to check or update?
AnswerRe: System.Runtime.InteropServices.COMException (0x800A1401) Pin
sachinkalse14-Jul-08 23:34
sachinkalse14-Jul-08 23:34 
QuestionC# Extension method doesn't fit in this scenerio? Pin
Michael Sync14-Jul-08 16:51
Michael Sync14-Jul-08 16:51 
AnswerRe: C# Extension method doesn't fit in this scenerio? Pin
stancrm14-Jul-08 19:36
stancrm14-Jul-08 19:36 
GeneralRe: C# Extension method doesn't fit in this scenerio? Pin
Michael Sync14-Jul-08 19:40
Michael Sync14-Jul-08 19:40 
GeneralRe: C# Extension method doesn't fit in this scenerio? Pin
stancrm14-Jul-08 19:42
stancrm14-Jul-08 19:42 
GeneralRe: C# Extension method doesn't fit in this scenerio? Pin
Michael Sync14-Jul-08 19:46
Michael Sync14-Jul-08 19:46 
GeneralRe: C# Extension method doesn't fit in this scenerio? Pin
Michael Sync14-Jul-08 19:56
Michael Sync14-Jul-08 19:56 
GeneralRe: C# Extension method doesn't fit in this scenerio? Pin
leppie14-Jul-08 22:22
leppie14-Jul-08 22:22 
AnswerRe: C# Extension method doesn't fit in this scenerio? Pin
J4amieC14-Jul-08 21:56
J4amieC14-Jul-08 21:56 
GeneralRe: C# Extension method doesn't fit in this scenerio? Pin
Michael Sync14-Jul-08 22:06
Michael Sync14-Jul-08 22:06 
GeneralRe: C# Extension method doesn't fit in this scenerio? Pin
Michael Sync14-Jul-08 22:07
Michael Sync14-Jul-08 22:07 
GeneralRe: C# Extension method doesn't fit in this scenerio? Pin
J4amieC14-Jul-08 22:09
J4amieC14-Jul-08 22:09 
GeneralRe: C# Extension method doesn't fit in this scenerio? Pin
Michael Sync14-Jul-08 22:17
Michael Sync14-Jul-08 22:17 
GeneralRe: C# Extension method doesn't fit in this scenerio? Pin
leppie14-Jul-08 22:24
leppie14-Jul-08 22:24 
GeneralRe: C# Extension method doesn't fit in this scenerio? Pin
Michael Sync14-Jul-08 22:34
Michael Sync14-Jul-08 22:34 
GeneralRe: C# Extension method doesn't fit in this scenerio? Pin
DaveyM6914-Jul-08 23:11
professionalDaveyM6914-Jul-08 23:11 
GeneralRe: C# Extension method doesn't fit in this scenerio? Pin
Michael Sync14-Jul-08 23:22
Michael Sync14-Jul-08 23:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.