msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ASPNET and Word

 
Post new topic   Reply to topic    msvisual.com Forum Index -> OLE Automation
Author Message
SergioT



Joined: 04 Oct 2007
Posts: 2

PostPosted: Fri Mar 23, 2007 1:23 pm    Post subject: ASPNET and Word Reply with quote

hi

I m getting an error when I run my application on the server, that error
doesn't ocur when I run the application on the development computer
the error is:
===============================================================================================
Error de servidor en la aplicación '/APPWebApp'.
--------------------------------------------------------------------------------

?
Descripción: Excepción no controlada al ejecutar la solicitud Web actual.
Revise el seguimiento de la pila para obtener más información acerca del
error y dónde se originó en el código.

Detalles de la excepción: System.IO.FileNotFoundException: ?

Error de código fuente:

Se ha generado una excepción no controlada durante la ejecución de la
solicitud Web actual. La información sobre el origen y la ubicación de la
excepción pueden identificarse utilizando la excepción del seguimiento de la
pila siguiente.

Rastro al cargar el ensamblado: La información siguiente puede ser útil para
determinar porqué no se cargó el ensamblado 'Microsoft.Office.Interop.Word'.


=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Office.Interop.Word, Version=11.0.0.0,
Culture=neutral, PublicKeyToken=71e9bce111e9429c
(Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/APPWebApp
LOG: Initial PrivatePath = bin
Calling assembly : APPBLL, Version=1.0.2637.27566, Culture=neutral,
PublicKeyToken=null.
===

LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Microsoft.Office.Interop.Word, Version=11.0.0.0,
Culture=neutral, PublicKeyToken=71e9bce111e9429c
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/APPwebapp/6090b791/54e2bc47/Microsoft.Office.Interop.Word.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/APPwebapp/6090b791/54e2bc47/Microsoft.Office.Interop.Word/Microsoft.Office.Interop.Word.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/APPWebApp/bin/Microsoft.Office.Interop.Word.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/APPWebApp/bin/Microsoft.Office.Interop.Word/Microsoft.Office.Interop.Word.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/APPwebapp/6090b791/54e2bc47/Microsoft.Office.Interop.Word.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/APPwebapp/6090b791/54e2bc47/Microsoft.Office.Interop.Word/Microsoft.Office.Interop.Word.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/APPWebApp/bin/Microsoft.Office.Interop.Word.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/APPWebApp/bin/Microsoft.Office.Interop.Word/Microsoft.Office.Interop.Word.EXE.



Seguimiento de la pila:


[FileNotFoundException: ?]
APPBLL.Comunes.clsCartaWord.CombinarCartas(String sPlantillaWord, String
sDocExcel, String sPathDestino) +0
APPWebApp.wfSobresII.subGeneraRpt()
APPWebApp.wfSobresII.Page_Load(Object sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750




--------------------------------------------------------------------------------
Información de versión: Versión de Microsoft .NET Framework:1.1.4322.2300;
Versión de ASP.NET:1.1.4322.2300
===============================================================================================
I really apreciate any help
Sergio

Archived from group: microsoft>public>vb>ole>automation
Back to top
View user's profile Send private message
SergioT



Joined: 04 Oct 2007
Posts: 2

PostPosted: Fri Mar 30, 2007 3:34 pm    Post subject: Re: ASPNET and Word Reply with quote

Hello Richard

Office and .net are installed on the server I don´tn know where to look,
it looks like something is missing more than permissions

>> LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Microsoft.Office.Interop.Word,
Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c

thnks
Sergio

"Richard T. Edwards" escribió en el mensaje $2mbHHA.4312@TK2MSFTNGP05.phx.gbl...
>I m getting an error when I run my application on the server, that error
> doesn't ocur when I run the application on the development computer.
>
> This is almost always a permissions issue. Have you installed Word and
> .Net on the server?
>
>
>
> "SergioT" wrote in message
> @TK2MSFTNGP05.phx.gbl...
>> hi
>>
>> I m getting an error when I run my application on the server, that error
>> doesn't ocur when I run the application on the development computer
>> the error is:
>> ===============================================================================================
>> Error de servidor en la aplicación '/APPWebApp'.
>> --------------------------------------------------------------------------------
>>
>> ?
>> Descripción: Excepción no controlada al ejecutar la solicitud Web actual.
>> Revise el seguimiento de la pila para obtener más información acerca del
>> error y dónde se originó en el código.
>>
>> Detalles de la excepción: System.IO.FileNotFoundException: ?
>>
>> Error de código fuente:
>>
>> Se ha generado una excepción no controlada durante la ejecución de la
>> solicitud Web actual. La información sobre el origen y la ubicación de la
>> excepción pueden identificarse utilizando la excepción del seguimiento de
>> la pila siguiente.
>>
>> Rastro al cargar el ensamblado: La información siguiente puede ser útil
>> para determinar porqué no se cargó el ensamblado
>> 'Microsoft.Office.Interop.Word'.
>>
>>
>> === Pre-bind state information ===
>> LOG: DisplayName = Microsoft.Office.Interop.Word, Version=11.0.0.0,
>> Culture=neutral, PublicKeyToken=71e9bce111e9429c
>> (Fully-specified)
>> LOG: Appbase = file:///c:/inetpub/wwwroot/APPWebApp
>> LOG: Initial PrivatePath = bin
>> Calling assembly : APPBLL, Version=1.0.2637.27566, Culture=neutral,
>> PublicKeyToken=null.
>> ===
>>
>> LOG: Publisher policy file is not found.
>> LOG: No redirect found in host configuration file
>> (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
>> LOG: Using machine configuration file from
>> C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
>> LOG: Post-policy reference: Microsoft.Office.Interop.Word,
>> Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
>> LOG: Attempting download of new URL
>> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
>> Files/APPwebapp/6090b791/54e2bc47/Microsoft.Office.Interop.Word.DLL.
>> LOG: Attempting download of new URL
>> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
>> Files/APPwebapp/6090b791/54e2bc47/Microsoft.Office.Interop.Word/Microsoft.Office.Interop.Word.DLL.
>> LOG: Attempting download of new URL
>> file:///c:/inetpub/wwwroot/APPWebApp/bin/Microsoft.Office.Interop.Word.DLL.
>> LOG: Attempting download of new URL
>> file:///c:/inetpub/wwwroot/APPWebApp/bin/Microsoft.Office.Interop.Word/Microsoft.Office.Interop.Word.DLL.
>> LOG: Attempting download of new URL
>> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
>> Files/APPwebapp/6090b791/54e2bc47/Microsoft.Office.Interop.Word.EXE.
>> LOG: Attempting download of new URL
>> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
>> Files/APPwebapp/6090b791/54e2bc47/Microsoft.Office.Interop.Word/Microsoft.Office.Interop.Word.EXE.
>> LOG: Attempting download of new URL
>> file:///c:/inetpub/wwwroot/APPWebApp/bin/Microsoft.Office.Interop.Word.EXE.
>> LOG: Attempting download of new URL
>> file:///c:/inetpub/wwwroot/APPWebApp/bin/Microsoft.Office.Interop.Word/Microsoft.Office.Interop.Word.EXE.
>>
>>
>>
>> Seguimiento de la pila:
>>
>>
>> [FileNotFoundException: ?]
>> APPBLL.Comunes.clsCartaWord.CombinarCartas(String sPlantillaWord,
>> String sDocExcel, String sPathDestino) +0
>> APPWebApp.wfSobresII.subGeneraRpt()
>> APPWebApp.wfSobresII.Page_Load(Object sender, EventArgs e)
>> System.Web.UI.Control.OnLoad(EventArgs e) +67
>> System.Web.UI.Control.LoadRecursive() +35
>> System.Web.UI.Page.ProcessRequestMain() +750
>>
>>
>>
>>
>> --------------------------------------------------------------------------------
>> Información de versión: Versión de Microsoft .NET
>> Framework:1.1.4322.2300; Versión de ASP.NET:1.1.4322.2300
>> ===============================================================================================
>> I really apreciate any help
>> Sergio
>>
>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Invoking Word from Access, and waiting for Word to Quit I am using Access 97, and calling Word using automation and late binding. I wish to wait until Word quits, but how do i do it? Because I'm using late binding, I can't use "Public WithEvents objWord as Object". Marc

Word 2003 VBA Help not available in VB 6 In a Win 2000 system, among other things, the following are installed: 1. VB 6 Enterprise. 2. MSDN October 2001 Library 3. Office 2003 Professional 4. VS .NET 2003 Professional. Yesterday, for the first time, I tried Automating Word 2003 from VB 6. No p

Word doc history Hi I have a feature to open word documents from my vb app. Is it possible that when a user saves a word document, my vb app gets the name under which the document is saved and the date and time of saving, so I can keep a history of all word documents? Tha

Word Automation Hi, I have this code it works fine in MS Access 2000, I am trying to make it work in VB 6, I am not getting an error, but the variables in the word document "{ADDRESS}" an so on are not being replaced with the data. this is the table data in the table Cod

automation of Word Using article Q220607 How to automate Word to perform Mail Merge from VB. I am using VB6 to automate Word 2003 Mail Merge. I get the following error: Run Time 5631 Word could not merge the main document with the datasource because data records were empty
Post new topic   Reply to topic    msvisual.com Forum Index -> OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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


Powered by phpBB © 2001, 2005 phpBB Group