| |

VerySource

 Forgot password?
 Register
Search
View: 3750|Reply: 24

I can't bear the owc of Microsoft. This is the third problem I mentioned yesterday and it has not been solved.

[Copy link]

1

Threads

12

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

Post time: 2020-3-3 09:00:01
| Show all posts |Read mode
The owc11 used yesterday was not wrong locally, and it was wrong on the server.

Then use regsvr32.exe to register, registration is successful, but still error

Come up and post, saying that everything is fine with owc11.exe installed

After finally installing it, the result was still wrong.

My owc11.dll doesn't know why,
Registration is successful with regsvr32.exe, but not with regsvr32.exe / i. Is there any difference between the two?

Now the error is as follows.Please ask which brother to help. If you don't know, please help me.




Server Error in '/ temp' Application.
-------------------------------------------------- ------------------------------

Could not load file or assembly 'Microsoft.Office.Interop.Owc11, Version = 11.0.0.0, Culture = neutral, PublicKeyToken = 71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Office.Interop.Owc11, Version = 11.0.0.0, Culture = neutral, PublicKeyToken = 71e9bce111e9429c' or one of its dependencies. The system cannot find the specified file.
Reply

Use magic Report

0

Threads

322

Posts

115.00

Credits

Newbie

Rank: 1

Credits
115.00

 China

Post time: 2020-5-15 01:00:02
| Show all posts
Possible original reason:

The referenced version does not match the current com version.


It is better to use vs.net to quote again after a new installation.
Reply

Use magic Report

1

Threads

12

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

 Author| Post time: 2020-5-15 16:00:01
| Show all posts
Is it vs.net how do I quote again?

Is there only one frame installed on the server?
Reply

Use magic Report

0

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-5-15 17:30:01
| Show all posts
Copy owc11.dll to the bin directory of the application to see
Reply

Use magic Report

1

Threads

12

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

 Author| Post time: 2020-5-15 22:30:01
| Show all posts
There is one under the BIN of the application, and the past is automatically published when the website is published
Reply

Use magic Report

0

Threads

322

Posts

115.00

Credits

Newbie

Rank: 1

Credits
115.00

 China

Post time: 2020-5-16 21:30:01
| Show all posts
Is it vs.net how do I quote again?

Is there only one frame installed on the server?
========
Install the downloaded version locally.
Reference, and then copy the dll to the server.
Reply

Use magic Report

0

Threads

20

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-5-17 09:00:01
| Show all posts
Do n’t bother?
Just install it directly
Reply

Use magic Report

0

Threads

20

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-5-17 12:30:02
| Show all posts
In addition, after OWC is installed, your packaging dll should also be put in the bin
But there may be two names
Microsoft.Office.Interop.Owc11
or
OWC11

I do n’t know the specific name of the situation, lz can see if this is the problem
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-5-17 14:45:01
| Show all posts
1. Change all referenced dlls to copy local
2. Install the same office as this machine directly on the server
3. Copy the entire project directly to the server without publishing it
4. When installing the server on the server, please directly operate on the field, do not use the remote desktop.
Reply

Use magic Report

1

Threads

12

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

 Author| Post time: 2020-5-27 15:00:01
| Show all posts
Anyway, it is wrong, please help me think about it again and see what is wrong, thank you!
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list